package com.shkpr.service.aimodelpower.dbdao.mapper; import com.shkpr.service.aimodelpower.dbdao.providers.RolePowerSqlProvider; import com.shkpr.service.aimodelpower.dbdao.tables.RolePowerTable; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Result; import org.apache.ibatis.annotations.Results; import org.apache.ibatis.annotations.SelectProvider; import java.util.List; import java.util.Map; public interface RolePowerMapper extends RolePowerTable { @Results({ @Result(property = "roleid", column = "role_id"), @Result(property = "appid", column = "app_id") }) @SelectProvider(type = RolePowerSqlProvider.class, method = "batchQueryWiths") List> batchQueryWiths(@Param("andWheres") Map andWheres , @Param("orWheres") Map orWheres , @Param("order") String order , @Param("extend") String extend); }