隐患考评调整
parent
817f3f2d9c
commit
bcfa7d87e9
|
|
@ -79,7 +79,7 @@ public class HiddenEvaluationRecordQueryExe {
|
||||||
|
|
||||||
examCenterCOS.forEach(co -> {
|
examCenterCOS.forEach(co -> {
|
||||||
if (co.getCheckUserId() != null && co.getCheckUserId().contains(checkKey)) {
|
if (co.getCheckUserId() != null && co.getCheckUserId().contains(checkKey)) {
|
||||||
co.setCurrentEvaluationFlag(false);
|
co.setCurrentEvaluationFlag(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,8 @@ public class HiddenStatisticsCO implements Serializable {
|
||||||
private String noEvaluationMembers;
|
private String noEvaluationMembers;
|
||||||
@ApiModelProperty(value = "考评结果.1:考核未完成,2:考评合格,3:考核不合格")
|
@ApiModelProperty(value = "考评结果.1:考核未完成,2:考评合格,3:考核不合格")
|
||||||
private String evaluationResult;
|
private String evaluationResult;
|
||||||
@ApiModelProperty(value = "当前人是否考评过,true是,false否")
|
@ApiModelProperty(value = "当前人是否可以考评,true是,false否")
|
||||||
private Boolean currentEvaluationFlag = true;
|
private Boolean currentEvaluationFlag = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@
|
||||||
LEFT JOIN user usr ON ec.user_id = usr.id
|
LEFT JOIN user usr ON ec.user_id = usr.id
|
||||||
WHERE ec.corpinfo_id = h.corp_id
|
WHERE ec.corpinfo_id = h.corp_id
|
||||||
AND ec.delete_enum = 'FALSE'
|
AND ec.delete_enum = 'FALSE'
|
||||||
AND ec.evaluation_type = 1
|
AND ec.evaluation_type = #{params.evaluationType}
|
||||||
AND usr.id NOT IN (SELECT DISTINCT hed2.evaluation_user_id
|
AND usr.id NOT IN (SELECT DISTINCT hed2.evaluation_user_id
|
||||||
FROM hidden_evaluation_detail hed2
|
FROM hidden_evaluation_detail hed2
|
||||||
LEFT JOIN hidden_evaluation_record her2
|
LEFT JOIN hidden_evaluation_record her2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue