Просмотр исходного кода

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

csx 2 лет назад
Родитель
Сommit
af175458d8
1 измененных файлов: 10 добавлений и 4 удалений
  1. 10 4
      service/jsyb_service.go

+ 10 - 4
service/jsyb_service.go Просмотреть файл

@@ -1024,10 +1024,16 @@ func SetJSInputMessage(timestamp int64, org_name string, doctor string, fixmedin
1024 1024
 	inputMessage["signtype"] = "SM3"                                                            // 签名类型
1025 1025
 	inputMessage["infver"] = "V1.0"                                                             // 接收方系统代码
1026 1026
 	inputMessage["opter_type"] = "1"                                                            // 经办人类别
1027
-	inputMessage["opter"] = doctor                                                              // 经办人
1028
-	inputMessage["opter_name"] = doctor                                                         // 经办人姓名
1029
-	inputMessage["inf_time"] = timeFormatOne                                                    // 交易时间
1030
-	inputMessage["fixmedins_code"] = fixmedins_code                                             // 定点医药机构编号
1027
+	if fixmedins_code == "H32090403023" {
1028
+
1029
+		inputMessage["opter"] = "晁海燕"      // 经办人
1030
+		inputMessage["opter_name"] = "晁海燕" // 经办人姓名
1031
+	} else {
1032
+		inputMessage["opter"] = doctor      // 经办人
1033
+		inputMessage["opter_name"] = doctor // 经办人姓名
1034
+	}
1035
+	inputMessage["inf_time"] = timeFormatOne        // 交易时间
1036
+	inputMessage["fixmedins_code"] = fixmedins_code // 定点医药机构编号
1031 1037
 	inputMessage["fixmedins_name"] = org_name
1032 1038
 	inputMessage["fixmedins_soft_fcty"] = "深圳市领透科技有限公司" //定点医药机构名称
1033 1039
 	//定点医药机构名称