luobang пре 2 година
родитељ
комит
0a72a23ebe

+ 2 - 0
src/main/java/com/steerinfo/dil/service/impl/TmstruckWeightResultServiceImpl.java

@@ -866,6 +866,7 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
                     tmstruckWeightResultMapper.updateWeightTare(resultTotalId);
                     tmstruckWeightResultMapper.updateEnfactoryResult(resultTotalId);
                     tmstruckWeightResultMapper.updateOrderLineSqe(orderId);
+                    tmstruckWeightResultMapper.updateTotalStatus(resultTotalId);
                 }
                 //如果传输了物资,则判断该物资是第几拼
                 if(map.get("good") != null && !"".equals(map.get("good"))){
@@ -894,6 +895,7 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
                         tmstruckWeightResultMapper.updateWeightTareNoGross(resultTotalId);
                         tmstruckWeightResultMapper.updateEnfactoryResult(resultTotalId);
                         tmstruckWeightResultMapper.updateOrderLineSqe(orderId);
+                        tmstruckWeightResultMapper.updateTotalStatus(resultTotalId);
                     }else{
                         tmstruckWeightResultMapper.updateWeightResult(DataChange.dataToBigDecimal(map1.get("weightTaskResultId")));
                         tmstruckWeightResultMapper.updateWeightTareNoGross(resultTotalId);