...
|
...
|
@@ -108,6 +108,8 @@ class AdminFaultController 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('order')->where('id',$order['id'])->update($data);
|
|
|
Db::name('fault')->where('id',$id)->update(['state'=>3]);
|
|
|
}catch (\Exception $exception){
|
...
|
...
|
|