Browse Source

11月8日库存管理

XMLWAN 3 years ago
parent
commit
9e3f0e1689

+ 1 - 1
conf/app.conf View File

@@ -1,5 +1,5 @@
1 1
 appname = 血透
2
-httpport = 9531
2
+httpport = 9529
3 3
 runmode = dev
4 4
 
5 5
 #

+ 3 - 0
controllers/new_mobile_api_controllers/staff_schedule_api_controller.go View File

@@ -447,6 +447,9 @@ func (this *StaffScheduleApiController) UpdateBloodSchedule() {
447 447
 	_, errschedulecode := service.GetPatientScheduleIsExist(patient_id, start_time, schedule_type, bed_id)
448 448
 	if errschedulecode == gorm.ErrRecordNotFound {
449 449
 		service.UpdatedSchedule(schedule, patient_id, start_time, schedule_type, bed_id)
450
+		this.ServeSuccessJSON(map[string]interface{}{
451
+			"msgerr": "保存成功",
452
+		})
450 453
 	} else if errschedulecode == nil {
451 454
 		this.ServeSuccessJSON(map[string]interface{}{
452 455
 			"msg":    "1",