三期短信相关

This commit is contained in:
zhangjun 2019-12-24 20:29:39 +08:00
parent c38db3b3e9
commit 5d2474f87d
9 changed files with 519 additions and 42 deletions

View File

@ -3284,5 +3284,90 @@
</class>
<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="channel_code" 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>
<attribute name="DISTRIBUTOR_NO" label="经销商编号" type="STRING"/>
<attribute name="DISTRIBUTOR_CODING" 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="distributor_id" label="渠道编码" type="STRING" length="32"/>
<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

@ -134,6 +134,8 @@
<attribute name="TRANSPORTDATE" label="道路运输许可证照有效期" TYPE="STRING" LENGTH="32"/>
<attribute name="NETCERTID" label="证照号码" TYPE="STRING" LENGTH="32"/>
<attribute name="LEGALPERSONID" label="法定代表人/经营者身份证号" TYPE="STRING" LENGTH="32"/>
<attribute name="subjectid" label="主体id" type="STRING" length="32"/>
<attribute name="SUBJECTNAME" label="主体名称" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
@ -278,6 +280,9 @@
<attribute name="NETCERTID" label="证照号码" TYPE="STRING" LENGTH="32"/>
<attribute name="LEGALPERSONID" label="法定代表人/经营者身份证号" TYPE="STRING" LENGTH="32"/>
<attribute name="source_type" label="申请类型" type="STRING" length="32"/>
<attribute name="subjectid" label="主体id" type="STRING" length="32"/>
<attribute name="SUBJECTNAME" label="主体名称" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
@ -786,6 +791,8 @@
<attribute name="TRANSPORTDATE" label="道路运输许可证照有效期" TYPE="STRING" LENGTH="32"/>
<attribute name="NETCERTID" label="证照号码" TYPE="STRING" LENGTH="32"/>
<attribute name="LEGALPERSONID" label="法定代表人/经营者身份证号" TYPE="STRING" LENGTH="32"/>
<attribute name="SUBJECTID" label="主体id" TYPE="STRING" LENGTH="32"/>
<attribute name="SUBJECTNAME" label="主体名称" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
@ -1052,6 +1059,8 @@
<attribute name="NETCERTID" label="证照号码" TYPE="STRING" LENGTH="32"/>
<attribute name="LEGALPERSONID" label="法定代表人/经营者身份证号" TYPE="STRING" LENGTH="32"/>
<attribute name="has_gps" label="是否已安装GPS" TYPE="STRING" LENGTH="2"/>
<attribute name="SUBJECTID" label="主体id" TYPE="STRING" LENGTH="32"/>
<attribute name="SUBJECTNAME" label="主体名称" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
@ -2397,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>
@ -2733,6 +2743,8 @@
<attribute name="TRANSPORTDATE" label="道路运输许可证照有效期" TYPE="STRING" LENGTH="32"/>
<attribute name="NETCERTID" label="证照号码" TYPE="STRING" LENGTH="32"/>
<attribute name="LEGALPERSONID" label="法定代表人/经营者身份证号" TYPE="STRING" LENGTH="32"/>
<attribute name="SUBJECTID" label="主体id" TYPE="STRING" LENGTH="32"/>
<attribute name="SUBJECTNAME" label="主体名称" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
@ -3772,6 +3784,8 @@
<attribute name="UPDATEUSERID" label="UPDATEUSERID" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="UPDATEORGID" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="UPDATETIME" type="STRING" length="32"/>
<attribute name="isPaymentDate" label="是否查询交易日" type="STRING" length="5"/>
<attribute name="PaymentDate" label="支付时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -4684,6 +4698,9 @@
<attribute name="DistriOpinion3" label="经销商意见3" type="STRING"/>
<attribute name="InterOpinion4" label="内部意见4" type="STRING"/>
<attribute name="DistriOpinion4" label="经销商意见4" type="STRING"/>
<attribute name="subjectId" label="主体id" type="STRING"/>
<attribute name="subjectname" label="主体名称" type="STRING"/>
</attributes>
<manager>
<managerProperties>
@ -5109,6 +5126,11 @@
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="stype" label="主体类型" type="STRING" length="32"/>
<attribute name="subject_name" label="主体名称" type="STRING" length="200"/>
<attribute name="acc_name" label="银行账户" type="STRING" length="200"/>
<attribute name="acc_number" label="银行账号" type="STRING" length="200"/>
<attribute name="branch_title" label="开户分行" type="STRING" length="200"/>
<attribute name="BANK_NAME" label="银行名称" type="STRING" length="200"/>
<attribute name="NEW_DATE" label="新增时间" type="STRING" length="32"/>
<attribute name="start_time" label="开始时间" type="STRING" length="32"/>
<attribute name="end_time" label="截止时间" type="STRING" length="32"/>
<attribute name="is_enable" label="是否启用" type="STRING" length="2"/>
@ -5122,7 +5144,6 @@
<manager>
<managerProperties>
<property name="table" value="lb_many_subject" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
@ -5155,6 +5176,104 @@
</managerProperties>
</manager>
</class>
<class name="VI_BUSINESS_AFFINFO" label="" keyAttributes="">
<attributes>
<attribute name="distributor_id" label="distributor_id" type="STRING"/>
<attribute name="ID" label="ID" type="STRING"/>
<attribute name="CONTRACT_NO" label="CONTRACT_NO" type="STRING"/>
<attribute name="CONTRACT_NUMBER" label="CONTRACT_NUMBER" type="STRING"/>
<attribute name="CONTRACT_STATUS" label="CONTRACT_STATUS" type="STRING"/>
<attribute name="PRODUCT_NAME" label="PRODUCT_NAME" type="STRING"/>
<attribute name="PRODUCT_ID" label="PRODUCT_ID" type="STRING"/>
<attribute name="PROJECT_ID" label="PROJECT_ID" type="STRING"/>
<attribute name="PROJECT_DATE" label="PROJECT_DATE" type="STRING"/>
<attribute name="PROJECT_NAME" label="PROJECT_NAME" type="STRING"/>
<attribute name="PROJECT_TYPE" label="PROJECT_TYPE" type="STRING"/>
<attribute name="RENT_METHOD" label="RENT_METHOD" type="STRING"/>
<attribute name="PROJECT_SOURCE" label="PROJECT_SOURCE" type="STRING"/>
<attribute name="PROJECT_INDUSTRY" label="PROJECT_INDUSTRY" type="STRING"/>
<attribute name="LEAS_FORM" label="LEAS_FORM" type="STRING"/>
<attribute name="LEASE_FORM" label="LEASE_FORM" type="STRING"/>
<attribute name="PROJECT_DEPT" label="PROJECT_DEPT" type="STRING"/>
<attribute name="PROJECT_REGISTRAR" label="PROJECT_REGISTRAR" type="STRING"/>
<attribute name="PROJECT_MANAGE" label="PROJECT_MANAGE" type="STRING"/>
<attribute name="PROJECT_ASSIST" label="PROJECT_ASSIST" type="STRING"/>
<attribute name="END_DATE" label="END_DATE" type="STRING"/>
<attribute name="START_DATE" label="START_DATE" type="STRING"/>
<attribute name="ACTUAL_START_DATE" label="ACTUAL_START_DATE" type="STRING"/>
<attribute name="ACTUAL_END_DATE" label="ACTUAL_END_DATE" type="STRING"/>
<attribute name="ACCOUNTING_START_DATE" label="ACCOUNTING_START_DATE" type="STRING"/>
<attribute name="FIVE_CATALOG" label="FIVE_CATALOG" type="STRING"/>
<attribute name="FIVE_CATALOG_DATE" label="FIVE_CATALOG_DATE" type="STRING"/>
<attribute name="FIVE_CATALOG_MEMO" label="FIVE_CATALOG_MEMO" type="STRING"/>
<attribute name="SIGN_PLACE" label="SIGN_PLACE" type="STRING"/>
<attribute name="SIGN_DATE" label="SIGN_DATE" type="STRING"/>
<attribute name="SIGN_PEOPLE" label="SIGN_PEOPLE" type="STRING"/>
<attribute name="OTHER_CONDITION" label="OTHER_CONDITION" type="STRING"/>
<attribute name="FLOWUNID" label="FLOWUNID" type="STRING"/>
<attribute name="INPUTUSERID" label="INPUTUSERID" type="STRING"/>
<attribute name="INPUTORGID" label="INPUTORGID" type="STRING"/>
<attribute name="INPUTTIME" label="INPUTTIME" type="STRING"/>
<attribute name="UPDATEUSERID" label="UPDATEUSERID" type="STRING"/>
<attribute name="UPDATEORGID" label="UPDATEORGID" type="STRING"/>
<attribute name="UPDATETIME" label="UPDATETIME" type="STRING"/>
<attribute name="DATA_STATE" label="DATA_STATE" type="STRING"/>
<attribute name="MODIFY_REASON" label="MODIFY_REASON" type="STRING"/>
<attribute name="ISFILEARCHIVED" label="ISFILEARCHIVED" type="STRING"/>
<attribute name="IS_PRINT" label="IS_PRINT" type="STRING"/>
<attribute name="ASSET_TYPE" label="ASSET_TYPE" type="STRING"/>
<attribute name="RENT_INVOICE_TYPE" label="RENT_INVOICE_TYPE" type="STRING"/>
<attribute name="INVOICE_MEMO" label="INVOICE_MEMO" type="STRING"/>
<attribute name="CONTRACT_INVOICE_STATUS" label="CONTRACT_INVOICE_STATUS" type="STRING"/>
<attribute name="seal_type" label="seal_type" type="STRING"/>
<attribute name="mortgage_agent" label="mortgage_agent" type="STRING"/>
<attribute name="VERSIONID" label="VERSIONID" type="STRING"/>
<attribute name="BUSINESSTYPE" label="BUSINESSTYPE" type="STRING"/>
<attribute name="AREA_CODE" label="AREA_CODE" type="STRING"/>
<attribute name="CAR_TYPE" label="CAR_TYPE" type="STRING"/>
<attribute name="LENDING_TYPE" label="LENDING_TYPE" type="STRING"/>
<attribute name="inputName" label="inputName" type="STRING"/>
<attribute name="inputTel" label="inputTel" type="STRING"/>
<attribute name="HaveCommission" label="HaveCommission" type="STRING"/>
<attribute name="IS_NETCAR" label="IS_NETCAR" type="STRING"/>
<attribute name="IS_OPERATION" label="IS_OPERATION" type="STRING"/>
<attribute name="IS_AFFILIATED" label="IS_AFFILIATED" type="STRING"/>
<attribute name="IS_OPERATION_QUALIFICATION" label="IS_OPERATION_QUALIFICATION" type="STRING"/>
<attribute name="TRANSPORTCERTID" label="TRANSPORTCERTID" type="STRING"/>
<attribute name="AFFILIATEDNAME" label="AFFILIATEDNAME" type="STRING"/>
<attribute name="NETCERTNAME" label="NETCERTNAME" type="STRING"/>
<attribute name="LEGALPERSONNAME" label="LEGALPERSONNAME" type="STRING"/>
<attribute name="AFFILIATEDDATE" label="AFFILIATEDDATE" type="STRING"/>
<attribute name="AFFILIATEDENDDATE" label="AFFILIATEDENDDATE" type="STRING"/>
<attribute name="REGISTEREDMONEY" label="REGISTEREDMONEY" type="STRING"/>
<attribute name="AFFILIATEDACTUALADDRESS" label="AFFILIATEDACTUALADDRESS" type="STRING"/>
<attribute name="AFFILIATEDADDRESS" label="AFFILIATEDADDRESS" type="STRING"/>
<attribute name="TRANSPORTDATE" label="TRANSPORTDATE" type="STRING"/>
<attribute name="NETCERTID" label="NETCERTID" type="STRING"/>
<attribute name="LEGALPERSONID" label="LEGALPERSONID" type="STRING"/>
<attribute name="ASSETTRANSFERER" label="ASSETTRANSFERER" type="STRING"/>
<attribute name="TRANSFERDATE" label="TRANSFERDATE" type="STRING"/>
<attribute name="TURNOUTREMARKS" label="TURNOUTREMARKS" type="STRING"/>
<attribute name="has_gps" label="has_gps" type="STRING"/>
<attribute name="SUBJECTID" label="SUBJECTID" type="STRING"/>
<attribute name="PROJECT_DEPT_DETAIL" label="PROJECT_DEPT_DETAIL" type="STRING"/>
<attribute name="ITEMNAME" label="ITEMNAME" type="STRING"/>
<attribute name="CUSTOMER_NAME" label="CUSTOMER_NAME" type="STRING"/>
<attribute name="FRAME_NUMBER" label="FRAME_NUMBER" type="STRING"/>
<attribute name="PROJECT_NO" label="PROJECT_NO" type="STRING"/>
<attribute name="mobile" label="mobile" type="STRING"/>
<attribute name="NAME" label="NAME" type="STRING"/>
<attribute name="VNDR_NAME" label="VNDR_NAME" type="STRING"/>
<attribute name="APPLYPAY_DATE" label="APPLYPAY_DATE" type="STRING"/>
<attribute name="START_DATE_NEW" label="START_DATE_NEW" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="vi_business_affinfo" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
<package name="jbo.com.tenwa.lease.carbrand" >
<class name="LB_CLAIMS_BOOK_DETAIL" label="索赔申请书详情表" keyAttributes="ID">

