|
|
@ -999,7 +999,7 @@ class TimingController extends AdminController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($map['pay_time']) {
|
|
|
|
if ($map['pay_time']) {
|
|
|
|
M("settleup_marketorder","tab_")
|
|
|
|
M("settleup_marketorder","tab_")
|
|
|
|
->where(['pay_time'=>$map['pay_time'],'is_settlement'=>0])
|
|
|
|
->where(['pay_time'=>$map['pay_time']])
|
|
|
|
->delete();
|
|
|
|
->delete();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
M("settleup_marketorder","tab_")
|
|
|
|
M("settleup_marketorder","tab_")
|
|
|
@ -1369,7 +1369,7 @@ class TimingController extends AdminController {
|
|
|
|
->add($promote_data[$key]);
|
|
|
|
->add($promote_data[$key]);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
M("settleup_marketorder","tab_")
|
|
|
|
M("settleup_marketorder","tab_")
|
|
|
|
->where(['pay_time'=>$value['pay_time'],'promote_id'=>$value['promote_id'],'game_name'=>$value['game_name'],'admin_id'=>$value['admin_id']])
|
|
|
|
->where(['pay_time'=>$value['pay_time'],'promote_id'=>$value['promote_id'],'game_name'=>$value['game_name'],'admin_id'=>$value['admin_id'],'is_settlement'=>$value['is_settlement']])
|
|
|
|
->save($promote_data[$key]);
|
|
|
|
->save($promote_data[$key]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|