修复问题

This commit is contained in:
wulin 2020-10-30 11:12:34 +08:00
parent 81aa664cb3
commit ee7c9ebc4f
2 changed files with 4 additions and 5 deletions

View File

@ -128,10 +128,6 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
return R.error("发起任务不存在");
}
/*List<StaffSimpleInfo> staffSimpleInfos = staffService.selectStaffSimpleInfos(staffIds);
if(staffSimpleInfos.size() == 0){
return R.error("无有效考核人员,考核人员已离职");
}*/
Map<String, List<StaffEntity>> staffManages = new HashedMap();//部门(id+几级)和部门几级管理对应关系减少数据库查找
for (GroupStaffs groupStaffs:startGroupStaffIds.getGroups()
) {
@ -154,7 +150,7 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
}
}
return R.ok();
return R.ok("发起成功").put("data", flowStart);
}
@Override

View File

@ -110,6 +110,9 @@
</update>
<select id="selectFlowChartDetailRecordByGroupIdAndChartId" resultType="FlowChartDetailRecord" >
select * from lz_flow_chart_detail_record where evaluation_group_id=#{groupId} and chart_id = #{chartId} and is_delete = 0 order by step_index asc
</select>
<select id="selectFlowChartDetailRecordByGroupId" resultType="FlowChartDetailRecord" >
select * from lz_flow_chart_detail_record where evaluation_group_id=#{groupId} and is_delete = 0 order by step_index asc