|
|
|
@ -492,8 +492,12 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
map.put("LGORT", mesReportWork.getWhCode());
|
|
|
|
|
map.put("QUANTITY", mesReportWork.getQuantityQualified());
|
|
|
|
|
map.put("ERFME", mesReportWork.getUnit());
|
|
|
|
|
String batch = mesReportWork.getBatch().substring(12);
|
|
|
|
|
map.put("BATCH", batch);
|
|
|
|
|
if (mesReportWork.getBatch().length()>12){
|
|
|
|
|
String batch = mesReportWork.getBatch().substring(12);
|
|
|
|
|
map.put("BATCH", batch);
|
|
|
|
|
}else {
|
|
|
|
|
map.put("BATCH", mesReportWork.getBatch());
|
|
|
|
|
}
|
|
|
|
|
String formattedsDate = mesReportWork.getProductDate().replace("-", "");
|
|
|
|
|
map.put("HSDAT", formattedsDate);
|
|
|
|
|
mapList.add(map);
|
|
|
|
|