package com.iailab.module.pms.production.warehouse.dao; 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.module.pms.production.warehouse.entity.WarehouseItemEntity; import com.iailab.module.pms.production.warehouse.vo.WarehouseItemPageReqVO; import org.apache.ibatis.annotations.Mapper; @Mapper public interface WarehouseItemDao extends BaseMapperX { default PageResult selectPage(WarehouseItemPageReqVO Entity) { return selectPage(Entity, new LambdaQueryWrapperX() .orderByDesc(WarehouseItemEntity::getCreateBy)); } }