修复无法启动问题

This commit is contained in:
wulin 2020-10-23 09:07:10 +08:00
parent b3e7fc8d51
commit 6a5f7c63e4
2 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,8 @@ public class FlowStartController {
//下面初始化员工考核流程
List<String> staffIds = evaluationGroupService.selectAllStaffIdsByGroupId(evaluationGroup.getId());
if(staffIds.size() == 0){
return R.error(evaluationGroup.getName() + "——无有效考核人员");
}
@ -107,7 +109,9 @@ public class FlowStartController {
return R.error(evaluationGroup.getName() + "——没有设置考核流程");
}
//初始化lz_result_records数据
List<ResultRecord> resultRecords = new ArrayList<>();
//初始化lz_result_details数据
List<ResultDetail> resultDetails = new ArrayList<>();
List<EvaluationStartStaff> evaluationStartStaffs = new ArrayList<>();

View File

@ -15,6 +15,7 @@ import com.lz.modules.sys.entity.app.ResultRecord;
import com.sun.org.apache.regexp.internal.RE;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.stream.Collectors;
@ -24,6 +25,7 @@ import java.util.stream.Collectors;
* @Desc:
* @Date: 2020/10/22 17:28
*/
@Service
public class AssessManagerServiceImpl implements AssessManagerService {
@Autowired
private FlowStartMapper flowStartMapper;