Kaynağa Gözat

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

csx 3 yıl önce
ebeveyn
işleme
e9c2be3ebd
2 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. 1 1
      conf/app.conf
  2. 4 1
      controllers/sz/sz_his_api_controller.go

+ 1 - 1
conf/app.conf Dosyayı Görüntüle

@@ -44,7 +44,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
44 44
 
45 45
 
46 46
 [prod]
47
-org_id = 10106
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

+ 4 - 1
controllers/sz/sz_his_api_controller.go Dosyayı Görüntüle

@@ -2152,6 +2152,8 @@ func (c *SZHisApiController) GetSettleInfo() {
2152 2152
 	admin_user_id, _ := c.GetInt64("admin_user_id")
2153 2153
 	his_patient_id, _ := c.GetInt64("his_patient_id")
2154 2154
 
2155
+	order_id, _ := c.GetInt64("order_id")
2156
+
2155 2157
 	sick_type, _ := c.GetInt64("sick_type")
2156 2158
 	reg_type, _ := c.GetInt64("p_type")
2157 2159
 
@@ -2179,7 +2181,8 @@ func (c *SZHisApiController) GetSettleInfo() {
2179 2181
 
2180 2182
 	his, err := service.GetNewHisPatientInfo(adminUser.CurrentOrgId, his_patient_id, recordDateTime)
2181 2183
 
2182
-	tempOrder, _ := service.GetNewHisOrderThree(his.Number)
2184
+	//tempOrder, _ := service.GetNewHisOrderThree(or)
2185
+	tempOrder, _ := service.GetHisOrderByID(order_id)
2183 2186
 
2184 2187
 	if tempOrder.ID == 0 {
2185 2188