package com.iailab.module.system.dal.mysql.app;
|
|
import com.iailab.framework.common.pojo.PageResult;
|
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
|
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
|
import com.iailab.framework.tenant.core.aop.TenantIgnore;
|
import com.iailab.module.system.controller.admin.app.vo.AppGroupPageReqVO;
|
import com.iailab.module.system.dal.dataobject.app.AppGroupDO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* @author Houzhongjian
|
* @Description
|
* @createTime 2024年09月10日
|
*/
|
@Mapper
|
public interface AppGroupMapper extends BaseMapperX<AppGroupDO> {
|
default PageResult<AppGroupDO> selectPage(AppGroupPageReqVO reqVO) {
|
return selectPage(reqVO, new LambdaQueryWrapperX<AppGroupDO>()
|
.likeIfPresent(AppGroupDO::getCode, reqVO.getCode())
|
.likeIfPresent(AppGroupDO::getName, reqVO.getName())
|
.orderByDesc(AppGroupDO::getId));
|
}
|
}
|