View File

@ -12,6 +12,7 @@ com.tenwa.yangdm.bank.clearRequestUrl=http://59.41.103.98:9110/gzdsf/GetSettFile
#com.tenwa.yangdm.merchantId=000191400207649
#test shang hu dai ma
com.tenwa.yangdm.merchantId=001053110000001
com.tenwa.yangdm.tianJinmerchantId=001053110000013
#---------------------------------------------------------------------------------------------
#daishoupeizhi ( 'S' dai biao dai shou,batch.trxCode dai biao piliangdaishou,collect.trxCode dai biao shishidaishou,version banbenhao)
@ -32,6 +33,8 @@ com.tenwa.yangdm.collect.level=5
#test (ce shi huan jing zheng shi tou chan hou zhu shi diao)
com.tenwa.yangdm.collect.userName=operator
com.tenwa.yangdm.collect.userPass=ora_123456
com.tenwa.yangdm.collect.tianJinuserName=operator13
com.tenwa.yangdm.collect.tianJinuserPass=ora_123456
com.tenwa.yangdm.collect.businessCode=10600
#yin hang ka si yao su yan zheng
@ -41,6 +44,6 @@ com.tenwa.yangdm.bank.dataType=2
com.tenwa.yangdm.bank.level=5
#an quan zheng shu xiang guan (si yao he gong yao de cun fang wei zhi)
com.tenwa.yangdm.publicKeyUrl=D:\\BaiduNetdisk\\Download\\SecutyKey\\gzdsf.cer
com.tenwa.yangdm.privateKeyUrl=D:\\BaiduNetdisk\\Download\\SecutyKey\\ORA@TEST1.p12
com.tenwa.yangdm.publicKeyUrl=/soft/files/yinlian/SecutyKey/gzdsf.cer
com.tenwa.yangdm.privateKeyUrl=/soft/files/yinlian/SecutyKey/ORA@TEST1.p12
#com.tenwa.yangdm.privateKeyUrl=D:\\BaiduNetdisk\\Download\\SecutyKey\\cps@00019140020764901.p12

