|
@@ -220,10 +220,12 @@ public class FlwProcessServiceImpl extends ServiceImpl<FlwProcessMapper, FlwProc
|
|
|
if (null != configure) {
|
|
|
dto.setCategoryId(configure.getCategoryId());
|
|
|
dto.setProcessSetting(configure.getProcessSetting());
|
|
|
- dto.setBusinessForm(configure.getProcessForm());
|
|
|
if (ProcessType.business.eq(flwProcess.getProcessType())) {
|
|
|
+ dto.setBusinessForm(configure.getProcessForm());
|
|
|
// 加载表单模板内容
|
|
|
dto.setFormTemplate(flwFormTemplateService.getByConfigure(configure.getProcessForm()));
|
|
|
+ } else {
|
|
|
+ dto.setProcessForm(configure.getProcessForm());
|
|
|
}
|
|
|
}
|
|
|
return dto;
|