fix
This commit is contained in:
parent
52db4335fb
commit
7f9e081707
@ -39,4 +39,5 @@ public interface EvaluationStartStaffService extends IService<EvaluationStartSta
|
|||||||
EvaluationStartStaff selectManagerEvaluationStartStaff(Long evaluationId, Long userId);
|
EvaluationStartStaff selectManagerEvaluationStartStaff(Long evaluationId, Long userId);
|
||||||
|
|
||||||
int existByStartIdAndEvaluationId(Long startId,Long evaluationId);
|
int existByStartIdAndEvaluationId(Long startId,Long evaluationId);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -11,7 +11,8 @@ public enum ResultFlowProcessEnum {
|
|||||||
DO(2,"执行中"),
|
DO(2,"执行中"),
|
||||||
WRITE(3,"结果值录入"),
|
WRITE(3,"结果值录入"),
|
||||||
SCORE(4,"评分"),
|
SCORE(4,"评分"),
|
||||||
FINISH(5,"考核结束"),
|
NODE(5,"审批节点(不用,跟flowchaet对应)"),
|
||||||
|
FINISH(6,"考核结束"),
|
||||||
;
|
;
|
||||||
private int status;
|
private int status;
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,7 @@ import com.lz.modules.app.dto.StaffSimpleDto;
|
|||||||
import com.lz.modules.app.service.StaffService;
|
import com.lz.modules.app.service.StaffService;
|
||||||
import com.lz.modules.flow.dao.FlowStartMapper;
|
import com.lz.modules.flow.dao.FlowStartMapper;
|
||||||
import com.lz.modules.flow.entity.EvaluationGroup;
|
import com.lz.modules.flow.entity.EvaluationGroup;
|
||||||
|
import com.lz.modules.flow.entity.EvaluationStartStaff;
|
||||||
import com.lz.modules.flow.entity.FlowStart;
|
import com.lz.modules.flow.entity.FlowStart;
|
||||||
import com.lz.modules.flow.service.EvaluationGroupService;
|
import com.lz.modules.flow.service.EvaluationGroupService;
|
||||||
import com.lz.modules.flow.service.EvaluationStartStaffService;
|
import com.lz.modules.flow.service.EvaluationStartStaffService;
|
||||||
@ -160,11 +161,24 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
|||||||
for(String s:split){
|
for(String s:split){
|
||||||
int i = evaluationStartStaffService.existByStartIdAndEvaluationId(req.getStartId(), Long.valueOf(s));
|
int i = evaluationStartStaffService.existByStartIdAndEvaluationId(req.getStartId(), Long.valueOf(s));
|
||||||
if(i<1){
|
if(i<1){
|
||||||
|
//发起评分
|
||||||
|
List<String> strings = evaluationGroupService.selectAllStaffIdsByGroupId(Long.valueOf(s));
|
||||||
|
|
||||||
|
evaluationStartStaffService.insertEvaluationStartStaffs();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private List<EvaluationStartStaff> buildList(List<String> staffIds){
|
||||||
|
List<EvaluationStartStaff> evaluationStartStaffs = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
|
return evaluationStartStaffs;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user