| | |
| | | package com.moral.api.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.moral.api.entity.Allocation; |
| | | import com.moral.api.pojo.ext.allocation.AllocationExt; |
| | | import com.moral.api.pojo.ext.allocation.AllocationListExt; |
| | | import com.moral.api.pojo.ext.allocation.AllocationPageExt; |
| | | import com.moral.api.pojo.query.allocation.AllocationListCond; |
| | | import com.moral.api.pojo.query.allocation.AllocationPageCond; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface AllocationMapper extends BaseMapper<Allocation> { |
| | | |
| | | /** |
| | | * 查询单个详情 |
| | | * @param id |
| | | * @return AllocationExt |
| | | */ |
| | | AllocationExt extOne(@Param("id") Integer id); |
| | | |
| | | Page<AllocationPageExt> extPage(Page page, @Param("allocation") AllocationPageCond allocationPageCond); |
| | | |
| | | /** |
| | | * 查询列表详情 |
| | | * @param allocationListCond |
| | | * @return AllocationListExt |
| | | */ |
| | | List<AllocationListExt> extList(@Param("allocation") AllocationListCond allocationListCond); |
| | | |
| | | } |