Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0
This commit is contained in:
commit
33add7066a
@ -38,4 +38,5 @@ public interface FlowService extends IService<Flow> {
|
||||
FlowChart selectFlowChartByChartId(Long flowId);
|
||||
|
||||
|
||||
FlowChart selectFlowChartByFlow(Flow flow);
|
||||
}
|
||||
@ -77,6 +77,11 @@ public class FlowServiceImpl extends ServiceImpl<FlowMapper, Flow> implements Fl
|
||||
return flowChart;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FlowChart selectFlowChartByFlow(Flow flow){
|
||||
FlowChart flowChart = flowChartService.selectFlowChartById(flow.getChartId());
|
||||
return flowChart;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -841,10 +841,11 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
|
||||
public void insertFlowRecord(FlowRecord flowRecord,StaffEntity approvalStaff,List<Flow> flows,FlowApprovalRole flowApprovalRole ,ResultRecord resultRecord,int i,Integer stepType ){
|
||||
flowRecord.setApprovalStaffName(approvalStaff.getName());
|
||||
flowRecord.setApprovalStaffId(approvalStaff.getId());
|
||||
flowRecord.setFlowName(getFlow(flows, flowApprovalRole.getFlowId()).getOptDesc());
|
||||
Flow flow = getFlow(flows, flowApprovalRole.getFlowId());
|
||||
flowRecord.setFlowName(flow.getOptDesc());
|
||||
flowRecord.setRecordStaffId(resultRecord.getStaffId());
|
||||
flowRecord.setFlowId(flowApprovalRole.getFlowId());
|
||||
FlowChart flowChart = flowService.selectFlowChartByChartId(flowApprovalRole.getFlowId());
|
||||
FlowChart flowChart = flowService.selectFlowChartByFlow(flow);
|
||||
flowRecord.setProcessId(flowChart.getProcessId());
|
||||
flowRecord.setFlowProcess(flowChart.getFlowProcess());
|
||||
String staffRole = StaffRoles.getStaffRole(approvalStaff.getId(), StringUtil.strToLongs(flowApprovalRole.getRoleId()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user