fix:凯捷联合租赁手签有挂靠歇息乘用车商用车模板添加
This commit is contained in:
parent
d9699c2cb0
commit
6894a5f016
@ -377,7 +377,7 @@
|
||||
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionTwoOwn","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,tempid="+tempids);
|
||||
}else if("ZC"==operationType){
|
||||
falg="success";
|
||||
}else if("KJLHZL"==operationType){//¿½ÝÁªºÏ×âÁÞ
|
||||
}else if("KJLHZL"==operationType||"KJLHZLCYC"==operationType||"KJLHZLSYC"==operationType){//¿½ÝÁªºÏ×âÁÞ
|
||||
// alert("凯捷联合租赁,合同模板id=" + tempids);
|
||||
falg = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignActionNewUtils","compnySignIng","FlowUnid=<%=flowunid%>,flagType=word,ProjectId=<%=projectId%>,SubjectId=<%=SubjectId%>,operationType="+operationType);
|
||||
} else{
|
||||
|
||||
@ -173,9 +173,13 @@ public class FileTemplateUtil {
|
||||
return "[{'fileTemplate':\""+"[{'text':'联合租赁','value':'7ae245ef8b644b62a4658069adab6c32'}]"+"\"}]";
|
||||
}else if("SQSYC".equals(operationType)){
|
||||
return "[{'fileTemplate':\""+"[{'text':'狮桥商用车合同模板','value':'93e4194efb604c71b394d902b2060da8'}]"+"\"}]";
|
||||
}else if("KJLHZL".equals(operationType)){
|
||||
}else if("KJLHZL".equals(operationType)){//KJLHZL 调整成 KJLHZLCYC 凯捷联合融资租赁乘用车
|
||||
return "[{'fileTemplate':\""+"[{'text':'凯捷联合融资租赁合同模板','value':'5e1b90d31c4749e2af83891b48ccbe19'}]"+"\"}]";
|
||||
}else if("CYSHDZ".equals(operationType)){
|
||||
}else if("KJLHZLCYC".equals(operationType)){//新增 KJLHZLCYC 凯捷联合融资租赁乘用车 ''
|
||||
return "[{'fileTemplate':\""+"[{'text':'凯捷联合融资租赁乘用车合同模板','value':'5fd761a9cb0e4530ae029ec4d713b708'}]"+"\"}]";
|
||||
}else if("KJLHZLSYC".equals(operationType)){//新增凯捷联合融资租赁商用车
|
||||
return "[{'fileTemplate':\""+"[{'text':'凯捷联合融资租赁商用车合同模板','value':'4f724ee9a25048b5b0100fb6e5967fde'}]"+"\"}]";
|
||||
}else if("CYSHDZ".equals(operationType)){
|
||||
return "[{'fileTemplate':\""+"[{'text':'乘用车售后回租电子签约','value':'e6972f1da71f11ebbfe100163e0e11e6'}]"+"\"}]";
|
||||
}else if("SYCSHHZDZQ".equals(operationType)){
|
||||
return "[{'fileTemplate':\""+"[{'text':'商用车一车一挂电子签约合同模板','value':'59f0423f984a46128292fbd8768fcd1e'}]"+"\"}]";
|
||||
|
||||
@ -63,7 +63,7 @@ public class ContractSignActionNewUtils {
|
||||
qysParams.setFileName(fileName);
|
||||
qysParams.setFilePath(makefullPath);
|
||||
qysParams.setSubjectId(SubjectId);
|
||||
if("KJLHZL".equals(operationType)) {//¿½ÝÁªºÏ×âÁÞ
|
||||
if("KJLHZL".equals(operationType)||"KJLHZLCYC".equals(operationType)||"KJLHZLSYC".equals(operationType)) {//¿½ÝÁªºÏ×âÁÞ
|
||||
qysParams.setTempId("5e1b90d31c4749e2af83891b48ccbe19");//合同模板id
|
||||
qysParams.setContractSignTypeEnum(ContractSignEnums.ContractSignTypeEnum.SIGNATURE_JOINT);//联合租赁-手签
|
||||
qysParams.setChildSubject(ContractSignVtwoUtils.KJ_CHILD_SUBJECT_TYPE);//子公司:凯捷
|
||||
|
||||
@ -337,6 +337,14 @@ public class MakeOneCodeAndContractModel {
|
||||
img.setAbsolutePosition(400, 800);
|
||||
under9.addImage(img);
|
||||
}
|
||||
|
||||
//凯捷挂靠协议水印
|
||||
if(pages>8&&"02".equals(leasform)&&("凯捷联合融资租赁乘用车合同".equals(docName)||"凯捷联合融资租赁商用车合同".equals(docName))){
|
||||
PdfContentByte under10 = stamp.getUnderContent(9);
|
||||
img.scaleAbsolute(180, 32);
|
||||
img.setAbsolutePosition(400, 800);
|
||||
under10.addImage(img);
|
||||
}
|
||||
|
||||
|
||||
stamp.close();// 关闭
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user