Merge branch 'release_20191223' of http://git2.tenwa.com.cn/ApzlDev/apzl_leasing.git into release_20191223

This commit is contained in:
zhangjun 2019-12-26 18:58:31 +08:00
commit 6779de4dfc

View File

@ -50,6 +50,7 @@ public class OtherPayMethod {
if(!"´ú³¥".equals(coolectStatus)){
BizObject boLRI = JBOFactory.createBizObjectQuery(LC_RENT_INCOME.CLASS_NAME, "PLAN_ID=:ID").setParameter("ID", planID[i]).getSingleResult(false);
chargeWay = boLRI.getAttribute("CHARGE_WAY")==null?"0":boLRI.getAttribute("CHARGE_WAY").toString();
System.out.println("------------还款渠道:"+chargeWay+"------------");
}
String serviceMoney = "0";
@ -173,6 +174,7 @@ public class OtherPayMethod {
String getServiceRatioSQL = "select rate from O where charge_way='"+serviceType+"' AND start_date<='"+currentDate+"' AND expiry_date>='"+currentDate+"'";
BizObject boRatio = lm.createQuery(getServiceRatioSQL).getSingleResult(false);
String rate = boRatio.getAttribute("rate")==null?"0":boRatio.getAttribute("rate").toString();
System.out.println("------------手续费费率:"+rate+"------------");
ratio = (new BigDecimal(rate)).divide(new BigDecimal("100"), 6, BigDecimal.ROUND_HALF_UP);
} catch (Exception e) {
e.printStackTrace();