|
|
|
@ -221,6 +221,12 @@ public class ProductionStockServiceImpl implements ProductionStockService { |
|
|
|
saveData.setManufactureDate(getFinalRoll.getManufactureDate()); |
|
|
|
saveData.setExpiredDate(getFinalRoll.getExpiredDate()); |
|
|
|
saveData.setEnterBy(sysUserEntity.getUsername()); |
|
|
|
if(getFinalRoll.getManufactureDate()==null){ |
|
|
|
throw new RuntimeException("该卷soFinalRoll里面没有生产日期请找管理员验证数据!"); |
|
|
|
} |
|
|
|
if(getFinalRoll.getExpiredDate()==null){ |
|
|
|
throw new RuntimeException("该卷soFinalRoll里面没有失效日期请找管理员验证数据!"); |
|
|
|
} |
|
|
|
productionStockMapper.saveIssureCach(saveData); |
|
|
|
String reStr=""; |
|
|
|
return reStr; |
|
|
|
|