| | |
| | | |
| | | Integer toTalCount(Long taskId); |
| | | |
| | | List<LightTask> listTask(Long userId , String keyword); |
| | | List<LightTask> listTask(Long userId , String keyword, String orderBy); |
| | | } |
| | | |
| | | |
| | |
| | | </if> |
| | | GROUP BY |
| | | task_id |
| | | -- ORDER BY |
| | | -- t1.${orderBy} |
| | | ORDER BY |
| | | t1.${orderBy} |
| | | </select> |
| | | </mapper> |
| | |
| | | String orderBy = orderByResult + " " + orderBySeq; |
| | | |
| | | PageHelper.startPage(conditionVO.getPageNo(), conditionVO.getPageSize(), orderBy); |
| | | List<LightTask> list = baseMapper.listTask(SecurityUtils.getClientId(),keyword); |
| | | List<LightTask> list = baseMapper.listTask(SecurityUtils.getClientId(),keyword,orderBy); |
| | | |
| | | |
| | | Page<LightTaskDto> page = new Page<>(); |