@ -104,6 +104,9 @@ public class AppController extends BaseController
@PutMapping("updateStatus/{id}")
@Log(title = "修改患者记录至已诊状态")
public AjaxResult updateStatus(@PathVariable("id") Long id){
if(id == null){
return AjaxResult.error("未获取到记录id");
}
TRecord tRecord = new TRecord();
tRecord.setId(id);
tRecord.setStatus("1");