|
@ -43,6 +43,22 @@ public class RehabilitationManageController extends EnvelopRestEndpoint {
|
|
|
@Autowired
|
|
|
private RehabilitationGuidanceService rehabilitationGuidanceService;
|
|
|
|
|
|
@PostMapping(value = "updItemPlanStatus")
|
|
|
@ApiOperation("电话关怀,状态更新成待补录")
|
|
|
public Envelop updItemPlanStatus(
|
|
|
@ApiParam(name = "id", value = "执行计划id", required = true)
|
|
|
@RequestParam(value = "id", required = true) String id) {
|
|
|
try {
|
|
|
rehabilitationManageService.updItemPlanStatus(id,getUID());
|
|
|
return Envelop.getSuccess("操作成功");
|
|
|
}catch (ServiceException se){
|
|
|
return Envelop.getError(se.getMessage());
|
|
|
}catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return Envelop.getError("操作失败");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@PostMapping(value = "completePlan")
|
|
|
@ApiOperation("确认完成服务,填写服务笔记")
|
|
|
public Envelop completePlan(
|