更新: 重构代码并优化营销合约及成本项目逻辑中的状态更新功能

This commit is contained in:
mkm 2024-07-28 20:01:29 +08:00
parent fee365319f
commit 0928b16b70
2 changed files with 0 additions and 2 deletions

View File

@ -65,7 +65,6 @@ use app\common\model\financial\FinancialInvoice;
{
$this->searchWhere[]=['review_status','=', 1];
$this->searchWhere[]=['contract_type','=', 0];
$this->searchWhere[]=['status','=', 1];
$types=$this->request->get('type_value');
if($types){
$data=DictData::where('type_value',$types)->column('value');

View File

@ -176,7 +176,6 @@
try {
MarketingContract::where('id', $params['id'])->update([
'review_status' => 1,
'status' => 1,
'update_time' => time()
]);
Db::commit();