diff --git a/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml b/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml index 351969b..7d529f2 100644 --- a/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml @@ -312,6 +312,7 @@ left join corp_info ci ON h.corp_id = ci.id AND ci.delete_enum = 'FALSE' LEFT JOIN hidden_evaluation_record her ON h.hidden_id = her.hidden_id AND her.delete_enum = 'FALSE' WHERE h.delete_enum = 'FALSE' + and u.id!=u.corpinfo_id AND h.state = 301 AND ( (h.source IN (4,5) AND h.final_check = 1) @@ -450,7 +451,7 @@ AND her.corpinfo_id = ec.corpinfo_id AND her.evaluation_type = ec.evaluation_type AND her.delete_enum = 'FALSE' - + left join user u on h.creator_id = u.id WHERE ec.delete_enum = 'FALSE' AND ci.use_flag = 1