2026.4.30 早 10:13

入库回传接口/出库回传接口 参数传递仓库 stg_location 修改
This commit is contained in:
1009473166@qq.com
2026-04-30 10:14:07 +08:00
parent eba8434f68
commit 368d615674
4 changed files with 54 additions and 52 deletions

View File

@@ -15,7 +15,6 @@ import java.util.List;
@Setter @Setter
public class CallBackErpItems implements Serializable { public class CallBackErpItems implements Serializable {
/** /**
*
* | 方向 | 字段名 | 对应方向 | 字段名 | * | 方向 | 字段名 | 对应方向 | 字段名 |
* | ------- | ------------- | -------- | --------- | * | ------- | ------------- | -------- | --------- |
* | ERP→WMS | lineNo | WMS→ERP | srcrowno | * | ERP→WMS | lineNo | WMS→ERP | srcrowno |
@@ -58,5 +57,7 @@ public class CallBackErpItems implements Serializable {
private Integer binvbatch; private Integer binvbatch;
@JsonProperty("jobid") @JsonProperty("jobid")
private String jobid; private String jobid;
@JsonProperty("stg_location")
private String stg_location;
} }

View File

@@ -353,9 +353,6 @@ public class ToErpServiceImpl implements IToErpService {
// return AjaxResult.error("不支持的单据类型或操作类型"); // return AjaxResult.error("不支持的单据类型或操作类型");
// //
// } // }
@Override @Override
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public AjaxResult receiveDeliveryNotice(DeliveryNoticeVo deliveryNoticeVo) { public AjaxResult receiveDeliveryNotice(DeliveryNoticeVo deliveryNoticeVo) {
@@ -639,7 +636,6 @@ public class ToErpServiceImpl implements IToErpService {
} }
@Override @Override
public void callbackInDeliveryNotice() { public void callbackInDeliveryNotice() {
@@ -1014,7 +1010,8 @@ public class ToErpServiceImpl implements IToErpService {
item.setSrcrowno(detail.getSpare6()); item.setSrcrowno(detail.getSpare6());
// 是否批次管理 // 是否批次管理
item.setBinvbatch(Integer.valueOf(detail.getIsBatchManage())); item.setBinvbatch(Integer.valueOf(detail.getIsBatchManage()));
// 仓库选择 1立库 2 平库
item.setStg_location(detail.getProductGuid());
detailList.add(item); detailList.add(item);
} }
@@ -1124,7 +1121,8 @@ public class ToErpServiceImpl implements IToErpService {
item.setSrcrowno(detail.getSpare6()); item.setSrcrowno(detail.getSpare6());
// 是否批次管理 // 是否批次管理
item.setBinvbatch(Integer.valueOf(detail.getIsBatchManage())); item.setBinvbatch(Integer.valueOf(detail.getIsBatchManage()));
// 仓库选择 1立库 2平库
item.setStg_location(detail.getProductGuid());
detailList.add(item); detailList.add(item);
} }

View File

@@ -73,4 +73,6 @@ public interface IInStockinService
public int deleteInStockinByStockinGuid(String stockinGuid); public int deleteInStockinByStockinGuid(String stockinGuid);
public List<InStockin> selectStockinByDetail(String stockinDetailId); public List<InStockin> selectStockinByDetail(String stockinDetailId);
} }

View File

@@ -73,4 +73,5 @@ public interface IOutStockoutService
List<OutStockout> selectOutStockoutListApi(OutStockout outStockoutParam); List<OutStockout> selectOutStockoutListApi(OutStockout outStockoutParam);
AjaxResult manualAllot(String[] stockList,String stockoutDetailId); AjaxResult manualAllot(String[] stockList,String stockoutDetailId);
} }