|
|
|
@ -285,14 +285,15 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
map.put("LGORT", wmsProductPut3.getWhCode());
|
|
|
|
|
map.put("QUANTITY", wmsProductPut3.getPutQuantity());
|
|
|
|
|
map.put("ERFME", wmsProductPut3.getUnitOfMeasure());
|
|
|
|
|
map.put("BATCH", wmsProductPut3.getAttr4());
|
|
|
|
|
//map.put("BATCH", wmsProductPut3.getBatchNumber());
|
|
|
|
|
if (wmsProductPut3.getBatchNumber().length()>12){
|
|
|
|
|
//String batch = mesReportWork.getBatch().substring(12);
|
|
|
|
|
String batch = InterceptionRules(wmsProductPut3.getBatchNumber());
|
|
|
|
|
map.put("BATCH", batch);
|
|
|
|
|
}else {
|
|
|
|
|
map.put("BATCH", wmsProductPut3.getBatchNumber());
|
|
|
|
|
}
|
|
|
|
|
// if (wmsProductPut3.getBatchNumber().length()>12){
|
|
|
|
|
// //String batch = mesReportWork.getBatch().substring(12);
|
|
|
|
|
// String batch = InterceptionRules(wmsProductPut3.getBatchNumber());
|
|
|
|
|
// map.put("BATCH", batch);
|
|
|
|
|
// }else {
|
|
|
|
|
// map.put("BATCH", wmsProductPut3.getBatchNumber());
|
|
|
|
|
// }
|
|
|
|
|
map.put("HSDAT", wmsProductPut3.getProductDate());
|
|
|
|
|
mapList.add(map);
|
|
|
|
|
}
|
|
|
|
|