cqp 1 сар өмнө
parent
commit
093f716bbd

+ 1 - 0
app/Service/Box/BoxService.php

@@ -832,6 +832,7 @@ class BoxService extends Service
             DispatchSub::where('id', $id)->update([
                 'finished_num' => DB::raw('finished_num + '.$value['finished_num']),
                 'waste_num' => DB::raw('waste_num + '.$value['waste_num']),
+                'wg_status' => 1,
             ]);
         }