|
@ -123,7 +123,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
JSONObject list = familyContractService.getPatientByLable(doctorcode, labelType, level, team);
|
|
|
return write(200, "查询成功", "data", list);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "查询失败");
|
|
|
}
|
|
|
}
|
|
@ -659,7 +658,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
return write(-1, "不存在该患者签约");
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "更新失败");
|
|
|
}
|
|
|
}
|
|
@ -763,7 +761,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
|
|
|
return write(200, "查询成功", "data", json);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "查询失败");
|
|
|
}
|
|
|
}
|
|
@ -823,7 +820,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
}
|
|
|
return write(200, "更新成功");
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "更新失败");
|
|
|
}
|
|
|
}
|
|
@ -864,7 +860,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
JSONObject list = familyContractService.findNoHealthSignFamilyHealthByParams(getUID(), teamCode, params);
|
|
|
return write(200, "签约数据加载成功!", "data", list);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "查询失败");
|
|
|
}
|
|
|
}
|
|
@ -934,7 +929,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
} catch (Exception e) {
|
|
|
redisTemplate.opsForValue().set("expenses:remind:doctor:" + getUID(), "0");
|
|
|
redisTemplate.expire("expenses:remind:doctor:" + getUID(), 10, TimeUnit.MINUTES);
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "提醒失败");
|
|
|
}
|
|
|
}
|
|
@ -987,7 +981,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
JSONObject result = familyContractService.isPatientAndDoctorExistSign(patient, doctor);
|
|
|
return write(200, "查询成功", "data", result);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "查询失败");
|
|
|
}
|
|
|
}
|
|
@ -1033,7 +1026,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
JSONObject result = familyContractService.getPatientDoctors(patient, getUID());
|
|
|
return write(200, "查询成功", "data", result);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "查询失败");
|
|
|
}
|
|
|
}
|
|
@ -1092,7 +1084,6 @@ public class DoctorFamilyContractController extends WeixinBaseController {
|
|
|
} catch (Exception e) {
|
|
|
redisTemplate.opsForValue().set("wechat:focus:remind:doctor:" + getUID(), "0");
|
|
|
redisTemplate.expire("wechat:focus:remind:doctor:" + getUID(), 10, TimeUnit.MINUTES);
|
|
|
e.printStackTrace();
|
|
|
return error(-1, "微信关注提醒失败");
|
|
|
}
|
|
|
}
|