31 lines
745 B
Java
31 lines
745 B
Java
|
|
package com.common.mapper;
|
||
|
|
|
||
|
|
import com.common.entity.AnalysisGroupByHaving;
|
||
|
|
import org.apache.ibatis.annotations.Mapper;
|
||
|
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 分析分组聚合条件Mapper
|
||
|
|
*/
|
||
|
|
@Mapper
|
||
|
|
public interface AnalysisGroupByHavingMapper {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据分组ID查询HAVING条件
|
||
|
|
*
|
||
|
|
* @param groupById 分组ID
|
||
|
|
* @return HAVING条件列表
|
||
|
|
*/
|
||
|
|
List<AnalysisGroupByHaving> selectByGroupById(@Param("groupById") Integer groupById);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据规则ID查询HAVING条件(通过关联分组表)
|
||
|
|
*
|
||
|
|
* @param ruleId 规则ID
|
||
|
|
* @return HAVING条件列表
|
||
|
|
*/
|
||
|
|
List<AnalysisGroupByHaving> selectByRuleId(@Param("ruleId") String ruleId);
|
||
|
|
}
|