Преглед изворни кода

Merge branch 'wq1' of SH-Arbitrate/Mediation-Backend into dev

wangqiong123 пре 2 година
родитељ
комит
a08092eb37

+ 11
- 0
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseApplicationMapper.xml Прегледај датотеку

@@ -175,6 +175,17 @@
175 175
     <if test = 'req.endTime != null and req.endTime != "" '>
176 176
       and t.createTime &lt;= #{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>