修复无法启动问题
This commit is contained in:
parent
b3e7fc8d51
commit
6a5f7c63e4
@ -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<>();
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user