引用初始化lz_flow_record表

This commit is contained in:
wulin 2020-10-27 14:05:47 +08:00
parent 056020f0fc
commit ede0acde37
2 changed files with 5 additions and 2 deletions

View File

@ -84,6 +84,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
@Override
public FlowStart selectFlowStartById(Long id){
return flowStartMapper.selectFlowStartById(id);
@ -435,6 +436,8 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
roleJSON = roleJSON.replace(",]", "]");
resultRecord.setFlowStaffIdRole(roleJSON);
resultRecordService.insertResultRecord(resultRecord);
//下面生成实际的考核流程
resultRecordService.initFlowRecord(resultRecord.getId());
//下面生成ResultDetail对象
for (ResultModelDto modelDto:resultModelDtos
) {

View File

@ -193,7 +193,7 @@ public class FlowChartController {
public R getDetailProc(@RequestParam @ApiParam("考核组id") Long groupId, @RequestParam @ApiParam("节点id") Long chartId) {
return R.ok().put("data", flowChartDetailRecordDtos);
}*/
}
private List<FlowChartDetailRecordDto> getChartDetailRecort(Long chartId, Long groupId){
List<FlowChartDetailRecord> flowChartDetailRecords = flowChartDetailRecordService.selectFlowChartDetailRecordByGroupIdAndChartId(groupId, chartId);
@ -219,7 +219,7 @@ public class FlowChartController {
flowChartDetailRecordDtos.add(dto);
}
return flowChartDetailRecordDtos;
}
}*/
@RequestMapping("/delete")
public R list(@RequestBody Long id) {