sth
This commit is contained in:
parent
6b4af27857
commit
4c7101ab80
|
|
@ -3,6 +3,7 @@
|
|||
namespace app\admin\controller\orders;
|
||||
|
||||
use app\admin\model\OrderDispatch;
|
||||
use app\admin\model\OrderDispatchRecord;
|
||||
use app\common\controller\Backend;
|
||||
use think\Db;
|
||||
use think\Exception;
|
||||
|
|
@ -157,8 +158,8 @@ class Dispatchrecord extends Backend
|
|||
$dispatch->record_count ++;
|
||||
|
||||
//将其它的状态改掉
|
||||
Dispatchrecord::where('dispatch_id',$dispatch->id)->where('status',0)->update([
|
||||
'status' => 1,
|
||||
OrderDispatchRecord::where('dispatch_id',$dispatch->id)->where('status',0)->update([
|
||||
'status' => 1
|
||||
]);
|
||||
|
||||
//$params['admin_id'] = $this->auth->id;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user