保证金抵扣结束报错

This commit is contained in:
amarsoft 2018-07-05 11:58:47 +08:00
parent c74e41d6de
commit 5983cb2c6f

View File

@ -35,7 +35,7 @@ public class CopyFundIncomeTempToFormal extends Bizlet{
for(BizObject bo:bos){
//¸üб£Ö¤½ðµÖ¿Û½ðî
String deductionMoney = JBOFactory.createBizObjectQuery(LC_RENT_INCOME_TEMP.CLASS_NAME, "select v.ROUND(v.sum(corpus+interest+penalty),2) as V.DEDUCTIONMONEY FROM O WHERE FLOWUNID='"+flowunid+"' AND DEDUCTION_ID='"+bo.getAttribute("ID").getString()+"' GROUP BY DEDUCTION_ID ").getSingleResult(false).getAttribute("DEDUCTIONMONEY").getString();
so = new SqlObject("update lc_fund_income_temp set fact_money='"+deductionMoney+"' where flowunid='"+flowunid+"' where id='"+bo.getAttribute("ID").getString()+"'");
so = new SqlObject("update lc_fund_income_temp set fact_money='"+deductionMoney+"' where flowunid='"+flowunid+"' and id='"+bo.getAttribute("ID").getString()+"'");
Sqlca.executeSQL(so);
Map<String,String> fromCondition = new HashMap<String,String>();
fromCondition.put("ID", bo.getAttribute("ID").getString());