修改线上BUG
This commit is contained in:
parent
4c133c8c61
commit
84ecdf521e
@ -917,6 +917,7 @@ function getRatioByMoney(e){
|
||||
}else if(e.id == "EQUIP_AMT") {
|
||||
firstPaymentRatio = (Number(getItemValue(0, 0, "FIRST_PAYMENT"))/Number(equipAmt)).toFixed(6)*100;
|
||||
setItemValue(0, 0, "FIRST_PAYMENT_RATIO_0", firstPaymentRatio + "");
|
||||
setItemValue(0, 0, "FIRST_PAYMENT_RATIO", firstPaymentRatio + "");
|
||||
}
|
||||
// var ratio = 100 - Number(firstPaymentRatio);
|
||||
// var firstPayment = equipAmt * Number(firstPaymentRatio) / 100;
|
||||
|
||||
@ -57,14 +57,10 @@ public class AllinpayPaymentRun implements Runnable {
|
||||
String time = DateAssistant.getTodayNow();
|
||||
for (Map<String, String> map : list) {
|
||||
try {
|
||||
|
||||
BizObject object = JBOFactory.getBizObjectManager("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO").createQuery("O.id=:id").setParameter("id", map.get("PROJECT_ID")).getSingleResult(false);
|
||||
allinpay = new AllinpayProperties(object.getAttribute("subjectid").toString());
|
||||
|
||||
BizObject result = JBOFactory.getBizObjectManager("jbo.app.tenwa.calc.LC_CARD_TLSIGN").createQuery("O.PROJECT_ID=:projectId and SIGN_STATUS='sign_status2'").setParameter("projectId", map.get("PROJECT_ID")).getSingleResult(false);
|
||||
|
||||
logger.info(">>>>>>>>>>>通联卡扣协议支付>>>>>>>>PROJECT_ID=" + map.get("PROJECT_ID"));
|
||||
|
||||
sqlMap.put("SUBMITTIME", time);
|
||||
sqlMap.put("AGRMNO", result.getAttribute("AGRMNO").toString());
|
||||
sqlMap.put("START_AMOUNT", map.get("AMOUNT"));
|
||||
@ -81,7 +77,8 @@ public class AllinpayPaymentRun implements Runnable {
|
||||
sqlMap = sendMessageByProxy(mapXml, sqlMap);
|
||||
if("正在处理".equals(sqlMap.get("STATUS"))){
|
||||
BizObjectManager bomLRP = JBOFactory.getBizObjectManager("jbo.app.tenwa.calc.LC_RENT_PLAN");
|
||||
BizObject boLRP = bomLRP.createQuery("id=:id").setParameter("id", map.get("UUID")).getSingleResult(true);
|
||||
String rentId = map.get("UUID").split("-")[0];
|
||||
BizObject boLRP = bomLRP.createQuery("id=:id").setParameter("id", rentId).getSingleResult(true);
|
||||
boLRP.setAttributeValue("batch_status", "process");
|
||||
bomLRP.saveObject(boLRP);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user