Browse Source

fix: bug修改

zzz 1 year ago
parent
commit
f9c0b800c1
4 changed files with 16 additions and 15 deletions
  1. BIN
      .vs/slnx.sqlite
  2. 9 8
      Business/HisMainBusiness.cs
  3. 3 3
      Forms/Clearing.cs
  4. 4 4
      Helper/JsonHelper.cs

BIN
.vs/slnx.sqlite


+ 9 - 8
Business/HisMainBusiness.cs

@@ -1584,14 +1584,15 @@ namespace PTMedicalInsurance.Business
                             break;
                         }
                 }
-                //如果患者异地的则就医地需要该为369900
-                if (Global.pat.insuplc_admdvs != "")
-                {
-                    if (Global.pat.insuplc_admdvs.Substring(0, 4) != Global.inf.areaCode.Substring(0, 4))
-                    {
-                        Global.inf.areaCode = "539900";
-                    }
-                }
+                //注释
+                ////如果患者异地的则就医地需要该为369900
+                //if (Global.pat.insuplc_admdvs != "")
+                //{
+                //    if (Global.pat.insuplc_admdvs.Substring(0, 4) != Global.inf.areaCode.Substring(0, 4))
+                //    {
+                //        Global.inf.areaCode = "539900";
+                //    }
+                //}
             }
             catch (Exception ex)
             {

+ 3 - 3
Forms/Clearing.cs

@@ -636,7 +636,7 @@ namespace PTMedicalInsurance.Forms
                 //省医保和市医保对账一样,异地对账需要用到另外的对账交易
                 if (Global.inf.interfaceDr == 1)
                 {
-                    sqlStr = sqlStr + " and (InsuranceAreaCode='539900' or InsuranceAreaCode='530100')";
+                    sqlStr = sqlStr + " and (InsuranceAreaCode='349900' )";
                 }
 
                 //conditionStr = conditionStr.Substring(0,conditionStr.Length -1 );
@@ -1422,12 +1422,12 @@ namespace PTMedicalInsurance.Forms
             //省医保本地
             if ((Global.inf.interfaceDr == 1) && (cbOtherPlaceFlag.SelectedIndex == 2))
             {
-                sqlStr = sqlStr + " and (InsuranceAreaCode='539900' or InsuranceAreaCode='530100')";
+                sqlStr = sqlStr + " and (InsuranceAreaCode='349900')";
             }
             //省医保异地
             if ((Global.inf.interfaceDr == 1) && (cbOtherPlaceFlag.SelectedIndex == 1))
             {
-                sqlStr = sqlStr + " and (InsuranceAreaCode<>'539900' and InsuranceAreaCode<>'530100')";
+                sqlStr = sqlStr + " and (InsuranceAreaCode<>'349900' )";
             }
 
             sqlStr = sqlStr + " Group By Interface_Dr,ClearingType,ClearingWay";

+ 4 - 4
Helper/JsonHelper.cs

@@ -315,10 +315,10 @@ namespace PTMedicalInsurance.Helper
             Jo.mdtrtarea_admvs = Global.pat.mdtrtarea_admvs;
           
 
-            if(Global.pat.insuplc_admdvs == "340001"&& infno=="1101"&& Global.inf.interfaceDr==12)
-            {
-                Jo.insuplc_admdvs = "349900";
-            }
+            //if(Global.pat.insuplc_admdvs == "340001"&& infno=="1101"&& Global.inf.interfaceDr==12)
+            //{
+            //    Jo.insuplc_admdvs = "349900";
+            //}
 
             Jo.recer_sys_code = "MBS_LOCAL";
             Jo.dev_no = "2021";