|
|
@@ -126,6 +126,9 @@
|
|
126
|
126
|
<if test="caseNum != null and caseNum != ''">
|
|
127
|
127
|
AND c.case_num = #{caseNum}
|
|
128
|
128
|
</if>
|
|
|
129
|
+ <if test="nameId != null and nameId != ''">
|
|
|
130
|
+ AND ca.application_organ_id=#{nameId} AND ca.identity_type=1
|
|
|
131
|
+ </if>
|
|
129
|
132
|
<if test="caseStatusList != null and caseStatusList.size() > 0">
|
|
130
|
133
|
and c.case_status in
|
|
131
|
134
|
<foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
|
|
|
@@ -161,7 +164,7 @@
|
|
161
|
164
|
|
|
162
|
165
|
<!--申请人-->
|
|
163
|
166
|
<if test="nameId != null and nameId != ''">
|
|
164
|
|
- or ( t.application_organ_id = #{nameId} AND t.identity_type=1
|
|
|
167
|
+ or ( t.application_organ_id = #{applicationOrganId} AND t.identity_type=1
|
|
165
|
168
|
and t.case_status in (0,2,17))
|
|
166
|
169
|
|
|
167
|
170
|
</if>
|