|
@ -451,7 +451,7 @@ public class MessageService extends BaseService {
|
|
|
*/
|
|
|
public List<Message> getPrescriptionMessage(String doctor,Integer type, 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.getPrescriptionMessage(doctor,type, pageRequest);
|