...
|
...
|
@@ -109,7 +109,7 @@ class AdminFaultAuditController extends AdminBaseController{ |
|
|
try{
|
|
|
Db::startTrans();
|
|
|
Db::name('users')->where('id',$fault['users_id'])->update(['is_use'=>0]);
|
|
|
Db::name('equipment')->where('name',$fault['eq_name'])->update(['use'=>0]);
|
|
|
Db::name('equipment')->where('name',$order['eq_name'])->update(['use'=>0]);
|
|
|
Db::name('order')->where('id',$order['id'])->update($data);
|
|
|
Db::name('fault')->where('id',$id)->update(['state'=>3]);
|
|
|
}catch (\Exception $exception){
|
...
|
...
|
|