潘志宝
4 天以前 b8a0affd03b5fa9fa33cd6f870e90394c2df86c7
iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/dal/mysql/app/AppMapper.java
@@ -14,13 +14,13 @@
 * @createTime 2024年08月16日
 */
@Mapper
@TenantDS
public interface AppMapper extends BaseMapperX<AppDO> {
    default PageResult<AppDO> selectPage(AppPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<AppDO>()
                .likeIfPresent(AppDO::getAppCode, reqVO.getAppCode())
                .likeIfPresent(AppDO::getAppName, reqVO.getAppName())
                .orderByDesc(AppDO::getType)
                .orderByDesc(AppDO::getId));
    }
}