切换贴息字段为DISCOUNT_INTEREST

This commit is contained in:
wangling 2021-09-05 16:42:54 +08:00
parent 6080a1a90e
commit 783a776b39
2 changed files with 2 additions and 1 deletions

View File

@ -198,6 +198,7 @@
if(CurUser.hasRole("401")){
doTemp.setVisible("CAUTION_MONEY_METHOD",false);
doTemp.setVisible("DISCOUNT", false);
doTemp.setVisible("DISCOUNT_INTEREST", false);
// doTemp.setColumnAttribute("DISCOUNT","colvisible","0");
}
if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){

View File

@ -49,7 +49,7 @@ public class FundFundPlanExecutor {
BizObjectManager bom = JBOFactory.getBizObjectManager( "jbo.app.tenwa.calc.LC_CALC_SUBSECTION_INFO_TEMP", tx );
List<BizObject> bos = bom.createQuery( "flowunid = :flowunid" ).setParameter( "flowunid", tcb.getDocId() ).getResultList( false );
for ( BizObject bo : bos ) {
String discount = bo.getAttribute( "DISCOUNT" ).getString();
String discount = bo.getAttribute( "DISCOUNT_INTEREST" ).getString();
String subsectionNumber = bo.getAttribute( "SUBSECTION_NUMBER" ).getString();
String isBalanceLending = bo.getAttribute( "IS_BALANCE_LENDING" ).getString();
String discountCollectionPeriod = bo.getAttribute( "DISCOUNT_COLLECTION_PERIOD" ).getString();