erp修改
This commit is contained in:
@@ -13,7 +13,7 @@ public class Header071 implements Serializable {
|
||||
private String pstng_date;
|
||||
|
||||
@Schema(description = "凭证日期(格式yyyyMMdd)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private LocalDate doc_date;
|
||||
private String doc_date;
|
||||
|
||||
@Schema(description = "抬头文本")
|
||||
private String header_txt;
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.zt.plat.module.erp.api.dto.dto078;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Schema(description = "RPC 服务 - 提交 ERP 078 接口请求参数DTO对象")
|
||||
@Data
|
||||
public class ErpSubmit078ReqDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "078 接口请求参数Head对象")
|
||||
private Header078 head;
|
||||
|
||||
@Schema(description = "078 接口请求参数列表对象")
|
||||
private List<ItemList078> item;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.zt.plat.module.erp.api.dto.dto078;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Schema(description = "078 接口请求参数Head对象")
|
||||
@Data
|
||||
public class Header078 implements Serializable {
|
||||
@Schema(description = "过账日期(格式yyyyMMdd)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String pstng_date;
|
||||
|
||||
@Schema(description = "凭证日期(格式yyyyMMdd)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String doc_date;
|
||||
|
||||
@Schema(description = "抬头文本")
|
||||
private String header_txt;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.zt.plat.module.erp.api.dto.dto078;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Schema(description = "078 接口请求参数列表对象")
|
||||
@Data
|
||||
public class ItemList078 implements Serializable {
|
||||
@Schema(description = "物料号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String material;
|
||||
|
||||
@Schema(description = "源工厂编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String plant;
|
||||
|
||||
@Schema(description = "源仓库编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String stge_loc;
|
||||
|
||||
@Schema(description = "批次")
|
||||
private String batch;
|
||||
|
||||
@Schema(description = "数量(可以为负数)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private BigDecimal entry_qnt;
|
||||
|
||||
@Schema(description = "计量单位(必须等于基本计量单位)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String entry_uom;
|
||||
|
||||
@Schema(description = "目标工厂编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String move_plant;
|
||||
|
||||
@Schema(description = "目标仓库编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String move_stloc;
|
||||
|
||||
@Schema(description = "采购订单号(WERKS_001指定的工厂内移库时必填)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String po_number;
|
||||
|
||||
@Schema(description = "行项目文本(会拼接物料名称放入对应会计凭证的行项目文本)")
|
||||
private String item_text;
|
||||
|
||||
@Schema(description = "参考凭证的年度(冲回时使用)")
|
||||
private Integer ref_doc_yr;
|
||||
|
||||
@Schema(description = "参考凭证编号(冲回时使用)")
|
||||
private String ref_doc;
|
||||
|
||||
@Schema(description = "参考凭证项目(冲回时使用)")
|
||||
private Integer ref_doc_it;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.zt.plat.module.erp.api.dto.dto093;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@Schema(description = "RPC 服务 - 提交 ERP 093 接口请求参数DTO对象")
|
||||
@Data
|
||||
public class ErpSubmit093ReqDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "093 接口请求参数Head对象")
|
||||
private Header093 head;
|
||||
|
||||
@Schema(description = "093 接口请求参数列表对象")
|
||||
private List<ItemList093> item;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.zt.plat.module.erp.api.dto.dto093;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Schema(description = "093 接口请求参数Head对象")
|
||||
@Data
|
||||
public class Header093 implements Serializable {
|
||||
@Schema(description = "拣配日期(格式yyyyMMdd)做为物料凭证的过账日期", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String due_date;
|
||||
|
||||
@Schema(description = "装运地点(格式yyyyMMdd)来源于数据字典", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String ship_point;
|
||||
|
||||
@Schema(description = "凭证日期(格式yyyyMMdd)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String doc_date;
|
||||
|
||||
@Schema(description = "凭证抬头文本(写入到对应会计凭证的抬头文本)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String bill_text;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.zt.plat.module.erp.api.dto.dto093;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Schema(description = "093 接口请求参数列表对象")
|
||||
@Data
|
||||
public class ItemList093 implements Serializable {
|
||||
@Schema(description = "销售订单号(单次提交只可使用同一销售订单)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String ref_doc;
|
||||
|
||||
@Schema(description = "销售订单行号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private Integer ref_item;
|
||||
|
||||
@Schema(description = "发货数量", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private BigDecimal dlv_qty;
|
||||
|
||||
@Schema(description = "发货计量单位(要与销售计量单位一致)",requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String sales_unit;
|
||||
|
||||
@Schema(description = "交货备注")
|
||||
private String note;
|
||||
|
||||
@Schema(description = "交货库位(会覆盖销售订单的交货仓库)")
|
||||
private String store_loc;
|
||||
|
||||
@Schema(description = "批次号")
|
||||
private String batch;
|
||||
}
|
||||
Reference in New Issue
Block a user