fix bug
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.seeyon.apps.src_receiveFVFlow.handler;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.seeyon.aicloud.common.JsonUtils;
|
||||
import com.seeyon.apps.src_receiveFVFlow.constans.ReceiveFVFlowConstans;
|
||||
import com.seeyon.apps.src_receiveFVFlow.org.OrgManagerDirectFacade;
|
||||
import com.seeyon.apps.src_receiveFVFlow.util.FileUtils;
|
||||
@@ -17,11 +16,9 @@ import com.seeyon.cap4.form.bean.FormFieldBean;
|
||||
import com.seeyon.cap4.form.bean.FormTableBean;
|
||||
import com.seeyon.ctp.common.AppContext;
|
||||
import com.seeyon.ctp.common.exceptions.BusinessException;
|
||||
import com.seeyon.ctp.organization.bo.OrganizationMessage;
|
||||
import com.seeyon.ctp.organization.bo.V3xOrgMember;
|
||||
import com.seeyon.ctp.organization.bo.V3xOrgPrincipal;
|
||||
import com.seeyon.ctp.organization.manager.OrgManager;
|
||||
import com.seeyon.ctp.services.ServiceException;
|
||||
import com.seeyon.ctp.util.JDBCAgent;
|
||||
import com.seeyon.v3x.services.form.bean.FormExport;
|
||||
import com.seeyon.v3x.services.form.bean.ValueExport;
|
||||
@@ -234,6 +231,7 @@ public class AccessionApprovalHandler extends FlowDataSyncHandler implements Per
|
||||
FormApi4Cap4 formApi4Cap4 = (FormApi4Cap4) AppContext.getBean("formApi4Cap4");
|
||||
FormBean cap4FormBean = formApi4Cap4.getFormByFormCode(formCode);
|
||||
FormTableBean masterTableBean = cap4FormBean.getMasterTableBean();
|
||||
mainFormData.put("业代人员岗位",null);
|
||||
for (String key : mainFormData.keySet()) {
|
||||
FormFieldBean beanByDisplay = masterTableBean.getFieldBeanByDisplay(key);
|
||||
if(beanByDisplay == null) {
|
||||
|
||||
@@ -9,7 +9,6 @@ import com.seeyon.cap4.form.bean.FormFieldBean;
|
||||
import com.seeyon.cap4.form.bean.FormTableBean;
|
||||
import com.seeyon.ctp.common.AppContext;
|
||||
import com.seeyon.ctp.common.exceptions.BusinessException;
|
||||
import com.seeyon.ctp.services.ServiceException;
|
||||
import com.seeyon.v3x.services.form.bean.FormExport;
|
||||
import com.seeyon.v3x.services.form.bean.ValueExport;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -43,6 +42,7 @@ public class AccountOpenHandler extends FlowDataSyncHandler implements Personnel
|
||||
FormApi4Cap4 formApi4Cap4 = (FormApi4Cap4) AppContext.getBean("formApi4Cap4");
|
||||
FormBean cap4FormBean = formApi4Cap4.getFormByFormCode(formCode);
|
||||
FormTableBean masterTableBean = cap4FormBean.getMasterTableBean();
|
||||
mainFormData.put("业代人员岗位",null);
|
||||
for (String key : mainFormData.keySet()) {
|
||||
FormFieldBean beanByDisplay = masterTableBean.getFieldBeanByDisplay(key);
|
||||
if(beanByDisplay == null) {
|
||||
|
||||
@@ -148,7 +148,7 @@ public class CusAccountAssignHandler extends FlowDataSyncHandler implements OrgM
|
||||
FormApi4Cap4 formApi4Cap4 = (FormApi4Cap4) AppContext.getBean("formApi4Cap4");
|
||||
FormBean cap4FormBean = formApi4Cap4.getFormByFormCode(formNo);
|
||||
FormTableBean masterTableBean = cap4FormBean.getMasterTableBean();
|
||||
for (String key : mainFormData.keySet()) {
|
||||
for (String key : personData.keySet()) {
|
||||
FormFieldBean beanByDisplay = masterTableBean.getFieldBeanByDisplay(key);
|
||||
if(beanByDisplay == null) {
|
||||
continue;
|
||||
@@ -165,11 +165,10 @@ public class CusAccountAssignHandler extends FlowDataSyncHandler implements OrgM
|
||||
}
|
||||
updateFields.add(FormUpdateField.build().value(refId).display(key));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
log.error("写入附件信息失败,"+e.getMessage());
|
||||
}
|
||||
}else {
|
||||
updateFields.add(FormUpdateField.build().value(mainFormData.get(key)).display(key));
|
||||
updateFields.add(FormUpdateField.build().value(personData.get(key)).display(key));
|
||||
}
|
||||
}
|
||||
List<FormWhereCondition> whereClause = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user