瀏覽代碼

诊断类型分页

zhoutg 6 年之前
父節點
當前提交
fbc21292b0

+ 1 - 0
icssman-service/src/main/java/com/diagbot/vo/QuestionPageVO.java

@@ -19,4 +19,5 @@ public class QuestionPageVO extends Page {
     private String tagName;
     private List<Integer> tagTypeList;
     private List<Integer> controlTypeList;
+    private Integer disType;
 }

+ 3 - 0
icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -164,6 +164,9 @@
         SELECT a.*, b.type dis_type FROM `icss_question_info` a
             left join icss_dis_type b on a.id = b.dis_id
         WHERE a.is_deleted = 'N'
+        <if test="disType != null">
+            AND b.type = #{disType}
+        </if>
         <if test="type != null and type != ''">
             AND a.type = #{type}
         </if>