Selaa lähdekoodia

静态知识维护列表接口修改

rgb 5 vuotta sitten
vanhempi
commit
fccfca8291

+ 6 - 0
knowledgeman-service/src/main/java/com/diagbot/vo/GetConceptDetailListVO.java

@@ -21,6 +21,12 @@ public class GetConceptDetailListVO extends Page {
      */
 	@ApiModelProperty(value="术语名称")
     private String conceptName;
+	
+	/**
+     * 术语类型id
+     */
+	@ApiModelProperty(value="术语类型id")
+    private Long libType;
 
 
 	@ApiModelProperty(value = "状态值,已删除=Y,启用中=N")

+ 3 - 0
knowledgeman-service/src/main/resources/mapper/ConceptDetailMapper.xml

@@ -29,6 +29,9 @@
 		<if test="status!=null and status!=''">
 			and a.is_deleted = #{status}
 		</if>
+		<if test="libType!=null">
+			and b.lib_type=#{libType}
+		</if>
         group by a.concept_id
         ORDER BY a.is_deleted ASC, a.gmt_modified DESC
    	</select>