fix: 付款申请实体按接口文档标注必填并将awrp_src_type从A103-1表头移至分录
This commit is contained in:
+3
-8
@@ -42,17 +42,17 @@ public class BfiPayApplyPushDTO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 外部系统来源单据号,与 awrp_src_sys 组成候选键用于防重
|
||||
* 【必填】外部系统来源单据号,与 awrp_src_sys 组成候选键用于防重,不能重复
|
||||
*/
|
||||
@JsonProperty("awrp_src_code")
|
||||
private String awrpSrcCode;
|
||||
/**
|
||||
* 外部系统编号
|
||||
* 【必填】外部系统编号
|
||||
*/
|
||||
@JsonProperty("awrp_src_sys")
|
||||
private String awrpSrcSys;
|
||||
/**
|
||||
* 申请日期,格式:yyyy-MM-dd
|
||||
* 【必填】申请日期,格式:yyyy-MM-dd
|
||||
*/
|
||||
private String applydate;
|
||||
/**
|
||||
@@ -103,11 +103,6 @@ public class BfiPayApplyPushDTO implements Serializable {
|
||||
* 汇率日期,格式:yyyy-MM-dd,不传时根据应付单自动带出
|
||||
*/
|
||||
private String exratedate;
|
||||
/**
|
||||
* 外部单据类型
|
||||
*/
|
||||
@JsonProperty("awrp_src_type")
|
||||
private String awrpSrcType;
|
||||
/**
|
||||
* 付款申请分录
|
||||
*/
|
||||
|
||||
+12
-7
@@ -42,33 +42,33 @@ public class BfiPayApplyPushEntryDTO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 付款类型.编码,如 201 采购付款
|
||||
* 【必填】付款类型.编码,如 201 采购付款
|
||||
*/
|
||||
@JsonProperty("e_paymenttype_number")
|
||||
private String ePaymenttypeNumber;
|
||||
/**
|
||||
* 结算单分录id,传来源系统结算单分录id,用于关联星瀚对应的应付单行,
|
||||
* 【必填】结算单分录id,传来源系统结算单分录id,用于关联星瀚对应的应付单行,
|
||||
* 对应财务应付单传的 awrp_entry_code 字段
|
||||
*/
|
||||
@JsonProperty("awrp_finapbill_entryid")
|
||||
private String awrpFinapbillEntryid;
|
||||
/**
|
||||
* 对方系统唯一行id,不能重复
|
||||
* 【必填】对方系统唯一行id,不能重复
|
||||
*/
|
||||
@JsonProperty("awrp_entry_code")
|
||||
private String awrpEntryCode;
|
||||
/**
|
||||
* 往来账户
|
||||
* 【必填】往来账户
|
||||
*/
|
||||
@JsonProperty("e_assacct")
|
||||
private String eAssacct;
|
||||
/**
|
||||
* 往来银行.编码
|
||||
* 【必填】往来银行.编码
|
||||
*/
|
||||
@JsonProperty("e_bebank_number")
|
||||
private String eBebankNumber;
|
||||
/**
|
||||
* 申请金额
|
||||
* 【必填】申请金额
|
||||
*/
|
||||
@JsonProperty("e_applyamount")
|
||||
private BigDecimal eApplyamount;
|
||||
@@ -88,7 +88,7 @@ public class BfiPayApplyPushEntryDTO implements Serializable {
|
||||
@JsonProperty("e_settlementtype_number")
|
||||
private String eSettlementtypeNumber;
|
||||
/**
|
||||
* 项目.项目编码,必填,若不涉及项目传编码 999
|
||||
* 【必填】项目.项目编码,必填,若不涉及项目传编码 999
|
||||
*/
|
||||
@JsonProperty("project_number")
|
||||
private String projectNumber;
|
||||
@@ -107,4 +107,9 @@ public class BfiPayApplyPushEntryDTO implements Serializable {
|
||||
*/
|
||||
@JsonProperty("awrp_splb_number")
|
||||
private String awrpSplbNumber;
|
||||
/**
|
||||
* 【必填】外部单据类型
|
||||
*/
|
||||
@JsonProperty("awrp_src_type")
|
||||
private String awrpSrcType;
|
||||
}
|
||||
|
||||
+2
-2
@@ -41,11 +41,11 @@ public class BfiPayApplyQueryDTO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 页码,从1开始
|
||||
*【必填】 页码,从1开始
|
||||
*/
|
||||
private Integer pageNo;
|
||||
/**
|
||||
* 页数
|
||||
*【必填】 页数
|
||||
*/
|
||||
private Integer pageSize;
|
||||
/**
|
||||
|
||||
+12
-12
@@ -42,12 +42,12 @@ public class BfiPayApplySaveDTO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 外部系统来源单据号,与 awrp_src_sys 组成候选键用于防重
|
||||
*【必填】 外部系统来源单据号,与 awrp_src_sys 组成候选键用于防重
|
||||
*/
|
||||
@JsonProperty("awrp_src_code")
|
||||
private String awrpSrcCode;
|
||||
/**
|
||||
* 外部系统编号
|
||||
*【必填】 外部系统编号
|
||||
*/
|
||||
@JsonProperty("awrp_src_sys")
|
||||
private String awrpSrcSys;
|
||||
@@ -57,26 +57,26 @@ public class BfiPayApplySaveDTO implements Serializable {
|
||||
@JsonProperty("settleorg_number")
|
||||
private String settleorgNumber;
|
||||
/**
|
||||
* 单据类型.编码:ap_payapply_BT_S 采购付款申请、ap_payapply_oth_BT_S 其他付款申请
|
||||
*【必填】 单据类型.编码:ap_payapply_BT_S 采购付款申请、ap_payapply_oth_BT_S 其他付款申请
|
||||
*/
|
||||
@JsonProperty("billtype_number")
|
||||
private String billtypeNumber;
|
||||
/**
|
||||
* 申请日期,格式:yyyy-MM-dd
|
||||
*【必填】 申请日期,格式:yyyy-MM-dd
|
||||
*/
|
||||
private String applydate;
|
||||
/**
|
||||
* 申请组织.编码 传组织编码
|
||||
*【必填】 申请组织.编码 传组织编码
|
||||
*/
|
||||
@JsonProperty("applyorg_number")
|
||||
private String applyorgNumber;
|
||||
/**
|
||||
* 付款组织.编码 传组织编码
|
||||
*【必填】 付款组织.编码 传组织编码
|
||||
*/
|
||||
@JsonProperty("payorg_number")
|
||||
private String payorgNumber;
|
||||
/**
|
||||
* 采购组织.编码 传组织编码
|
||||
*【必填】 采购组织.编码 传组织编码
|
||||
*/
|
||||
@JsonProperty("purorg_number")
|
||||
private String purorgNumber;
|
||||
@@ -95,27 +95,27 @@ public class BfiPayApplySaveDTO implements Serializable {
|
||||
*/
|
||||
private String applycause;
|
||||
/**
|
||||
* 付款币种.编码,如 CNY
|
||||
*【必填】 付款币种.编码,如 CNY
|
||||
*/
|
||||
@JsonProperty("paycurrency_number")
|
||||
private String paycurrencyNumber;
|
||||
/**
|
||||
* 结算币.编码,如 CNY
|
||||
*【必填】 结算币.编码,如 CNY
|
||||
*/
|
||||
@JsonProperty("settlecurrency_number")
|
||||
private String settlecurrencyNumber;
|
||||
/**
|
||||
* 外部单据类型 0KzXs
|
||||
*【必填】 外部单据类型 0KzXs
|
||||
*/
|
||||
@JsonProperty("awrp_src_type")
|
||||
private String awrpSrcType;
|
||||
/**
|
||||
* 汇率表.编码,如 01
|
||||
*【必填】 汇率表.编码,如 01
|
||||
*/
|
||||
@JsonProperty("exratetable_number")
|
||||
private String exratetableNumber;
|
||||
/**
|
||||
* 汇率日期,格式:yyyy-MM-dd
|
||||
*【必填】 汇率日期,格式:yyyy-MM-dd
|
||||
*/
|
||||
private String exratedate;
|
||||
/**
|
||||
|
||||
+8
-8
@@ -42,27 +42,27 @@ public class BfiPayApplySaveEntryDTO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* 付款类型.编码,预付款传 202
|
||||
*【必填】 付款类型.编码,预付款传 202
|
||||
*/
|
||||
@JsonProperty("e_paymenttype_number")
|
||||
private String ePaymenttypeNumber;
|
||||
/**
|
||||
* 往来类型:bd_supplier 供应商、bos_user 人员、bos_org 公司、bd_customer 客户
|
||||
*【必填】 往来类型:bd_supplier 供应商、bos_user 人员、bos_org 公司、bd_customer 客户
|
||||
*/
|
||||
@JsonProperty("e_asstacttype")
|
||||
private String eAsstacttype;
|
||||
/**
|
||||
* 往来户.编码,根据所选往来类型传对应编码
|
||||
*【必填】 往来户.编码,根据所选往来类型传对应编码
|
||||
*/
|
||||
@JsonProperty("e_asstact_number")
|
||||
private String eAsstactNumber;
|
||||
/**
|
||||
* 往来账户
|
||||
*【必填】 往来账户
|
||||
*/
|
||||
@JsonProperty("e_assacct")
|
||||
private String eAssacct;
|
||||
/**
|
||||
* 往来银行.编码
|
||||
*【必填】 往来银行.编码
|
||||
*/
|
||||
@JsonProperty("e_bebank_number")
|
||||
private String eBebankNumber;
|
||||
@@ -72,7 +72,7 @@ public class BfiPayApplySaveEntryDTO implements Serializable {
|
||||
@JsonProperty("e_payamount")
|
||||
private BigDecimal ePayamount;
|
||||
/**
|
||||
* 申请金额
|
||||
*【必填】 申请金额
|
||||
*/
|
||||
@JsonProperty("e_applyamount")
|
||||
private BigDecimal eApplyamount;
|
||||
@@ -87,7 +87,7 @@ public class BfiPayApplySaveEntryDTO implements Serializable {
|
||||
@JsonProperty("e_duedate")
|
||||
private String eDuedate;
|
||||
/**
|
||||
* 项目.项目编码,必填,若不涉及项目传编码 999
|
||||
*【必填】 项目.项目编码,必填,若不涉及项目传编码 999
|
||||
*/
|
||||
@JsonProperty("project_number")
|
||||
private String projectNumber;
|
||||
@@ -107,7 +107,7 @@ public class BfiPayApplySaveEntryDTO implements Serializable {
|
||||
@JsonProperty("awrp_src_con_eno")
|
||||
private String awrpSrcConEno;
|
||||
/**
|
||||
* 对方系统唯一行id,不能重复
|
||||
*【必填】 对方系统唯一行id,不能重复
|
||||
*/
|
||||
@JsonProperty("awrp_entry_code")
|
||||
private String awrpEntryCode;
|
||||
|
||||
Reference in New Issue
Block a user