提交 | 用户 | 时间
|
818a01
|
1 |
package com.iailab.module.system.dal.mysql.app; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageResult; |
|
4 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
5 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
|
6 |
import com.iailab.framework.tenant.core.aop.TenantIgnore; |
|
7 |
import com.iailab.module.system.controller.admin.app.vo.AppGroupPageReqVO; |
|
8 |
import com.iailab.module.system.dal.dataobject.app.AppGroupDO; |
|
9 |
import org.apache.ibatis.annotations.Mapper; |
|
10 |
|
|
11 |
/** |
|
12 |
* @author Houzhongjian |
|
13 |
* @Description |
|
14 |
* @createTime 2024年09月10日 |
|
15 |
*/ |
|
16 |
@Mapper |
|
17 |
public interface AppGroupMapper extends BaseMapperX<AppGroupDO> { |
|
18 |
default PageResult<AppGroupDO> selectPage(AppGroupPageReqVO reqVO) { |
|
19 |
return selectPage(reqVO, new LambdaQueryWrapperX<AppGroupDO>() |
|
20 |
.likeIfPresent(AppGroupDO::getCode, reqVO.getCode()) |
|
21 |
.likeIfPresent(AppGroupDO::getName, reqVO.getName()) |
|
22 |
.orderByDesc(AppGroupDO::getId)); |
|
23 |
} |
|
24 |
} |