|
|
@ -89,7 +89,7 @@ public class OaFormService extends MybatisBaseService<OaFormMapper, OaForm> { |
|
|
|
// 创建OA表单对象
|
|
|
|
OaForm oaForm = new OaForm(); |
|
|
|
// 将DTO中部分属性复制到oaForm中,忽略不需要的字段(如billNo, orgSidPath)
|
|
|
|
BeanUtil.copyProperties(dto, oaForm, "billNo", "orgSidPath","title","remarks"); |
|
|
|
BeanUtil.copyProperties(dto, oaForm, "billNo", "orgSidPath", "title", "remarks"); |
|
|
|
try { |
|
|
|
String orgSidPath = dto.getOrgSidPath(); |
|
|
|
// 获取组织信息,根据orgSidPath字段调用外部服务
|
|
|
@ -213,7 +213,7 @@ public class OaFormService extends MybatisBaseService<OaFormMapper, OaForm> { |
|
|
|
if (!businessVariablesResultBean.getSuccess()) { |
|
|
|
return rb.setMsg(businessVariablesResultBean.getMsg()); |
|
|
|
} |
|
|
|
BeanUtil.copyProperties(businessVariablesResultBean.getData(), bv, "taskDefKey", "taskId","comment"); |
|
|
|
BeanUtil.copyProperties(businessVariablesResultBean.getData(), bv, "taskDefKey", "taskId", "comment"); |
|
|
|
bv.setInstanceId(oaForm.getProcInstId()); |
|
|
|
if (oaForm.getTaskId().contains(bv.getTaskId())) { |
|
|
|
ResultBean<UpdateFlowFieldVo> resultBean = flow3Feign.handleProsess(bv); |
|
|
|