lihong преди 2 години
родител
ревизия
56d55f0f05
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/java/cn/hnthyy/thmz/mapper/his/zd/DictDataMapper.java

+ 2 - 2
src/main/java/cn/hnthyy/thmz/mapper/his/zd/DictDataMapper.java

@@ -21,8 +21,8 @@ public interface DictDataMapper {
             "<when test='dictType!=null'>",
             " and dict_type = #{dictType}",
             "</when>",
-            "<when test='dictValue!=null'>",
-            " and dict_value = #{dictValue}",
+            "<when test='dictName!=null'>",
+            " and dict_name = #{dictName}",
             "</when>",
             "</script>"
     })