| | |
| | | */ |
| | | package org.springblade.modules.dispatcher.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.SqlParser; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.modules.dispatcher.entity.Dispatcher; |
| | | import org.springblade.modules.dispatcher.vo.DispatcherUnitVO; |
| | | import org.springblade.modules.dispatcher.vo.DispatcherVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | |
| | | * @return |
| | | */ |
| | | List<DispatcherVO> selectDispatcherPage(IPage page, @Param("dispatcher") DispatcherVO dispatcher); |
| | | /** |
| | | * app从业单位查询 |
| | | * |
| | | * @param page |
| | | * @param dispatcher |
| | | * @return |
| | | */ |
| | | List<DispatcherVO> queryDispatcher(IPage page, @Param("dispatcher") DispatcherVO dispatcher); |
| | | |
| | | /** |
| | | * 派遣记录详情 |
| | |
| | | * @return |
| | | */ |
| | | DispatcherVO getDispatcherInfo(@Param("dispatcher")Dispatcher dispatcher); |
| | | |
| | | /** |
| | | * 派遣记录条数 |
| | | * @param dispatcherUnitVO1 |
| | | * @return |
| | | */ |
| | | @SqlParser(filter = true) |
| | | Integer getDispatcherCount(@Param("dispatcherUnitVO1")DispatcherUnitVO dispatcherUnitVO1); |
| | | |
| | | /** |
| | | * 查询用的派遣信息 |
| | | * @param userId 用户id |
| | | * @return |
| | | */ |
| | | DispatcherVO getDispatcherInfoByUserId(@Param("userId") Long userId); |
| | | } |