package com.iailab.module.pms.production.sale.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.sale.entity.SaleVolumeEntity;
|
import com.iailab.module.pms.production.sale.vo.SaleVolumePageReqVO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* @author DongYukun
|
* @Description
|
* @createTime 2022年12月23日 14:47:00
|
*/
|
@Mapper
|
public interface SaleVolumeDao extends BaseMapperX<SaleVolumeEntity> {
|
|
default PageResult<SaleVolumeEntity> selectPage(SaleVolumePageReqVO Entity) {
|
return selectPage(Entity, new LambdaQueryWrapperX<SaleVolumeEntity>()
|
.orderByDesc(SaleVolumeEntity::getCjsj));
|
}
|
}
|