Explorar el Código

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

csx hace 1 año
padre
commit
aac4c97771
Se han modificado 3 ficheros con 28 adiciones y 28 borrados
  1. 1 1
      conf/app.conf
  2. 3 3
      routers/router.go
  3. 24 24
      service/zh_his_service.go

+ 1 - 1
conf/app.conf Ver fichero

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

+ 3 - 3
routers/router.go Ver fichero

@@ -1,7 +1,7 @@
1 1
 package routers
2 2
 
3 3
 import (
4
-	"gdyb/controllers/hb"
4
+	"gdyb/controllers/nm"
5 5
 	"gdyb/controllers/sg"
6 6
 
7 7
 	//"gdyb/controllers/sz"
@@ -23,11 +23,11 @@ func init() {
23 23
 	}))
24 24
 	sg.HisManagerApiRegistRouters()
25 25
 	//sg.GdybRegistRouters()
26
-	hb.HbybRegistRouters()
26
+	//hb.HbybRegistRouters()
27 27
 	//sz.SZHisManagerApiRegistRouters()
28 28
 	//zh.ZHHisManagerApiRegistRouters()
29 29
 	//js.JSybRegistRouters()
30
-	//nm.NmybRegistRouters()
30
+	nm.NmybRegistRouters()
31 31
 	//coordinate.CoordinateRegistRouters()
32 32
 
33 33
 }

+ 24 - 24
service/zh_his_service.go Ver fichero

@@ -590,18 +590,18 @@ func ZHGdyb2301(psnNo string, mdtrtId string, hisPrescription []*models.NewCusto
590 590
 		feedetailInfo["bilg_dept_name"] = dept                       // 开单科室名称
591 591
 		feedetailInfo["bilg_dr_codg"] = doctor_id                    // 开单医生编码
592 592
 		feedetailInfo["bilg_dr_name"] = doctor
593
-		feedetailInfo["acord_dept_codg"] = ""    // 受单科室编码
594
-		feedetailInfo["acord_dept_name"] = ""    // 受单科室名称
595
-		feedetailInfo["orders_dr_code"] = ""     // 受单医生编码
596
-		feedetailInfo["orders_dr_name"] = ""     // 受单医生姓名
597
-		feedetailInfo["chrg_bchno"] = chrg_bchno // 收费批次号
598
-		feedetailInfo["dise_codg"] = ""          // 病种编码
599
-		feedetailInfo["rxno"] = ""               // 处方号
600
-		feedetailInfo["rx_circ_flag"] = "0"      // 外购处方标志
601
-		feedetailInfo["sin_dos_dscr"] = ""       // 单次剂量描述
602
-		feedetailInfo["used_frqu_dscr"] = ""     // 使用频次描述
603
-		feedetailInfo["prd_days"] = "0"          // 周期天数
604
-		feedetailInfo["medc_way_dscr"] = ""      // 用药途径描述
593
+		feedetailInfo["acord_dept_codg"] = ""       // 受单科室编码
594
+		feedetailInfo["acord_dept_name"] = ""       // 受单科室名称
595
+		feedetailInfo["orders_dr_code"] = doctor_id // 受单医生编码
596
+		feedetailInfo["orders_dr_name"] = doctor    // 受单医生姓名
597
+		feedetailInfo["chrg_bchno"] = chrg_bchno    // 收费批次号
598
+		feedetailInfo["dise_codg"] = ""             // 病种编码
599
+		feedetailInfo["rxno"] = ""                  // 处方号
600
+		feedetailInfo["rx_circ_flag"] = "0"         // 外购处方标志
601
+		feedetailInfo["sin_dos_dscr"] = ""          // 单次剂量描述
602
+		feedetailInfo["used_frqu_dscr"] = ""        // 使用频次描述
603
+		feedetailInfo["prd_days"] = "0"             // 周期天数
604
+		feedetailInfo["medc_way_dscr"] = ""         // 用药途径描述
605 605
 		// 开单医师姓名
606 606
 
607 607
 		if item.HospApprFlag != -1 {
@@ -709,18 +709,18 @@ func ZHGdyb2301A(psnNo string, mdtrtId string, hisPrescription []*models.NewCust
709 709
 		feedetailInfo["bilg_dept_name"] = dept                       // 开单科室名称
710 710
 		feedetailInfo["bilg_dr_codg"] = doctor_id                    // 开单医生编码
711 711
 		feedetailInfo["bilg_dr_name"] = doctor
712
-		feedetailInfo["acord_dept_codg"] = ""    // 受单科室编码
713
-		feedetailInfo["acord_dept_name"] = ""    // 受单科室名称
714
-		feedetailInfo["orders_dr_code"] = ""     // 受单医生编码
715
-		feedetailInfo["orders_dr_name"] = ""     // 受单医生姓名
716
-		feedetailInfo["chrg_bchno"] = chrg_bchno // 收费批次号
717
-		feedetailInfo["dise_codg"] = ""          // 病种编码
718
-		feedetailInfo["rxno"] = ""               // 处方号
719
-		feedetailInfo["rx_circ_flag"] = "0"      // 外购处方标志
720
-		feedetailInfo["sin_dos_dscr"] = ""       // 单次剂量描述
721
-		feedetailInfo["used_frqu_dscr"] = ""     // 使用频次描述
722
-		feedetailInfo["prd_days"] = "0"          // 周期天数
723
-		feedetailInfo["medc_way_dscr"] = ""      // 用药途径描述
712
+		feedetailInfo["acord_dept_codg"] = ""       // 受单科室编码
713
+		feedetailInfo["acord_dept_name"] = ""       // 受单科室名称
714
+		feedetailInfo["orders_dr_code"] = doctor_id // 受单医生编码
715
+		feedetailInfo["orders_dr_name"] = doctor    // 受单医生姓名
716
+		feedetailInfo["chrg_bchno"] = chrg_bchno    // 收费批次号
717
+		feedetailInfo["dise_codg"] = ""             // 病种编码
718
+		feedetailInfo["rxno"] = ""                  // 处方号
719
+		feedetailInfo["rx_circ_flag"] = "0"         // 外购处方标志
720
+		feedetailInfo["sin_dos_dscr"] = ""          // 单次剂量描述
721
+		feedetailInfo["used_frqu_dscr"] = ""        // 使用频次描述
722
+		feedetailInfo["prd_days"] = "0"             // 周期天数
723
+		feedetailInfo["medc_way_dscr"] = ""         // 用药途径描述
724 724
 		// 开单医师姓名
725 725
 
726 726
 		if item.HospApprFlag != -1 {