| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.community.warehouse.ApplyStatistics; |
| | | import com.panzhihua.common.model.vos.community.warehouse.ComActWarehouseApplyVO; |
| | | import com.panzhihua.service_community.entity.ComActWarehouseApply; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 物品申请表(ComActWarehouseApply)表数据库访问层 |
| | |
| | | */ |
| | | @Mapper |
| | | public interface ComActWarehouseApplyDao extends BaseMapper<ComActWarehouseApply> { |
| | | /** |
| | | * 分页查询 |
| | | * @param page |
| | | * @param commonPage |
| | | * @return |
| | | */ |
| | | IPage<ComActWarehouseApplyVO> queryAll(Page page, @Param("commonPage")CommonPage commonPage); |
| | | |
| | | /** |
| | | * 申领统计 |
| | | * @param communityId |
| | | * @return ApplyStatistics |
| | | */ |
| | | ApplyStatistics selectStatics(Long communityId); |
| | | |
| | | /** |
| | | * 主键查询详情 |
| | | * @param id |
| | | * @return ComActWarehouseApplyVO |
| | | */ |
| | | ComActWarehouseApplyVO selectById(Integer id); |
| | | |
| | | /** |
| | | * 条件导出 |
| | | * @param commonPage |
| | | * @return |
| | | */ |
| | | List<ComActWarehouseApplyVO> queryAll(@Param("commonPage") CommonPage commonPage); |
| | | } |