1. getIndexDetail 添加indexSource过滤字段

topo_dev
xueqingkun 9 months ago
parent 65bfb25f38
commit c58311a0ea

@ -23,4 +23,7 @@ public class IndexResultQuery {
@Schema(description = "原子指标名称") @Schema(description = "原子指标名称")
private String atomicName; private String atomicName;
@Schema(description = "指标来源")
private String indexSource;
} }

@ -125,6 +125,9 @@
<if test="query.atomicName != null and query.atomicName != ''"> <if test="query.atomicName != null and query.atomicName != ''">
and mai.name like concat('%', #{query.atomicName}, '%') and mai.name like concat('%', #{query.atomicName}, '%')
</if> </if>
<if test="query.indexSource != null and query.indexSource != ''">
and mai.index_source = #{query.indexSource}
</if>
<choose> <choose>
<when test="query.indexHasRecord != null and query.indexHasRecord == false"> <when test="query.indexHasRecord != null and query.indexHasRecord == false">
and nrs.id is null and nrs.id is null

Loading…
Cancel
Save