共享付款处理自定义API
This commit is contained in:
parent
73d9668cfb
commit
496b5db763
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,309 @@
|
|||
/**
|
||||
* Copyright 2026 bejson.com
|
||||
*/
|
||||
package shkd.sys.sys.plugin.api.model.paybill;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiModel;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiParam;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2026-01-20 18:48:11
|
||||
*
|
||||
* @author bejson.com (i@bejson.com)
|
||||
* @website http://www.bejson.com/java2pojo/
|
||||
*/
|
||||
@ApiModel
|
||||
public class Data implements Serializable {
|
||||
|
||||
@ApiParam(value = "", example = "147",position = 1)
|
||||
private Date bizdate;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeetype;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String description;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String usage;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String recaccbankname;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String recbanknumber;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeename;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeeformid;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeebanknum;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeebankname;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeenumber;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String currency_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String org_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeracctbank_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String payeebank_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String settletype_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String paymentchannel;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String paymenttype_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String basecurrency_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String billtype_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String sourcetype;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String openorg_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String shkd_businessid;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String shkd_businessnumber;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String shkd_businessname;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String billstatus;
|
||||
@ApiParam(value = "", example = "")
|
||||
private boolean ispersonpay;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String paymentidentify_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String settletnumber;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String tranNo;
|
||||
@ApiParam(value = "", example = "")
|
||||
private Date expectdate;
|
||||
@ApiParam(value = "", example = "")
|
||||
private List<Entry> entry;
|
||||
public void setBizdate(Date bizdate) {
|
||||
this.bizdate = bizdate;
|
||||
}
|
||||
public Date getBizdate() {
|
||||
return bizdate;
|
||||
}
|
||||
|
||||
public void setPayeetype(String payeetype) {
|
||||
this.payeetype = payeetype;
|
||||
}
|
||||
public String getPayeetype() {
|
||||
return payeetype;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setUsage(String usage) {
|
||||
this.usage = usage;
|
||||
}
|
||||
public String getUsage() {
|
||||
return usage;
|
||||
}
|
||||
|
||||
public void setRecaccbankname(String recaccbankname) {
|
||||
this.recaccbankname = recaccbankname;
|
||||
}
|
||||
public String getRecaccbankname() {
|
||||
return recaccbankname;
|
||||
}
|
||||
|
||||
public void setRecbanknumber(String recbanknumber) {
|
||||
this.recbanknumber = recbanknumber;
|
||||
}
|
||||
public String getRecbanknumber() {
|
||||
return recbanknumber;
|
||||
}
|
||||
|
||||
public void setPayeename(String payeename) {
|
||||
this.payeename = payeename;
|
||||
}
|
||||
public String getPayeename() {
|
||||
return payeename;
|
||||
}
|
||||
|
||||
public void setPayeeformid(String payeeformid) {
|
||||
this.payeeformid = payeeformid;
|
||||
}
|
||||
public String getPayeeformid() {
|
||||
return payeeformid;
|
||||
}
|
||||
|
||||
public void setPayeebanknum(String payeebanknum) {
|
||||
this.payeebanknum = payeebanknum;
|
||||
}
|
||||
public String getPayeebanknum() {
|
||||
return payeebanknum;
|
||||
}
|
||||
|
||||
public void setPayeebankname(String payeebankname) {
|
||||
this.payeebankname = payeebankname;
|
||||
}
|
||||
public String getPayeebankname() {
|
||||
return payeebankname;
|
||||
}
|
||||
|
||||
public void setPayeenumber(String payeenumber) {
|
||||
this.payeenumber = payeenumber;
|
||||
}
|
||||
public String getPayeenumber() {
|
||||
return payeenumber;
|
||||
}
|
||||
|
||||
public void setCurrency_number(String currency_number) {
|
||||
this.currency_number = currency_number;
|
||||
}
|
||||
public String getCurrency_number() {
|
||||
return currency_number;
|
||||
}
|
||||
|
||||
public void setOrg_number(String org_number) {
|
||||
this.org_number = org_number;
|
||||
}
|
||||
public String getOrg_number() {
|
||||
return org_number;
|
||||
}
|
||||
|
||||
public void setPayeracctbank_number(String payeracctbank_number) {
|
||||
this.payeracctbank_number = payeracctbank_number;
|
||||
}
|
||||
public String getPayeracctbank_number() {
|
||||
return payeracctbank_number;
|
||||
}
|
||||
|
||||
public void setPayeebank_number(String payeebank_number) {
|
||||
this.payeebank_number = payeebank_number;
|
||||
}
|
||||
public String getPayeebank_number() {
|
||||
return payeebank_number;
|
||||
}
|
||||
|
||||
public void setSettletype_number(String settletype_number) {
|
||||
this.settletype_number = settletype_number;
|
||||
}
|
||||
public String getSettletype_number() {
|
||||
return settletype_number;
|
||||
}
|
||||
|
||||
public void setPaymentchannel(String paymentchannel) {
|
||||
this.paymentchannel = paymentchannel;
|
||||
}
|
||||
public String getPaymentchannel() {
|
||||
return paymentchannel;
|
||||
}
|
||||
|
||||
public void setPaymenttype_number(String paymenttype_number) {
|
||||
this.paymenttype_number = paymenttype_number;
|
||||
}
|
||||
public String getPaymenttype_number() {
|
||||
return paymenttype_number;
|
||||
}
|
||||
|
||||
public void setBasecurrency_number(String basecurrency_number) {
|
||||
this.basecurrency_number = basecurrency_number;
|
||||
}
|
||||
public String getBasecurrency_number() {
|
||||
return basecurrency_number;
|
||||
}
|
||||
|
||||
public void setBilltype_number(String billtype_number) {
|
||||
this.billtype_number = billtype_number;
|
||||
}
|
||||
public String getBilltype_number() {
|
||||
return billtype_number;
|
||||
}
|
||||
|
||||
public void setSourcetype(String sourcetype) {
|
||||
this.sourcetype = sourcetype;
|
||||
}
|
||||
public String getSourcetype() {
|
||||
return sourcetype;
|
||||
}
|
||||
|
||||
public void setOpenorg_number(String openorg_number) {
|
||||
this.openorg_number = openorg_number;
|
||||
}
|
||||
public String getOpenorg_number() {
|
||||
return openorg_number;
|
||||
}
|
||||
|
||||
public void setShkd_businessid(String shkd_businessid) {
|
||||
this.shkd_businessid = shkd_businessid;
|
||||
}
|
||||
public String getShkd_businessid() {
|
||||
return shkd_businessid;
|
||||
}
|
||||
|
||||
public void setShkd_businessnumber(String shkd_businessnumber) {
|
||||
this.shkd_businessnumber = shkd_businessnumber;
|
||||
}
|
||||
public String getShkd_businessnumber() {
|
||||
return shkd_businessnumber;
|
||||
}
|
||||
|
||||
public void setShkd_businessname(String shkd_businessname) {
|
||||
this.shkd_businessname = shkd_businessname;
|
||||
}
|
||||
public String getShkd_businessname() {
|
||||
return shkd_businessname;
|
||||
}
|
||||
|
||||
public void setBillstatus(String billstatus) {
|
||||
this.billstatus = billstatus;
|
||||
}
|
||||
public String getBillstatus() {
|
||||
return billstatus;
|
||||
}
|
||||
|
||||
public void setIspersonpay(boolean ispersonpay) {
|
||||
this.ispersonpay = ispersonpay;
|
||||
}
|
||||
public boolean getIspersonpay() {
|
||||
return ispersonpay;
|
||||
}
|
||||
|
||||
public void setPaymentidentify_number(String paymentidentify_number) {
|
||||
this.paymentidentify_number = paymentidentify_number;
|
||||
}
|
||||
public String getPaymentidentify_number() {
|
||||
return paymentidentify_number;
|
||||
}
|
||||
|
||||
public void setSettletnumber(String settletnumber) {
|
||||
this.settletnumber = settletnumber;
|
||||
}
|
||||
public String getSettletnumber() {
|
||||
return settletnumber;
|
||||
}
|
||||
|
||||
public void setTranNo(String tranNo) {
|
||||
this.tranNo = tranNo;
|
||||
}
|
||||
public String getTranNo() {
|
||||
return tranNo;
|
||||
}
|
||||
|
||||
public void setExpectdate(Date expectdate) {
|
||||
this.expectdate = expectdate;
|
||||
}
|
||||
public Date getExpectdate() {
|
||||
return expectdate;
|
||||
}
|
||||
|
||||
public void setEntry(List<Entry> entry) {
|
||||
this.entry = entry;
|
||||
}
|
||||
public List<Entry> getEntry() {
|
||||
return entry;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
/**
|
||||
* Copyright 2026 bejson.com
|
||||
*/
|
||||
package shkd.sys.sys.plugin.api.model.paybill;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiModel;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiParam;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2026-01-20 18:48:11
|
||||
*
|
||||
* @author bejson.com (i@bejson.com)
|
||||
* @website http://www.bejson.com/java2pojo/
|
||||
*/
|
||||
@ApiModel
|
||||
public class Entry {
|
||||
|
||||
@ApiParam(value = "", example = "")
|
||||
private int seq;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String e_paymenttype_number;
|
||||
@ApiParam(value = "", example = "")
|
||||
private String e_payableamt;
|
||||
@ApiParam(value = "", example = "")
|
||||
private Date shkd_jhkm_number;
|
||||
|
||||
public void setSeq(int seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
public int getSeq() {
|
||||
return seq;
|
||||
}
|
||||
|
||||
public void setE_paymenttype_number(String e_paymenttype_number) {
|
||||
this.e_paymenttype_number = e_paymenttype_number;
|
||||
}
|
||||
public String getE_paymenttype_number() {
|
||||
return e_paymenttype_number;
|
||||
}
|
||||
|
||||
public void setE_payableamt(String e_payableamt) {
|
||||
this.e_payableamt = e_payableamt;
|
||||
}
|
||||
public String getE_payableamt() {
|
||||
return e_payableamt;
|
||||
}
|
||||
|
||||
public void setShkd_jhkm_number(Date shkd_jhkm_number) {
|
||||
this.shkd_jhkm_number = shkd_jhkm_number;
|
||||
}
|
||||
public Date getShkd_jhkm_number() {
|
||||
return shkd_jhkm_number;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* Copyright 2026 bejson.com
|
||||
*/
|
||||
package shkd.sys.sys.plugin.api.model.paybill;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiModel;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiParam;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2026-01-20 18:48:11
|
||||
*
|
||||
* @author bejson.com (i@bejson.com)
|
||||
* @website http://www.bejson.com/java2pojo/
|
||||
*/
|
||||
@ApiModel
|
||||
public class PaybillModel implements Serializable {
|
||||
|
||||
@ApiParam(value = "集合", example = "")
|
||||
private List<Data> data;
|
||||
public void setData(List<Data> data) {
|
||||
this.data = data;
|
||||
}
|
||||
public List<Data> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
package shkd.sys.sys.plugin.api.result;
|
||||
|
||||
import kd.bos.openapi.common.custom.annotation.ApiModel;
|
||||
import kd.bos.openapi.common.custom.annotation.ApiParam;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
@ApiModel
|
||||
public class CustomerApiResultExt implements Serializable {
|
||||
@ApiParam("操作失败数量")
|
||||
private int failCount;
|
||||
@ApiParam("操作成功数量")
|
||||
private int successCount;
|
||||
@ApiParam("返回结果")
|
||||
private List<ResultBean> result;
|
||||
|
||||
public int getFailCount() {
|
||||
return failCount;
|
||||
}
|
||||
|
||||
public void setFailCount(int failCount) {
|
||||
this.failCount = failCount;
|
||||
}
|
||||
|
||||
public int getSuccessCount() {
|
||||
return successCount;
|
||||
}
|
||||
|
||||
public void setSuccessCount(int successCount) {
|
||||
this.successCount = successCount;
|
||||
}
|
||||
|
||||
public List<ResultBean> getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(List<ResultBean> result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@ApiModel
|
||||
public static class ResultBean implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* billIndex : 0
|
||||
* billStatus : true
|
||||
* errors : []
|
||||
* id : 2516165994813847552
|
||||
* keys : {"id":"2516165994813847552"}
|
||||
* number : CQ-XX-000001
|
||||
* type : Add
|
||||
*/
|
||||
@ApiParam("传入参数业中务系统单据唯一标识")
|
||||
private String shkd_businessid;
|
||||
@ApiParam("传入参数业中务系统单据唯一标识")
|
||||
private String shkd_businessnumber;
|
||||
@ApiParam("传入参数data数组下标位")
|
||||
private int billIndex;
|
||||
@ApiParam("单据处理结果成功/失败")
|
||||
private boolean billStatus;
|
||||
@ApiParam("返回的苍穹单据id,唯一值")
|
||||
private String id;
|
||||
@ApiParam("返回的苍穹单据编号")
|
||||
private String billno;
|
||||
@ApiParam("结果数据")
|
||||
private String type;
|
||||
@ApiParam("单据已存在是否返回成功")
|
||||
private String isExist;
|
||||
|
||||
@ApiParam("错误校验提示内容详细")
|
||||
private List<String> errors;
|
||||
|
||||
public int getBillIndex() {
|
||||
return billIndex;
|
||||
}
|
||||
|
||||
public void setBillIndex(int billIndex) {
|
||||
this.billIndex = billIndex;
|
||||
}
|
||||
|
||||
public boolean isBillStatus() {
|
||||
return billStatus;
|
||||
}
|
||||
|
||||
public void setBillStatus(boolean billStatus) {
|
||||
this.billStatus = billStatus;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
|
||||
public List<String> getErrors() {
|
||||
return errors;
|
||||
}
|
||||
|
||||
public void setErrors(List<String> errors) {
|
||||
this.errors = errors;
|
||||
}
|
||||
|
||||
public String getIsExist() {
|
||||
return isExist;
|
||||
}
|
||||
|
||||
public void setIsExist(String isExist) {
|
||||
this.isExist = isExist;
|
||||
}
|
||||
|
||||
public String getShkd_businessid() {
|
||||
return shkd_businessid;
|
||||
}
|
||||
public void setShkd_businessid(String shkd_businessid) {
|
||||
this.shkd_businessid = shkd_businessid;
|
||||
}
|
||||
|
||||
public String getShkd_businessnumber() {
|
||||
return shkd_businessnumber;
|
||||
}
|
||||
public void setShkd_businessnumber(String shkd_businessnumber) {
|
||||
this.shkd_businessnumber = shkd_businessnumber;
|
||||
}
|
||||
|
||||
public String getBillno() {
|
||||
return billno;
|
||||
}
|
||||
public void setBillno(String billno) {
|
||||
this.billno = billno;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue