Browse Source

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

csx 4 years ago
parent
commit
7ce36d5e98
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/sg/his_api_controller.go

+ 3 - 0
controllers/sg/his_api_controller.go View File

@@ -2586,6 +2586,8 @@ func (c *HisApiController) Refund() {
2586 2586
 func (c *HisApiController) RefundNumber() {
2587 2587
 	record_time := c.GetString("record_time")
2588 2588
 	patient_id, _ := c.GetInt64("patient_id")
2589
+	admin_user_id, _ := c.GetInt64("admin_user_id")
2590
+
2589 2591
 	timeLayout := "2006-01-02"
2590 2592
 	loc, _ := time.LoadLocation("Local")
2591 2593
 	adminUser := c.GetAdminUserInfo()
@@ -2601,6 +2603,7 @@ func (c *HisApiController) RefundNumber() {
2601 2603
 	//order, _ := service.GetHisOrderByID(order_id)
2602 2604
 	miConfig, _ := service.FindMedicalInsuranceInfo(adminUser.CurrentOrgId)
2603 2605
 	config, _ := service.GetMedicalInsuranceConfig(adminUser.CurrentOrgId)
2606
+	roles, _ := service.GetAdminUserInfoByID(adminUser.CurrentOrgId, admin_user_id)
2604 2607
 
2605 2608
 	if config.IsOpen == 1 { //对接了医保,走医保流程
2606 2609