| | |
| | | return page.setRecords(dispatcherVOS); |
| | | } |
| | | |
| | | @Override |
| | | public IPage<DispatcherVO> queryDispatcher(IPage<DispatcherVO> page, DispatcherVO dispatcher) { |
| | | List<DispatcherVO> dispatcherVOS = baseMapper.queryDispatcher(page, dispatcher); |
| | | return page.setRecords(dispatcherVOS); |
| | | } |
| | | |
| | | /** |
| | | * 派遣记录详情 |
| | | * @param dispatcher 派遣记录对象 |
| | |
| | | public Integer getDispatcherCount(DispatcherUnitVO dispatcherUnitVO1) { |
| | | return baseMapper.getDispatcherCount(dispatcherUnitVO1); |
| | | } |
| | | |
| | | /** |
| | | * 查询用的派遣信息 |
| | | * @param userId 用户id |
| | | * @return |
| | | */ |
| | | @Override |
| | | public DispatcherVO getDispatcherInfoByUserId(Long userId) { |
| | | return baseMapper.getDispatcherInfoByUserId(userId); |
| | | } |
| | | } |