Browse Source

超节损运算优化

qiuenguang 1 year ago
parent
commit
e2d99e2537
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/OrderSuperLoss.php

+ 1 - 1
application/api/controller/OrderSuperLoss.php

@@ -508,7 +508,7 @@ class OrderSuperLoss extends Api
                     for ($i = 1; $i <= 13; $i++) {
                         $gxmcKey = "fp_gxmc" . $i;
                         $slKey = "fp_sl" . $i;
-                        if ((int)substr($entry[$gxmcKey],0,2) == $item['Gy0_gxh'] &&  (int)substr($entry[$gxmcKey],0,2) !== 99){
+                        if ((int)substr($entry[$gxmcKey],0,2) == $item['Gy0_gxh']){
                             $gy_data[$k]['waste_quality'] += $entry[$slKey];
 
                         }