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.db.dynamic.TenantDS; import com.iailab.module.system.controller.admin.app.vo.AppPageReqVO; import com.iailab.module.system.dal.dataobject.app.AppDO; import org.apache.ibatis.annotations.Mapper; /** * @author PanZhibao * @Description * @createTime 2024年08月16日 */ @Mapper public interface AppMapper extends BaseMapperX { default PageResult selectPage(AppPageReqVO reqVO) { return selectPage(reqVO, new LambdaQueryWrapperX() .likeIfPresent(AppDO::getAppCode, reqVO.getAppCode()) .likeIfPresent(AppDO::getAppName, reqVO.getAppName()) .orderByDesc(AppDO::getType) .orderByDesc(AppDO::getId)); } }