#批量代扣_扣款与查询请求报文区分主体

This commit is contained in:
zhangjun 2019-12-01 16:34:16 +08:00
parent 86d4d03b1c
commit eed0404add
5 changed files with 2184 additions and 2085 deletions

View File

@ -3251,120 +3251,120 @@
</manager>
</class>
<class name="VI_DEALER_COLLECTION" label="经销商催收报表" keyAttributes="">
<attributes>
<attribute name="project_no" label="申请号码" type="STRING"/>
<attribute name="CONTRACT_NO" label="合同号" type="STRING"/>
<attribute name="FULLNAME" label="主借人姓名" type="STRING"/>
<attribute name="mobile" label="主借人手机号" type="STRING"/>
<attribute name="NAME" label="共借人姓名" type="STRING"/>
<attribute name="tel" label="共借人手机号" type="STRING"/>
<attribute name="over_Principal" label="逾期本金" type="STRING"/>
<attribute name="over_interest" label="逾期利息" type="STRING"/>
<attribute name="over_penalty" label="逾期罚息" type="STRING"/>
<attribute name="over_money" label="逾期金额合计" type="STRING"/>
<attribute name="corpus_overs" label="未还本金" type="STRING"/>
<attribute name="interest_overs" label="未还所有利息" type="STRING"/>
<attribute name="rent_overs" label="总应收" type="STRING"/>
<attribute name="distributor_name" label="经销商名称" type="STRING"/>
<attribute name="LICENSE_PLATE_NUMBER" label="车牌号" type="STRING"/>
<attribute name="over_days" label="逾期天数" type="STRING"/>
<attribute name="return_period" label="已还期数" type="STRING"/>
<attribute name="over_list" label="未还期数" type="STRING"/>
<attribute name="over_num" label="历史逾期情况" type="STRING"/>
<attribute name="CERTID" label="主借款人身份证号" type="STRING"/>
<attribute name="certid1" label="主借人身份证号" type="STRING"/>
<attribute name="distributor_no" label="经销商编码" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_dealer_collection" />
</managerProperties>
</manager>
<class name="VI_DEALER_COLLECTION" label="经销商催收报表" keyAttributes="">
<attributes>
<attribute name="project_no" label="申请号码" type="STRING"/>
<attribute name="CONTRACT_NO" label="合同号" type="STRING"/>
<attribute name="FULLNAME" label="主借人姓名" type="STRING"/>
<attribute name="mobile" label="主借人手机号" type="STRING"/>
<attribute name="NAME" label="共借人姓名" type="STRING"/>
<attribute name="tel" label="共借人手机号" type="STRING"/>
<attribute name="over_Principal" label="逾期本金" type="STRING"/>
<attribute name="over_interest" label="逾期利息" type="STRING"/>
<attribute name="over_penalty" label="逾期罚息" type="STRING"/>
<attribute name="over_money" label="逾期金额合计" type="STRING"/>
<attribute name="corpus_overs" label="未还本金" type="STRING"/>
<attribute name="interest_overs" label="未还所有利息" type="STRING"/>
<attribute name="rent_overs" label="总应收" type="STRING"/>
<attribute name="distributor_name" label="经销商名称" type="STRING"/>
<attribute name="LICENSE_PLATE_NUMBER" label="车牌号" type="STRING"/>
<attribute name="over_days" label="逾期天数" type="STRING"/>
<attribute name="return_period" label="已还期数" type="STRING"/>
<attribute name="over_list" label="未还期数" type="STRING"/>
<attribute name="over_num" label="历史逾期情况" type="STRING"/>
<attribute name="CERTID" label="主借款人身份证号" type="STRING"/>
<attribute name="certid1" label="主借人身份证号" type="STRING"/>
<attribute name="distributor_no" label="经销商编码" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_dealer_collection" />
</managerProperties>
</manager>
</class>
<class name="LPOUNDAGE_MAINTENANCE" label="" keyAttributes="id">
<attributes>
<class name="LPOUNDAGE_MAINTENANCE" label="" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="start_date" label="开始日期" type="STRING" length="32"/>
<attribute name="expiry_date" label="终止日期" type="STRING" length="32"/>
<attribute name="validity_date" label="有效期" type="STRING" length="50"/>
<attribute name="subject" label="主体" type="STRING" length="50"/>
<attribute name="charge_channel" label="扣款渠道" type="STRING" length="50"/>
<attribute name="charge_way" label="扣款方式" type="STRING" length="50"/>
<attribute name="rate" label="费率" type="STRING" length="50"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lpoundage_maintenance" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="SEND_TEXT_MMESSAGE" label="短信发送" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="channel_name" label="渠道名称" type="STRING" length="50"/>
<attribute name="channel_no" label="渠道编号" type="STRING" length="32"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="expiry_date" label="终止日期" type="STRING" length="32"/>
<attribute name="validity_date" label="有效期" type="STRING" length="50"/>
<attribute name="subject" label="主体" type="STRING" length="50"/>
<attribute name="charge_channel" label="扣款渠道" type="STRING" length="50"/>
<attribute name="charge_way" label="扣款方式" type="STRING" length="50"/>
<attribute name="rate" label="费率" type="STRING" length="50"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
<attribute name="msg_type" label="短信类型" type="STRING" length="40"/>
</attributes>
<manager>
<managerProperties>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lpoundage_maintenance" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="SEND_TEXT_MMESSAGE" label="" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="channel_name" label="渠道名称" type="STRING" length="50"/>
<attribute name="channel_no" label="渠道编号" type="STRING" length="32"/>
<attribute name="msg_type" label="短信类型" type="STRING" length="40"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="send_text_mmessage" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="VI_DISTRIBUTOR_INFO" label="经销商信息页签" keyAttributes="">
<attributes>
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="VI_DISTRIBUTOR_INFO" label="经销商信息页签" keyAttributes="">
<attributes>
<attribute name="DISTRIBUTOR_NO" label="经销商编号" type="STRING"/>
<attribute name="DISTRIBUTOR_ID" label="经销商编码" type="STRING"/>
<attribute name="DISTRIBUTOR_NAME" label="经销商名称" type="STRING"/>
<attribute name="TOTAL" label="贷款额度" type="STRING"/>
<attribute name="CORPUS" label="本金余额" type="STRING"/>
<attribute name="CLEAN_LEASE_MONEY" label="业务申请审批通过且未付款金额" type="STRING"/>
<attribute name="surplus_sum" label="剩余额度" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_distributor_info" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="DEDUCTIONS_WAY" label="扣款方式" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="dealers_number" label="渠道编号" type="STRING" length="200"/>
<attribute name="dealers_name" label="渠道名称" type="STRING" length="200"/>
<attribute name="Whether_to_enable" label="是否启用" type="STRING" length="32"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="deductions_way" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
<attribute name="DISTRIBUTOR_ID" label="经销商编码" type="STRING"/>
<attribute name="DISTRIBUTOR_NAME" label="经销商名称" type="STRING"/>
<attribute name="TOTAL" label="贷款额度" type="STRING"/>
<attribute name="CORPUS" label="本金余额" type="STRING"/>
<attribute name="CLEAN_LEASE_MONEY" label="业务申请审批通过且未付款金额" type="STRING"/>
<attribute name="surplus_sum" label="剩余额度" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_distributor_info" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="DEDUCTIONS_WAY" label="扣款方式" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="dealers_number" label="渠道编号" type="STRING" length="200"/>
<attribute name="dealers_name" label="渠道名称" type="STRING" length="200"/>
<attribute name="Whether_to_enable" label="是否启用" type="STRING" length="32"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="deductions_way" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
</jbo>

