|
@ -47,7 +47,7 @@ public class DoctorGuidanceTempLableService extends BaseService {
|
|
|
PageRequest pageRequest = new PageRequest(pageNo, pageSize,sort);
|
|
|
Page<DoctorGuidanceTempLabel> page = doctorGuidanceTempLableDao.findByTeamId(teamId,pageRequest);
|
|
|
List<DoctorGuidanceTempLabel> newList = new ArrayList<>();
|
|
|
newList.add(0,new DoctorGuidanceTempLabel("未分组"));
|
|
|
newList.add(0,new DoctorGuidanceTempLabel("","未分组"));
|
|
|
newList.addAll(page.getContent());
|
|
|
return newList;
|
|
|
}
|
|
@ -55,7 +55,7 @@ public class DoctorGuidanceTempLableService extends BaseService {
|
|
|
public List<DoctorGuidanceTempLabel> findByDoctorCode(Integer teamId) throws Exception{
|
|
|
List<DoctorGuidanceTempLabel> list = doctorGuidanceTempLableDao.findByTeamId(teamId);
|
|
|
List<DoctorGuidanceTempLabel> newList = new ArrayList<>();
|
|
|
newList.add(0,new DoctorGuidanceTempLabel("未分组"));
|
|
|
newList.add(0,new DoctorGuidanceTempLabel("","未分组"));
|
|
|
newList.addAll(list);
|
|
|
return newList;
|
|
|
}
|