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());
|
List<String> ids = evaluationGroupService.selectAllStaffIdsByGroupId(group.getId());
|
||||||
group.setCounts(ids.size());
|
group.setCounts(ids.size());
|
||||||
int i = evaluationStartStaffMapper.existByStartIdAndEvaluationId(req.getStartId(),group.getId());
|
//是否通知评分
|
||||||
if(i>0){
|
if(req.getStartId()!=null){
|
||||||
group.setScore(1);
|
int i = evaluationStartStaffMapper.existByStartIdAndEvaluationId(req.getStartId(),group.getId());
|
||||||
|
if(i>0){
|
||||||
|
group.setScore(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return pageUtils;
|
return pageUtils;
|
||||||
|
|||||||
@ -128,7 +128,7 @@
|
|||||||
|
|
||||||
<select id="existByStartIdAndEvaluationId" resultType="Integer">
|
<select id="existByStartIdAndEvaluationId" resultType="Integer">
|
||||||
select count(1) from lz_evaluation_start_staff where is_delete = 0 and evaluation_id=#{evaluationId}
|
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>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user