新增LC_FUND_PLAN_HIS表。提前结清时,资金计划,现金流拷到历史表。

This commit is contained in:
zhangbb 2020-06-18 16:18:57 +08:00
parent 7a72af9523
commit 48f0a35fc2
4 changed files with 203 additions and 2 deletions

View File

@ -1,7 +1,12 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
String ishistory=CurPage.getParameter("IsHistory");
String paymentnumber = CurPage.getParameter("plannumber");
ASObjectModel doTemp = new ASObjectModel("LCCashFlowList");
String sTempletNo = "LCCashFlowList";
if(null!=ishistory&&ishistory.equals("true")){
sTempletNo = "LCCashFlowListHis";
};
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1";
dwTemp.ShowSummary="1"; //»ã×Ü

View File

@ -4158,5 +4158,63 @@
</managerProperties>
</manager>
</class>
<class name="LV_PENALTY_INFO" label="" keyAttributes="id">
<attributes>
<attribute name="id" label="id" type="STRING" length="32"/>
<attribute name="contract_id" label="contract_id" type="STRING" length="32"/>
<attribute name="payment_number" label="payment_number" type="STRING" length="96"/>
<attribute name="plan_date" label="plan_date" type="STRING" length="120"/>
<attribute name="plan_list" label="plan_list" type="STRING" length="96"/>
<attribute name="plan_penalty" label="plan_penalty" type="DOUBLE" length="22" scale="2"/>
<attribute name="inputtime" label="inputtime" type="STRING" length="120"/>
<attribute name="penalty_adjust" label="penalty_adjust" type="DOUBLE" length="22" scale="2"/>
<attribute name="penalty" label="penalty" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lv_penalty_info" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LC_FUND_PLAN_HIS" label="" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="QUOT_ID" label="报价编号" type="STRING" length="32"/>
<attribute name="CUST_ID" label="客户编号" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
<attribute name="PROJECT_PLAN_NUMBER" label="项目方案编号" type="STRING" length="32"/>
<attribute name="CONTRACT_ID" label="合同编号" type="STRING" length="32"/>
<attribute name="CONTRACT_PLAN_NUMBER" label="合同方案编号" type="STRING" length="32"/>
<attribute name="PAYMENT_NUMBER" label="投放编号" type="STRING" length="32"/>
<attribute name="FEE_TYPE" label="费用类型" type="STRING" length="32"/>
<attribute name="PLAN_LIST" label="期次" type="INT" length="10"/>
<attribute name="SETTLE_METHOD" label="结算方式" type="STRING" length="32"/>
<attribute name="PAY_TYPE" label="收付类型" type="STRING" length="32"/>
<attribute name="PLAN_DATE" label="计划日期" type="STRING" length="32"/>
<attribute name="PLAN_STATUS" label="收付状态" type="STRING" length="32"/>
<attribute name="PLAN_MONEY" label="计划金额" type="DOUBLE" length="18" scale="2"/>
<attribute name="FACT_MONEY" label="实收金额" type="DOUBLE" length="18" scale="2"/>
<attribute name="FEE_ADJUST" label="实收减免" type="DOUBLE" length="18" scale="2"/>
<attribute name="OVER_MONEY" label="计划余额" type="DOUBLE" length="18" scale="2"/>
<attribute name="COIN" label="币种" type="STRING" length="32"/>
<attribute name="PAY_OBJ" label="收付对象" type="STRING" length="200"/>
<attribute name="FPNOTE" label="备注" type="STRING" length="1000"/>
<attribute name="TAX_RATE" label="税率" type="DOUBLE" length="18" scale="2"/>
<attribute name="FLOWUNID" 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="lc_fund_plan_his" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
</jbo>

View File

