luobang 2 년 전
부모
커밋
0a72a23ebe
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/main/java/com/steerinfo/dil/service/impl/TmstruckWeightResultServiceImpl.java

+ 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);