Explorar el Código

增加所有评审意见查询

master
WendyYang hace 1 año
padre
commit
c764d16840
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/meeting/mapper/MeetingExpertMapper.xml Ver fichero

@@ -85,11 +85,11 @@

<sql id="reviewedByNotHeadman">
<if test="p.reviewed">
exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by =
exists(select 1 from nd_expert_review ner where ner.meeting_id = m.id and ner.project_id = np.id and ner.create_by =
me.expert_id)
</if>
<if test="!p.reviewed">
not exists(select 1 from nd_expert_review ner where ner.project_id = np.id and ner.create_by =
not exists(select 1 from nd_expert_review ner where ner.meeting_id = m.id and ner.project_id = np.id and ner.create_by =
me.expert_id)
</if>
</sql>


Cargando…
Cancelar
Guardar