优化汇总撤回

master
chenzhi 5 years ago
parent 4d65542338
commit 47b54d336c

@ -839,10 +839,10 @@ class CompanyStatementPoolController extends ThinkController
$st_res = M("company_statement","tab_")->field("id,verify_status,verify_log")->where("id in ({$sids})")->select();
foreach($st_res as $k=>&$v){
$v['verify_log'] = json_decode($v['verify_log'],true);
$v['verify_log'][$op_pre.'_user']=$this->admininfo["username"];
$v['verify_log'][$op_pre.'_time']=date("Y-m-d H:i:s");
$v['verify_log']['pool_user']=$this->admininfo["username"];
$v['verify_log']['pool_time']=date("Y-m-d H:i:s");
$v['verify_log'] = json_encode($v['verify_log']);
$v['verify_status']=-2;
$v['verify_status']=-3;
$stres = M("company_statement","tab_")->save($v);
if($stres === false){
M()->rollback();

Loading…
Cancel
Save