|
@ -1,5 +1,6 @@
|
|
|
package com.yihu.wlyy.web.doctor.specialist.rehabilitation;
|
|
|
|
|
|
import com.yihu.wlyy.util.ImUtill;
|
|
|
import org.json.JSONArray;
|
|
|
import com.yihu.wlyy.aop.ObserverRequired;
|
|
|
import com.yihu.wlyy.entity.doctor.team.sign.SignPatientLabelInfo;
|
|
@ -29,6 +30,8 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
|
private RehabilitationManageService rehabilitationManageService;
|
|
|
@Autowired
|
|
|
private ImUtill imUtill;
|
|
|
|
|
|
@RequestMapping(value = "findRehabilitationPlanList", method = RequestMethod.GET)
|
|
|
@ApiOperation("康复管理-康复计划列表")
|
|
@ -150,7 +153,7 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "planDetailId", method = RequestMethod.GET)
|
|
|
@RequestMapping(value = "serviceItem", method = RequestMethod.GET)
|
|
|
@ApiOperation("康复管理-康复计划服务项目确认详情页")
|
|
|
@ObserverRequired
|
|
|
public String serviceItem(@ApiParam(name = "planDetailId", value = "康复计划服务项目id", required = true)
|
|
@ -227,10 +230,10 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
@ObserverRequired
|
|
|
public String recentPlanDetailRecord(@ApiParam(name = "patientCode", value = "居民code", required = true)
|
|
|
@RequestParam(value = "patientCode", required = true)String patientCode,
|
|
|
@ApiParam(name = "startTime", value = "开始时间(格式:yyyy-MM-dd HH:mm:ss)", required = true)
|
|
|
@RequestParam(value = "startTime", required = true)String startTime,
|
|
|
@ApiParam(name = "endTime", value = "结束时间(格式:yyyy-MM-dd HH:mm:ss)", required = true)
|
|
|
@RequestParam(value = "endTime", required = true)String endTime,
|
|
|
@ApiParam(name = "startTime", value = "开始时间(格式:yyyy-MM-dd HH:mm:ss)", required = false)
|
|
|
@RequestParam(value = "startTime", required = false)String startTime,
|
|
|
@ApiParam(name = "endTime", value = "结束时间(格式:yyyy-MM-dd HH:mm:ss)", required = false)
|
|
|
@RequestParam(value = "endTime", required = false)String endTime,
|
|
|
@ApiParam(name = "page", value = "第几页,从1开始", required = true)
|
|
|
@RequestParam(value = "page", required = false,defaultValue = "1")Integer page,
|
|
|
@ApiParam(name = "pageSize", value = "每页分页大小", required = true)
|
|
@ -259,21 +262,6 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "checkAfterQrCode", method = RequestMethod.POST)
|
|
|
@ApiOperation("康复管理-居民扫码后验证是否是关联的居民扫码")
|
|
|
@ObserverRequired
|
|
|
public String checkAfterQrCode(@ApiParam(name = "planDetailId", value = "康复计划项目明细ID")@RequestParam(value = "planDetailId", required = true)String planDetailId,
|
|
|
@ApiParam(name = "patientCode", value = "居民端登录的居民code")@RequestParam(value = "patientCode", required = true)String patientCode){
|
|
|
|
|
|
try {
|
|
|
JSONObject result = rehabilitationManageService.checkAfterQrCode(planDetailId,patientCode);
|
|
|
return write(200, String.valueOf(result.get("message")), "data", result.get("obj"));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "验证失败");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "serviceDoctorList", method = RequestMethod.GET)
|
|
|
@ApiOperation("康复管理-医生端居民详情服务医生列表")
|
|
|
@ObserverRequired
|
|
@ -321,7 +309,7 @@ public class DoctorRehabilitationManageController extends BaseController {
|
|
|
if(result.getInt("status")==200){
|
|
|
return write(200, "新增康复计划日志成功!", "data", result.getJSONObject("obj"));
|
|
|
}else {
|
|
|
return error(-1, "新增康复计划日志失败!");
|
|
|
return error(-1, result.getString("message"));
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|