Commit 53978168 zshaohui

转库问题和储位移转修改

1 个父辈 aa88fe0d
......@@ -676,7 +676,7 @@ public class OutLineController {
labelList.add(tickPick);
request.setLABEL_LIST(labelList);
LuxsanApi.ticketPick(request);
LuxsanApi.ticketPost(new TicketPostRequest(CommonUtil.plantCode,orderItem.getTicketCode()));
//LuxsanApi.ticketPost(new TicketPostRequest(CommonUtil.plantCode,orderItem.getTicketCode()));
}
else if (liteOrder.getCheckType() == LiteorderCheckType.PICKING_CHECKOUT){
......
......@@ -322,7 +322,6 @@ public class LuxsanApi extends DefaultSmfApiListener {
log.error("ticketPost请求失败:" + e.getMessage());
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{e.getMessage()});
}
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{"未找到对应的单据挑料信息"});
}
......
......@@ -19,4 +19,6 @@ public class BinMoveRequest {
private int QTY;
private String LABEL_ID;
}
......@@ -221,12 +221,12 @@ public class CDeviceController {
//储位移转
else if (MaterialUtil.storTransfer(materialStr)){
BinMoveResult binMoveResult = LuxsanApi.binMove(new BinMoveRequest(CommonUtil.plantCode, binCodeStr, Arrays.asList(barcode.getBarcode()), barcode.getAmount()));
BinMoveResult binMoveResult = LuxsanApi.binMove(new BinMoveRequest(CommonUtil.plantCode, binCodeStr, Arrays.asList(barcode.getBarcode()), barcode.getAmount(),barcode.getLabelId()));
if (StringUtils.isNotEmpty(binMoveResult.getGR_DATE())){
Date grDate = DateUtil.getNoTimeDate(binMoveResult.getGR_DATE());
barcode.setProduceDate(grDate);
}
barcode.setLabelId(binMoveResult.getLABEL_ID());
//barcode.setLabelId(binMoveResult.getLABEL_ID());
}
//311单据转库
......@@ -246,7 +246,7 @@ public class CDeviceController {
labelList.add(tickPick);
request.setLABEL_LIST(labelList);
LuxsanApi.ticketPick(request);
LuxsanApi.ticketPost(new TicketPostRequest(CommonUtil.plantCode,transfer.getTicket()));
//LuxsanApi.ticketPost(new TicketPostRequest(CommonUtil.plantCode,transfer.getTicket()));
}
//单据退库上架
......
......@@ -231,7 +231,7 @@ public class TicketController {
String srcWarehouseCode = paramMap.get("srcWarehouseCode"); //来源库别
String codeStr = paramMap.get("codeStr"); //料盘信息
log.info("单据退料绑定信息为:" + JSON.toJSONString(paramMap));
log.info("单据转库绑定信息为:" + JSON.toJSONString(paramMap));
//判断料串信息是否正确
if (StringUtils.isEmpty(materialStr) || !materialStr.startsWith("B00")) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!