소스 검색

超节损运算优化

qiuenguang 1 년 전
부모
커밋
e2d99e2537
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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];
 
                         }