|
@ -269,7 +269,7 @@ public class DoctorTeamGuidanceService extends BaseService {
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public List getTeamGuidanceList(String doctor, String filter, Integer teamId, int pageNo, int pageSize) throws Exception {
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "createTime");
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "useTimes","createTime");
|
|
|
PageRequest request = new PageRequest(pageNo, pageSize, sort);
|
|
|
List list = new ArrayList();
|
|
|
List<DoctorTeamGuidanceTemplate> listGuidances = null;
|
|
@ -288,6 +288,7 @@ public class DoctorTeamGuidanceService extends BaseService {
|
|
|
map.put("teamTemplateCode", teamTemplateCode);
|
|
|
map.put("title", title);
|
|
|
map.put("useTimes", useTimes);
|
|
|
map.put("createTime", guidance.getCreateTime());
|
|
|
list.add(map);
|
|
|
}
|
|
|
|