View File

@ -2406,6 +2406,7 @@
<attribute name="BATCH_SN" label="一笔批量交易流水内项数SN" type="STRING"/>
<attribute name="FAILURE_TIME" label="失败时间" type="STRING"/>
<attribute name="FAILURE_REASON" label="失败原因" type="STRING"/>
<attribute name="SUBJECTID" label="主体id" type="STRING"/>
</attributes>
<manager>
<managerProperties>

View File

@ -1,142 +1,163 @@
package com.amarsoft.app.awe.config;
public class CollectProperties{
private String c_serverUrl;
private String b_serverUrl;
private String merchantId;
private String flag;
private String userName;
private String userPass;
private String businessCode;
private String c_dataType;
private String c_level;
private String c_trxCode;
private String c_version;
private String b_trxCode;
private String b_version;
private String b_dataType;
private String b_level;
private String publicKeyUrl;
private String privateKeyUrl;
private String clearRequestUrl;
private String batch_trxCode;//ÅúÁ¿½»Ò×´úÂë
public String getBatch_trxCode() {
return batch_trxCode;
}
public void setBatch_trxCode(String batch_trxCode) {
this.batch_trxCode = batch_trxCode;
}
public String getPublicKeyUrl() {
return publicKeyUrl;
}
public void setPublicKeyUrl(String publicKeyUrl) {
this.publicKeyUrl = publicKeyUrl;
}
public String getPrivateKeyUrl() {
return privateKeyUrl;
}
public void setPrivateKeyUrl(String privateKeyUrl) {
this.privateKeyUrl = privateKeyUrl;
}
public String getClearRequestUrl() {
return clearRequestUrl;
}
public void setClearRequestUrl(String clearRequestUrl) {
this.clearRequestUrl = clearRequestUrl;
}
public String getC_serverUrl() {
return c_serverUrl;
}
public void setC_serverUrl(String c_serverUrl) {
this.c_serverUrl = c_serverUrl;
}
public String getB_serverUrl() {
return b_serverUrl;
}
public void setB_serverUrl(String b_serverUrl) {
this.b_serverUrl = b_serverUrl;
}
public String getMerchantId() {
return merchantId;
}
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserPass() {
return userPass;
}
public void setUserPass(String userPass) {
this.userPass = userPass;
}
public String getBusinessCode() {
return businessCode;
}
public void setBusinessCode(String businessCode) {
this.businessCode = businessCode;
}
public String getC_dataType() {
return c_dataType;
}
public void setC_dataType(String c_dataType) {
this.c_dataType = c_dataType;
}
public String getC_level() {
return c_level;
}
public void setC_level(String c_level) {
this.c_level = c_level;
}
public String getC_trxCode() {
return c_trxCode;
}
public void setC_trxCode(String c_trxCode) {
this.c_trxCode = c_trxCode;
}
public String getC_version() {
return c_version;
}
public void setC_version(String c_version) {
this.c_version = c_version;
}
public String getB_trxCode() {
return b_trxCode;
}
public void setB_trxCode(String b_trxCode) {
this.b_trxCode = b_trxCode;
}
public String getB_version() {
return b_version;
}
public void setB_version(String b_version) {
this.b_version = b_version;
}
public String getB_dataType() {
return b_dataType;
}
public void setB_dataType(String b_dataType) {
this.b_dataType = b_dataType;
}
public String getB_level() {
return b_level;
}
public void setB_level(String b_level) {
this.b_level = b_level;
}
}
package com.amarsoft.app.awe.config;
public class CollectProperties{
private String c_serverUrl;
private String b_serverUrl;
private String merchantId;
private String flag;
private String userName;
private String userPass;
private String businessCode;
private String c_dataType;
private String c_level;
private String c_trxCode;
private String c_version;
private String b_trxCode;
private String b_version;
private String b_dataType;
private String b_level;
private String publicKeyUrl;
private String privateKeyUrl;
private String clearRequestUrl;
private String batch_trxCode;//ÅúÁ¿½»Ò×´úÂë
private String tianJinmerchantId;
private String tianJinuserName;
private String tianJinuserPass;
public String getBatch_trxCode() {
return batch_trxCode;
}
public void setBatch_trxCode(String batch_trxCode) {
this.batch_trxCode = batch_trxCode;
}
public String getPublicKeyUrl() {
return publicKeyUrl;
}
public void setPublicKeyUrl(String publicKeyUrl) {
this.publicKeyUrl = publicKeyUrl;
}
public String getPrivateKeyUrl() {
return privateKeyUrl;
}
public void setPrivateKeyUrl(String privateKeyUrl) {
this.privateKeyUrl = privateKeyUrl;
}
public String getClearRequestUrl() {
return clearRequestUrl;
}
public void setClearRequestUrl(String clearRequestUrl) {
this.clearRequestUrl = clearRequestUrl;
}
public String getC_serverUrl() {
return c_serverUrl;
}
public void setC_serverUrl(String c_serverUrl) {
this.c_serverUrl = c_serverUrl;
}
public String getB_serverUrl() {
return b_serverUrl;
}
public void setB_serverUrl(String b_serverUrl) {
this.b_serverUrl = b_serverUrl;
}
public String getMerchantId() {
return merchantId;
}
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserPass() {
return userPass;
}
public void setUserPass(String userPass) {
this.userPass = userPass;
}
public String getBusinessCode() {
return businessCode;
}
public void setBusinessCode(String businessCode) {
this.businessCode = businessCode;
}
public String getC_dataType() {
return c_dataType;
}
public void setC_dataType(String c_dataType) {
this.c_dataType = c_dataType;
}
public String getC_level() {
return c_level;
}
public void setC_level(String c_level) {
this.c_level = c_level;
}
public String getC_trxCode() {
return c_trxCode;
}
public void setC_trxCode(String c_trxCode) {
this.c_trxCode = c_trxCode;
}
public String getC_version() {
return c_version;
}
public void setC_version(String c_version) {
this.c_version = c_version;
}
public String getB_trxCode() {
return b_trxCode;
}
public void setB_trxCode(String b_trxCode) {
this.b_trxCode = b_trxCode;
}
public String getB_version() {
return b_version;
}
public void setB_version(String b_version) {
this.b_version = b_version;
}
public String getB_dataType() {
return b_dataType;
}
public void setB_dataType(String b_dataType) {
this.b_dataType = b_dataType;
}
public String getB_level() {
return b_level;
}
public void setB_level(String b_level) {
this.b_level = b_level;
}
public String getTianJinmerchantId() {
return tianJinmerchantId;
}
public void setTianJinmerchantId(String tianJinmerchantId) {
this.tianJinmerchantId = tianJinmerchantId;
}
public String getTianJinuserName() {
return tianJinuserName;
}
public void setTianJinuserName(String tianJinuserName) {
this.tianJinuserName = tianJinuserName;
}
public String getTianJinuserPass() {
return tianJinuserPass;
}
public void setTianJinuserPass(String tianJinuserPass) {
this.tianJinuserPass = tianJinuserPass;
}
}

