|
@ -138,7 +138,7 @@ public class DfYhV2Service extends DefaultApprovalBusinessService<DfYhV2Mapper, |
|
|
BeanUtils.copyProperties(dfYh, dfYhV2); |
|
|
BeanUtils.copyProperties(dfYh, dfYhV2); |
|
|
dfYhV2.setDoc(getDocStrJson(dfYh.getDoc())); |
|
|
dfYhV2.setDoc(getDocStrJson(dfYh.getDoc())); |
|
|
dfYhV2.setStatus(DfYhV2StatusEnum.YES_UNDER.getValue()); |
|
|
dfYhV2.setStatus(DfYhV2StatusEnum.YES_UNDER.getValue()); |
|
|
updateById(dfYhV2); |
|
|
saveOrUpdate(dfYhV2); |
|
|
BeanUtils.copyProperties(dfYhV2, dto); |
|
|
BeanUtils.copyProperties(dfYhV2, dto); |
|
|
approvalService.submit(dfYhV2.getId(), ApprovalTypeEnum.YH_V2_RECORD); |
|
|
approvalService.submit(dfYhV2.getId(), ApprovalTypeEnum.YH_V2_RECORD); |
|
|
return dto; |
|
|
return dto; |
|
@ -184,7 +184,7 @@ public class DfYhV2Service extends DefaultApprovalBusinessService<DfYhV2Mapper, |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public String formStatus(String formId) { |
|
|
public String formStatus(String formId) { |
|
|
return ApprovalStatusEnum.WAITING.getValue(); |
|
|
return ApprovalStatusEnum.SUBMITTING.getValue(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|