|
|
@@ -96,18 +96,18 @@
|
|
96
|
96
|
|
|
97
|
97
|
<!--被申请人-->
|
|
98
|
98
|
<if test="idCard != null and idCard != ''">
|
|
99
|
|
- or (t.identity_num=#{idCard} AND t.identity_type=2 and t.case_status=4)
|
|
|
99
|
+ or (t.identity_num=#{idCard} AND t.identity_type=2 and (t.case_status=4 or t.case_status=17))
|
|
100
|
100
|
</if>
|
|
101
|
101
|
<!--仲裁员-->
|
|
102
|
102
|
<if test="userId != null and userId != ''">
|
|
103
|
103
|
or ( t.identity_type=1 and
|
|
104
|
|
- t.case_status in (7,8,9,12,13,14)
|
|
|
104
|
+ t.case_status in (7,8,9,12,13,14,17)
|
|
105
|
105
|
and
|
|
106
|
106
|
instr (t.arbitrator_id,#{userId})>0)
|
|
107
|
107
|
</if>
|
|
108
|
108
|
<!--法律顾问-->
|
|
109
|
109
|
<if test="deptIds != null and deptIds.size() > 0">
|
|
110
|
|
- or (t.identity_type=1 and t.case_status in (1,5,11,15,16)
|
|
|
110
|
+ or (t.identity_type=1 and t.case_status in (1,5,11,15,16,17)
|
|
111
|
111
|
and t.application_organ_id in
|
|
112
|
112
|
<foreach item="item" collection="deptIds" open="(" separator="," close=")">
|
|
113
|
113
|
#{item}
|
|
|
@@ -117,7 +117,7 @@
|
|
117
|
117
|
<!--申请人-->
|
|
118
|
118
|
<if test="nameId != null and nameId != ''">
|
|
119
|
119
|
or ( t.application_organ_id = #{nameId} AND t.identity_type=1
|
|
120
|
|
- and t.case_status in (0,2))
|
|
|
120
|
+ and t.case_status in (0,2,17))
|
|
121
|
121
|
|
|
122
|
122
|
</if>
|
|
123
|
123
|
<!--部门长-->
|
|
|
@@ -132,6 +132,7 @@
|
|
132
|
132
|
|
|
133
|
133
|
|
|
134
|
134
|
</if>
|
|
|
135
|
+
|
|
135
|
136
|
</where>
|
|
136
|
137
|
) t1
|
|
137
|
138
|
|
|
|
@@ -182,18 +183,18 @@
|
|
182
|
183
|
|
|
183
|
184
|
<!--被申请人-->
|
|
184
|
185
|
<if test="idCard != null and idCard != ''">
|
|
185
|
|
- or (t.identity_num=#{idCard} AND t.identity_type=2 and t.case_status=4)
|
|
|
186
|
+ or (t.identity_num=#{idCard} AND t.identity_type=2 and (t.case_status=4 or t.case_status=17))
|
|
186
|
187
|
</if>
|
|
187
|
188
|
<!--仲裁员-->
|
|
188
|
189
|
<if test="userId != null and userId != ''">
|
|
189
|
190
|
or ( t.identity_type=1 and
|
|
190
|
|
- t.case_status in (7,8,9,12,13,14)
|
|
|
191
|
+ t.case_status in (7,8,9,12,13,14,17)
|
|
191
|
192
|
and
|
|
192
|
193
|
instr (t.arbitrator_id,#{userId})>0)
|
|
193
|
194
|
</if>
|
|
194
|
195
|
<!--法律顾问-->
|
|
195
|
196
|
<if test="deptIds != null and deptIds.size() > 0">
|
|
196
|
|
- or (t.identity_type=1 and t.case_status in (1,5,11,15,16)
|
|
|
197
|
+ or (t.identity_type=1 and t.case_status in (1,5,11,15,16,17)
|
|
197
|
198
|
and t.application_organ_id in
|
|
198
|
199
|
<foreach item="item" collection="deptIds" open="(" separator="," close=")">
|
|
199
|
200
|
#{item}
|
|
|
@@ -202,7 +203,7 @@
|
|
202
|
203
|
<!--申请人-->
|
|
203
|
204
|
<if test="nameId != null and nameId != ''">
|
|
204
|
205
|
or ( t.application_organ_id = #{nameId} AND t.identity_type=1
|
|
205
|
|
- and t.case_status in (0,2))
|
|
|
206
|
+ and t.case_status in (0,2,17))
|
|
206
|
207
|
|
|
207
|
208
|
</if>
|
|
208
|
209
|
<!--部门长-->
|