fix
This commit is contained in:
parent
5c46cd4a52
commit
72c50b6272
@ -121,9 +121,12 @@ public class EvaluationGroupServiceImpl extends ServiceImpl<EvaluationGroupMappe
|
||||
) {
|
||||
List<String> ids = evaluationGroupService.selectAllStaffIdsByGroupId(group.getId());
|
||||
group.setCounts(ids.size());
|
||||
int i = evaluationStartStaffMapper.existByStartIdAndEvaluationId(req.getStartId(),group.getId());
|
||||
if(i>0){
|
||||
group.setScore(1);
|
||||
//是否通知评分
|
||||
if(req.getStartId()!=null){
|
||||
int i = evaluationStartStaffMapper.existByStartIdAndEvaluationId(req.getStartId(),group.getId());
|
||||
if(i>0){
|
||||
group.setScore(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
return pageUtils;
|
||||
|
||||
@ -128,7 +128,7 @@
|
||||
|
||||
<select id="existByStartIdAndEvaluationId" resultType="Integer">
|
||||
select count(1) from lz_evaluation_start_staff where is_delete = 0 and evaluation_id=#{evaluationId}
|
||||
AND staff_id =#{staffId} and score = 1 limit 1
|
||||
AND start_id =#{startId} and score = 1 limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user