|
@@ -451,7 +451,7 @@ class Filing extends Base
|
|
|
$where = [
|
|
|
['is_del', '=', 0],
|
|
|
['id', '=', $param['id']],
|
|
|
- ['status', 'in', [0, 1, 2, 4]]
|
|
|
+ ['status', 'in', [0, 1, 2]]
|
|
|
];
|
|
|
|
|
|
$rs = Db::name('filing')
|
|
@@ -468,6 +468,9 @@ class Filing extends Base
|
|
|
$res = Db::name('filing')
|
|
|
->where($where)
|
|
|
->update(['status' => 5, 'updatetime' => date('Y-m-d H:i:s'), 'updaterid' => $this->uid, 'updater' => $this->uname,]);
|
|
|
+ $stn = ['order_code' => $rs['filingCode'], 'status' =>5, 'action_remark' => '', 'action_type' =>
|
|
|
+ 'status'];
|
|
|
+ ActionLog::logAdd(['id'=>$this->uid,'nickname'=>$this->uname], $stn, 'BBD', $rs['status'], $param);
|
|
|
return $res ? json_show(0, '操作成功') : json_show(1004, '操作失败');
|
|
|
}
|
|
|
|