|
|
|
@ -6,6 +6,7 @@ import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
|
|
import cn.yixblog.support.mybatis.autosql.annotations.AdvanceSelect;
|
|
|
|
|
import cn.yixblog.support.mybatis.autosql.annotations.AutoMapper;
|
|
|
|
|
import cn.yixblog.support.mybatis.autosql.annotations.AutoSql;
|
|
|
|
|
import cn.yixblog.support.mybatis.autosql.annotations.SqlType;
|
|
|
|
@ -32,4 +33,10 @@ public interface SysPermissionClientModulesMapper {
|
|
|
|
|
|
|
|
|
|
@AutoSql(type = SqlType.SELECT)
|
|
|
|
|
List<JSONObject> listByClientMoniker(@Param("client_moniker")String client_moniker);
|
|
|
|
|
|
|
|
|
|
@AutoSql(type = SqlType.SELECT)
|
|
|
|
|
@AdvanceSelect(addonWhereClause = "is_valid = 1")
|
|
|
|
|
List<JSONObject> listValidByClientId(@Param("client_id") int client_id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|