csx преди 3 години
родител
ревизия
c130ff1bba
променени са 4 файла, в които са добавени 1169 реда и са изтрити 973 реда
  1. 1 1
      conf/app.conf
  2. 1165 972
      controllers/sz/sz_his_api_controller.go
  3. 1 0
      models/sz_his_models.go
  4. 2 0
      service/sz_his_service.go

+ 1 - 1
conf/app.conf Целия файл

@@ -44,7 +44,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
44 44
 
45 45
 
46 46
 [prod]
47
-org_id = 3877
47
+org_id = 9919
48 48
 mobile_token_expiration_second = 86400
49 49
 httpdomain = https://api.xt.kuyicloud.com
50 50
 sso_domain = https://sso.kuyicloud.com

Файловите разлики са ограничени, защото са твърде много
+ 1165 - 972
controllers/sz/sz_his_api_controller.go


+ 1 - 0
models/sz_his_models.go Целия файл

@@ -13,4 +13,5 @@ type CustomDetail struct {
13 13
 	Count              float64
14 14
 	ChargeOrderDate    string
15 15
 	DoctorCode         string
16
+	Total              float64
16 17
 }

+ 2 - 0
service/sz_his_service.go Целия файл

@@ -85,6 +85,8 @@ func SzybFY001(doctor string, doctor_code string, fixmedins_code string, datas [
85 85
 		feedetailInfo["aka067"] = "元"
86 86
 		feedetailInfo["akc271"] = item.ChargeOrderDate
87 87
 		feedetailInfo["bkc320"] = item.DoctorCode
88
+		feedetailInfo["akc264"] = item.Total
89
+
88 90
 		feedetail = append(feedetail, feedetailInfo)
89 91
 	}
90 92
 	inputData["inputlist"] = feedetail