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