|
@@ -237,9 +237,9 @@ public class TmstruckEnfactoryResultServiceImpl implements ITmstruckEnfactoryRes
|
|
|
map.put("materialId", materialId);
|
|
|
checkMeasureCommission += tmstruckMeasureCommissionService.addLXMeasureCommission(map);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ if(checkMeasureCommission == 0){
|
|
|
+ throw new Exception("委托发送失败");
|
|
|
+ }
|
|
|
i += tmstruckEnfactoryResultMapper.updateByPrimaryKeySelective(generateEnFactoryResult(map));
|
|
|
|
|
|
i += utilsService.updateOrderLineSequence(map);
|