View File

@ -22,7 +22,9 @@ public class CollectProperties{
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;
@ -138,7 +140,24 @@ public class CollectProperties{
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

@ -35,7 +35,16 @@ public class InitCollectConfig extends HttpServlet{
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{
@ -60,5 +69,8 @@ public class InitCollectConfig extends HttpServlet{
PUBLICKEYURL=collectproperties.getPublicKeyUrl();
PRIVATEKEYURL=collectproperties.getPrivateKeyUrl();
CLEARREQUESTURL=collectproperties.getClearRequestUrl();
TIANJIN_MERCHANTID=collectproperties.getTianJinmerchantId();
TIANJIN_USERNAME=collectproperties.getTianJinuserName();
TIANJIN_USERPASS=collectproperties.getTianJinuserPass();
}
}

View File

@ -0,0 +1,60 @@
package jbo.app.tenwa.customer;
import java.lang.String;
/**
* 回款方式 - JBO命名常量类<br><br>
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
*/
public interface DEDUCTIONS_WAY{
/**
* 回款方式<br><br>
* 代表本类映射的BizObjectClass
*/
public static final String CLASS_NAME = "jbo.app.tenwa.customer.DEDUCTIONS_WAY";
/**
* 标识 STRING(32)<br>
*/
public static final String id = "id";
/**
* 渠道编号 STRING(200)<br>
*/
public static final String dealers_number = "dealers_number";
/**
* 渠道编码 STRING(32)<br>
*/
public static final String distributor_id = "distributor_id";
/**
* 渠道名称 STRING(200)<br>
*/
public static final String dealers_name = "dealers_name";
/**
* 是否启用 STRING(32)<br>
*/
public static final String Whether_to_enable = "Whether_to_enable";
/**
* 登记人 STRING(32)<br>
*/
public static final String inputuserid = "inputuserid";
/**
* 登记部门 STRING(32)<br>
*/
public static final String inputorgid = "inputorgid";
/**
* 登记时间 STRING(32)<br>
*/
public static final String inputtime = "inputtime";
/**
* 更新人 STRING(32)<br>
*/
public static final String updateuserid = "updateuserid";
/**
* 更新部门 STRING(32)<br>
*/
public static final String updateorgid = "updateorgid";
/**
* 更新时间 STRING(32)<br>
*/
public static final String updatetime = "updatetime";
}

View File

@ -0,0 +1,72 @@
package jbo.app.tenwa.customer;
import java.lang.String;
/**
* 扣款渠道手续费率维护 - JBO命名常量类<br><br>
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
*/
public interface LPOUNDAGE_MAINTENANCE{
/**
* 扣款渠道手续费率维护<br><br>
* 代表本类映射的BizObjectClass
*/
public static final String CLASS_NAME = "jbo.app.tenwa.customer.LPOUNDAGE_MAINTENANCE";
/**
* 标识 STRING(32)<br>
*/
public static final String id = "id";
/**
* 开始日期 STRING(32)<br>
*/
public static final String start_date = "start_date";
/**
* 终止日期 STRING(32)<br>
*/
public static final String expiry_date = "expiry_date";
/**
* 有效期 STRING(50)<br>
*/
public static final String validity_date = "validity_date";
/**
* 主体 STRING(50)<br>
*/
public static final String subject = "subject";
/**
* 扣款渠道 STRING(50)<br>
*/
public static final String charge_channel = "charge_channel";
/**
* 扣款方式 STRING(50)<br>
*/
public static final String charge_way = "charge_way";
/**
* 费率 STRING(50)<br>
*/
public static final String rate = "rate";
/**
* 登记人 STRING(32)<br>
*/
public static final String inputuserid = "inputuserid";
/**
* 登记部门 STRING(32)<br>
*/
public static final String inputorgid = "inputorgid";
/**
* 登记时间 STRING(32)<br>
*/
public static final String inputtime = "inputtime";
/**
* 更新人 STRING(32)<br>
*/
public static final String updateuserid = "updateuserid";
/**
* 更新部门 STRING(32)<br>
*/
public static final String updateorgid = "updateorgid";
/**
* 更新时间 STRING(32)<br>
*/
public static final String updatetime = "updatetime";
}

View File

@ -0,0 +1,60 @@
package jbo.app.tenwa.customer;
import java.lang.String;
/**
* 短信发送配置 - JBO命名常量类<br><br>
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
*/
public interface SEND_TEXT_MMESSAGE{
/**
* 短信发送配置<br><br>
* 代表本类映射的BizObjectClass
*/
public static final String CLASS_NAME = "jbo.app.tenwa.customer.SEND_TEXT_MMESSAGE";
/**
* 标识 STRING(32)<br>
*/
public static final String id = "id";
/**
* 渠道名称 STRING(50)<br>
*/
public static final String channel_name = "channel_name";
/**
* 渠道编号 STRING(32)<br>
*/
public static final String channel_no = "channel_no";
/**
* 渠道编码 STRING(32)<br>
*/
public static final String channel_code = "channel_code";
/**
* 短信类型 STRING(40)<br>
*/
public static final String msg_type = "msg_type";
/**
* 登记人 STRING(32)<br>
*/
public static final String inputuserid = "inputuserid";
/**
* 登记部门 STRING(32)<br>
*/
public static final String inputorgid = "inputorgid";
/**
* 登记时间 STRING(32)<br>
*/
public static final String inputtime = "inputtime";
/**
* 更新人 STRING(32)<br>
*/
public static final String updateuserid = "updateuserid";
/**
* 更新部门 STRING(32)<br>
*/
public static final String updateorgid = "updateorgid";
/**
* 更新时间 STRING(32)<br>
*/
public static final String updatetime = "updatetime";
}

View File

@ -10,6 +10,20 @@ import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.springframework.jdbc.object.SqlCall;
import jbo.app.tenwa.calc.LC_RENT_PLAN;
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
import jbo.app.tenwa.customer.DISTRIBUTOR_INFO;
import jbo.com.tenwa.entity.comm.flow.D_DEPOSITCHARGE_INFO;
import jbo.com.tenwa.entity.comm.flow.D_DEPOSITRETURN_INFO;
import jbo.com.tenwa.lease.comm.LB_BUCKLE_LOG;
import jbo.com.tenwa.lease.comm.LB_CLEAR_FILE_RECORD;
import jbo.com.tenwa.lease.comm.LB_INTFACE_FILE_RECORD;
import jbo.com.tenwa.lease.comm.VI_LC_AUDIT_RENT_PLAN;
import jbo.sys.CODE_LIBRARY;
import com.amarsoft.app.als.sys.tools.DateTool;
import com.amarsoft.app.awe.config.InitCollectConfig;
import com.amarsoft.app.util.StringUtil;
import com.amarsoft.are.jbo.BizObject;
@ -23,20 +37,10 @@ import com.amarsoft.awe.util.SqlObject;
import com.amarsoft.awe.util.Transaction;
import com.gnete.security.crypt.Crypt;
import com.gnete.security.crypt.CryptException;
import com.ibm.sslight.tools.mainExit;
import com.tenwa.comm.util.date.DateAssistant;
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
import jbo.app.tenwa.calc.LC_RENT_PLAN;
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
import jbo.app.tenwa.customer.DISTRIBUTOR_INFO;
import jbo.com.tenwa.entity.comm.flow.D_DEPOSITCHARGE_INFO;
import jbo.com.tenwa.entity.comm.flow.D_DEPOSITRETURN_INFO;
import jbo.com.tenwa.lease.comm.LB_BUCKLE_LOG;
import jbo.com.tenwa.lease.comm.LB_CLEAR_FILE_RECORD;
import jbo.com.tenwa.lease.comm.LB_INTFACE_FILE_RECORD;
import jbo.com.tenwa.lease.comm.VI_LC_AUDIT_RENT_PLAN;
import jbo.sys.CODE_LIBRARY;
public class CollectAuditInfoCache {
private String id;
@ -647,7 +651,6 @@ public class CollectAuditInfoCache {
int i = 0,j = 0;
String[] ids = id.split("@");
String[] penaltyArray = penaltys.split("@");
String COMPENSATORY_CON=null;
BizObjectManager bm = JBOFactory.getFactory().getManager(VI_LC_AUDIT_RENT_PLAN.CLASS_NAME,tx);
BizObjectManager bc = JBOFactory.getFactory().getManager(LC_RENT_PLAN.CLASS_NAME,tx);
@ -660,23 +663,9 @@ public class CollectAuditInfoCache {
BigDecimal interest =new BigDecimal(bom.getAttribute("interest").getString());
BigDecimal penalty = new BigDecimal(penaltyArray[c]);
String t_rent = corpus.add(interest).add(penalty).toString();
/**
* 获取上一期是否有代偿记录
*/
String contract_id = bom.getAttribute("contract_id").toString();
int plan_list=Integer.parseInt(bom.getAttribute("plan_list").toString())-1;
// 查询当前要代偿期次的上一期代偿记录 有数据则联系代偿记录加1没有数据则默认为1
BizObject ddi = bd.createQuery("SELECT O.COMPENSATORY_CON FROM O WHERE O.MONEY_TYPE='bondRepay' AND O.CONTRACT_ID='"+contract_id+"' AND O.PLAN_LIST='"+plan_list+"'").getSingleResult(false);
if(ddi!=null && !"".equals(ddi)) {
COMPENSATORY_CON=String.valueOf(Integer.parseInt(ddi.getAttribute("COMPENSATORY_CON").getString())+1);
}else {
COMPENSATORY_CON="1";
}
//handcraftsingleCollectMoeny方法的最后一个参数原为hire_list现改为客户输入核销罚息参数周亚辉
//代偿不再往租金实收表插入数据
// Map<String, String> map = handcraftsingleCollectMoenyDistrbutor(tx,bc,bom,rent,penaltyArray[c]);
// Map<String, String> map = handcraftsingleCollectMoenyDistrbutor(tx,bc,bom,rent,penaltyArray[c]);
i++;
//更新收付状态
bc.createQuery("update O set O.COLLECT_STATUS=:COLLECT_STATUS ,O.COLLECT_MSG=:COLLECT_MSG,O.PENALTY=:PENALTY where O.id=:id")
@ -699,7 +688,6 @@ public class CollectAuditInfoCache {
bod.setAttributeValue("CONTRACT_ID",bom.getAttribute("contract_id").toString());
bod.setAttributeValue("PLAN_LIST",bom.getAttribute("plan_list").toString());
bod.setAttributeValue("RENT_PLAN_ID",bom.getAttribute("id").toString());
bod.setAttributeValue("COMPENSATORY_CON",COMPENSATORY_CON);
bd.saveObject(bod);
//修改经销商信息表里的金额
bdi.createQuery("update O set O.sums='"+account_balance+"' where O.distributor_no=:distributor_id").setParameter("distributor_id", distributor_id).executeUpdate();
@ -795,10 +783,14 @@ public class CollectAuditInfoCache {
BizObjectManager bm = JBOFactory.getFactory().getManager(VI_LC_AUDIT_RENT_PLAN.CLASS_NAME);
BizObjectManager bc = JBOFactory.getFactory().getManager(LC_RENT_PLAN.CLASS_NAME);
//这里对天津与深圳的数据进行拆分
List<BizObject> bolist = bm.createQuery("select distinct O.contract_id,O.plan_date,O.id,ca.ACC_NUMBER,ca.ACCOUNT,ca.BANK_NAME,O.rent from O , jbo.app.tenwa.customer.CUSTOMER_ACCOUNT ca where O.contract_id=ca.contract_id and ca.acc_type = 'Debit' and O.id in ("+parms.toString()+")").getResultList(false);
List<BizObject> bolist = bm.createQuery("select distinct O.contract_id,O.plan_date,O.id,ca.ACC_NUMBER,ca.ACCOUNT,ca.BANK_NAME,O.rent,O.SUBJECTID from O , jbo.app.tenwa.customer.CUSTOMER_ACCOUNT ca where O.contract_id=ca.contract_id and ca.acc_type = 'Debit' and O.id in ("+parms.toString()+") and O.SUBJECTID='aa740e4111c111eaaa0000163e0e11e6'").getResultList(false);
List<BizObject> tianjinbolist = bm.createQuery("select distinct O.contract_id,O.plan_date,O.id,ca.ACC_NUMBER,ca.ACCOUNT,ca.BANK_NAME,O.rent,O.SUBJECTID from O , jbo.app.tenwa.customer.CUSTOMER_ACCOUNT ca where O.contract_id=ca.contract_id and ca.acc_type = 'Debit' and O.id in ("+parms.toString()+") and O.SUBJECTID='d989246c11c111eaaa0000163e0e11e6'").getResultList(false);
if (bolist.size() != 0) {
singleBatchCollectMoeny(tx, bolist);
}
if (tianjinbolist.size() != 0) {
singleBatchCollectMoeny(tx, tianjinbolist);
}
return "系统正在处理中,请稍后";
}
@ -820,7 +812,7 @@ public class CollectAuditInfoCache {
parms.append(",'"+str+"'");
}
}
List<BizObject> bolist = bm.createQuery("select distinct O.BATCH_NO,O.BATCH_SN,O.contract_id,O.plan_date,O.id,ca.ACC_NUMBER,ca.ACCOUNT,ca.BANK_NAME,O.rent from O , jbo.app.tenwa.customer.CUSTOMER_ACCOUNT ca where O.contract_id=ca.contract_id and ca.acc_type = 'Debit' and O.id in ("+parms.toString()+")").getResultList(false);
List<BizObject> bolist = bm.createQuery("select distinct O.BATCH_NO,O.BATCH_SN,O.contract_id,O.plan_date,O.id,ca.ACC_NUMBER,ca.ACCOUNT,ca.BANK_NAME,O.rent,O.SUBJECTID from O , jbo.app.tenwa.customer.CUSTOMER_ACCOUNT ca where O.contract_id=ca.contract_id and ca.acc_type = 'Debit' and O.id in ("+parms.toString()+")").getResultList(false);
for (BizObject bo : bolist) {
String query_sn = bo.getAttribute("BATCH_NO").toString();
String sn = bo.getAttribute("BATCH_SN").toString();
@ -879,9 +871,9 @@ public class CollectAuditInfoCache {
.setParameter("COLLECT_MSG", "批量代收,收款成功")
.setParameter("BATCH_STATUS", "complete")//更新批量处理状态-完成
.setParameter("id", bo.getAttribute("id").toString()).executeUpdate();
BizObject boDDI=JBOFactory.createBizObjectQuery(D_DEPOSITRETURN_INFO.CLASS_NAME,"RENT_PLAN_ID=:rentPlanId").setParameter("rentPlanId", bo.getAttribute("id").toString()).getSingleResult(false);
BizObject boDDI=JBOFactory.createBizObjectQuery(D_DEPOSITRETURN_INFO.CLASS_NAME,"RENT_PLAN_ID=:rentPlanId").setParameter("rentPlanId", id).getSingleResult(false);
if(boDDI!=null){
this.writeBackDistributor(bo.getAttribute("id").toString(),Sqlca);
this.writeBackDistributor(id,Sqlca);
}
bo.setAttributeValue("COLLECT_STATUS", "批量收款");
bo.setAttributeValue("COLLECT_MSG", "批量代收,收款成功");
@ -919,9 +911,9 @@ public class CollectAuditInfoCache {
.setParameter("COLLECT_MSG", "批量代收,收款成功")
.setParameter("BATCH_STATUS", "complete")//更新批量处理状态-完成
.setParameter("id", bo.getAttribute("id").toString()).executeUpdate();
BizObject boDDI=JBOFactory.createBizObjectQuery(D_DEPOSITRETURN_INFO.CLASS_NAME,"RENT_PLAN_ID=:rentPlanId").setParameter("rentPlanId", bo.getAttribute("id").toString()).getSingleResult(false);
BizObject boDDI=JBOFactory.createBizObjectQuery(D_DEPOSITRETURN_INFO.CLASS_NAME,"RENT_PLAN_ID=:rentPlanId").setParameter("rentPlanId", id).getSingleResult(false);
if(boDDI!=null){
this.writeBackDistributor( bo.getAttribute("id").toString(),Sqlca);
this.writeBackDistributor(id,Sqlca);
}
bo.setAttributeValue("COLLECT_STATUS", "批量收款");
bo.setAttributeValue("COLLECT_MSG", "批量代收,收款成功");
@ -1007,6 +999,9 @@ public class CollectAuditInfoCache {
String month = currentDateTime.substring(5,7);
String day = currentDateTime.substring(8,10);
String merchantNumber = InitCollectConfig.MERCHANTID;
if(bo!=null&&bo.getAttribute("SUBJECTID")!=null&&"".equals(bo.getAttribute("SUBJECTID").getString())){
merchantNumber=InitCollectConfig.TIANJIN_MERCHANTID;
}
String flag = InitCollectConfig.FLAG;
String version = InitCollectConfig.C_VERSION;
String date = currentYear+month+day;//提交日期
@ -1023,7 +1018,7 @@ public class CollectAuditInfoCache {
}
String req_sn = System.currentTimeMillis()+"";//当日批次号
batch_title = merchantNumber+"_"+flag+version+date+"_"+req_sn;
StringBuffer strbuff = queryBatchXML(req_sn, query_sn,sn);
StringBuffer strbuff = queryBatchXML(merchantNumber,req_sn, query_sn, sn);
// queryBatchXML(req_sn, query_sn, sn);
//响应报文
String strResp = cp.CollectAuditPayReq(strbuff,file.getAbsolutePath(), batch_title);
@ -1033,7 +1028,52 @@ public class CollectAuditInfoCache {
return map;
}
/**
* 按商户号获取查询报文
* @param merchantNumber
* @param req_sn
* @param query_sn
* @param sn
* @return
*/
private StringBuffer queryBatchXML(String merchantNumber, String req_sn, String query_sn, String sn) {
StringBuffer strbuff = new StringBuffer();
if(InitCollectConfig.MERCHANTID.equals(merchantNumber)){
strbuff = queryBatchXML(req_sn, query_sn, sn);
}else{
strbuff.append("<?xml version=\"1.0\" encoding=\"GBK\"?>");
strbuff.append("<GZELINK>");
strbuff.append("<INFO>");
Info info = new Info();
info.setTRX_CODE("200001");
info.setVERSION(InitCollectConfig.C_VERSION);
info.setDATA_TYPE(InitCollectConfig.C_DATATYPE);
info.setREQ_SN(req_sn);
info.setUSER_NAME(InitCollectConfig.TIANJIN_USERNAME);
info.setUSER_PASS(InitCollectConfig.TIANJIN_USERPASS);
info.setSIGNED_MSG("");
strbuff.append(EntityTransform.toXml(info));
strbuff.append("</INFO>");
strbuff.append("<BODY>");
strbuff.append("<QUERY_TRANS>");
strbuff.append("<QUERY_SN>");
strbuff.append(query_sn);//要查询的交易流水
strbuff.append("</QUERY_SN>");
strbuff.append("<QUERY_REMARK/>");
strbuff.append("<RET_TYPE/>");
strbuff.append("</QUERY_TRANS>");
strbuff.append("<QUERY_DETAILS>");
strbuff.append("<QUERY_DETAIL>");
strbuff.append("<QUERY_DETAIL_SN>");
strbuff.append(sn);//交易明细号
strbuff.append("</QUERY_DETAIL_SN>");
strbuff.append("</QUERY_DETAIL>");
strbuff.append("</QUERY_DETAILS>");
strbuff.append("</BODY>");
strbuff.append("</GZELINK>");
}
return strbuff;
}
/**
* 批量查询接口--回笼租金
@ -1152,6 +1192,9 @@ public class CollectAuditInfoCache {
String month = currentDateTime.substring(5,7);
String day = currentDateTime.substring(8,10);
String merchantNumber = InitCollectConfig.MERCHANTID;
if(list.get(0).getAttribute("SUBJECTID")!=null&&"d989246c11c111eaaa0000163e0e11e6".equals(list.get(0).getAttribute("SUBJECTID").getString())){
merchantNumber = InitCollectConfig.TIANJIN_MERCHANTID;
}
String flag = InitCollectConfig.FLAG;
String version = InitCollectConfig.C_VERSION;
String date = currentYear+month+day;//提交日期
@ -1254,6 +1297,10 @@ public class CollectAuditInfoCache {
info.setUSER_PASS(InitCollectConfig.USERPASS);
info.setREQ_SN(req_sn);
info.setSIGNED_MSG("");
if(list.get(0).getAttribute("SUBJECTID")!=null&&"d989246c11c111eaaa0000163e0e11e6".equals(list.get(0).getAttribute("SUBJECTID").getString())){
info.setUSER_NAME(InitCollectConfig.TIANJIN_USERNAME);
info.setUSER_PASS(InitCollectConfig.TIANJIN_USERPASS);
}
strbuff.append(EntityTransform.toXml(info));
strbuff.append("</INFO>");
strbuff.append("<BODY>");