Browse Source

优化代码

wangfeng 4 years ago
parent
commit
c6915bfcaa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/KlRuleMapper.xml

+ 1 - 1
src/main/resources/mapper/KlRuleMapper.xml

@@ -156,7 +156,7 @@
         <if test="parConceptName!=null and parConceptName!=''">
         <if test="parConceptName!=null and parConceptName!=''">
             AND UPPER(co.lib_name) LIKE CONCAT('%', UPPER(trim(#{parConceptName})), '%')
             AND UPPER(co.lib_name) LIKE CONCAT('%', UPPER(trim(#{parConceptName})), '%')
         </if>
         </if>
-        <if test="status!=null">
+        <if test="parStatus!=null">
             AND ru.status = #{parStatus}
             AND ru.status = #{parStatus}
         </if>
         </if>
         ORDER BY ru.gmt_modified DESC
         ORDER BY ru.gmt_modified DESC