فهرست منبع

fix: 特俗字符

xdd 2 هفته پیش
والد
کامیت
6d643bfd28
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      fs-service/src/main/java/com/fs/medical/mapper/MedicalIndicatorMapper.java

+ 5 - 5
fs-service/src/main/java/com/fs/medical/mapper/MedicalIndicatorMapper.java

@@ -70,10 +70,10 @@ public interface MedicalIndicatorMapper {
     @Select("<script>" +
             "SELECT * FROM fs_medical_indicator " +
             "WHERE 1=1 " +
-            "<if test='indicatorName != null and indicatorName != \"\"'>" +
+            "<if test='indicatorName != null and indicatorName != &quot;&quot;'>" +
             "AND indicator_name LIKE CONCAT('%', #{indicatorName}, '%') " +
             "</if>" +
-            "<if test='indicatorCategory != null and indicatorCategory != \"\"'>" +
+            "<if test='indicatorCategory != null and indicatorCategory != &quot;&quot;'>" +
             "AND indicator_category LIKE CONCAT('%', #{indicatorCategory}, '%') " +
             "</if>" +
             "<if test='unitId != null'>" +
@@ -85,10 +85,10 @@ public interface MedicalIndicatorMapper {
             "<if test='referenceMax != null'>" +
             "AND reference_max <= #{referenceMax} " +
             "</if>" +
-            "<if test='referenceText != null and referenceText != \"\"'>" +
+            "<if test='referenceText != null and referenceText != &quot;&quot;'>" +
             "AND reference_text LIKE CONCAT('%', #{referenceText}, '%') " +
             "</if>" +
-            "<if test='description != null and description != \"\"'>" +
+            "<if test='description != null and description != &quot;&quot;'>" +
             "AND description LIKE CONCAT('%', #{description}, '%') " +
             "</if>" +
             "<if test='status != null'>" +
@@ -96,7 +96,7 @@ public interface MedicalIndicatorMapper {
             "</if>" +
             "ORDER BY " +
             "<choose>" +
-            "<when test='orderBy != null and orderBy != \"\"'>" +
+            "<when test='orderBy != null and orderBy != &quot;&quot;'>" +
             "${orderBy}" +
             "</when>" +
             "<otherwise>" +