Commit 2d2f684f by 陶光胜

Merge branch 'developer' of…

Merge branch 'developer' of http://115.159.76.241/base_platform_enterprise/gic-data-cloud into developer
parents 7a71e35e ab12249b
......@@ -15,6 +15,7 @@ public class IndexQO extends PageQO implements Serializable {
private String moduleId;
private Integer isAppIndex;
private String search;
private Integer indexGroupId;
private List<Integer> indexIdList;
public Integer getClassifyType() {
......@@ -56,4 +57,12 @@ public class IndexQO extends PageQO implements Serializable {
public List<Integer> getIndexIdList() {
return indexIdList;
}
public Integer getIndexGroupId() {
return indexGroupId;
}
public void setIndexGroupId(Integer indexGroupId) {
this.indexGroupId = indexGroupId;
}
}
......@@ -83,6 +83,12 @@ public class IndexController {
return ResultControllerUtils.commonResult(serviceResponse);
}
@RequestMapping("/list-all-index")
public RestResponse listAllIndex(IndexQO indexQO) {
ServiceResponse<List<IndexDTO>> serviceResponse = indexApiService.listAllIndex();
return ResultControllerUtils.commonResult(serviceResponse);
}
@RequestMapping("/index-log")
public RestResponse indexLog(Integer indexId) {
ServiceResponse<List<IndexLogDTO>> serviceResponse = indexLogApiService.listIndexLog(indexId);
......
......@@ -375,6 +375,9 @@
<if test="search != null and search != '' ">
and name like concat('%', #{search}, '%')
</if>
<if test="indexGroupId != null ">
and (index_group_id = #{indexGroupId} or index_group_id is null)
</if>
<if test="null != indexIdList and indexIdList.size > 0">
and index_id in
<foreach collection="indexIdList" index="index" item="item" open="(" separator="," close=")">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment