Explorar el Código

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

csx hace 3 años
padre
commit
eb4ad97cde
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      service/gdyb_service.go
  2. 2 2
      service/hbyb_service.go

+ 2 - 2
service/gdyb_service.go Ver fichero

@@ -1505,7 +1505,7 @@ func Gdyb3201(baseParams models.BaseParams, businessParams models.BusinessParams
1505 1505
 	inputMessage["infno"] = "3201"                                    // 交易编码
1506 1506
 	inputData["insutype"] = businessParams.Insutype                   // 险种
1507 1507
 	inputData["clr_type"] = businessParams.ClrType                    // 就诊 ID(来自2201接口返回)
1508
-	inputData["setl_optins"] = "440781"                               // 结算经办机构
1508
+	inputData["setl_optins"] = baseParams.InsuplcAdmdvs               // 结算经办机构
1509 1509
 	inputData["stmt_begndate"] = businessParams.StmtBegndate          // 对帐开始时间
1510 1510
 	inputData["stmt_enddate"] = businessParams.StmtEnddate            //对帐结束时间
1511 1511
 	inputData["medfee_sumamt"] = businessParams.MedfeeSumamt          //医疗费总额
@@ -1709,7 +1709,7 @@ func Gdyb3202(baseParams models.BaseParams, businessParams models.BusinessParams
1709 1709
 	inputData := make(map[string]interface{})
1710 1710
 	inputMessage["infno"] = "3202"                                    // 交易编码
1711 1711
 	inputData["file_qury_no"] = businessParams.FileQuryNo             // 险种
1712
-	inputData["setl_optins"] = "440781"                               // 结算经办机构
1712
+	inputData["setl_optins"] = baseParams.InsuplcAdmdvs               // 结算经办机构
1713 1713
 	inputData["stmt_begndate"] = businessParams.StmtBegndate          // 对帐开始时间
1714 1714
 	inputData["stmt_enddate"] = businessParams.StmtEnddate            //对帐结束时间
1715 1715
 	inputData["medfee_sumamt"] = businessParams.MedfeeSumamt          //医疗费总额

+ 2 - 2
service/hbyb_service.go Ver fichero

@@ -793,7 +793,7 @@ func Hbyb3201(baseParams models.BaseParams, businessParams models.BusinessParams
793 793
 	inputMessage["infno"] = "3201"                                    // 交易编码
794 794
 	inputData["insutype"] = businessParams.Insutype                   // 险种
795 795
 	inputData["clr_type"] = businessParams.ClrType                    // 就诊 ID(来自2201接口返回)
796
-	inputData["setl_optins"] = "440781"                               // 结算经办机构
796
+	inputData["setl_optins"] = baseParams.InsuplcAdmdvs               // 结算经办机构
797 797
 	inputData["stmt_begndate"] = businessParams.StmtBegndate          // 对帐开始时间
798 798
 	inputData["stmt_enddate"] = businessParams.StmtEnddate            //对帐结束时间
799 799
 	inputData["medfee_sumamt"] = businessParams.MedfeeSumamt          //医疗费总额
@@ -991,7 +991,7 @@ func Hbyb3202(baseParams models.BaseParams, businessParams models.BusinessParams
991 991
 	inputData := make(map[string]interface{})
992 992
 	inputMessage["infno"] = "3202"                                    // 交易编码
993 993
 	inputData["file_qury_no"] = businessParams.FileQuryNo             // 险种
994
-	inputData["setl_optins"] = "440781"                               // 结算经办机构
994
+	inputData["setl_optins"] = baseParams.InsuplcAdmdvs               // 结算经办机构
995 995
 	inputData["stmt_begndate"] = businessParams.StmtBegndate          // 对帐开始时间
996 996
 	inputData["stmt_enddate"] = businessParams.StmtEnddate            //对帐结束时间
997 997
 	inputData["medfee_sumamt"] = businessParams.MedfeeSumamt          //医疗费总额