租金红冲空字符串引起bug修改

This commit is contained in:
zhangbb 2020-10-29 14:09:19 +08:00
parent a93ce6cb18
commit ff59ced092

View File

@ -60,7 +60,7 @@ public class LCRentIncomeTempToFormalBusiness extends BaseBussiness{
List<BizObject> lrits = riTemp.createQuery("select plan_id from O where flowunid=:flowunid group by plan_id").setParameter("flowunid", flowunid).getResultList(false);
if(lrits.size()>0){
for(BizObject lrit:lrits){
String status = "";
String status = "δÊÕ¿î";
String planId = lrit.getAttribute("plan_id").toString();
BizObject bo_lrp = bom_lrp.createQuery("select rent from O where id=:id").setParameter("id", planId).getSingleResult(false);
BizObject bo_lri = riFormal.createQuery("select sum(rent) as v.rent from O where plan_id=:plan_id group by plan_id").setParameter("plan_id", planId).getSingleResult(false);