|
|
@@ -459,7 +459,7 @@ class OrderSuperLoss extends Api
|
|
|
$gxmcKey = "fp_gxmc" . $i;
|
|
|
$slKey = "fp_sl" . $i;
|
|
|
if (!empty($entry[$labelKey])) {
|
|
|
- if (substr($entry[$gxmcKey],0,3) == 'M04'){
|
|
|
+ if (substr($entry[$labelKey],0,3) == 'M04'){
|
|
|
$list[$j]= $entry[$slKey];
|
|
|
$j++;
|
|
|
}
|
|
|
@@ -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']){
|
|
|
+ if ((int)substr($entry[$gxmcKey],0,2) == $item['Gy0_gxh'] && (int)substr($entry[$gxmcKey],0,2) !== 99){
|
|
|
$gy_data[$k]['waste_quality'] += $entry[$slKey];
|
|
|
|
|
|
}
|