更新: 重构代码并优化营销合约及成本项目逻辑中的状态更新功能
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[]=['review_status','=', 1];
|
||||||
$this->searchWhere[]=['contract_type','=', 0];
|
$this->searchWhere[]=['contract_type','=', 0];
|
||||||
$this->searchWhere[]=['status','=', 1];
|
|
||||||
$types=$this->request->get('type_value');
|
$types=$this->request->get('type_value');
|
||||||
if($types){
|
if($types){
|
||||||
$data=DictData::where('type_value',$types)->column('value');
|
$data=DictData::where('type_value',$types)->column('value');
|
||||||
|
@ -176,7 +176,6 @@
|
|||||||
try {
|
try {
|
||||||
MarketingContract::where('id', $params['id'])->update([
|
MarketingContract::where('id', $params['id'])->update([
|
||||||
'review_status' => 1,
|
'review_status' => 1,
|
||||||
'status' => 1,
|
|
||||||
'update_time' => time()
|
'update_time' => time()
|
||||||
]);
|
]);
|
||||||
Db::commit();
|
Db::commit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user