Browse Source

修改sql

zhoutg 5 năm trước cách đây
mục cha
commit
0d4d1df135

+ 1 - 1
mrman-service/src/main/resources/mapper/QcCasesEntryMapper.xml

@@ -203,7 +203,7 @@
         <if test="code != null and code != ''">
             and qc.code like concat('%', #{code}, '%')
         </if>
-        <if test="casesId != null">
+        <if test="casesId != null and casesId != ''">
             and qc.cases_id = #{casesId}
         </if>
         <if test="typeName != null and typeName != ''">