Browse Source

fix:preAnalysis.setPatientByHisBaseInfo增加certno,certtype为空判断

zhanfei 1 month ago
parent
commit
744c51fd1a
4 changed files with 41 additions and 3 deletions
  1. 2 2
      Business/PreAndInProcessAnalysis.cs
  2. 1 0
      KunMingMI.csproj
  3. 1 1
      Properties/AssemblyInfo.cs
  4. 37 0
      Readme_昆明基线版.md

+ 2 - 2
Business/PreAndInProcessAnalysis.cs

@@ -59,8 +59,8 @@ namespace PTMedicalInsurance.Business
                 Global.pat.gend = JsonHelper.getDestValue(jo, "result.patSex");
                 Global.pat.age = JsonHelper.getDestValue(jo, "result.Age");
                 Global.pat.naty = JsonHelper.getDestValue(jo, "result.naty");
-                Global.pat.certNO = JsonHelper.getDestValue(jo, "result.credNo");
-                Global.pat.certType = JsonHelper.getDestValue(jo, "result.credCode");
+                if (string.IsNullOrEmpty(Global.pat.certNO)) Global.pat.certNO = JsonHelper.getDestValue(jo, "result.credNo");
+                if (string.IsNullOrEmpty(Global.pat.certType)) Global.pat.certType = JsonHelper.getDestValue(jo, "result.credCode");
                 return 0;
             }
             catch (Exception ex)

+ 1 - 0
KunMingMI.csproj

@@ -659,6 +659,7 @@
       <Generator>SettingsSingleFileGenerator</Generator>
       <LastGenOutput>Settings.Designer.cs</LastGenOutput>
     </None>
+    <None Include="Readme_昆明基线版.md" />
   </ItemGroup>
   <ItemGroup>
     <COMReference Include="stdole">

+ 1 - 1
Properties/AssemblyInfo.cs

@@ -33,4 +33,4 @@ using System.Runtime.InteropServices;
 //通过使用 "*",如下所示:
 // [assembly: AssemblyVersion("1.0.*")]
 [assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.1")]

+ 37 - 0
Readme_昆明基线版.md

@@ -0,0 +1,37 @@
+# 医保业务DLL库使用说明
+
+该项目遵循以下原则:
+
+1. **Master分支**:为空项目,仅保留说明文件,便于其他新分支的建立。
+2. **分支命名规则**:按市+医保类型建立代码分支,如“安徽基线版”,分支名为:AnHui_Base。医保类型包括:Base(基线版)、工伤(Injury)、异地(Offsite)、其它(Other)。可以根据需要适当增加新的医保类型。
+3. **项目命名规则**:每个分支下存放每个省的业务逻辑代码项目,项目名应与分支名保持一致,例如AnHui_Base。
+4. **文档维护**:每个分支的根目录应保留本Readme.md文档,并且将各个分支的特殊业务场景或版本更新日志放置在此文档中。
+5. **使用手册**:详细的手册见文档[这里](https://dqqslxaq2y.feishu.cn/docx/VxZhdSrFDonnwTxxTPZctr7onSb?from=from_copylink)。
+
+## Git提交说明
+        init:初始化,
+        fix:bug修复,
+        feat:增加特性(功能),
+        perf:优化,
+        chroe:代码重构
+        merge: 合并
+        revert:回滚
+
+
+## 业务分支说明
+
+### 名称:东莞医保
+
+- **接口开发**:东软
+- **上线范围**:结算(社保、身份证、电子医保卡)、进销存、事前事中、Lis项目、清单上传
+
+### 版本特性
+
+#### 版本 1.0.0.2  
+- **时间**:2026年05月25日
+- **改进点**:
+  - **修复**:事前事中升级后,导致1192验证失败。原因是certtype和certno在事前事中中被重置,preAnalysis.setPatientByHisBaseInfo增加为空判断。
+  ```
+        if (string.IsNullOrEmpty(Global.pat.certNO)) Global.pat.certNO = JsonHelper.getDestValue(jo, "result.credNo");
+        if (string.IsNullOrEmpty(Global.pat.certType)) Global.pat.certType = JsonHelper.getDestValue(jo, "result.credCode");
+  ```