package com.iailab.module.pms.production.warehouse.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; 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.WarehousePositionEntity; import com.iailab.module.pms.production.warehouse.vo.WarehousePositionPageReqVO; import org.apache.ibatis.annotations.Mapper; import java.util.List; import java.util.Map; /** * @author DongYukun * @Description * @createTime 2023年01月17日 15:50:00 */ @Mapper public interface WarehousePositionDao extends BaseMapperX { List selectGroupByCp(Map params); default PageResult selectPage(WarehousePositionPageReqVO Entity) { return selectPage(Entity, new LambdaQueryWrapperX() .orderByDesc(WarehousePositionEntity::getRq)); } }