12.28功能提交

master
zhengyongxing 4 years ago
parent 3c166a913e
commit 08d235c03a

@ -508,9 +508,9 @@ class StatementMangementController extends ThinkController
}
//dd($settlment_info);
// 更新结算信息
// if ($id) {
// M('reward_detail', 'tab_')->where(['record_id'=>$id])->delete();
// }
if ($id) {
M('reward_detail', 'tab_')->where(['record_id'=>$id])->delete();
}
if (!empty($settlment_info[RewardModel::REWARD_TYPE_REWARD]) && !empty($settlment_info[RewardModel::REWARD_TYPE_PUNISH])) {
$data['reward_type'] = RewardModel::REWARD_TYPE_ALL;
} else if (!empty($settlment_info[RewardModel::REWARD_TYPE_REWARD])) {

Loading…
Cancel
Save