View File

@ -1,62 +1,76 @@
package com.amarsoft.app.awe.config;
import javax.servlet.http.HttpServlet;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import com.mchange.v2.c3p0.ComboPooledDataSource;
/**
* 全局增加 接口配置信息
* @author yangdm
*/
public class InitCollectConfig extends HttpServlet{
private static final long serialVersionUID = 1L;
public static final String C_SERVERURL;
public static final String B_SERVERURL;
public static final String MERCHANTID;
public static final String FLAG;
public static final String USERNAME;
public static final String USERPASS;
public static final String BUSSINESSCODE;
public static final String C_DATATYPE;
public static final String C_LEVEL;
public static final String C_TRXCODE;
public static final String C_VERSION;
/**
* 批量交易代码其他参数同实时
*/
public static final String BATCH_TRXCODE;
public static final String B_TRXCODE;
public static final String B_VERSION;
public static final String B_DATATYPE;
public static final String B_LEVEL;
public static final String PUBLICKEYURL;
public static final String PRIVATEKEYURL;
public static final String CLEARREQUESTURL;
static{
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
CollectProperties collectproperties = wac.getBean("collectConfig", CollectProperties.class);
C_SERVERURL = collectproperties.getC_serverUrl();
B_SERVERURL = collectproperties.getB_serverUrl();
MERCHANTID = collectproperties.getMerchantId();
FLAG = collectproperties.getFlag();
USERNAME = collectproperties.getUserName();
USERPASS = collectproperties.getUserPass();
BUSSINESSCODE = collectproperties.getBusinessCode();
C_DATATYPE = collectproperties.getC_dataType();
C_LEVEL = collectproperties.getC_level();
C_TRXCODE = collectproperties.getC_trxCode();
C_VERSION = collectproperties.getC_version();
BATCH_TRXCODE = collectproperties.getBatch_trxCode();
B_TRXCODE = collectproperties.getB_trxCode();
B_VERSION = collectproperties.getB_version();
B_DATATYPE = collectproperties.getB_dataType();
B_LEVEL = collectproperties.getB_level();
PUBLICKEYURL=collectproperties.getPublicKeyUrl();
PRIVATEKEYURL=collectproperties.getPrivateKeyUrl();
CLEARREQUESTURL=collectproperties.getClearRequestUrl();
}
}
package com.amarsoft.app.awe.config;
import javax.servlet.http.HttpServlet;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import com.mchange.v2.c3p0.ComboPooledDataSource;
/**
* 全局增加 接口配置信息
* @author yangdm
*/
public class InitCollectConfig extends HttpServlet{
private static final long serialVersionUID = 1L;
public static final String C_SERVERURL;
public static final String B_SERVERURL;
public static final String MERCHANTID;
public static final String FLAG;
public static final String USERNAME;
public static final String USERPASS;
public static final String BUSSINESSCODE;
public static final String C_DATATYPE;
public static final String C_LEVEL;
public static final String C_TRXCODE;
public static final String C_VERSION;
/**
* 批量交易代码其他参数同实时
*/
public static final String BATCH_TRXCODE;
public static final String B_TRXCODE;
public static final String B_VERSION;
public static final String B_DATATYPE;
public static final String B_LEVEL;
public static final String PUBLICKEYURL;
public static final String PRIVATEKEYURL;
public static final String CLEARREQUESTURL;
/**
* 新增天津子商户号
* 子商户商户号001053110000013
子商户商户名称接口测试子商户
子商户用户名operator13
子商户密码ora_123456
*/
public static final String TIANJIN_MERCHANTID;
public static final String TIANJIN_USERNAME;
public static final String TIANJIN_USERPASS;
static{
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
CollectProperties collectproperties = wac.getBean("collectConfig", CollectProperties.class);
C_SERVERURL = collectproperties.getC_serverUrl();
B_SERVERURL = collectproperties.getB_serverUrl();
MERCHANTID = collectproperties.getMerchantId();
FLAG = collectproperties.getFlag();
USERNAME = collectproperties.getUserName();
USERPASS = collectproperties.getUserPass();
BUSSINESSCODE = collectproperties.getBusinessCode();
C_DATATYPE = collectproperties.getC_dataType();
C_LEVEL = collectproperties.getC_level();
C_TRXCODE = collectproperties.getC_trxCode();
C_VERSION = collectproperties.getC_version();
BATCH_TRXCODE = collectproperties.getBatch_trxCode();
B_TRXCODE = collectproperties.getB_trxCode();
B_VERSION = collectproperties.getB_version();
B_DATATYPE = collectproperties.getB_dataType();
B_LEVEL = collectproperties.getB_level();
PUBLICKEYURL=collectproperties.getPublicKeyUrl();
PRIVATEKEYURL=collectproperties.getPrivateKeyUrl();
CLEARREQUESTURL=collectproperties.getClearRequestUrl();
TIANJIN_MERCHANTID=collectproperties.getTianJinmerchantId();
TIANJIN_USERNAME=collectproperties.getTianJinuserName();
TIANJIN_USERPASS=collectproperties.getTianJinuserPass();
}
}

File diff suppressed because it is too large Load Diff