瀏覽代碼

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

csx 3 年之前
父節點
當前提交
7cbe3869c5
共有 3 個文件被更改,包括 547 次插入372 次删除
  1. 1 1
      conf/app.conf
  2. 541 371
      controllers/sz/sz_his_api_controller.go
  3. 5 0
      service/his_service.go

+ 1 - 1
conf/app.conf 查看文件

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

文件差異過大導致無法顯示
+ 541 - 371
controllers/sz/sz_his_api_controller.go


+ 5 - 0
service/his_service.go 查看文件

@@ -1247,3 +1247,8 @@ func GetNewHisOrderTwo(user_org_id int64, mdtrt_id string, patient_id int64, rec
1247 1247
 		Find(&order).Error
1248 1248
 	return
1249 1249
 }
1250
+
1251
+func GetNewHisOrderThree(mdtrt_id string) (order HisOrder, err error) {
1252
+	err = readDb.Model(&HisOrder{}).Where("status = 1 AND mdtrt_id=?  ", mdtrt_id).First(&order).Error
1253
+	return
1254
+}