Browse Source

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

csx 3 years ago
parent
commit
92d0fc7bf1
2 changed files with 4 additions and 4 deletions
  1. 3 3
      conf/app.conf
  2. 1 1
      service/his_service.go

+ 3 - 3
conf/app.conf View File

@@ -45,7 +45,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
45 45
 
46 46
 
47 47
 [prod]
48
-org_id = 9919
48
+org_id = 10106
49 49
 mobile_token_expiration_second = 86400
50 50
 httpdomain = https://api.xt.kuyicloud.com
51 51
 sso_domain = https://sso.kuyicloud.com
@@ -57,8 +57,8 @@ gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
57 57
 # gdyb_url="http://igb.hsa.gdgov.cn/ebus/sz_prd/hsa/hgs/"
58 58
 #内蒙古
59 59
 # gdyb_url = "http://10.38.23.105:8090/uif-hsaf-med-api/api/medical/service/"
60
-gdyb_paasid = "sg03_prd"
61
-# gdyb_paasid = "jm_sc_yjyy"
60
+# gdyb_paasid = "sg03_prd"
61
+gdyb_paasid = "jm_sc_yjyy"
62 62
 #gdyb_paasid="zh_prd_yjyy"
63 63
 #gdyb_paasid = "sz_prd_yjyy"
64 64
 #gdyb_paasid = "zq_prd_yjyy"

+ 1 - 1
service/his_service.go View File

@@ -1356,7 +1356,7 @@ func GetPsnByPatientId(patient_id int64) (psn models.HisPsn, err error) {
1356 1356
 }
1357 1357
 
1358 1358
 func GetAllHisOrder(org_id int64) (his []*models.HisOrder, err error) {
1359
-	err = readDb.Model(&models.HisOrder{}).Where("user_org_id = ? AND status = 1 AND settle_accounts_date = 1640880000  AND  order_status = 2 AND setl_id <> '' AND  fa_piao_code <> '' ", org_id).Order("setl_time asc").Find(&his).Error
1359
+	err = readDb.Model(&models.HisOrder{}).Where("user_org_id = ? AND status = 1 AND settle_accounts_date >= 1640966400  AND  order_status = 2 AND setl_id <> '' AND  fa_piao_code <> '' ", org_id).Order("setl_time asc").Find(&his).Error
1360 1360
 	return
1361 1361
 }
1362 1362
 func GetAllHisOrderErr(org_id int64, stage int64) (his []*models.HisOrderError, err error) {