@ -23,4 +23,7 @@ public class IndexResultQuery {
@Schema(description = "原子指标名称")
private String atomicName;
@Schema(description = "指标来源")
private String indexSource;
}
@ -125,6 +125,9 @@
<if test="query.atomicName != null and query.atomicName != ''">
and mai.name like concat('%', #{query.atomicName}, '%')
</if>
<if test="query.indexSource != null and query.indexSource != ''">
and mai.index_source = #{query.indexSource}
<choose>
<when test="query.indexHasRecord != null and query.indexHasRecord == false">
and nrs.id is null