|
@ -70,10 +70,10 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "getPatientByLevel")
|
|
|
@ResponseBody
|
|
|
public String getPatientByLevel() {
|
|
|
public String getPatientByLevel(String doctorCode) {
|
|
|
try {
|
|
|
JSONObject returnJO = new JSONObject();
|
|
|
Map<String, List<Patient>> list = familyContractService.getPatientByLevel(getUID());
|
|
|
Map<String, List<Patient>> list = familyContractService.getPatientByLevel(doctorCode);
|
|
|
if (list != null && list.size() > 0) {
|
|
|
for (Map.Entry<String, List<Patient>> entyr : list.entrySet()) {
|
|
|
JSONArray array = new JSONArray();
|