LIJU 1 月之前
父节点
当前提交
59d2b87d8b
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      ThCardReader/EntryController.cs
  2. 2 2
      ThCardReader/JiangSuWorkInjuryBusiness.cs
  3. 2 2
      test_workinjury_interface.html

+ 1 - 1
ThCardReader/EntryController.cs

@@ -634,7 +634,7 @@ namespace ThCardReader
                     // 使用自定义配置
                     var config = new JiangSuWorkInjuryBusiness.WorkInjuryConfig
                     {
-                        FixmedinsCode = configObj["fixmedinsCode"]?.ToString() ?? "H00001",
+                        FixmedinsCode = configObj["fixmedinsCode"]?.ToString() ?? "SQ201348",
                         FixmedinsName = configObj["fixmedinsName"]?.ToString() ?? "第一人民医院",
                         ReceiverSysCode = configObj["receiverSysCode"]?.ToString() ?? "JSYTH",
                         InterfaceVersion = configObj["interfaceVersion"]?.ToString() ?? "V2.1",

+ 2 - 2
ThCardReader/JiangSuWorkInjuryBusiness.cs

@@ -99,7 +99,7 @@ namespace ThCardReader
             /// <summary>
             /// 协议机构编号 - 由江苏人社分配
             /// </summary>
-            public string FixmedinsCode { get; set; } = "H00001";
+            public string FixmedinsCode { get; set; } = "SQ201348";
             
             /// <summary>
             /// 协议机构名称
@@ -713,7 +713,7 @@ namespace ThCardReader
         {
             lock (sequenceLock)
             {
-                string institutionCode = currentConfig?.FixmedinsCode ?? "H00001";
+                string institutionCode = currentConfig?.FixmedinsCode ?? "SQ201348";
                 if (institutionCode.Length > 6)
                     institutionCode = institutionCode.Substring(0, 6);
                 else

+ 2 - 2
test_workinjury_interface.html

@@ -221,7 +221,7 @@
             init: {
                 action: "init",
                 config: {
-                    fixmedinsCode: "H32132200561",
+                    fixmedinsCode: "SQ201348",
                     fixmedinsName: "宿迁沭阳铭和医院",
                     receiverSysCode: "JSYTH",
                     interfaceVersion: "V2.1",
@@ -489,7 +489,7 @@
 {
   "action": "init",
   "config": {
-    "fixmedinsCode": "H32132200561",     // 医院编号(必填)
+    "fixmedinsCode": "SQ201348",     // 医院编号(必填)
     "fixmedinsName": "宿迁沭阳铭和医院",  // 医院名称(必填)
     "receiverSysCode": "JSYTH",         // 固定值
     "interfaceVersion": "V2.1",         // 固定值