|
@@ -237,9 +237,9 @@ public class TmstruckEnfactoryResultServiceImpl implements ITmstruckEnfactoryRes
|
|
|
map.put("materialId", materialId);
|
|
|
checkMeasureCommission += tmstruckMeasureCommissionService.addLXMeasureCommission(map);
|
|
|
}
|
|
|
-// if(checkMeasureCommission == 0){
|
|
|
-// throw new Exception("委托发送失败");
|
|
|
-// }
|
|
|
+ if(checkMeasureCommission == 0){
|
|
|
+ throw new Exception("委托发送失败");
|
|
|
+ }
|
|
|
i += tmstruckEnfactoryResultMapper.updateByPrimaryKeySelective(generateEnFactoryResult(map)); //添加进厂实绩
|
|
|
//修改路段顺序号
|
|
|
i += utilsService.updateOrderLineSequence(map);
|