经销商部分代偿修改

This commit is contained in:
yjf 2022-02-24 08:26:36 +08:00
parent ec5964eb4d
commit 58e34d04ce
3 changed files with 16 additions and 1 deletions

View File

@ -845,6 +845,9 @@
<attribute name="PLAN_LIST" label="期次" type="STRING" length="32"/>
<attribute name="RENT_PLAN_ID" label="租金计划ID" type="STRING" length="32"/>
<attribute name="COMPENSATORY_CON" label="连续代偿期数" type="STRING" length="32"/>
<attribute name="CORPUS" label="本金" type="DOUBLE" length="22" scale="2"/>
<attribute name="INTEREST" label="利息" type="DOUBLE" length="22" scale="2"/>
<attribute name="PENALTY" label="罚息" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>

View File

@ -101,4 +101,16 @@ public interface D_DEPOSITRETURN_INFO{
* 连续代偿期数 STRING(32)<br>
*/
public static final String COMPENSATORY_CON = "COMPENSATORY_CON";
/**
* 本金 DOUBLE(22)<br>
*/
public static final String CORPUS = "CORPUS";
/**
* 利息 DOUBLE(22)<br>
*/
public static final String INTEREST = "INTEREST";
/**
* 罚息 DOUBLE(22)<br>
*/
public static final String PENALTY = "PENALTY";
}

View File

@ -732,7 +732,7 @@ public class CollectAuditInfoCache {
bod.setAttributeValue("PLAN_LIST",bom.getAttribute("plan_list").toString());
bod.setAttributeValue("RENT_PLAN_ID",bom.getAttribute("id").toString());
bod.setAttributeValue("COMPENSATORY_CON",COMPENSATORY_CON);
// moneyHandle(bom.getAttribute("id").toString(),bod,tx);
moneyHandle(bom.getAttribute("id").toString(),bod,tx);
bd.saveObject(bod);
//修改经销商信息表里的金额
bdi.createQuery("update O set O.sums='"+account_balance+"' where O.distributor_no=:distributor_id").setParameter("distributor_id", distributor_id).executeUpdate();