Pārlūkot izejas kodu

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 2 gadus atpakaļ
vecāks
revīzija
e58173e9e7
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      controllers/zh/zh_his_api_controller.go

+ 2 - 0
controllers/zh/zh_his_api_controller.go Parādīt failu

1669
 			//判断是否使用了押金
1669
 			//判断是否使用了押金
1670
 			if dec_way == "true" {
1670
 			if dec_way == "true" {
1671
 				tmpstring := strconv.FormatInt(order.ID, 10)
1671
 				tmpstring := strconv.FormatInt(order.ID, 10)
1672
+				order.Decimal = decimal
1673
+				err = service.UpDateOrder(order)
1672
 				//扣押金
1674
 				//扣押金
1673
 				errmsg = service.SpendDeposit(c.GetAdminUserInfo().CurrentOrgId, patient_id, c.GetAdminUserInfo().AdminUser.Id, tmpstring, decimal)
1675
 				errmsg = service.SpendDeposit(c.GetAdminUserInfo().CurrentOrgId, patient_id, c.GetAdminUserInfo().AdminUser.Id, tmpstring, decimal)
1674
 				if errmsg != nil {
1676
 				if errmsg != nil {