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