feat(buildpackage): 添加来源系统和原单信息字段

- 在 ConsignmachiningInReturn 和 ProxyPurchaseWarehousWarehouse 类中添加来源系统、原单单号和原单主键字段
- 更新 ConsignmachiningInHeadDto 和 PurchaseReceiptHeadDto 数据传输对象以包含新字段
- 修改字段名称以符合 U8C 系统的要求
This commit is contained in:
liuy 2025-01-08 11:01:16 +08:00
parent f4df767e90
commit c15e08f9af
4 changed files with 17 additions and 5 deletions

View File

@ -427,6 +427,10 @@ public class ConsignmachiningInReturn extends PluginBaseEntity {
poOrderParentDto.setDbilldate(generateBusinessDate);//入库日期
poOrderParentDto.setFreplenishflag(true);//是否退货
poOrderParentDto.setVuserdef17(ProfilesActiveConstant.sourceSystem1);//来源系统
poOrderParentDto.setVuserdef19(returnOrderHeaderDto.getCode());//原单单号
poOrderParentDto.setVuserdef20(returnOrderHeaderDto.getId());//原单主键
//委外入库表头明细行
List<ConsignmachiningInBodyDto> consignmachiningInBodyDtoArrayList = new ArrayList<>();
for (int j = 0; j < details.size(); j++) {

View File

@ -127,12 +127,12 @@ public class ProxyPurchaseWarehousWarehouse extends PluginBaseEntity {
@Override
public String getPluginName() {
return "OFS采购入库单生成U8C采购单(代理品牌)";
return "OFS采购入库单生成U8C采购入库单(代理品牌)";
}
@Override
public String getPluginLabel() {
return "OFS采购入库单生成U8C采购单(代理品牌)";
return "OFS采购入库单生成U8C采购入库单(代理品牌)";
}
@Override
@ -486,9 +486,9 @@ public class ProxyPurchaseWarehousWarehouse extends PluginBaseEntity {
poOrderParentDto.setPk_calbody(bdCalbodyEntity.getPkCalbody());//库存组织
poOrderParentDto.setCdispatcherid(bdRdclEntity.getPkRdcl());//收发类别
poOrderParentDto.setVdef17(ProfilesActiveConstant.sourceSystem1);//来源系统
poOrderParentDto.setVdef19(poOrderSonDto.getCode());//原单单号
poOrderParentDto.setVdef20(poOrderSonDto.getId());//原单主键
poOrderParentDto.setVuserdef17(ProfilesActiveConstant.sourceSystem1);//来源系统
poOrderParentDto.setVuserdef19(poOrderSonDto.getCode());//原单单号
poOrderParentDto.setVuserdef20(poOrderSonDto.getId());//原单主键
//采购入库单明细行
List<PurchaseReceiptBodyDto> purchaseReceiptBodyDtos = new ArrayList<>();

View File

@ -20,4 +20,8 @@ public class ConsignmachiningInHeadDto {
private String cdispatcherid;
private String dbilldate;
private Boolean freplenishflag;
private String vuserdef17;
private String vuserdef18;
private String vuserdef19;
private String vuserdef20;
}

View File

@ -54,4 +54,8 @@ public class PurchaseReceiptHeadDto {
private String vdef17;
private String vdef19;
private String vdef20;
private String vuserdef17;
private String vuserdef18;
private String vuserdef19;
private String vuserdef20;
}