ソースを参照

修改参数1

wangfeng 4 年 前
コミット
de78a549fd

+ 4 - 4
src/main/java/com/diagbot/vo/KlRuleInfoVO.java

@@ -15,16 +15,16 @@ public class KlRuleInfoVO extends Page {
     /**
      * 描述
      */
-    private String description;
+    private String parDescription;
     /**
      * 规则类型(1:开单合理性;2:高危;3:危急值;4:其他值提醒;5:其他值提醒输血;6:正常项目重复开立)
      */
-    private Integer ruleType;
+    private Integer parRuleType;
 
-    private String conceptName;
+    private String parConceptName;
     /**
      * 启用状态(0:禁用,1:启用)
      */
-    private Integer status;
+    private Integer parStatus;
 
 }

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

@@ -147,17 +147,17 @@
         AND le.is_deleted = 'N'
         AND ru.concept_id = co.`id`
         AND co.lib_type = le.`code`
-        <if test="description!=null and description!=''">
-            AND UPPER(ru.description) LIKE CONCAT('%', UPPER(trim(#{description})), '%')
+        <if test="parDescription!=null and parDescription!=''">
+            AND UPPER(ru.description) LIKE CONCAT('%', UPPER(trim(#{parDescription})), '%')
         </if>
-        <if test="ruleType !=null">
-            AND ru.rule_type = #{ruleType}
+        <if test="parRuleType !=null">
+            AND ru.rule_type = #{parRuleType}
         </if>
-        <if test="conceptName!=null and conceptName!=''">
-            AND UPPER(co.lib_name) LIKE CONCAT('%', UPPER(trim(#{conceptName})), '%')
+        <if test="parConceptName!=null and parConceptName!=''">
+            AND UPPER(co.lib_name) LIKE CONCAT('%', UPPER(trim(#{parConceptName})), '%')
         </if>
         <if test="status!=null">
-            AND ru.status = #{status}
+            AND ru.status = #{parStatus}
         </if>
         ORDER BY ru.gmt_modified DESC
     </select>