更新app业务申请
This commit is contained in:
parent
11d51b9cda
commit
dfe4c680d1
@ -235,9 +235,9 @@
|
||||
if(checkCarNumber()){
|
||||
return;
|
||||
}
|
||||
//if(!checkFrameNumber2()){
|
||||
// return;
|
||||
//}
|
||||
if(!checkFrameNumber2()){
|
||||
return;
|
||||
}
|
||||
//if(!checkFrameNumber3()){
|
||||
// return;
|
||||
//}
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
var mes=sReturnInfos[1];
|
||||
var mes=sReturnInfos[0];
|
||||
alert(mes);
|
||||
}
|
||||
reloadSelf();
|
||||
|
||||
@ -355,7 +355,10 @@ public class BusinessDocDetailServiceImpl implements BusinessDocDetailService {
|
||||
: library.getAttribute("ONE_CLASSIFY").toString();
|
||||
String tweClassly = library.getAttribute("TWO_CLASSIFY") == null ? ""
|
||||
: library.getAttribute("TWO_CLASSIFY").toString();
|
||||
|
||||
//校验是否必填或其他
|
||||
if(!(docNature.equals("01")||docName1.equals("其他"))){
|
||||
continue;
|
||||
}
|
||||
libraryMap.put("libraryId", libraryId);
|
||||
libraryMap.put("remark", remark);
|
||||
libraryMap.put("docType", docType);
|
||||
|
||||
@ -24,8 +24,10 @@ import com.amarsoft.are.lang.StringX;
|
||||
import com.base.constant.RestfullConstant;
|
||||
import com.base.util.JsonUtil;
|
||||
import com.base.util.StringUtil;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck;
|
||||
import com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction;
|
||||
import com.tenwa.util.MultiSubjectUtil;
|
||||
|
||||
public class BusinessBO implements Serializable {
|
||||
|
||||
@ -44,6 +46,8 @@ public class BusinessBO implements Serializable {
|
||||
private String certtype; // 证件类型
|
||||
private String certid; // 证件号码
|
||||
private String haveCommission;//是否有佣金
|
||||
private String SubjectId;
|
||||
private String SubjectName;
|
||||
|
||||
private String businessType; // 业务类型,1是汽车业务,2是传统业务,3是汽车传统业务
|
||||
private String versionId; // 版本ID
|
||||
@ -170,6 +174,17 @@ public class BusinessBO implements Serializable {
|
||||
: fieldMap.get("liter".toLowerCase()).toString(); // 排量
|
||||
this.geartype = fieldMap.get("geartype".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("geartype".toLowerCase()).toString(); // 档位
|
||||
//更具产品id获取对应的主体信息
|
||||
List<Map<String, String>> sujectIdList = DataOperatorUtil.getDataBySql("SELECT manysubject FROM PRD_SPECIFIC_LIBRARY WHERE productid='"+this.productId+"'");
|
||||
if(sujectIdList.size()>0){
|
||||
this.SubjectId = sujectIdList.get(0).get("manysubject");
|
||||
if(MultiSubjectUtil.SZSUBJECTID.equals(this.SubjectId)){//深圳主体
|
||||
this.SubjectName = MultiSubjectUtil.SZSUBJECTNAME;
|
||||
}else if (MultiSubjectUtil.TJSUBJECTID.equals(this.SubjectId)){//天津主体
|
||||
this.SubjectName = MultiSubjectUtil.TJSUBJECTNAME;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
CustomerInfoCheck CustomerInfoCheck = new CustomerInfoCheck();
|
||||
CustomerInfoCheck.setCertid(certid);
|
||||
@ -232,6 +247,8 @@ public class BusinessBO implements Serializable {
|
||||
map.put("CustomerId", CUSTOMERID);
|
||||
|
||||
map.put("sourcetype", "app");
|
||||
map.put("SubjectId", SubjectId);
|
||||
map.put("SubjectName", SubjectName);
|
||||
|
||||
JSONObject jsonObject = JSONObject.fromObject(map);
|
||||
this.fixedFlowParam = jsonObject.toString();
|
||||
@ -531,6 +548,22 @@ public class BusinessBO implements Serializable {
|
||||
return haveCommission;
|
||||
}
|
||||
|
||||
public String getSubjectId() {
|
||||
return SubjectId;
|
||||
}
|
||||
|
||||
public void setSubjectId(String subjectId) {
|
||||
SubjectId = subjectId;
|
||||
}
|
||||
|
||||
public String getSubjectName() {
|
||||
return SubjectName;
|
||||
}
|
||||
|
||||
public void setSubjectName(String subjectName) {
|
||||
SubjectName = subjectName;
|
||||
}
|
||||
|
||||
public void sethaveCommission(String haveCommission) {
|
||||
haveCommission = haveCommission;
|
||||
}
|
||||
|
||||
@ -3,5 +3,7 @@ package com.tenwa.util;
|
||||
public class MultiSubjectUtil {
|
||||
|
||||
public static final String SZSUBJECTID="aa740e4111c111eaaa0000163e0e11e6";//深圳主体标识
|
||||
public static final String SZSUBJECTNAME="安鹏国际融资租赁(深圳)有限公司";//深圳主体名称
|
||||
public static final String TJSUBJECTID="d989246c11c111eaaa0000163e0e11e6";//天津主体标识
|
||||
public static final String TJSUBJECTNAME="安鹏融资租赁(天津)有限公司";//天津主体名称
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user