添加付款申请退回日志信息

This commit is contained in:
tangfutang 2019-12-25 16:58:42 +08:00
parent 9abbf621f6
commit 6d9eb465c3
4 changed files with 542 additions and 1 deletions

View File

@ -4115,6 +4115,34 @@
<property name="table" value="vi_lc_splitting_pay_list" />
</managerProperties>
</manager>
</class>
<class name="LB_PAYMENTRETURN_LOG" label="" keyAttributes="id">
<attributes>
<attribute name="id" label="主键" type="STRING" length="32"/>
<attribute name="contract_no" label="合同编号" type="STRING" length="50"/>
<attribute name="distributor_name" label="渠道" type="STRING" length="100"/>
<attribute name="product_name" label="产品名称" type="STRING" length="100"/>
<attribute name="person_name" label="客户名称" type="STRING" length="100"/>
<attribute name="pay_object" label="付款对象" type="STRING" length="100"/>
<attribute name="pay_number" label="付款金额" type="STRING" length="32"/>
<attribute name="distributor_bank_name" label="经销商SP银行" type="STRING" length="100"/>
<attribute name="distributor_Account_name" label="经销商SP银行账户" type="STRING" length="100"/>
<attribute name="distributor_bank_number" label="经销商SP银行账号" type="STRING" length="32"/>
<attribute name="loan_type" 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"/>
<attribute name="INPUTUSERNAME" label="登记人" type="STRING" length="50"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_paymentreturn_log" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
</jbo>

View File

@ -0,0 +1,88 @@
package jbo.app.tenwa.calc;
import java.lang.String;
/**
* - JBO命名常量类<br><br>
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
*/
public interface LB_PAYMENTRETURN_LOG{
/**
* <br><br>
* 代表本类映射的BizObjectClass
*/
public static final String CLASS_NAME = "jbo.app.tenwa.calc.LB_PAYMENTRETURN_LOG";
/**
* 主键 STRING(32)<br>
*/
public static final String id = "id";
/**
* 合同编号 STRING(50)<br>
*/
public static final String contract_no = "contract_no";
/**
* 渠道 STRING(100)<br>
*/
public static final String distributor_name = "distributor_name";
/**
* 产品名称 STRING(100)<br>
*/
public static final String product_name = "product_name";
/**
* 客户名称 STRING(100)<br>
*/
public static final String person_name = "person_name";
/**
* 付款对象 STRING(100)<br>
*/
public static final String pay_object = "pay_object";
/**
* 付款金额 STRING(32)<br>
*/
public static final String pay_number = "pay_number";
/**
* 经销商SP银行 STRING(100)<br>
*/
public static final String distributor_bank_name = "distributor_bank_name";
/**
* 经销商SP银行账户 STRING(100)<br>
*/
public static final String distributor_Account_name = "distributor_Account_name";
/**
* 经销商SP银行账号 STRING(32)<br>
*/
public static final String distributor_bank_number = "distributor_bank_number";
/**
* 放款方式 STRING(32)<br>
*/
public static final String loan_type = "loan_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";
/**
* 登记人 STRING(50)<br>
*/
public static final String INPUTUSERNAME = "INPUTUSERNAME";
}

View File

