瀏覽代碼

删除诊断类型

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

+ 0 - 6
icssman-service/src/main/java/com/diagbot/dto/QuestionPageDTO.java

@@ -174,11 +174,5 @@ public class QuestionPageDTO implements Serializable {
      */
     private List<QuestionMapping> questionMappings = new ArrayList<>();
 
-
-    /**
-     * 诊断类型
-     */
-    private Integer disType;
-
     private Boolean exist;
 }

+ 1 - 5
icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -167,12 +167,8 @@
     </select>
 
     <select id="getList" resultType="com.diagbot.dto.QuestionPageDTO">
-        SELECT a.*, b.type dis_type FROM `icss_question_info` a
-            left join icss_dis_type b on a.id = b.dis_id
+        SELECT a.* FROM `icss_question_info` a
         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>