@ -0,0 +1,132 @@
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 LC_FUND_PLAN_HIS{
/**
* <br><br>
* 代表本类映射的BizObjectClass
*/
public static final String CLASS_NAME = "jbo.app.tenwa.calc.LC_FUND_PLAN_HIS";
/**
* 标识 STRING(32)<br>
*/
public static final String ID = "ID";
/**
* 报价编号 STRING(32)<br>
*/
public static final String QUOT_ID = "QUOT_ID";
/**
* 客户编号 STRING(32)<br>
*/
public static final String CUST_ID = "CUST_ID";
/**
* 项目编号 STRING(32)<br>
*/
public static final String PROJECT_ID = "PROJECT_ID";
/**
* 项目方案编号 STRING(32)<br>
*/
public static final String PROJECT_PLAN_NUMBER = "PROJECT_PLAN_NUMBER";
/**
* 合同编号 STRING(32)<br>
*/
public static final String CONTRACT_ID = "CONTRACT_ID";
/**
* 合同方案编号 STRING(32)<br>
*/
public static final String CONTRACT_PLAN_NUMBER = "CONTRACT_PLAN_NUMBER";
/**
* 投放编号 STRING(32)<br>
*/
public static final String PAYMENT_NUMBER = "PAYMENT_NUMBER";
/**
* 费用类型 STRING(32)<br>
*/
public static final String FEE_TYPE = "FEE_TYPE";
/**
* 期次 INT(10)<br>
*/
public static final String PLAN_LIST = "PLAN_LIST";
/**
* 结算方式 STRING(32)<br>
*/
public static final String SETTLE_METHOD = "SETTLE_METHOD";
/**
* 收付类型 STRING(32)<br>
*/
public static final String PAY_TYPE = "PAY_TYPE";
/**
* 计划日期 STRING(32)<br>
*/
public static final String PLAN_DATE = "PLAN_DATE";
/**
* 收付状态 STRING(32)<br>
*/
public static final String PLAN_STATUS = "PLAN_STATUS";
/**
* 计划金额 DOUBLE(18)<br>
*/
public static final String PLAN_MONEY = "PLAN_MONEY";
/**
* 实收金额 DOUBLE(18)<br>
*/
public static final String FACT_MONEY = "FACT_MONEY";
/**
* 实收减免 DOUBLE(18)<br>
*/
public static final String FEE_ADJUST = "FEE_ADJUST";
/**
* 计划余额 DOUBLE(18)<br>
*/
public static final String OVER_MONEY = "OVER_MONEY";
/**
* 币种 STRING(32)<br>
*/
public static final String COIN = "COIN";
/**
* 收付对象 STRING(200)<br>
*/
public static final String PAY_OBJ = "PAY_OBJ";
/**
* 备注 STRING(1000)<br>
*/
public static final String FPNOTE = "FPNOTE";
/**
* 税率 DOUBLE(18)<br>
*/
public static final String TAX_RATE = "TAX_RATE";
/**
* 流程编号 STRING(32)<br>
*/
public static final String FLOWUNID = "FLOWUNID";
/**
* 登记人 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

@ -3,6 +3,10 @@ package com.tenwa.lease.flow.contract.onhirechange;
import java.util.HashMap;
import java.util.Map;
import jbo.app.tenwa.calc.LC_CASH_FLOW;
import jbo.app.tenwa.calc.LC_CASH_FLOW_HIS;
import jbo.app.tenwa.calc.LC_FUND_PLAN;
import jbo.app.tenwa.calc.LC_FUND_PLAN_HIS;
import jbo.app.tenwa.calc.LC_RENT_PLAN;
import jbo.app.tenwa.calc.LC_RENT_PLAN_HIS;
@ -23,7 +27,9 @@ public class LBRentPlanFormalToHisBusiness extends BaseBussiness {
otherProperty.put("FLOWUNID", flowUnid);
DataOperatorUtil.copyJBOSet(LC_RENT_PLAN.CLASS_NAME, fromCondtion, LC_RENT_PLAN_HIS.CLASS_NAME,null, otherProperty, null, Sqlca);
String sMessage="true";
DataOperatorUtil.copyJBOSet(LC_FUND_PLAN.CLASS_NAME, fromCondtion, LC_FUND_PLAN_HIS.CLASS_NAME,null, otherProperty, null, Sqlca);
DataOperatorUtil.copyJBOSet(LC_CASH_FLOW.CLASS_NAME, fromCondtion, LC_CASH_FLOW_HIS.CLASS_NAME,null, otherProperty, null, Sqlca);
String sMessage="true";
return sMessage;
}
}