Browse Source

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

csx 3 years ago
parent
commit
e0e18aafc6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/zh/zh_his_api_controller.go

+ 3 - 0
controllers/zh/zh_his_api_controller.go View File

1914
 
1914
 
1915
 		if res.Infcode == 0 {
1915
 		if res.Infcode == 0 {
1916
 			err := service.UpdataOrderStatusThree(order_id, order.Number, adminUser.CurrentOrgId, src_resquest, result)
1916
 			err := service.UpdataOrderStatusThree(order_id, order.Number, adminUser.CurrentOrgId, src_resquest, result)
1917
+			record.OutHospitalStatus = 0
1918
+			service.CreateHospitalRecord(&record)
1919
+			service.UpdataOrderStatusByNumber(record.Number)
1917
 			if err == nil {
1920
 			if err == nil {
1918
 				c.ServeSuccessJSON(map[string]interface{}{
1921
 				c.ServeSuccessJSON(map[string]interface{}{
1919
 					"msg": "退费成功",
1922
 					"msg": "退费成功",