更新: 重构代码并优化营销合约及成本项目逻辑中的状态更新功能
This commit is contained in:
parent
fee365319f
commit
0928b16b70
@ -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');
|
||||
|
@ -176,7 +176,6 @@
|
||||
try {
|
||||
MarketingContract::where('id', $params['id'])->update([
|
||||
'review_status' => 1,
|
||||
'status' => 1,
|
||||
'update_time' => time()
|
||||
]);
|
||||
Db::commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user