@ -6,6 +6,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jbo.app.tenwa.calc.LB_PAYMENTRETURN_LOG;
import jbo.app.tenwa.calc.LC_EBANK_PROCESS;
import jbo.app.tenwa.calc.LC_EBANK_TEMP;
import jbo.app.tenwa.calc.LC_FUND_INCOME;
@ -45,6 +46,17 @@ public class FundIncomeMethod {
private String orgId;
private String status;
private String payType;
private String contract_number;
private String channel_name;
private String product_id;
private String customer_name;
private String fact_object;
private String fact_money;
private String CLIENT_BANK;
private String CLIENT_ACCOUNT;
private String CLIENT_ACCNUMBER;
private String username;
public String getIsChanged() {
return isChanged;
@ -164,7 +176,87 @@ public class FundIncomeMethod {
public void setPayType(String payType) {
this.payType = payType;
}
public String getContactId(JBOTransaction tx) throws SQLException, Exception{
public String getContract_number() {
return contract_number;
}
public void setContract_number(String contract_number) {
this.contract_number = contract_number;
}
public String getChannel_name() {
return channel_name;
}
public void setChannel_name(String channel_name) {
this.channel_name = channel_name;
}
public String getProduct_id() {
return product_id;
}
public void setProduct_id(String product_id) {
this.product_id = product_id;
}
public String getCustomer_name() {
return customer_name;
}
public void setCustomer_name(String customer_name) {
this.customer_name = customer_name;
}
public String getFact_object() {
return fact_object;
}
public void setFact_object(String fact_object) {
this.fact_object = fact_object;
}
public String getFact_money() {
return fact_money;
}
public void setFact_money(String fact_money) {
this.fact_money = fact_money;
}
public String getCLIENT_BANK() {
return CLIENT_BANK;
}
public void setCLIENT_BANK(String cLIENT_BANK) {
CLIENT_BANK = cLIENT_BANK;
}
public String getCLIENT_ACCOUNT() {
return CLIENT_ACCOUNT;
}
public void setCLIENT_ACCOUNT(String cLIENT_ACCOUNT) {
CLIENT_ACCOUNT = cLIENT_ACCOUNT;
}
public String getCLIENT_ACCNUMBER() {
return CLIENT_ACCNUMBER;
}
public void setCLIENT_ACCNUMBER(String cLIENT_ACCNUMBER) {
CLIENT_ACCNUMBER = cLIENT_ACCNUMBER;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getContactId(JBOTransaction tx) throws SQLException, Exception{
SqlObject s = new SqlObject("select customertype,contract_number,customer_id,"
+ "LC_FUND_INCOME_TEMP.project_id,Product_Id from LC_FUND_INCOME_TEMP "
@ -476,6 +568,24 @@ public class FundIncomeMethod {
try {
Transaction sqlTran = Transaction.createTransaction(tx);
sqlTran.executeSQL(new SqlObject("delete from lc_fund_income where CONTRACT_ID='"+CONTRACT_ID+"'"));
BizObjectManager lplManage = JBOFactory.getBizObjectManager(LB_PAYMENTRETURN_LOG.CLASS_NAME,tx);
BizObject lpl = lplManage.newObject();
lpl.setAttributeValue("contract_no",contract_number);
lpl.setAttributeValue("distributor_name",channel_name);
lpl.setAttributeValue("product_name",product_id);
lpl.setAttributeValue("person_name",customer_name);
lpl.setAttributeValue("pay_object",fact_object);
lpl.setAttributeValue("pay_number",fact_money);
lpl.setAttributeValue("distributor_bank_name",CLIENT_BANK);
lpl.setAttributeValue("distributor_Account_name",CLIENT_ACCOUNT);
lpl.setAttributeValue("distributor_bank_number",CLIENT_ACCNUMBER);
lpl.setAttributeValue("loan_type",payType);
lpl.setAttributeValue("INPUTUSERNAME",username);
lpl.setAttributeValue("INPUTUSERID",userId);
lpl.setAttributeValue("INPUTORGID",orgId);
lpl.setAttributeValue("INPUTTIME",StringFunction.getTodayNow());
lplManage.saveObject(lpl);
sqlTran.commit();
return "success";
} catch (Exception e) {

View File

@ -0,0 +1,315 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TenwaReport>
<datasources>
<datasource>
<id>2c9023815726a036015726a496b00001</id>
<dataSourceName>eleasing_mysql</dataSourceName>
<dataSourceType>SPRING</dataSourceType>
<jndi>dataSourceJDBC</jndi>
<url></url>
<username></username>
<driverName></driverName>
<password></password>
<dialect>com.tenwa.report.query.dialect.MysqlDialect</dialect>
<dialectName>Mysql</dialectName>
</datasource>
</datasources>
<reports>
<report>
<id>4028877d6f0e2e14016f2114ca6500b9</id>
<name>付款申请退回报表</name>
<enname>Payment_request_return</enname>
<code>REPORT_CODE_1576808008292</code>
<isActived>true</isActived>
<position>56</position>
<reportType>REPORT</reportType>
<parentReport>2c9c81b7685efbbc016931c6eff50007</parentReport>
<children/>
<layouts>
<layout>4028877d6f0e2e14016f2118706500c7</layout>
</layouts>
</report>
</reports>
<tables>
<table>
<id>4028877d6f0e2e14016f2116715a00ba</id>
<name>付款申请退回报表</name>
<enname>Payment_request_return</enname>
<reportDataSource>2c9023815726a036015726a496b00001</reportDataSource>
<queryType>SIMPLESQL</queryType>
<sql>SELECT lpl.contract_no,lpl.distributor_name,bt.typename,person_name,pay_object,pay_number,distributor_bank_name,distributor_Account_name,distributor_bank_number,cl.itemname,INPUTUSERNAME,lpl.INPUTTIME FROM lb_PaymentReturn_log lpl LEFT JOIN BUSINESS_TYPE bt ON bt.typeno=lpl.product_name LEFT JOIN code_library cl ON cl.itemno=lpl.loan_type AND cl.codeno='payType'</sql>
<sqlParamValue></sqlParamValue>
<columns>
<column>
<id>4028877d6f0e2e14016f2116715b00c3</id>
<name>contract_no</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>合同编号</label>
<enLabel>contract_no</enLabel>
<width>150</width>
<position>12</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00bf</id>
<name>distributor_name</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>渠道名称</label>
<enLabel>distributor_name</enLabel>
<width>150</width>
<position>13</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715a00bd</id>
<name>typename</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>产品名称</label>
<enLabel>typename</enLabel>
<width>200</width>
<position>14</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00c4</id>
<name>person_name</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>客户名称</label>
<enLabel>person_name</enLabel>
<width>100</width>
<position>15</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00c5</id>
<name>pay_object</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>付款对象</label>
<enLabel>pay_object</enLabel>
<width>200</width>
<position>16</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00be</id>
<name>pay_number</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>付款金额</label>
<enLabel>pay_number</enLabel>
<width>100</width>
<position>17</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00c1</id>
<name>distributor_bank_name</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>经销商SP银行</label>
<enLabel>distributor_bank_name</enLabel>
<width>200</width>
<position>18</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715a00bb</id>
<name>distributor_Account_name</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>经销商SP银行账户</label>
<enLabel>distributor_Account_name</enLabel>
<width>150</width>
<position>19</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00c0</id>
<name>distributor_bank_number</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>经销商SP银行账号</label>
<enLabel>distributor_bank_number</enLabel>
<width>150</width>
<position>20</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f213b0f2800ca</id>
<name>itemname</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>放款方式</label>
<enLabel>itemname</enLabel>
<width>100</width>
<position>21</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00c2</id>
<name>INPUTUSERNAME</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>操作人</label>
<enLabel>INPUTUSERNAME</enLabel>
<width>100</width>
<position>22</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
<column>
<id>4028877d6f0e2e14016f2116715b00c6</id>
<name>INPUTTIME</name>
<columnDataType>STRING</columnDataType>
<formater></formater>
<label>付款申请退回时间</label>
<enLabel>INPUTTIME</enLabel>
<width>150</width>
<position>23</position>
<isVisible>true</isVisible>
<color></color>
<isCountTotal>false</isCountTotal>
<isCountSubTotal>false</isCountSubTotal>
<isGroupby>false</isGroupby>
<isMerge>false</isMerge>
<action></action>
<actionParamters></actionParamters>
<actionCondition></actionCondition>
</column>
</columns>
<controls/>
<searchs/>
<searchExpress></searchExpress>
<filters>
<filter>
<id>4028877d6f0e2e14016f213062b000c8</id>
<name>contract_no</name>
<enname>contract_no</enname>
<label>合同编号</label>
<filterType>FILTER</filterType>
<position>0</position>
</filter>
<filter>
<id>4028877d6f0e2e14016f213062b000c9</id>
<name>distributor_name</name>
<enname>distributor_name</enname>
<label>渠道名称</label>
<filterType>FILTER</filterType>
<position>1</position>
</filter>
</filters>
<filterExpress></filterExpress>
<pageSize>20</pageSize>
<showRowNumber>true</showRowNumber>
<showTotalTitle>false</showTotalTitle>
<isScale>false</isScale>
<isCache>false</isCache>
<isExcel>false</isExcel>
</table>
</tables>
<charts/>
<pages/>
<layouts>
<layout>
<id>4028877d6f0e2e14016f2118706500c7</id>
<divHeight>0</divHeight>
<divWidth>0</divWidth>
<position>0</position>
<contentId>TABLE#4028877d6f0e2e14016f2116715a00ba</contentId>
<report>4028877d6f0e2e14016f2114ca6500b9</report>
<contentType>TABLE</contentType>
</layout>
</layouts>
</TenwaReport>