|
@@ -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 != ""'>" +
|
|
|
"AND indicator_name LIKE CONCAT('%', #{indicatorName}, '%') " +
|
|
|
"</if>" +
|
|
|
- "<if test='indicatorCategory != null and indicatorCategory != \"\"'>" +
|
|
|
+ "<if test='indicatorCategory != null and indicatorCategory != ""'>" +
|
|
|
"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 != ""'>" +
|
|
|
"AND reference_text LIKE CONCAT('%', #{referenceText}, '%') " +
|
|
|
"</if>" +
|
|
|
- "<if test='description != null and description != \"\"'>" +
|
|
|
+ "<if test='description != null and description != ""'>" +
|
|
|
"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 != ""'>" +
|
|
|
"${orderBy}" +
|
|
|
"</when>" +
|
|
|
"<otherwise>" +
|