|
|
@ -395,7 +395,7 @@ class CompanyStatementController extends ThinkController
|
|
|
|
$ids = $_REQUEST['ids'];
|
|
|
|
$ids = $_REQUEST['ids'];
|
|
|
|
$dbres = $this->DBModel->field("id,verify_status,verify_log")->where("id in ({$ids})")->select();
|
|
|
|
$dbres = $this->DBModel->field("id,verify_status,verify_log")->where("id in ({$ids})")->select();
|
|
|
|
foreach($dbres as $k=>&$v){
|
|
|
|
foreach($dbres as $k=>&$v){
|
|
|
|
if(in_array($v['verify_status'],[3,4])) continue; //合作方确认后不进行重算
|
|
|
|
// if(in_array($v['verify_status'],[3,4])) continue; //合作方确认后不进行重算
|
|
|
|
//重算
|
|
|
|
//重算
|
|
|
|
$res = A("CompanyStatementSet")->updateCompanyStatementData($v['id'],$this->admininfo["username"]);
|
|
|
|
$res = A("CompanyStatementSet")->updateCompanyStatementData($v['id'],$this->admininfo["username"]);
|
|
|
|
if($res === false){
|
|
|
|
if($res === false){
|
|
|
|