更新业务申请页面和审批意见
This commit is contained in:
parent
b42f1a74ea
commit
464a60eb8f
@ -31,13 +31,6 @@
|
||||
if("01".equals(customerType)){
|
||||
doTemp.setVisible("SEX",false);//如果是法人客户隐藏性别字段
|
||||
}
|
||||
if(("业务申请流程".equals(flowName)&&"ANYBACK".equals(flowstate))&&("0010".equals(phaseNo)||"0020".equals(phaseNo))){
|
||||
doTemp.setVisible("InterOpinion1",false);
|
||||
doTemp.setVisible("InterOpinion2",false);
|
||||
doTemp.setVisible("DistriOpinion2",false);
|
||||
doTemp.setVisible("InterOpinion3",false);
|
||||
doTemp.setReadOnly("DistriOpinion1",true);//设置所有字段都只读。
|
||||
}
|
||||
doTemp.setHtmlEvent("firstchoice","onChange","changeFirstChoice");
|
||||
doTemp.setHtmlEvent("secondchoice","onChange","changeSecondChoice");
|
||||
doTemp.setHtmlEvent("thirdchoice","onChange","changeThirdChoice");
|
||||
@ -63,8 +56,8 @@
|
||||
dwTemp.getDataObject().setVisible("secondopinion", true);
|
||||
dwTemp.getDataObject().setReadOnly("secondchoice", true);
|
||||
dwTemp.getDataObject().setReadOnly("secondopinion", true);
|
||||
dwTemp.getDataObject().setVisible("InterOpinion2", true);
|
||||
dwTemp.getDataObject().setReadOnly("InterOpinion2", true);
|
||||
// dwTemp.getDataObject().setVisible("InterOpinion2", true);
|
||||
// dwTemp.getDataObject().setReadOnly("InterOpinion2", true);
|
||||
dwTemp.setGroupHidden("0040,0050");
|
||||
}
|
||||
}else if("0040".equals(phaseNo)){//复审
|
||||
@ -82,8 +75,8 @@
|
||||
dwTemp.getDataObject().setVisible("thirdopinion", true);
|
||||
dwTemp.getDataObject().setReadOnly("thirdchoice", true);
|
||||
dwTemp.getDataObject().setReadOnly("thirdopinion", true);
|
||||
dwTemp.getDataObject().setVisible("INTEROPINION3", true);
|
||||
dwTemp.getDataObject().setReadOnly("INTEROPINION3", true);
|
||||
// dwTemp.getDataObject().setVisible("INTEROPINION3", true);
|
||||
// dwTemp.getDataObject().setReadOnly("INTEROPINION3", true);
|
||||
dwTemp.setGroupHidden("0050");
|
||||
}
|
||||
if(CurUser.hasRole("401")){
|
||||
@ -112,10 +105,10 @@
|
||||
dwTemp.getDataObject().setVisible("secondopinion", false);
|
||||
dwTemp.getDataObject().setVisible("thirdchoice", false);
|
||||
dwTemp.getDataObject().setVisible("thirdopinion", false);
|
||||
dwTemp.getDataObject().setVisible("INTEROPINION2", false);
|
||||
dwTemp.getDataObject().setVisible("DISTRIOPINION2", false);
|
||||
dwTemp.getDataObject().setVisible("INTEROPINION3", false);
|
||||
dwTemp.getDataObject().setVisible("DISTRIOPINION3", false);
|
||||
// dwTemp.getDataObject().setVisible("INTEROPINION2", false);
|
||||
// dwTemp.getDataObject().setVisible("DISTRIOPINION2", false);
|
||||
// dwTemp.getDataObject().setVisible("INTEROPINION3", false);
|
||||
// dwTemp.getDataObject().setVisible("DISTRIOPINION3", false);
|
||||
|
||||
dwTemp.setGroupHidden("0030,0040,0050");
|
||||
}
|
||||
@ -179,8 +172,8 @@
|
||||
|
||||
$("#FIRSTCHOICE").attr("disabled","disabled");//初审意见
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");//审批意见
|
||||
$("#INTEROPINION1").attr("disabled","disabled");//初审内部意见
|
||||
$("#DISTRIOPINION1").attr("disabled","disabled");//初审经销商意见
|
||||
// $("#INTEROPINION1").attr("disabled","disabled");//初审内部意见
|
||||
// $("#DISTRIOPINION1").attr("disabled","disabled");//初审经销商意见
|
||||
if("BACK"=="<%=flowstate%>"||"ANYBACK"=="<%=flowstate%>"){
|
||||
$("#A_div_1250").attr("style","display:block;");
|
||||
$("#A_div_1260").attr("style","display:block;");
|
||||
@ -205,12 +198,12 @@
|
||||
|
||||
$("#FIRSTCHOICE").attr("disabled","disabled");//初审意见
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");//审批意见
|
||||
$("#INTEROPINION1").attr("disabled","disabled");//初审内部意见
|
||||
$("#DISTRIOPINION1").attr("disabled","disabled");//初审经销商意见
|
||||
// $("#INTEROPINION1").attr("disabled","disabled");//初审内部意见
|
||||
// $("#DISTRIOPINION1").attr("disabled","disabled");//初审经销商意见
|
||||
$("#SECONDCHOICE").attr("disabled","disabled");//复审意见
|
||||
$("#SECONDOPINION").attr("disabled","disabled");//审批意见
|
||||
$("#INTEROPINION2").attr("disabled","disabled");//复审内部意见
|
||||
$("#DISTRIOPINION2").attr("disabled","disabled");//复审经销商意见
|
||||
// $("#INTEROPINION2").attr("disabled","disabled");//复审内部意见
|
||||
// $("#DISTRIOPINION2").attr("disabled","disabled");//复审经销商意见
|
||||
if("true"=="<%=ishistory%>"&&<%=CurUser.hasRole("401")%>){
|
||||
$("#A_div_1130").attr("style","display:none;");
|
||||
$("#A_div_1140").attr("style","display:none;");
|
||||
@ -237,12 +230,12 @@
|
||||
|
||||
$("#FIRSTCHOICE").attr("disabled","disabled");//初审意见
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");//审批意见
|
||||
$("#INTEROPINION1").attr("disabled","disabled");//初审内部意见
|
||||
$("#DISTRIOPINION1").attr("disabled","disabled");//初审经销商意见
|
||||
// $("#INTEROPINION1").attr("disabled","disabled");//初审内部意见
|
||||
// $("#DISTRIOPINION1").attr("disabled","disabled");//初审经销商意见
|
||||
$("#SECONDCHOICE").attr("disabled","disabled");//复审意见
|
||||
$("#SECONDOPINION").attr("disabled","disabled");//审批意见
|
||||
$("#INTEROPINION2").attr("disabled","disabled");//复审内部意见
|
||||
$("#DISTRIOPINION2").attr("disabled","disabled");//复审经销商意见
|
||||
// $("#INTEROPINION2").attr("disabled","disabled");//复审内部意见
|
||||
// $("#DISTRIOPINION2").attr("disabled","disabled");//复审经销商意见
|
||||
if("BACK"=="<%=flowstate%>"||"ANYBACK"=="<%=flowstate%>"){
|
||||
$("#A_div_1130").attr("style","display:none;");
|
||||
$("#A_div_1140").attr("style","display:none;");
|
||||
@ -272,14 +265,14 @@
|
||||
}
|
||||
var firstchoice = getItemValue(0,0,"firstchoice");
|
||||
if(firstchoice==""){
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
// setItemRequired(0,"InterOpinion1",false);
|
||||
// setItemRequired(0,"DistriOpinion1",false);
|
||||
$("#FIRSTOPINION").attr("disabled","");
|
||||
}
|
||||
if(firstchoice=="0010"){
|
||||
setItemRequired(0,"A_div_1220",true);
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",true);
|
||||
// setItemRequired(0,"InterOpinion1",false);
|
||||
// setItemRequired(0,"DistriOpinion1",true);
|
||||
$("#FIRSTOPINION").attr("disabled","");
|
||||
var obj=document.getElementById('FIRSTOPINION');
|
||||
for(var i=0;i<7;i++){
|
||||
@ -288,8 +281,8 @@
|
||||
obj.options[7].style.display = "none";
|
||||
}
|
||||
if(firstchoice=="0030"){
|
||||
setItemRequired(0,"InterOpinion1",true);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
// setItemRequired(0,"InterOpinion1",true);
|
||||
// setItemRequired(0,"DistriOpinion1",false);
|
||||
$("#FIRSTOPINION").attr("disabled","");
|
||||
var obj=document.getElementById('FIRSTOPINION');
|
||||
for(var i=0;i<7;i++){
|
||||
@ -298,8 +291,8 @@
|
||||
obj.options[7].style.display = "block";
|
||||
}
|
||||
if(firstchoice=="0040"){
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",true);
|
||||
// setItemRequired(0,"InterOpinion1",false);
|
||||
// setItemRequired(0,"DistriOpinion1",true);
|
||||
setItemValue(0,0,"firstopinion","");
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");
|
||||
}
|
||||
@ -320,14 +313,14 @@
|
||||
var firstchoice = getItemValue(0,0,"firstchoice");
|
||||
var attribute1="";
|
||||
if(firstchoice==""){
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
// setItemRequired(0,"InterOpinion1",false);
|
||||
// setItemRequired(0,"DistriOpinion1",false);
|
||||
$("#FIRSTOPINION").removeAttr("disabled");
|
||||
}
|
||||
if(firstchoice=="0010"){
|
||||
setItemRequired(0,"A_div_1220",true);
|
||||
setItemRequired(0,"InterOpinion1",true);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
// setItemRequired(0,"InterOpinion1",true);
|
||||
// setItemRequired(0,"DistriOpinion1",false);
|
||||
setItemRequired(0,"FIRSTOPINION",true);
|
||||
$("#FIRSTOPINION").removeAttr("disabled");
|
||||
/* var obj=document.getElementById('FIRSTOPINION');
|
||||
@ -338,8 +331,8 @@
|
||||
attribute1="1";
|
||||
}
|
||||
if(firstchoice=="0020"){
|
||||
setItemRequired(0,"InterOpinion1",true);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
// setItemRequired(0,"InterOpinion1",true);
|
||||
// setItemRequired(0,"DistriOpinion1",false);
|
||||
setItemRequired(0,"FIRSTOPINION",true);
|
||||
$("#FIRSTOPINION").removeAttr("disabled");
|
||||
/* var obj=document.getElementById('FIRSTOPINION');
|
||||
@ -350,16 +343,16 @@
|
||||
attribute1="2";
|
||||
}
|
||||
if(firstchoice=="0030"){
|
||||
setItemRequired(0,"InterOpinion1",true);
|
||||
setItemRequired(0,"DistriOpinion1",false);
|
||||
// setItemRequired(0,"InterOpinion1",true);
|
||||
// setItemRequired(0,"DistriOpinion1",false);
|
||||
setItemRequired(0,"FIRSTOPINION",false);
|
||||
setItemValue(0,0,"firstopinion","");
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");
|
||||
attribute1="";
|
||||
}
|
||||
if(firstchoice=="0040"){
|
||||
setItemRequired(0,"InterOpinion1",false);
|
||||
setItemRequired(0,"DistriOpinion1",true);
|
||||
// setItemRequired(0,"InterOpinion1",false);
|
||||
// setItemRequired(0,"DistriOpinion1",true);
|
||||
setItemRequired(0,"FIRSTOPINION",false);
|
||||
setItemValue(0,0,"firstopinion","");
|
||||
$("#FIRSTOPINION").attr("disabled","disabled");
|
||||
@ -539,14 +532,14 @@
|
||||
phaseChoice = getItemValue(0,0,"fourchoice");
|
||||
phaseOpinion = getItemValue(0,0,"fouropinion");
|
||||
}
|
||||
var InterOpinion1 = getItemValue(0,0,"InterOpinion1");
|
||||
var DistriOpinion1 = getItemValue(0,0,"DistriOpinion1");
|
||||
var InterOpinion2 = getItemValue(0,0,"InterOpinion2");
|
||||
var DistriOpinion2 = getItemValue(0,0,"DistriOpinion2");
|
||||
var InterOpinion3 = getItemValue(0,0,"InterOpinion3");
|
||||
var DistriOpinion3 = getItemValue(0,0,"DistriOpinion3");
|
||||
// var InterOpinion1 = getItemValue(0,0,"InterOpinion1");
|
||||
// var DistriOpinion1 = getItemValue(0,0,"DistriOpinion1");
|
||||
// var InterOpinion2 = getItemValue(0,0,"InterOpinion2");
|
||||
// var DistriOpinion2 = getItemValue(0,0,"DistriOpinion2");
|
||||
// var InterOpinion3 = getItemValue(0,0,"InterOpinion3");
|
||||
// var DistriOpinion3 = getItemValue(0,0,"DistriOpinion3");
|
||||
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.BusinessApproveManager","saveApproveOpinion",
|
||||
"serialNo=<%=taskno%>,phaseNo=<%=phaseNo%>,flowunid=<%=flowunid%>,phaseChoice="+phaseChoice+",phaseOpinion="+phaseOpinion+",InterOpinion1="+InterOpinion1+",DistriOpinion1="+DistriOpinion1+",InterOpinion2="+InterOpinion2+",DistriOpinion2="+DistriOpinion2+",InterOpinion3="+InterOpinion3+",DistriOpinion3="+DistriOpinion3+",userid=<%=CurUser.getUserID()%>,orgid=<%=CurUser.getOrgID()%>");
|
||||
"serialNo=<%=taskno%>,phaseNo=<%=phaseNo%>,flowunid=<%=flowunid%>,phaseChoice="+phaseChoice+",phaseOpinion="+phaseOpinion+",userid=<%=CurUser.getUserID()%>,orgid=<%=CurUser.getOrgID()%>");
|
||||
if("SUCCESS" == sResult){
|
||||
resetDWDialog("保存成功!",true);
|
||||
reloadSelf();
|
||||
|
||||
@ -226,10 +226,14 @@
|
||||
return;
|
||||
}else{ */
|
||||
var flowunid = getItemValue(0,0,"flowunid");
|
||||
var customerid = getItemValue(0,0,"customerid");
|
||||
if(null==flowunid||""==flowunid){
|
||||
setItemValue(0, 0, "flowunid", "<%=FlowUnid%>");
|
||||
setItemValue(0, 0, "Partner_", "Y");
|
||||
}
|
||||
if(null==customerid||""==customerid){
|
||||
setItemValue(0, 0, "customerid","<%=customerid%>");
|
||||
}
|
||||
as_save(0);
|
||||
// }
|
||||
}
|
||||
|
||||
@ -4506,6 +4506,48 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="VI_PROJECTINFO_BUSINESS" label="审批表(承租人基本信息新)" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="FLOWUNID" label="流程编号" type="STRING"/>
|
||||
<attribute name="FULLNAME" label="姓名" type="STRING"/>
|
||||
<attribute name="SEX" label="性别" type="STRING"/>
|
||||
<attribute name="CERTTYPE" label="证件类型" type="STRING"/>
|
||||
<attribute name="CERTID" label="证件号码" type="STRING"/>
|
||||
<attribute name="WORKCORP" label="单位名称" type="STRING"/>
|
||||
<attribute name="WORKADD" label="单位地址" type="STRING"/>
|
||||
<attribute name="ENTRYTIME" label="入职时间" type="STRING"/>
|
||||
<attribute name="FORMALEMP" label="是否是正式员工" type="STRING"/>
|
||||
<attribute name="PRODUCTNAME" label="产品" type="STRING"/>
|
||||
<attribute name="CLEANLEASEMONEY" label="融资金额" type="STRING"/>
|
||||
<attribute name="LEASETERM" label="融资期限(月)" type="STRING"/>
|
||||
<attribute name="INCOMENUMBERYEAR" label="还款方式" type="STRING"/>
|
||||
<attribute name="firstchoice" label="初审意见" type="STRING"/>
|
||||
<attribute name="firstopinion" label="审批意见" type="STRING"/>
|
||||
<attribute name="secondchoice" label="复审意见" type="STRING"/>
|
||||
<attribute name="secondopinion" label="审批意见" type="STRING"/>
|
||||
<attribute name="thirdchoice" label="部门负责人意见" type="STRING"/>
|
||||
<attribute name="thirdopinion" label="审批意见" type="STRING"/>
|
||||
<attribute name="fourchoice" label="总经理意见" type="STRING"/>
|
||||
<attribute name="fouropinion" label="审批意见" type="STRING"/>
|
||||
<attribute name="project_no" label="项目编号" type="STRING"/>
|
||||
<attribute name="car_type" label="车类型" type="STRING"/>
|
||||
<attribute name="LEAS_FORM" label="租赁方式" type="STRING"/>
|
||||
<attribute name="InterOpinion1" label="内部意见1" type="STRING"/>
|
||||
<attribute name="DistriOpinion1" label="经销商意见1" type="STRING"/>
|
||||
<attribute name="InterOpinion2" label="内部意见2" type="STRING"/>
|
||||
<attribute name="DistriOpinion2" label="经销商意见2" type="STRING"/>
|
||||
<attribute name="InterOpinion3" label="内部意见3" type="STRING"/>
|
||||
<attribute name="DistriOpinion3" label="经销商意见3" type="STRING"/>
|
||||
<attribute name="InterOpinion4" label="内部意见4" type="STRING"/>
|
||||
<attribute name="DistriOpinion4" label="经销商意见4" type="STRING"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="vi_projectinfo_business" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
</package>
|
||||
<package name="jbo.com.tenwa.lease.carbrand" >
|
||||
<class name="LB_CLAIMS_BOOK_DETAIL" label="索赔申请书详情表" keyAttributes="ID">
|
||||
|
||||
@ -2254,5 +2254,55 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="FLOW_OPINION_BUSINESS" label="" keyAttributes="opinionno,serialno">
|
||||
<attributes>
|
||||
<attribute name="serialno" label="流程任务流水号" type="STRING" length="32"/>
|
||||
<attribute name="opinionno" label="见序号" type="STRING" length="32"/>
|
||||
<attribute name="objecttype" label="对象类型" type="STRING" length="18"/>
|
||||
<attribute name="objectno" label="对象编号" type="STRING" length="32"/>
|
||||
<attribute name="customerid" label="客户编号" type="STRING" length="32"/>
|
||||
<attribute name="customername" label="客户名称" type="STRING" length="80"/>
|
||||
<attribute name="businesscurrency" label="币种" type="STRING" length="18"/>
|
||||
<attribute name="businesssum" label="金额" type="DOUBLE" length="24" scale="6"/>
|
||||
<attribute name="termyear" label="期限(年)" type="INT" length="10"/>
|
||||
<attribute name="termmonth" label="期限(月)" type="INT" length="10"/>
|
||||
<attribute name="termday" label="期限(日)" type="INT" length="10"/>
|
||||
<attribute name="baseratetype" label="基准利率类型" type="STRING" length="18"/>
|
||||
<attribute name="ratefloattype" label="利率浮动方式" type="STRING" length="18"/>
|
||||
<attribute name="ratefloat" label="利率浮动" type="DOUBLE" length="10" scale="6"/>
|
||||
<attribute name="bailcurrency" label="保证金币种" type="STRING" length="18"/>
|
||||
<attribute name="businessrate" label="执行利率" type="DOUBLE" length="10" scale="6"/>
|
||||
<attribute name="bailratio" label="保证金比率" type="DOUBLE" length="10" scale="6"/>
|
||||
<attribute name="bailsum" label="保证金金额" type="DOUBLE" length="24" scale="6"/>
|
||||
<attribute name="pdgratio" label="手续费比率" type="DOUBLE" length="10" scale="6"/>
|
||||
<attribute name="pdgsum" label="手续费金额" type="DOUBLE" length="24" scale="6"/>
|
||||
<attribute name="baserate" label="基准利率" type="DOUBLE" length="10" scale="6"/>
|
||||
<attribute name="phasechoice" label="阶段意见" type="STRING" length="800"/>
|
||||
<attribute name="phaseopinion" label="意见详情" type="STRING" length="2000"/>
|
||||
<attribute name="InterOpinion1" label="内部意见1" type="STRING" length="600"/>
|
||||
<attribute name="DistriOpinion1" label="经销商意见1" type="STRING" length="600"/>
|
||||
<attribute name="InterOpinion2" label="内部意见2" type="STRING" length="600"/>
|
||||
<attribute name="DistriOpinion2" label="经销商意见2" type="STRING" length="600"/>
|
||||
<attribute name="InterOpinion3" label="内部意见3" type="STRING" length="600"/>
|
||||
<attribute name="DistriOpinion3" label="经销商意见3" type="STRING" length="600"/>
|
||||
<attribute name="InterOpinion4" label="内部意见4" type="STRING" length="600"/>
|
||||
<attribute name="DistriOpinion4" label="经销商意见4" type="STRING" length="600"/>
|
||||
<attribute name="opinionType" label="意见类型" type="STRING" length="10"/>
|
||||
<attribute name="phaseopinion1" label="意见详情1" type="STRING" length="400"/>
|
||||
<attribute name="phaseopinion2" label="意见详情2" type="STRING" length="400"/>
|
||||
<attribute name="phaseopinion3" label="意见详情3" type="STRING" length="400"/>
|
||||
<attribute name="inputorg" label="登记部门" type="STRING" length="32"/>
|
||||
<attribute name="inputuser" label="登记人" type="STRING" length="32"/>
|
||||
<attribute name="inputtime" label="登记时间" type="STRING" length="20"/>
|
||||
<attribute name="updateuser" label="更新人" type="STRING" length="32"/>
|
||||
<attribute name="updatetime" label="变更时间" type="STRING" length="20"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="flow_opinion_business" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
</package>
|
||||
</jbo>
|
||||
|
||||
Binary file not shown.
@ -4,6 +4,7 @@ import jbo.app.LB_EQUIPMENT_CAR;
|
||||
import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP;
|
||||
import jbo.sys.CAR_PLATENUMBER_CODE;
|
||||
import jbo.sys.FLOW_OPINION;
|
||||
import jbo.sys.FLOW_OPINION_BUSINESS;
|
||||
import jbo.sys.FLOW_TASK;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
@ -147,7 +148,7 @@ public class BusinessApproveManager {
|
||||
BizObjectManager bomFT = JBOFactory.getBizObjectManager(FLOW_TASK.CLASS_NAME,tx);
|
||||
BizObject boFT = bomFT.createQuery("objectno=:flowunid and phaseno=:phaseNo and relativeobjectno is not null")
|
||||
.setParameter("flowunid", flowunid).setParameter("phaseNo", phaseNo).getSingleResult(true);
|
||||
BizObjectManager bomFO = JBOFactory.getBizObjectManager(FLOW_OPINION.CLASS_NAME,tx);
|
||||
BizObjectManager bomFO = JBOFactory.getBizObjectManager(FLOW_OPINION_BUSINESS.CLASS_NAME,tx);
|
||||
BizObject bo = bomFO.createQuery("serialno='"+serialNo+"'").getSingleResult(true);
|
||||
if(boFT != null){
|
||||
boFT.setAttributeValue("relativeobjectno", null);
|
||||
|
||||
@ -281,7 +281,7 @@ public class CustomerInfoManage {
|
||||
public String saveCustomerFamily(JBOTransaction tx){
|
||||
try{
|
||||
BizObjectManager bom = JBOFactory.getBizObjectManager(CUSTOMER_FAMILY_TEMP.CLASS_NAME,tx);
|
||||
BizObject bo = bom.createQuery("flowunid=:flowunid and customerid=:customerid").setParameter("flowunid", flowunid).setParameter("customerid", customerid).getSingleResult(true);
|
||||
BizObject bo = bom.createQuery("flowunid=:flowunid and customerid=:customerid and Spouse_='Y' ").setParameter("flowunid", flowunid).setParameter("customerid", customerid).getSingleResult(true);
|
||||
if(bo != null){
|
||||
bo.setAttributeValue("certid", certid);
|
||||
bo.setAttributeValue("name", name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user