1.付款申请(传统),生成本次付款明细时付款类型自动生成备注错误。
This commit is contained in:
parent
7da3f5fb04
commit
cb23fae2ce
@ -16,6 +16,7 @@ import jbo.com.tenwa.lease.comm.LB_LESSOR_INFO;
|
||||
import jbo.com.tenwa.lease.comm.LB_TENANTRY_INFO;
|
||||
import jbo.com.tenwa.lease.comm.LC_PAY_CONDTION;
|
||||
import jbo.com.tenwa.lease.comm.LC_PAY_CONDTION_TEMP;
|
||||
import jbo.sys.CODE_LIBRARY;
|
||||
|
||||
import com.amarsoft.app.util.ProductParamUtil;
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
@ -138,6 +139,7 @@ public class FundPayment {
|
||||
String contractId = boLFPAMT.getAttribute("contract_id").toString();
|
||||
BizObject boLLI = JBOFactory.createBizObjectQuery(LB_LESSOR_INFO.CLASS_NAME, "contract_id=:contractId").setParameter("contractId", contractId).getSingleResult(false);
|
||||
BizObject boLTI = JBOFactory.createBizObjectQuery(LB_TENANTRY_INFO.CLASS_NAME, "contract_id=:contractId").setParameter("contractId", contractId).getSingleResult(false);
|
||||
|
||||
String incomeID = UUIDUtil.getUUID();
|
||||
BigDecimal outOverMoney = new BigDecimal(equipOverMoney);
|
||||
tx.join(bomLFIT);
|
||||
@ -152,6 +154,9 @@ public class FundPayment {
|
||||
}
|
||||
String planID = funds[i].split("@")[0];
|
||||
String inOvermoney = funds[i].split("@")[1];
|
||||
String feeType = funds[i].split("@")[2];
|
||||
BizObject boCL = JBOFactory.createBizObjectQuery(CODE_LIBRARY.CLASS_NAME, "codeno=:codeno and itemno=:itemno").setParameter("codeno", "FeeType").setParameter("itemno", feeType).getSingleResult(false);
|
||||
String feeTypeName = boCL.getAttribute("itemname").toString();
|
||||
if(outOverMoney.compareTo(new BigDecimal(inOvermoney)) < 0){
|
||||
inOvermoney = outOverMoney.toString();
|
||||
}
|
||||
@ -193,7 +198,7 @@ public class FundPayment {
|
||||
boLFITOut.setAttributeValue("APPLYPAY_DATE", boLFP.getAttribute("PLAN_DATE").getString());
|
||||
boLFITOut.setAttributeValue("APPLY_PERSON", userId);
|
||||
boLFITOut.setAttributeValue("APPLY_DEPT", orgId);
|
||||
boLFITOut.setAttributeValue("MEMO", "抵扣设备款");
|
||||
boLFITOut.setAttributeValue("MEMO", feeTypeName+"µÖ¿ÛÉ豸¿î");
|
||||
boLFITOut.setAttributeValue("ROLL_BACK", 0);
|
||||
boLFITOut.setAttributeValue("FLOWUNID", flowunid);
|
||||
boLFITOut.setAttributeValue("IS_FLOWING", 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user