业务申请,配偶信息页面入值项目ID
This commit is contained in:
parent
97b7b1e4aa
commit
c654cff68b
@ -6,6 +6,8 @@
|
||||
History Log:
|
||||
*/
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String projectId = CurPage.getParameter("ProjectId");
|
||||
System.out.print("========================="+projectId);
|
||||
String flowunid = CurPage.getParameter("FlowUnid");
|
||||
String customerid = Sqlca.getString("select customer_id from lb_union_lessee_temp where flowunid='"+flowunid+"'");
|
||||
String marriage = Sqlca.getString("select MARRIAGE from CUSTOMER_PERSON_TEMP where flowunid='"+flowunid+"'");
|
||||
@ -60,7 +62,6 @@
|
||||
var certid = getItemValue(0,0,"certid");
|
||||
var tel = getItemValue(0,0,"tel");
|
||||
var partner = getItemValue(0,getRow(0),"Partner_");
|
||||
|
||||
if(partner=="Y"){
|
||||
var result = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerPartnerCheck","CheckPartnerInfo","flowunid=<%=flowunid%>");
|
||||
if(result=="1"){
|
||||
@ -101,7 +102,7 @@
|
||||
}
|
||||
}
|
||||
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoManage","saveCustomerFamily",
|
||||
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel")+",suname="+getItemValue(0,0,"suname")+",partner="+getItemValue(0,getRow(0),"Partner_")+",sposition="+getItemValue(0,getRow(0),"sposition")+",suphone="+getItemValue(0,getRow(0),"suphone")+",smincome="+getItemValue(0,getRow(0),"smincome")+",shukou="+getItemValue(0,getRow(0),"shukou"));
|
||||
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,projectId=<%=projectId%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel")+",suname="+getItemValue(0,0,"suname")+",partner="+getItemValue(0,getRow(0),"Partner_")+",sposition="+getItemValue(0,getRow(0),"sposition")+",suphone="+getItemValue(0,getRow(0),"suphone")+",smincome="+getItemValue(0,getRow(0),"smincome")+",shukou="+getItemValue(0,getRow(0),"shukou"));
|
||||
if(sResult == "SUCCESS"){
|
||||
reloadSelf();
|
||||
}
|
||||
@ -110,7 +111,7 @@
|
||||
setItemValue(0,0,"certid","");
|
||||
setItemValue(0,0,"tel","");
|
||||
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoManage","saveCustomerFamily",
|
||||
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel"));
|
||||
"relative=01,status=valid,customerid=<%=customerid%>,flowunid=<%=flowunid%>,projectId=<%=projectId%>,certid="+getItemValue(0,0,"certid")+",name="+getItemValue(0,0,"name")+",tel="+getItemValue(0,0,"tel"));
|
||||
if(sResult == "SUCCESS"){
|
||||
reloadSelf();
|
||||
}
|
||||
|
||||
@ -36,7 +36,16 @@ public class CustomerInfoManage {
|
||||
private String suphone;
|
||||
private String smincome;
|
||||
private String shukou;
|
||||
private String projectId;
|
||||
|
||||
public String getProjectId() {
|
||||
return projectId;
|
||||
}
|
||||
|
||||
public void setProjectId(String projectId) {
|
||||
this.projectId = projectId;
|
||||
}
|
||||
|
||||
public String getShukou() {
|
||||
return shukou;
|
||||
}
|
||||
@ -230,6 +239,8 @@ public class CustomerInfoManage {
|
||||
bo.setAttributeValue("smincome", smincome);
|
||||
bo.setAttributeValue("shukou", shukou);
|
||||
bo.setAttributeValue("Spouse_", "Y");
|
||||
String proejctId = this.projectId;
|
||||
bo.setAttributeValue("PROJECT_ID", projectId);
|
||||
}else{
|
||||
bo = bom.newObject();
|
||||
bo.setAttributeValue("flowunid", flowunid);
|
||||
@ -247,6 +258,8 @@ public class CustomerInfoManage {
|
||||
bo.setAttributeValue("smincome", smincome);
|
||||
bo.setAttributeValue("shukou", shukou);
|
||||
bo.setAttributeValue("Spouse_", "Y");
|
||||
String proejctId = this.projectId;
|
||||
bo.setAttributeValue("PROJECT_ID", projectId);
|
||||
}
|
||||
bom.saveObject(bo);
|
||||
}catch(Exception e){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user