Selaa lähdekoodia

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

csx 3 vuotta sitten
vanhempi
commit
b61a0f0ec5
2 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa
  1. 6 6
      main.go
  2. 6 6
      service/jsyb_service.go

+ 6 - 6
main.go Näytä tiedosto

@@ -5,7 +5,7 @@ import (
5 5
 	"fmt"
6 6
 	"gdyb/models"
7 7
 	_ "gdyb/routers"
8
-	"gdyb/service"
8
+	//"gdyb/service"
9 9
 
10 10
 	//"gdyb/service"
11 11
 	"github.com/astaxie/beego"
@@ -17,11 +17,11 @@ import (
17 17
 )
18 18
 
19 19
 func init() {
20
-	service.ConnectDB()
21
-	org_id, _ := beego.AppConfig.Int64("org_id")
22
-	miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
23
-	CreateLog(miConfig)
24
-	UploadLog(miConfig)
20
+	//service.ConnectDB()
21
+	//org_id, _ := beego.AppConfig.Int64("org_id")
22
+	//miConfig, _ := service.FindMedicalInsuranceInfo(org_id)
23
+	//CreateLog(miConfig)
24
+	//UploadLog(miConfig)
25 25
 
26 26
 }
27 27
 func main() {

+ 6 - 6
service/jsyb_service.go Näytä tiedosto

@@ -528,15 +528,15 @@ func Jsyb2206(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
528 528
 	inputMessage["infno"] = "2206" // 交易编码
529 529
 	inputData["psn_no"] = psnNo    // 人员编号 (来自1101接口返回)
530 530
 	if certificates == 3 {
531
-		inputData["mdtrt_cert_type"] = "99"                       // 就诊凭证类型
532
-		inputData["mdtrt_cert_no"] = certNo + "|" + verify_number // 就诊凭证编号
531
+		inputData["mdtrt_cert_type"] = "99" // 就诊凭证类型
532
+		inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
533 533
 	} else {
534 534
 		if id_card_type == 1 {
535
-			inputData["mdtrt_cert_type"] = "03"                       // 就诊凭证类型
536
-			inputData["mdtrt_cert_no"] = certNo + "|" + verify_number // 就诊凭证编号
535
+			inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
536
+			inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
537 537
 		} else {
538
-			inputData["mdtrt_cert_type"] = "02"                       // 就诊凭证类型
539
-			inputData["mdtrt_cert_no"] = certNo + "|" + verify_number // 就诊凭证编号
538
+			inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
539
+			inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
540 540
 		}
541 541
 	}
542 542
 	if insuplc_admdvs == "421300" {