核销后核销码处理
This commit is contained in:
parent
95ff86b3ae
commit
c2119f8132
@ -409,11 +409,13 @@ class OrderLogic extends BaseLogic
|
||||
Db::startTrans();
|
||||
try {
|
||||
StoreOrder::update([
|
||||
'verify_code'=>$params['verify_code'].'-1',
|
||||
'status' => OrderEnum::RECEIVED_GOODS,
|
||||
'is_writeoff' => OrderEnum::IS_OK,
|
||||
'update_time' => time(),
|
||||
], ['id' => $data['id']]);
|
||||
(new StoreOrderCartInfo())->update([
|
||||
'verify_code'=>$params['verify_code'].'-1',
|
||||
'writeoff_time' => time(),
|
||||
'is_writeoff' => YesNoEnum::YES,
|
||||
'update_time' => time(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user