|
from netforce.controller import Controller
|
|
|
|
|
|
class DelPatientMove(Controller):
|
|
_path="/del_patient_move"
|
|
|
|
def get(self):
|
|
try:
|
|
id=self.get_argument("id")
|
|
id=int(id)
|
|
get_model("clinic.patient.move").delete([id])
|
|
except Exception as e:
|
|
print("ERROR ", e)
|
|
|
|
DelPatientMove.register()
|