保险理赔修改
This commit is contained in:
parent
d3dbdf99fc
commit
83fd029ac5
@ -15,6 +15,8 @@ public class ContractInsuranceSignAction {
|
||||
|
||||
private String projectId;
|
||||
|
||||
private String planNumber;;
|
||||
|
||||
private String contractNo;
|
||||
|
||||
private String contractId;
|
||||
@ -23,6 +25,14 @@ public class ContractInsuranceSignAction {
|
||||
|
||||
private String tempId;
|
||||
|
||||
public String getPlanNumber() {
|
||||
return planNumber;
|
||||
}
|
||||
|
||||
public void setPlanNumber(String planNumber) {
|
||||
this.planNumber = planNumber;
|
||||
}
|
||||
|
||||
public String getContractNo() {
|
||||
return contractNo;
|
||||
}
|
||||
@ -71,7 +81,7 @@ public class ContractInsuranceSignAction {
|
||||
@SuppressWarnings({ "unchecked", "static-access" })
|
||||
public String wordToPdfInsurance(JBOTransaction tx) throws JBOException {
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObject DOCRELATIVE=bom.createQuery(" OBJECTTYPE='contractInsurance' and PROJ_ID=:projectId ").setParameter("projectId", projectId).getSingleResult(false);
|
||||
BizObject DOCRELATIVE=bom.createQuery(" OBJECTTYPE='contractInsurance' and PROJ_ID=:projectId and PLAN_NUMBER=:planNumber ").setParameter("projectId", projectId).setParameter("planNumber", planNumber).getSingleResult(false);
|
||||
BizObjectManager attrBom=JBOFactory.getBizObjectManager(LB_DOCATTRIBUTE.CLASS_NAME);
|
||||
BizObject attrBo=null;
|
||||
WordToPDFUtil wordTopdf = new WordToPDFUtil();
|
||||
@ -123,10 +133,10 @@ public class ContractInsuranceSignAction {
|
||||
* @throws Exception
|
||||
*/
|
||||
public String claimSignInsuranceTwo(JBOTransaction tx) throws Exception {
|
||||
logger.info("claimSignInsuranceTwo 保险委托申请书盖章:对接契约锁2.0 开始 0107 1013");
|
||||
logger.info("claimSignInsuranceTwo 保险委托申请书盖章:对接契约锁2.0 开始 0126");
|
||||
String libraryid="";
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObject DOCRELATIVE=bom.createQuery("OBJECTTYPE='contractInsurance' and CONTRACT_ID=:contractid ").setParameter("contractid", contractId).getSingleResult(false);
|
||||
BizObject DOCRELATIVE=bom.createQuery("OBJECTTYPE='contractInsurance' and CONTRACT_ID=:contractid and PLAN_NUMBER=:planNumber ").setParameter("contractid", contractId).setParameter("planNumber", planNumber).getSingleResult(false);
|
||||
logger.info("claimSignInsuranceTwo 查询文件关联信息");
|
||||
if (DOCRELATIVE != null) {
|
||||
logger.info("claimSignInsuranceTwo 查询文件关联信息不为空时");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user