| | |
| | | import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
| | | import com.iailab.module.data.ind.item.entity.IndItemEntity; |
| | | import com.iailab.module.data.ind.item.vo.IndItemPageReqVO; |
| | | import com.iailab.module.data.ind.item.vo.IndItemRespVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | |
| | | @TenantDS |
| | | @Mapper |
| | | public interface IndItemDao extends BaseMapperX<IndItemEntity> { |
| | | List<IndItemRespVO> getItemList(@Param("params")IndItemPageReqVO reqVO); |
| | | |
| | | default PageResult<IndItemEntity> selectPage(IndItemPageReqVO reqVO) { |
| | | return selectPage(reqVO, new LambdaQueryWrapperX<IndItemEntity>() |
| | |
| | | .eqIfPresent(IndItemEntity::getItemCategory, reqVO.getItemCategory()) |
| | | .orderByDesc(IndItemEntity::getCreateTime)); |
| | | } |
| | | |
| | | |
| | | } |