|
@@ -85,11 +85,11 @@ |
|
|
|
|
|
|
|
|
<sql id="reviewedByNotHeadman"> |
|
|
<sql id="reviewedByNotHeadman"> |
|
|
<if test="p.reviewed"> |
|
|
<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) |
|
|
me.expert_id) |
|
|
</if> |
|
|
</if> |
|
|
<if test="!p.reviewed"> |
|
|
<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) |
|
|
me.expert_id) |
|
|
</if> |
|
|
</if> |
|
|
</sql> |
|
|
</sql> |
|
|