|
@@ -293,6 +293,7 @@ public class RegistrationService extends ServiceImpl<InterRegistrationMapper, Re
|
|
|
String procDefId = map.get("id")+"";
|
|
|
|
|
|
report.setProcessDefinitionId(procDefId);
|
|
|
+ mapper.insert(report);
|
|
|
|
|
|
Map<String ,Map<String,String >> allMap = new HashMap<>();
|
|
|
|
|
@@ -308,10 +309,12 @@ public class RegistrationService extends ServiceImpl<InterRegistrationMapper, Re
|
|
|
String recordType = "";
|
|
|
|
|
|
Map<String, String> newMap = pingMap(procDefId, procDefKey, businessTable, businessId, title, assignee, recordType);
|
|
|
- allMap.put("底稿",newMap);
|
|
|
+ allMap.put("实习",newMap);
|
|
|
SpringUtil.getBean(IFlowableApi.class).startForFenNew(allMap);
|
|
|
+ } else {
|
|
|
+ mapper.insert(report);
|
|
|
}
|
|
|
- mapper.insert(report);
|
|
|
+
|
|
|
|
|
|
|
|
|
return report;
|