|
@ -439,7 +439,7 @@ public class MessageService extends BaseService {
|
|
|
*/
|
|
|
public List<Message> getSystemMessage(String doctor, Integer page, Integer pagesize) throws Exception {
|
|
|
// 排序
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "czrq");
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "createTime");
|
|
|
// 分页信息
|
|
|
Pageable pageRequest = new PageRequest(page - 1, pagesize, sort);
|
|
|
return messageDao.getSystemMessage(doctor, pageRequest);
|