引用初始化lz_flow_record表
This commit is contained in:
parent
056020f0fc
commit
ede0acde37
@ -84,6 +84,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FlowStart selectFlowStartById(Long id){
|
public FlowStart selectFlowStartById(Long id){
|
||||||
return flowStartMapper.selectFlowStartById(id);
|
return flowStartMapper.selectFlowStartById(id);
|
||||||
@ -435,6 +436,8 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
|
|||||||
roleJSON = roleJSON.replace(",]", "]");
|
roleJSON = roleJSON.replace(",]", "]");
|
||||||
resultRecord.setFlowStaffIdRole(roleJSON);
|
resultRecord.setFlowStaffIdRole(roleJSON);
|
||||||
resultRecordService.insertResultRecord(resultRecord);
|
resultRecordService.insertResultRecord(resultRecord);
|
||||||
|
//下面生成实际的考核流程
|
||||||
|
resultRecordService.initFlowRecord(resultRecord.getId());
|
||||||
//下面生成ResultDetail对象
|
//下面生成ResultDetail对象
|
||||||
for (ResultModelDto modelDto:resultModelDtos
|
for (ResultModelDto modelDto:resultModelDtos
|
||||||
) {
|
) {
|
||||||
|
|||||||
@ -193,7 +193,7 @@ public class FlowChartController {
|
|||||||
public R getDetailProc(@RequestParam @ApiParam("考核组id") Long groupId, @RequestParam @ApiParam("节点id") Long chartId) {
|
public R getDetailProc(@RequestParam @ApiParam("考核组id") Long groupId, @RequestParam @ApiParam("节点id") Long chartId) {
|
||||||
|
|
||||||
return R.ok().put("data", flowChartDetailRecordDtos);
|
return R.ok().put("data", flowChartDetailRecordDtos);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
private List<FlowChartDetailRecordDto> getChartDetailRecort(Long chartId, Long groupId){
|
private List<FlowChartDetailRecordDto> getChartDetailRecort(Long chartId, Long groupId){
|
||||||
List<FlowChartDetailRecord> flowChartDetailRecords = flowChartDetailRecordService.selectFlowChartDetailRecordByGroupIdAndChartId(groupId, chartId);
|
List<FlowChartDetailRecord> flowChartDetailRecords = flowChartDetailRecordService.selectFlowChartDetailRecordByGroupIdAndChartId(groupId, chartId);
|
||||||
@ -219,7 +219,7 @@ public class FlowChartController {
|
|||||||
flowChartDetailRecordDtos.add(dto);
|
flowChartDetailRecordDtos.add(dto);
|
||||||
}
|
}
|
||||||
return flowChartDetailRecordDtos;
|
return flowChartDetailRecordDtos;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
@RequestMapping("/delete")
|
@RequestMapping("/delete")
|
||||||
public R list(@RequestBody Long id) {
|
public R list(@RequestBody Long id) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user