Commit 79066491 zshaohui

1.功能优化提交

1 个父辈 910d50a1
...@@ -196,14 +196,14 @@ public class DataInitManager { ...@@ -196,14 +196,14 @@ public class DataInitManager {
addNewFunctionMenu(4, raw, "storageTransfer", "储位转移", "storageTransfer", "storageTransfer/index", "transfer", functionMenuMap); addNewFunctionMenu(4, raw, "storageTransfer", "储位转移", "storageTransfer", "storageTransfer/index", "transfer", functionMenuMap);
//手动入库 //手动入库
addNewFunctionMenu(8, raw, "manualWarehous", "手动入库", "manualWarehous", "manualWarehous/index", "manualWa", functionMenuMap); //addNewFunctionMenu(8, raw, "manualWarehous", "手动入库", "manualWarehous", "manualWarehous/index", "manualWa", functionMenuMap);
Menu doc = Menu.CreatePMenu("单据操作", 9, "doc", 1, "docOp", raw); Menu doc = Menu.CreatePMenu("单据操作", 5, "doc", 1, "docOp", raw);
//931单据领料 //931单据领料
addNewFunctionMenu(1, doc, "docMaterialRe", "单据领料", "docMaterialRe", "receipt/docMaterialRe/index", "docMaterial", functionMenuMap); addNewFunctionMenu(1, doc, "docMaterialRe", "单据分配", "docMaterialRe", "receipt/docMaterialRe/index", "docMaterial", functionMenuMap);
//单据转库 //单据转库
addNewFunctionMenu(2, doc, "docTransferWarehous", "单据转库", "docTransferWarehous", "receipt/docTransferWarehous/index", "docTransfer", functionMenuMap); addNewFunctionMenu(2, doc, "docTransferWarehous", "单据转库", "docTransferWarehous", "receipt/docTransferWarehous/index", "docTransfer", functionMenuMap);
...@@ -212,7 +212,7 @@ public class DataInitManager { ...@@ -212,7 +212,7 @@ public class DataInitManager {
addNewFunctionMenu(3, doc, "docReturn", "单据退料", "docReturn", "receipt/docReturn/index", "docRe", functionMenuMap); addNewFunctionMenu(3, doc, "docReturn", "单据退料", "docReturn", "receipt/docReturn/index", "docRe", functionMenuMap);
//手动出库 //手动出库
addNewFunctionMenu(4, doc,"outVir","手动出库","outVir","outVir/index","docOut",functionMenuMap); addNewFunctionMenu(6, raw,"outVir","手动出库","outVir","outVir/index","docOut",functionMenuMap);
//addNewFunctionMenu(132,null,"outPage","线外入库","outPage","outers/outPage/index","index",functionMenuMap); //addNewFunctionMenu(132,null,"outPage","线外入库","outPage","outers/outPage/index","index",functionMenuMap);
......
...@@ -379,6 +379,9 @@ public class DataLog extends BasePo implements Serializable { ...@@ -379,6 +379,9 @@ public class DataLog extends BasePo implements Serializable {
private boolean callEmptyBox = false; private boolean callEmptyBox = false;
//任务优先级
private int priority = 0;
public String getBarcode() { public String getBarcode() {
if(barcode == null){ if(barcode == null){
......
...@@ -820,71 +820,73 @@ public class OutLineController { ...@@ -820,71 +820,73 @@ public class OutLineController {
List<Integer> partition1 = new ArrayList<>(); List<Integer> partition1 = new ArrayList<>();
partition1.add(getCountByPartition(needOutCountMap, boxStr + "-01")); partition1.add(getCountByPartition(needOutCountMap, boxStr + "-01"));
partition1.add(getCountByPartition(allCountMap, boxStr + "-01")); partition1.add(getCountByPartition(allCountMap, boxStr + "-01"));
partition1.add(1);
List<Integer> partition2 = new ArrayList<>(); List<Integer> partition2 = new ArrayList<>();
partition2.add(getCountByPartition(needOutCountMap, boxStr + "-02")); partition2.add(getCountByPartition(needOutCountMap, boxStr + "-02"));
partition2.add(getCountByPartition(allCountMap, boxStr + "-02")); partition2.add(getCountByPartition(allCountMap, boxStr + "-02"));
partition2.add(2);
List<Integer> partition3 = new ArrayList<>(); List<Integer> partition3 = new ArrayList<>();
partition3.add(getCountByPartition(needOutCountMap, boxStr + "-03")); partition3.add(getCountByPartition(needOutCountMap, boxStr + "-03"));
partition3.add(getCountByPartition(allCountMap, boxStr + "-03")); partition3.add(getCountByPartition(allCountMap, boxStr + "-03"));
partition3.add(3);
List<Integer> partition4 = new ArrayList<>(); List<Integer> partition4 = new ArrayList<>();
partition4.add(getCountByPartition(needOutCountMap, boxStr + "-04")); partition4.add(getCountByPartition(needOutCountMap, boxStr + "-04"));
partition4.add(getCountByPartition(allCountMap, boxStr + "-04")); partition4.add(getCountByPartition(allCountMap, boxStr + "-04"));
partition4.add(4);
List<Integer> partition5 = new ArrayList<>(); List<Integer> partition5 = new ArrayList<>();
partition5.add(getCountByPartition(needOutCountMap, boxStr + "-05")); partition5.add(getCountByPartition(needOutCountMap, boxStr + "-05"));
partition5.add(getCountByPartition(allCountMap, boxStr + "-05")); partition5.add(getCountByPartition(allCountMap, boxStr + "-05"));
partition5.add(5);
List<Integer> partition6 = new ArrayList<>(); List<Integer> partition6 = new ArrayList<>();
partition6.add(getCountByPartition(needOutCountMap, boxStr + "-06")); partition6.add(getCountByPartition(needOutCountMap, boxStr + "-06"));
partition6.add(getCountByPartition(allCountMap, boxStr + "-06")); partition6.add(getCountByPartition(allCountMap, boxStr + "-06"));
List<Integer> partition7 = new ArrayList<>(); partition6.add(6);
partition7.add(getCountByPartition(needOutCountMap, boxStr + "-07"));
partition7.add(getCountByPartition(allCountMap, boxStr + "-07"));
List<Integer> partition8 = new ArrayList<>();
partition8.add(getCountByPartition(needOutCountMap, boxStr + "-08"));
partition8.add(getCountByPartition(allCountMap, boxStr + "-08"));
//根据箱子面展示不同的隔扣 //根据箱子面展示不同的隔扣
if (boxStr.startsWith("C07")) { if (boxStr.startsWith("C07")) {
platsize = "7"; platsize = "7";
if ("A".equals(endStr)) { if ("A".equals(endStr)) {
boxPartitionCounts.add(partition8); boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition7); boxPartitionCounts.add(partition4);
boxPartitionCounts.add(partition6); boxPartitionCounts.add(partition6);
boxPartitionCounts.add(partition5);
boxPartitionCounts.add(partition1); boxPartitionCounts.add(partition1);
boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition3); boxPartitionCounts.add(partition3);
boxPartitionCounts.add(partition4); boxPartitionCounts.add(partition5);
} else { } else {
boxPartitionCounts.add(partition4); boxPartitionCounts.add(partition5);
boxPartitionCounts.add(partition3); boxPartitionCounts.add(partition3);
boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition1); boxPartitionCounts.add(partition1);
boxPartitionCounts.add(partition5);
boxPartitionCounts.add(partition6); boxPartitionCounts.add(partition6);
boxPartitionCounts.add(partition7); boxPartitionCounts.add(partition4);
boxPartitionCounts.add(partition8); boxPartitionCounts.add(partition2);
} }
} else if (boxStr.startsWith("C13")) { } else if (boxStr.startsWith("C13")) {
platsize = "13"; platsize = "13";
if ("A".equals(endStr)) { if ("A".equals(endStr)) {
boxPartitionCounts.add(partition3);
boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition1);
} else {
boxPartitionCounts.add(partition1); boxPartitionCounts.add(partition1);
boxPartitionCounts.add(partition2); boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition3); boxPartitionCounts.add(partition3);
} else {
boxPartitionCounts.add(partition3);
boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition1);
} }
} else if (boxStr.startsWith("C15")) { } else if (boxStr.startsWith("C15")) {
platsize = "15"; platsize = "15";
if ("A".equals(endStr)) { if ("A".equals(endStr)) {
boxPartitionCounts.add(partition3);
boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition1);
} else {
boxPartitionCounts.add(partition1); boxPartitionCounts.add(partition1);
boxPartitionCounts.add(partition2); boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition3); boxPartitionCounts.add(partition3);
} else {
boxPartitionCounts.add(partition3);
boxPartitionCounts.add(partition2);
boxPartitionCounts.add(partition1);
} }
} }
boxAllCount = boxAllCountMap.get(boxStr) == null ? 0 : boxAllCountMap.get(boxStr); boxAllCount = boxAllCountMap.get(boxStr) == null ? 0 : boxAllCountMap.get(boxStr);
......
...@@ -859,7 +859,7 @@ public class LuxsanApi extends DefaultSmfApiListener { ...@@ -859,7 +859,7 @@ public class LuxsanApi extends DefaultSmfApiListener {
} }
public static void binMove(BinMoveRequest request) { public static BinMoveResult binMove(BinMoveRequest request) {
log.info("binMoveUrl接口请求参数为:" + JSON.toJSONString(request)); log.info("binMoveUrl接口请求参数为:" + JSON.toJSONString(request));
try { try {
String resultStr = HttpHelper.postJson(binMoveUrl, request); String resultStr = HttpHelper.postJson(binMoveUrl, request);
...@@ -869,10 +869,14 @@ public class LuxsanApi extends DefaultSmfApiListener { ...@@ -869,10 +869,14 @@ public class LuxsanApi extends DefaultSmfApiListener {
if (LuxsanApiEnum.ERROR.equals(apiResult.getMSGTY())) { if (LuxsanApiEnum.ERROR.equals(apiResult.getMSGTY())) {
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{apiResult.getMSGTX()}); throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{apiResult.getMSGTX()});
} }
if (apiResult.getDATA() != null) {
return JSONObject.parseObject(apiResult.getDATA(), BinMoveResult.class);
}
} catch (ApiException e) { } catch (ApiException e) {
e.printStackTrace(); e.printStackTrace();
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{e.getMessage()}); throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{e.getMessage()});
} }
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{"储位移转失败"});
} }
...@@ -966,6 +970,46 @@ public class LuxsanApi extends DefaultSmfApiListener { ...@@ -966,6 +970,46 @@ public class LuxsanApi extends DefaultSmfApiListener {
} }
} }
public static TicketMoveResult ticketMove(TicketMoveRequest request) {
log.info("ticketMove接口请求参数为:" + JSON.toJSONString(request));
try {
String resultStr = HttpHelper.postJson(ticketMoveUrl, request);
log.info("ticketMove接口返回为:" + resultStr);
LuxsanApiResult apiResult = JSONObject.parseObject(resultStr, LuxsanApiResult.class);
if (LuxsanApiEnum.ERROR.equals(apiResult.getMSGTY())) {
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{apiResult.getMSGTX()});
}
TicketMoveResult result = JSONObject.parseObject(apiResult.getDATA(), TicketMoveResult.class);
return result;
} catch (ApiException e) {
e.printStackTrace();
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{e.getMessage()});
}
}
public static TicketUpResult ticketUp(TicketUpRequest request) {
log.info("ticketUp接口请求参数为:" + JSON.toJSONString(request));
try {
String resultStr = HttpHelper.postJson(ticketUpUrl, request);
log.info("ticketUp接口返回为:" + resultStr);
LuxsanApiResult apiResult = JSONObject.parseObject(resultStr, LuxsanApiResult.class);
if (LuxsanApiEnum.ERROR.equals(apiResult.getMSGTY())) {
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{apiResult.getMSGTX()});
}
TicketUpResult result = JSONObject.parseObject(apiResult.getDATA(), TicketUpResult.class);
return result;
} catch (ApiException e) {
e.printStackTrace();
throw new ValidateException("smfcore.api.error", "接口请求失败[{0}]", new String[]{e.getMessage()});
}
}
@Override @Override
public void outTaskStatusChange(String outNotifyUrl, DataLog task) { public void outTaskStatusChange(String outNotifyUrl, DataLog task) {
...@@ -1232,4 +1276,19 @@ public class LuxsanApi extends DefaultSmfApiListener { ...@@ -1232,4 +1276,19 @@ public class LuxsanApi extends DefaultSmfApiListener {
public void setCancelOdnUrl(String url){ public void setCancelOdnUrl(String url){
LuxsanApi.cancelOdnUrl = url; LuxsanApi.cancelOdnUrl = url;
} }
public static String ticketMoveUrl;
@Value("${api.ticketMove}")
public void setTicketMoveUrl(String url){
LuxsanApi.ticketMoveUrl = url;
}
//ticketUp
public static String ticketUpUrl;
@Value("${api.ticketUp}")
public void setTicketUpUrl(String url){
LuxsanApi.ticketUpUrl = url;
}
} }
package com.neotel.smfcore.custom.luxsan.api.bean.request;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.List;
@Api(tags = "自动仓内单据转库")
@Data
@AllArgsConstructor
public class TicketMoveRequest {
// 厂区
private String PLANT_CODE;
// 单据号
private String TICKET_CODE;
// 单据行
private String TICKET_ITEM;
// 储位号
private String BIN_CODE;
// 料卷行
private List<String> REEL_LIST;
}
package com.neotel.smfcore.custom.luxsan.api.bean.request;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.List;
@Data
@AllArgsConstructor
public class TicketUpRequest {
private String PLANT_CODE;
private String TICKET_CODE;
private String TICKET_ITEM;
private String BIN_CODE;
private List<String> REEL_LIST;
}
package com.neotel.smfcore.custom.luxsan.api.bean.result;
import lombok.Data;
@Data
public class TicketMoveResult {
}
package com.neotel.smfcore.custom.luxsan.api.bean.result;
import lombok.Data;
@Data
public class TicketUpResult {
}
package com.neotel.smfcore.custom.luxsan.factory_c.rawstor.controller; package com.neotel.smfcore.custom.luxsan.factory_c.rawstor.controller;
import cn.hutool.extra.spring.SpringUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.neotel.smfcore.common.bean.ReelLockPosInfo; import com.neotel.smfcore.common.bean.ReelLockPosInfo;
import com.neotel.smfcore.common.bean.ResultBean; import com.neotel.smfcore.common.bean.ResultBean;
...@@ -26,9 +27,12 @@ import com.neotel.smfcore.core.storage.service.po.StoragePos; ...@@ -26,9 +27,12 @@ import com.neotel.smfcore.core.storage.service.po.StoragePos;
import com.neotel.smfcore.core.system.service.po.DataLog; import com.neotel.smfcore.core.system.service.po.DataLog;
import com.neotel.smfcore.core.system.util.TaskService; import com.neotel.smfcore.core.system.util.TaskService;
import com.neotel.smfcore.custom.luxsan.api.LuxsanApi; import com.neotel.smfcore.custom.luxsan.api.LuxsanApi;
import com.neotel.smfcore.custom.luxsan.api.bean.request.NewLabelToCellRequest; import com.neotel.smfcore.custom.luxsan.api.bean.request.*;
import com.neotel.smfcore.custom.luxsan.api.bean.request.PickingIssueRequest; import com.neotel.smfcore.custom.luxsan.api.bean.result.BinMoveResult;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.BindGrInfo; import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.BindGrInfo;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.StorTransfer;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.TicketReturn;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.TicketTransfer;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.dto.CtuTask; import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.dto.CtuTask;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.dto.ValidBin; import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean.dto.ValidBin;
import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.enums.LiteorderCheckType; import com.neotel.smfcore.custom.luxsan.factory_c.rawstor.enums.LiteorderCheckType;
...@@ -185,6 +189,8 @@ public class CDeviceController { ...@@ -185,6 +189,8 @@ public class CDeviceController {
if(boxBarcode != null){ if(boxBarcode != null){
//判断隔口是否可以放入 //判断隔口是否可以放入
if (BinCacheUtil.canPutInBinCode(binCodeStr, warhouseCode)) { if (BinCacheUtil.canPutInBinCode(binCodeStr, warhouseCode)) {
//绑定gr
if (MaterialUtil.bindGr(materialStr)){ if (MaterialUtil.bindGr(materialStr)){
BindGrInfo bindGrInfo = MaterialUtil.getBindGrInfo(materialStr); BindGrInfo bindGrInfo = MaterialUtil.getBindGrInfo(materialStr);
LuxsanApi.newLabelToCell(new NewLabelToCellRequest( LuxsanApi.newLabelToCell(new NewLabelToCellRequest(
...@@ -197,6 +203,29 @@ public class CDeviceController { ...@@ -197,6 +203,29 @@ public class CDeviceController {
Date grDate = DateUtil.getNoTimeDate(bindGrInfo.getGrDate()); Date grDate = DateUtil.getNoTimeDate(bindGrInfo.getGrDate());
barcode.setProduceDate(grDate); barcode.setProduceDate(grDate);
} }
//储位移转
else if (MaterialUtil.storTransfer(materialStr)){
BinMoveResult binMoveResult = LuxsanApi.binMove(new BinMoveRequest(CommonUtil.plantCode, binCodeStr, Arrays.asList(barcode.getBarcode()), barcode.getAmount()));
if (StringUtils.isNotEmpty(binMoveResult.getGR_DATE())){
Date grDate = DateUtil.getNoTimeDate(binMoveResult.getGR_DATE());
barcode.setProduceDate(grDate);
}
}
//单据转库
else if (MaterialUtil.ticketTransfer(materialStr)){
TicketTransfer transfer = MaterialUtil.getTicketTransferInfo(materialStr);
LuxsanApi.ticketMove(new TicketMoveRequest(CommonUtil.plantCode,transfer.getTicket(),transfer.getTicketItem(),binCodeStr,Arrays.asList(barcode.getBarcode())));
}
//单据退库上架
else if (MaterialUtil.ticketReturn(materialStr)){
TicketReturn ticketReturn = MaterialUtil.getTicketReturnInfo(materialStr);
LuxsanApi.ticketUp(new TicketUpRequest(CommonUtil.plantCode,ticketReturn.getTicket(),ticketReturn.getTicketItem(),binCodeStr,Arrays.asList(barcode.getBarcode())));
}
barcode.setPosName(binCodeStr); barcode.setPosName(binCodeStr);
barcode.setWarehouseCode(warhouseCode); barcode.setWarehouseCode(warhouseCode);
barcode.setBarSource(soucre); barcode.setBarSource(soucre);
...@@ -536,21 +565,49 @@ public class CDeviceController { ...@@ -536,21 +565,49 @@ public class CDeviceController {
String stackerId = paramMap.get("stackerId"); String stackerId = paramMap.get("stackerId");
String binListStr = paramMap.get("binList"); String binListStr = paramMap.get("binList");
String source = paramMap.get("source"); String source = paramMap.get("source");
String needBinCodeStr = paramMap.get("needBinCodeStr");
List<String> validBinList = new ArrayList<String>(); List<String> validBinList = new ArrayList<String>();
log.info("入料机构获取料串[" + stackerId + "]的可用料格[" + binListStr + "],入料机构为[" + source + "]"); log.info("入料机构获取料串[" + stackerId + "]的可用料格[" + binListStr + "],入料机构为[" + source + "],需要的料格信息为:"+needBinCodeStr);
if (MaterialUtil.bindInfo(stackerId)) {
return ResultBean.newErrorResult(-1, "error.nobind", "料串[" + stackerId + "]未绑定任何信息");
}
String partNumber = "";
String provider = "";
String dateStr = "";
if (MaterialUtil.storTransfer(stackerId)) {
StorTransfer storTransfer = MaterialUtil.getStorTransferInfo(stackerId);
partNumber = storTransfer.getMaterialStr();
provider = storTransfer.getProvider();
} else if (MaterialUtil.ticketTransfer(stackerId)){
TicketTransfer ticketTransfer = MaterialUtil.getTicketTransferInfo(stackerId);
partNumber = ticketTransfer.getPn();
provider = ticketTransfer.getProvider();
} else if (MaterialUtil.ticketReturn(stackerId)){
TicketReturn ticketReturn = MaterialUtil.getTicketReturnInfo(stackerId);
partNumber = ticketReturn.getPn();
provider = ticketReturn.getProvider();
} else if (MaterialUtil.bindGr(stackerId)){
BindGrInfo bindGrInfo = MaterialUtil.getBindGrInfo(stackerId); BindGrInfo bindGrInfo = MaterialUtil.getBindGrInfo(stackerId);
if (bindGrInfo == null) { partNumber = bindGrInfo.getMaterialCode();
return ResultBean.newErrorResult(-1, "error.nobind", "料串[" + stackerId + "]未绑定GR"); provider = bindGrInfo.getBrand();
dateStr = bindGrInfo.getGrDate();
} }
Barcode stackerBarcode = new Barcode(); Barcode stackerBarcode = new Barcode();
stackerBarcode.setBarcode(stackerId); stackerBarcode.setBarcode(stackerId);
stackerBarcode.setPartNumber(bindGrInfo.getMaterialCode()); stackerBarcode.setPartNumber(partNumber);
stackerBarcode.setProvider(bindGrInfo.getBrand()); stackerBarcode.setProvider(provider);
//将GR日期设置为生产日期 //将GR日期设置为生产日期
Date grDate = DateUtil.getNoTimeDate(bindGrInfo.getGrDate());
if (StringUtils.isNotBlank(dateStr)) {
Date grDate = DateUtil.getNoTimeDate(dateStr);
stackerBarcode.setProduceDate(grDate); stackerBarcode.setProduceDate(grDate);
}
String warhouseCode = MaterialUtil.getWarhouseCode(stackerId); String warhouseCode = MaterialUtil.getWarhouseCode(stackerId);
stackerBarcode.setWarehouseCode(warhouseCode); stackerBarcode.setWarehouseCode(warhouseCode);
...@@ -574,7 +631,7 @@ public class CDeviceController { ...@@ -574,7 +631,7 @@ public class CDeviceController {
Map<String,Object> dataMap = new HashMap<>(); Map<String,Object> dataMap = new HashMap<>();
dataMap.put("validBinList",validBinList);*/ dataMap.put("validBinList",validBinList);*/
ValidBin validBin = BinCacheUtil.validBin(stackerBarcode, source, binListStr); ValidBin validBin = BinCacheUtil.validBin(stackerBarcode, source, binListStr,needBinCodeStr);
if (validBin == null){ if (validBin == null){
return ResultBean.newErrorResult(-1,"",stackerId+"未找到可用料箱"); return ResultBean.newErrorResult(-1,"",stackerId+"未找到可用料箱");
} }
...@@ -588,7 +645,7 @@ public class CDeviceController { ...@@ -588,7 +645,7 @@ public class CDeviceController {
public ResultBean callEmptyBox(String size, String outLet, String wareHouseCode) { public ResultBean callEmptyBox(String size, String outLet, String wareHouseCode) {
log.info("开始呼叫空箱,尺寸为:" + size + ",出口位置为:" + outLet); log.info("开始呼叫空箱,尺寸为:" + size + ",出口位置为:" + outLet);
StoragePos storagePos = BoxHandleUtil.callEmptyBox(size, outLet, wareHouseCode); StoragePos storagePos = BoxHandleUtil.callEmptyBox(size, outLet, wareHouseCode,new ArrayList<>());
if (storagePos == null) { if (storagePos == null) {
return ResultBean.newErrorResult(-1, "", "未找到可用料箱"); return ResultBean.newErrorResult(-1, "", "未找到可用料箱");
} }
......
...@@ -158,3 +158,9 @@ api: ...@@ -158,3 +158,9 @@ api:
#砍单回库 #砍单回库
shipCancelUpshelf: http://10.68.30.22:8082/api/mlb/ShipCancelUpshelf shipCancelUpshelf: http://10.68.30.22:8082/api/mlb/ShipCancelUpshelf
#单据退库上架
ticketUp: http://10.68.30.22:8082/api/mlb/TicketUp
#自动仓内单据转库
ticketMove: http://10.42.220.171:8082/api/mlb/TicketMove
\ No newline at end of file \ No newline at end of file
...@@ -158,3 +158,9 @@ api: ...@@ -158,3 +158,9 @@ api:
#砍单回库 #砍单回库
shipCancelUpshelf: http://10.42.220.171:8082/api/mlb/ShipCancelUpshelf shipCancelUpshelf: http://10.42.220.171:8082/api/mlb/ShipCancelUpshelf
#单据退库上架
ticketUp: http://10.42.220.171:8082/api/mlb/TicketUp
#自动仓内单据转库
ticketMove: http://10.42.220.171:8082/api/mlb/TicketMove
\ No newline at end of file \ No newline at end of file
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!