瀏覽代碼

11月8日库存管理

XMLWAN 3 年之前
父節點
當前提交
26531f90ce
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      controllers/new_mobile_api_controllers/staff_schedule_api_controller.go

+ 6 - 0
controllers/new_mobile_api_controllers/staff_schedule_api_controller.go 查看文件

@@ -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