| | |
| | | public interface WorkstationMapper extends BaseMapper<Workstation> { |
| | | List<DmpVariablesVO> queryDmpList(@Param("workstationId") String workstationId); |
| | | |
| | | /** |
| | | * 工位分页查询 |
| | | * @param groupIdList |
| | | * @param page 分页信息 |
| | | * @param keyWord 关键字 |
| | | * @param groupId 分组id |
| | | * @param allWorkstationId |
| | | * @param status 状态 |
| | | * @param type 工位类型 |
| | | * @param year |
| | | * @return 分页数据 |
| | | */ |
| | | @DataAuth(code = "workstation") |
| | | List<WorkstationVO> listPage(List<String> groupIdList, IPage<WorkstationVO> page, String keyWord, Long groupId, Long allWorkstationId, Integer status, Integer type, Integer year); |
| | | List<WorkstationVO> listPage(List<String> groupIdList, IPage<WorkstationVO> page, String keyWord, Long groupId, Long allWorkstationId, @Param("status")Integer status,@Param("type") Integer type, Integer year); |
| | | |
| | | @DataAuth(code = "workstation") |
| | | <P extends IPage<Workstation>> P selectPage(P page, @Param("ew") Wrapper<Workstation> queryWrapper); |
| | |
| | | |
| | | Boolean delete(List<Long> workstationIds, Integer type); |
| | | |
| | | /** |
| | | * 工位分页查询 |
| | | * @param workstationVOIPage 分页信息 |
| | | * @param keyWord 关键字 |
| | | * @param groupId 分组id |
| | | * @param status 状态 |
| | | * @param type 类型 |
| | | * @return 分页数据 |
| | | */ |
| | | IPage<WorkstationVO> listPage(IPage<WorkstationVO> workstationVOIPage, String keyWord, Long groupId, Integer status, Integer type); |
| | | |
| | | List<WorkstationVO> getWorkstationByGroupIds(final List<String> groupIds); |
| | |
| | | return String.valueOf(item.getId()); |
| | | }).collect(Collectors.toList())); |
| | | } |
| | | List<WorkstationVO> workstationVOS = this.workstationMapper.listPage(workStationGroupIdList, workstationVOIPage, keyWord, groupId, CommonGroupConstant.ALL_WORKSTATION_ID, status == null ? CommonConstant.ENABLE : status, type, LocalDate.now().getYear()); |
| | | List<WorkstationVO> workstationVOS = this.workstationMapper.listPage(workStationGroupIdList, workstationVOIPage, keyWord, groupId, CommonGroupConstant.ALL_WORKSTATION_ID, status, type, LocalDate.now().getYear()); |
| | | workstationVOS.forEach(workstationVO -> { |
| | | String calendarName = workstationVO.getCalendarName(); |
| | | if (Func.isBlank(calendarName)) { |
| | |
| | | |
| | | #swagger公共信息 |
| | | swagger: |
| | | enable: false |
| | | enable: falsed |
| | | title: smart 接口文档系统 |
| | | description: smart 接口文档系统 |
| | | version: 2.8.2.RELEASE |