|
|
@@ -175,6 +175,17 @@
|
|
175
|
175
|
<if test = 'req.endTime != null and req.endTime != "" '>
|
|
176
|
176
|
and t.createTime <= #{req.endTime}
|
|
177
|
177
|
</if>
|
|
|
178
|
+ <!-- 案件状态id条件-->
|
|
|
179
|
+ <if test = 'req.caseFlowId != null'>
|
|
|
180
|
+ AND t.caseFlowId = #{req.caseFlowId}
|
|
|
181
|
+ </if>
|
|
|
182
|
+ <if test = 'req.caseId != null'>
|
|
|
183
|
+ AND t.id = #{req.caseId}
|
|
|
184
|
+ </if>
|
|
|
185
|
+ <!-- 案件编号-->
|
|
|
186
|
+ <if test = 'req.caseNum != null and req.caseNum != "" '>
|
|
|
187
|
+ AND t.caseNum like concat('%',#{req.caseNum},'%')
|
|
|
188
|
+ </if>
|
|
178
|
189
|
</where> ORDER BY t.createTime desc,t.caseNum desc
|
|
179
|
190
|
|
|
180
|
191
|
</select>
|