陈少旭 10 mesi fa
parent
commit
3cb8da48c4
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      controllers/his_hospital_api_controller.go

+ 2 - 2
controllers/his_hospital_api_controller.go Vedi File

47
 }
47
 }
48
 func (this *HisHospitalApiController) ModifyFaPiaoCode() {
48
 func (this *HisHospitalApiController) ModifyFaPiaoCode() {
49
 	order_id, _ := this.GetInt64("id")
49
 	order_id, _ := this.GetInt64("id")
50
-	fapiao_code := this.GetString("fapiao_code")
50
+	fapiao_number := this.GetString("fapiao_number")
51
 
51
 
52
 	order, _ := service.GetHisOrderByID(order_id)
52
 	order, _ := service.GetHisOrderByID(order_id)
53
 	if order.ID == 0 {
53
 	if order.ID == 0 {
55
 		return
55
 		return
56
 	}
56
 	}
57
 
57
 
58
-	order.FaPiaoNumber = fapiao_code
58
+	order.FaPiaoNumber = fapiao_number
59
 	err := service.SaveOrderTwo(&order)
59
 	err := service.SaveOrderTwo(&order)
60
 	if err != nil {
60
 	if err != nil {
61
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
61
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)