@@ -448,9 +448,13 @@ class OrderSuperLoss extends Api
->where('c.质量考核',0)
->field($field)
->find();
- if (empty($data)){
+// if (empty($data)){
+// $this->error('该工单不参与考核');
+// }
+ if ($data['Gd_gdbh'] == ''){
$this->error('该工单不参与考核');
}
+
if ($data['ls'] == 0){
$data['ls'] === 1;