历史信息共同申请人取值修改
This commit is contained in:
parent
abd4cc75d9
commit
2b1f0a2c96
@ -10,7 +10,7 @@
|
||||
String productId=CurPage.getParameter("ProductId");
|
||||
String projectId=CurPage.getParameter("ProjectId");
|
||||
String khcertid = Sqlca.getString("select ci.certid from lb_union_lessee_temp lul left join customer_info ci on ci.customerid = lul.CUSTOMER_ID where lul.IS_MAIN = 'Y' and lul.flowunid='"+flowunid+"'");
|
||||
String gtcertid = Sqlca.getString("select cf.certid from customer_family_temp cf where cf.flowunid='"+flowunid+"'");
|
||||
String gtcertid = Sqlca.getString("select cf.certid from customer_family_temp cf where cf.Partner_ = 'Y' and cf.flowunid='"+flowunid+"'");
|
||||
String dbcertid = Sqlca.getString("select CERTID from lb_guarantee_unit_temp where flowunid='"+flowunid+"' order by CERTID asc limit 1");
|
||||
String dbcertid2 = Sqlca.getString("select CERTID from lb_guarantee_unit_temp where flowunid='"+flowunid+"' order by CERTID desc limit 1");
|
||||
//客户传参
|
||||
@ -23,14 +23,15 @@
|
||||
String params4="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId+"&projectId="+projectId+"&certId="+dbcertid2+"&type=guarantee";
|
||||
|
||||
//判断是否有共同承租人和担保人
|
||||
String custnum1 = Sqlca.getString("select count(cf.id) as num from customer_family_temp cf where cf.flowunid='"+flowunid+"'");
|
||||
String custnum1 = Sqlca.getString("select count(cf.id) as num from customer_family_temp cf where cf.Partner_ = 'Y' and cf.flowunid='"+flowunid+"'");
|
||||
String custnum2 = Sqlca.getString("select count(lul.ID) as num from lb_guarantee_unit_temp lul where lul.flowunid='"+flowunid+"'");
|
||||
Integer c = Integer.valueOf(custnum1);
|
||||
Integer a = Integer.valueOf(custnum2);
|
||||
String show1 = "false";
|
||||
String show2 = "false";
|
||||
String show3 = "false";
|
||||
|
||||
if (custnum1 != null||custnum1 != "null"){show1 = "true";}
|
||||
if (c>0){show1 = "true";}
|
||||
if (a >= 1){show2 = "true";}
|
||||
if (a > 1){show3 = "true";}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user