|
@@ -390,12 +390,18 @@ func (this *StaffScheduleApiController) UpdateDialysisPrescription() {
|
390
|
390
|
CreatedTime: time.Now().Unix(),
|
391
|
391
|
}
|
392
|
392
|
service.CreateDialysisPrescription(prescription)
|
|
393
|
+ this.ServeSuccessJSON(map[string]interface{}{
|
|
394
|
+ "msg": "保存成功",
|
|
395
|
+ })
|
393
|
396
|
} else if errcode == nil {
|
394
|
397
|
prescription := models.DialysisPrescription{
|
395
|
398
|
DialyzerPerfusionApparatus: dialyzer_perfusion_apparatus,
|
396
|
399
|
DialysisDialyszers: dialyzer_perfusion_apparatus,
|
397
|
400
|
}
|
398
|
401
|
service.UpdateDialysisPrescriptionOne(prescription, patient_id, start_time)
|
|
402
|
+ this.ServeSuccessJSON(map[string]interface{}{
|
|
403
|
+ "msg": "保存成功",
|
|
404
|
+ })
|
399
|
405
|
}
|
400
|
406
|
}
|
401
|
407
|
|