2026.4.13 早

接口回传,以及接口接收直接审核,回传表修改
This commit is contained in:
1009473166@qq.com
2026-04-13 09:57:34 +08:00
parent fa00020c38
commit 3729d0df5f
26 changed files with 999 additions and 217 deletions

View File

@@ -0,0 +1,63 @@
package com.ruoyi.api.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;
@NoArgsConstructor
@Data
public class CallBackErp implements Serializable {
/**
* | 方向 | 字段名 | 对应方向 | 字段名 |
* | ------- | ---------------- | -------- | -------- |
* | ERP→WMS | companyShortName | WMS→ERP | ccompany | 公司简称
* | ERP→WMS | accountSetNo | WMS→ERP | cacc_id | 账套号
* | ERP→WMS | warehouseId | WMS→ERP | cwhcode | 仓库
* | ERP→WMS | customerId | WMS→ERP | cvencode | 客户
* | ERP→WMS | customerName | WMS→ERP | cvenname | 客户名称
* | ERP→WMS | remark | WMS→ERP | cmemo |
*
*/
// 公司名称
@JsonProperty("ccompany")
private String ccompany;
// WMS单据号
@JsonProperty("ccode")
private String ccode;
// 操作日期
@JsonProperty("ddate")
private String ddate;
// 业务类型
@JsonProperty("cintype")
private String cintype;
// 供应商编码
@JsonProperty("cvencode")
private String cvencode;
// 供应商名称
@JsonProperty("cvenname")
private String cvenname;
// 出/入库人 操作人
@JsonProperty("coptname")
private String coptname;
// 仓库编码
@JsonProperty("cwhcode")
private String cwhcode;
// 仓库名称
@JsonProperty("cwhname")
private String cwhname;
// 备注
@JsonProperty("cmemo")
private String cmemo;
// 账套号
@JsonProperty("cacc_id")
private String caccId;
// 子明细
@JsonProperty("details")
private List<CallBackErpItems> details;
}

View File

@@ -0,0 +1,60 @@
package com.ruoyi.api.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.io.Serializable;
import java.util.List;
@NoArgsConstructor
@Data
@Getter
@Setter
public class CallBackErpItems implements Serializable {
/**
*
* | 方向 | 字段名 | 对应方向 | 字段名 |
* | ------- | ------------- | -------- | --------- |
* | ERP→WMS | lineNo | WMS→ERP | srcrowno |
* | ERP→WMS | sourceLineId | WMS→ERP | srcids |
* | ERP→WMS | oldProjectNo | WMS→ERP | cxmh |
* | ERP→WMS | projectNo | WMS→ERP | cnewxmh |
* | ERP→WMS | isBatchManage | WMS→ERP | binvbatch |
* | ERP→WMS | lotNo | WMS→ERP | cbatch |
*/
@JsonProperty("cinvcode")
private String cinvcode;
@JsonProperty("cinvname")
private String cinvname;
@JsonProperty("cinvstd")
private String cinvstd;
@JsonProperty("cinvm_unit")
private String cinvmUnit;
@JsonProperty("cposcode")
private String cposcode;
@JsonProperty("cposname")
private String cposname;
@JsonProperty("ctrayname")
private String ctrayname;
@JsonProperty("cbatch")
private String cbatch;
@JsonProperty("iquantity")
private Integer iquantity;
@JsonProperty("cxmh")
private String cxmh;
@JsonProperty("cnewxmh")
private String cnewxmh;
@JsonProperty("srccode")
private String srccode;
@JsonProperty("srcids")
private Integer srcids;
@JsonProperty("srcrowno")
private String srcrowno;
@JsonProperty("binvbatch")
private Integer binvbatch;
}

View File

@@ -18,41 +18,86 @@ import java.util.List;
public class DeliveryNoticeItemVo {
/** 行号 */
/**
* 行号
*/
private String lineNo;
/** 对应通知行号 */
/**
* 对应通知行号
*/
private String notelineNo;
/** 单据号 */
/**
* 单据号
*/
private String billNo;
/** 存货编码 */
/**
* 存货编码
*/
private String inventoryCode;
/** 存货名称 */
/**
* 存货名称
*/
private String inventoryName;
/** 规格型号 */
/**
* 规格型号
*/
private String specModel;
/** 层级关系 */
/**
* 层级关系
*/
private String levelRelation;
/** 上层物料 */
/**
* 上层物料
*/
private String upperMaterial;
/** 顶层物料 */
/**
* 顶层物料
*/
private String topMaterial;
/** 批次 */
/**
* 批次
*/
private String lotNo;
/** 计量单位 */
/**
* 计量单位
*/
private String unit;
/** 数量 */
/**
* 数量
*/
private String quantity;
/** 备注 */
/**
* 备注
*/
private String remark;
private List<LocationDetail> locations;
/**货位*/
/**
* 货位
*/
private String area;
/**托盘*/
/**
* 托盘
*/
private String location;
private String areaBefore;
private String locationBefore;
/**
* erp子表主键
***/
private String sourceLineId;
/**
* 条码号
***/
private String barCode;
/**
* 是否批次管理
**/
private String isBatchManage;
/**旧项目号**/
private String oldProjectNo;
}

View File

@@ -53,6 +53,11 @@ public class DeliveryNoticeVo {
private String destination;
/** 领料车间 */
private String workshop;
/** 公司简称**/
private String companyShortName;
/** 账套号**/
private String accountSetNo;
/** 子表明细列表 */
private List<DeliveryNoticeItemVo> detailList;
}