...
|
...
|
@@ -96,7 +96,7 @@ class AdminFaultAuditController extends AdminBaseController{ |
|
|
$fault=Db::name('fault')->where('id',$id)->find();
|
|
|
|
|
|
$order=Db::name('order')->where(['users_id'=>$fault['users_id'],'state'=>1])->find();
|
|
|
$equipment=Db::name('equipment')->where('name',$order['eq_name'])->find();
|
|
|
$equipment=Db::name('equipment')->where(['name'=>$order['eq_name'],'is_delete'=>0]])->find();
|
|
|
if (empty($order)){
|
|
|
$this->error('没有未完成订单');
|
|
|
}else{
|
...
|
...
|
|