Пример #1
0
        private XmlNode CreateZBNode(Fpxx fp, XmlDocument xmlDoc, Dictionary <SPXX, string> sp)
        {
            XmlNode newChild = xmlDoc.CreateElement("HWMC");

            newChild.InnerText = sp[(SPXX)0];
            XmlElement element1 = xmlDoc.CreateElement("ZBNR");

            element1.AppendChild(newChild);
            XmlNode node2 = xmlDoc.CreateElement("GGXH");

            node2.InnerText = sp[(SPXX)3];
            element1.AppendChild(node2);
            XmlNode node3 = xmlDoc.CreateElement("JLDW");

            node3.InnerText = sp[(SPXX)4];
            element1.AppendChild(node3);
            XmlNode node4 = xmlDoc.CreateElement("SL");

            node4.InnerText = sp[(SPXX)6];
            element1.AppendChild(node4);
            XmlNode node5 = xmlDoc.CreateElement("BHSDJ");

            if (sp[(SPXX)11] == "1")
            {
                node5.InnerText = fp.Get_Print_Dj(sp, 1, null);
            }
            else
            {
                node5.InnerText = sp[(SPXX)5];
            }
            element1.AppendChild(node5);
            XmlNode node6 = xmlDoc.CreateElement("BHSJE");

            node6.InnerText = sp[(SPXX)7];
            element1.AppendChild(node6);
            XmlNode node7 = xmlDoc.CreateElement("SLV");

            node7.InnerText = sp[(SPXX)8];
            element1.AppendChild(node7);
            XmlNode node8 = xmlDoc.CreateElement("SE");

            node8.InnerText = sp[(SPXX)9];
            element1.AppendChild(node8);
            return(element1);
        }
Пример #2
0
 protected DataDict DictCreate_ZYHZFPXXB(params object[] args)
 {
     if (args.Length >= 2)
     {
         Fpxx fpxx = args[1] as Fpxx;
         List <Dictionary <string, object> > listDict = new List <Dictionary <string, object> >();
         if (fpxx != null)
         {
             Dictionary <string, object> item = new Dictionary <string, object>();
             string fpdm = fpxx.fpdm;
             string fphm = fpxx.fphm;
             item.Add("kprq", fpxx.kprq);
             item.Add("xfmc", fpxx.xfmc);
             item.Add("xfsh", fpxx.xfsh);
             item.Add("gfmc", fpxx.gfmc);
             item.Add("gfsh", fpxx.gfsh);
             DataTable table = new DataTable();
             table.Columns.Add("hwmc");
             table.Columns.Add("sl");
             table.Columns.Add("dj");
             table.Columns.Add("je");
             table.Columns.Add("slv");
             table.Columns.Add("se");
             if (fpxx.Qdxx != null)
             {
                 foreach (Dictionary <SPXX, string> dictionary2 in fpxx.Qdxx)
                 {
                     DataRow  row       = table.NewRow();
                     string   str4      = fpxx.Get_Print_Dj(dictionary2, 0, null);
                     object[] objArray2 = new object[] { str4, 12 };
                     object[] objArray3 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray2);
                     if ((objArray3 != null) && (objArray3.Length > 0))
                     {
                         row["dj"] = Aisino.Fwkp.Print.Common.FormatString(objArray3[0].ToString());
                     }
                     else
                     {
                         row["dj"] = "";
                         base.loger.Error("精度四舍五入错误");
                     }
                     row["hwmc"] = dictionary2[SPXX.SPMC];
                     if (dictionary2[SPXX.SL] == "0")
                     {
                         row["sl"] = string.Empty;
                     }
                     else
                     {
                         object[] objArray6 = new object[] { dictionary2[SPXX.SL], 9 };
                         object[] objArray4 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray6);
                         if ((objArray4 != null) && (objArray4.Length > 0))
                         {
                             row["sl"] = objArray4[0].ToString();
                         }
                         else
                         {
                             row["sl"] = "";
                             base.loger.Error("精度四舍五入错误");
                         }
                     }
                     row["je"] = Aisino.Fwkp.Print.Common.ObjectToDouble(dictionary2[SPXX.JE]).ToString("f2");
                     if (dictionary2[SPXX.SLV] == "")
                     {
                         row["slv"] = "";
                         row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(dictionary2[SPXX.SE]).ToString("f2");
                     }
                     else if (Aisino.Fwkp.Print.Common.ObjectToDouble(dictionary2[SPXX.SLV]) == 0.0)
                     {
                         row["slv"] = "***";
                         row["se"]  = "***";
                     }
                     else if ((fpxx.fplx == FPLX.ZYFP) && (fpxx.sLv == "0.05"))
                     {
                         row["slv"] = string.Empty;
                         row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(dictionary2[SPXX.SE]).ToString("f2");
                     }
                     else
                     {
                         row["slv"] = ((Aisino.Fwkp.Print.Common.ObjectToDouble(dictionary2[SPXX.SLV]) * 100.0)).ToString() + "%";
                         row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(dictionary2[SPXX.SE]).ToString("f2");
                     }
                     table.Rows.Add(row);
                 }
                 item.Add("dt", table);
             }
             item.Add("hjje", Aisino.Fwkp.Print.Common.ObjectToDouble(fpxx.je).ToString("f2"));
             double num2 = Aisino.Fwkp.Print.Common.ObjectToDouble(fpxx.se);
             if (fpxx.sLv == "")
             {
                 item.Add("hjse", ((char)0xffe5) + num2.ToString("f2"));
             }
             else if ((num2 == 0.0) && (Aisino.Fwkp.Print.Common.ObjectToDouble(fpxx.sLv) == 0.0))
             {
                 item.Add("hjse", "***");
             }
             else
             {
                 item.Add("hjse", ((char)0xffe5) + Aisino.Fwkp.Print.Common.ObjectToDouble(fpxx.se).ToString("f2"));
             }
             string fhr = fpxx.fhr;
             if (fhr.Length == 11)
             {
                 item.Add("G", fhr[0] == '1');
                 item.Add("G1", fhr[1] == '1');
                 item.Add("G2", fhr[2] == '1');
                 item.Add("G21", fhr[3] == '1');
                 item.Add("G22", fhr[4] == '1');
                 item.Add("G23", fhr[5] == '1');
                 item.Add("G24", fhr[6] == '1');
                 item.Add("X", fhr[7] == '1');
                 item.Add("X1", fhr[8] == '1');
                 item.Add("X2", fhr[9] == '1');
                 item.Add("hzfw", fhr[10] == '1');
                 if (fhr[2] == '1')
                 {
                     item.Add("fpdm1", fpdm);
                     item.Add("fphm1", fphm);
                 }
                 if (fhr[7] == '1')
                 {
                     item.Add("fpdm2", fpdm);
                     item.Add("fphm2", fphm);
                 }
             }
             if (fpxx.hxm == null)
             {
                 item.Add("hpxxbbh", "");
             }
             else
             {
                 item.Add("hpxxbbh", fpxx.hxm);
             }
             listDict.Add(item);
             base.Id = this.string_0;
             return(new DataDict(listDict));
         }
         base._isPrint = "0006";
     }
     return(null);
 }
Пример #3
0
 protected override DataDict DictCreate(params object[] args)
 {
     try
     {
         if (args == null)
         {
             base._isPrint = "0003";
             return(null);
         }
         base.ZYFPLX = "";
         if (args.Length >= 3)
         {
             base._isZYPT = false;
             string str2 = args[0].ToString();
             string str3 = args[1].ToString();
             string str4 = args[2].ToString();
             Fpxx   fpxx = Aisino.Fwkp.Print.Common.GetPTZYFpxxModel(str2, str3, str4, true);
             if (fpxx.hzfw)
             {
                 QdfwUtil.IsQDFW();
             }
             if (((fpxx != null) && (fpxx.Qdxx != null)) && (fpxx.Qdxx.Count > 0))
             {
                 List <Dictionary <string, object> > listDict = new List <Dictionary <string, object> >();
                 List <Dictionary <SPXX, string> >   qdxx     = fpxx.Qdxx;
                 int num3 = qdxx.Count / 0x19;
                 if ((qdxx.Count % 0x19) != 0)
                 {
                     num3++;
                 }
                 DateTime time   = new DateTime(0x7dd, 9, 10, 8, 0x22, 30);
                 TimeSpan span   = (TimeSpan)(DateTime.Now - time);
                 byte[]   buffer = AES_Crypt.Encrypt(ToolUtil.GetBytes(span.TotalSeconds.ToString("F1")), new byte[] {
                     0xff, 0x42, 0xae, 0x95, 11, 0x51, 0xca, 0x15, 0x21, 140, 0x4f, 170, 220, 0x92, 170, 0xed,
                     0xfd, 0xeb, 0x4e, 13, 0xac, 0x80, 0x52, 0xff, 0x45, 0x90, 0x85, 0xca, 0xcb, 0x9f, 0xaf, 0xbd
                 }, new byte[] { 0xf2, 0x1f, 0xac, 0x5b, 0x2c, 0xc0, 0xa9, 0xd0, 0xbc, 0xaf, 0x86, 0x99, 0xad, 170, 0xfb, 0x60 });
                 fpxx.Get_Print_Dj(null, 0, buffer);
                 double num8 = 0.0;
                 double num9 = 0.0;
                 for (int i = 0; i < num3; i++)
                 {
                     Dictionary <string, object> item = new Dictionary <string, object>();
                     item.Add("fpdm", fpxx.fpdm);
                     item.Add("fphm", fpxx.fphm);
                     item.Add("fpzl", "所属增值税" + Aisino.Fwkp.Print.Common.GetInvoiceType(fpxx));
                     item.Add("tkrq", fpxx.kprq);
                     if (fpxx.hzfw)
                     {
                         item.Add("hxm", fpxx.hxm);
                     }
                     DataTable table = new DataTable();
                     table.Columns.Add("xh");
                     table.Columns.Add("hwmc");
                     table.Columns.Add("ggxh");
                     table.Columns.Add("dw");
                     table.Columns.Add("sl");
                     table.Columns.Add("dj");
                     table.Columns.Add("je");
                     table.Columns.Add("slv");
                     table.Columns.Add("se");
                     double num6 = 0.0;
                     double num5 = 0.0;
                     for (int j = i * 0x19; j < ((i + 1) * 0x19); j++)
                     {
                         if (j >= qdxx.Count)
                         {
                             break;
                         }
                         DataRow  row       = table.NewRow();
                         string   str5      = fpxx.Get_Print_Dj(qdxx[j], 0, null);
                         object[] objArray6 = new object[] { str5, 12 };
                         object[] objArray4 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray6);
                         if ((objArray4 != null) && (objArray4.Length > 0))
                         {
                             row["dj"] = Aisino.Fwkp.Print.Common.FormatString(objArray4[0].ToString());
                         }
                         else
                         {
                             row["dj"] = "";
                             base.loger.Error("精度四舍五入错误");
                         }
                         row["xh"] = j + 1;
                         if (base.IsTaoDa)
                         {
                             row["hwmc"] = qdxx[j][SPXX.SPMC];
                         }
                         else
                         {
                             row["hwmc"] = qdxx[j][SPXX.SPMC];
                         }
                         row["ggxh"] = qdxx[j][SPXX.GGXH];
                         row["dw"]   = qdxx[j][SPXX.JLDW];
                         string   str       = qdxx[j][SPXX.SL];
                         object[] objArray2 = new object[] { str, 9 };
                         object[] objArray3 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray2);
                         if ((objArray3 != null) && (objArray3.Length > 0))
                         {
                             row["sl"] = objArray3[0].ToString();
                         }
                         else
                         {
                             row["sl"] = "";
                             base.loger.Error("精度四舍五入错误");
                         }
                         row["je"] = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.JE]).ToString("f2");
                         if (qdxx[j][SPXX.SLV] == "")
                         {
                             row["slv"] = "";
                             row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                         }
                         else if (Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SLV]) == 0.0)
                         {
                             row["slv"] = "***";
                             row["se"]  = "***";
                         }
                         else
                         {
                             double num11 = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SLV]);
                             if ((num11 == 0.05) && (fpxx.fplx == FPLX.ZYFP))
                             {
                                 row["slv"] = "";
                             }
                             else
                             {
                                 row["slv"] = ((num11 * 100.0)).ToString() + "%";
                             }
                             row["se"] = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                         }
                         if (qdxx[j][SPXX.FPHXZ] != "5")
                         {
                             num5 += Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]);
                             num6 += Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.JE]);
                         }
                         table.Rows.Add(row);
                     }
                     item.Add("list", table);
                     item.Add("xjje", num6.ToString("f2"));
                     if (num5 == 0.0)
                     {
                         item.Add("xjse", "***");
                     }
                     else
                     {
                         item.Add("xjse", num5.ToString("f2"));
                     }
                     num8 += num6;
                     num9 += num5;
                     item.Add("zjje", num8.ToString("f2"));
                     if (num9 == 0.0)
                     {
                         item.Add("zjse", "***");
                     }
                     else
                     {
                         item.Add("zjse", num9.ToString("f2"));
                     }
                     item.Add("gfmc", fpxx.gfmc);
                     item.Add("xfmc", fpxx.xfmc);
                     item.Add("bz", fpxx.bz);
                     item.Add("page", i + 1);
                     item.Add("allpage", num3);
                     listDict.Add(item);
                 }
                 if (base.IsTaoDa)
                 {
                     base.Id = this.string_0;
                 }
                 else
                 {
                     base.Id = this.string_1;
                 }
                 return(new DataDict(listDict));
             }
             base._isPrint = "0006";
         }
         base._isPrint = "0006";
         return(null);
     }
     catch (Exception exception)
     {
         base._isPrint = "0003";
         base.loger.Error("[创建数据字典]:" + exception.Message);
         return(null);
     }
 }
Пример #4
0
 private DataTable method_8(Fpxx fpxx_0, int int_0 = 0)
 {
     if (((fpxx_0 != null) && (fpxx_0.Mxxx != null)) && (fpxx_0.Mxxx.Count != 0))
     {
         DataTable table = new DataTable();
         table.Columns.Add("hwmc");
         table.Columns.Add("dj");
         table.Columns.Add("sl");
         table.Columns.Add("je");
         int num  = 10;
         int num2 = 7;
         if (int_0 == 0)
         {
             num  = 10;
             num2 = 7;
         }
         else
         {
             num  = 8;
             num2 = 6;
         }
         float result = 0f;
         float.TryParse(fpxx_0.sLv, out result);
         foreach (Dictionary <SPXX, string> dictionary in fpxx_0.Mxxx)
         {
             DataRow row = table.NewRow();
             row["hwmc"] = dictionary[SPXX.SPMC];
             string   str       = fpxx_0.Get_Print_Dj(dictionary, 0, null);
             object[] objArray2 = new object[] { str, num };
             object[] objArray3 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray2);
             if ((objArray3 != null) && (objArray3.Length > 0))
             {
                 row["dj"] = Aisino.Fwkp.Print.Common.FormatString(objArray3[0].ToString());
             }
             else
             {
                 row["dj"] = "";
                 base.loger.Error("精度四舍五入错误");
             }
             if (dictionary[SPXX.SL] == "0")
             {
                 row["sl"] = string.Empty;
             }
             else
             {
                 object[] objArray5 = new object[] { dictionary[SPXX.SL], num2 };
                 object[] objArray6 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray5);
                 if ((objArray6 != null) && (objArray6.Length > 0))
                 {
                     row["sl"] = objArray6[0].ToString();
                 }
                 else
                 {
                     row["sl"] = "";
                     base.loger.Error("精度四舍五入错误");
                 }
             }
             row["je"] = dictionary[SPXX.JE];
             table.Rows.Add(row);
         }
         return(table);
     }
     base.loger.Error("发票明细信息为空");
     return(null);
 }
Пример #5
0
 private DataTable method_7(Fpxx fpxx_0)
 {
     if (((fpxx_0 != null) && (fpxx_0.Mxxx != null)) && (fpxx_0.Mxxx.Count != 0))
     {
         DataTable table = new DataTable();
         table.Columns.Add("hwmc");
         table.Columns.Add("ggxh");
         table.Columns.Add("dw");
         table.Columns.Add("sl");
         table.Columns.Add("dj");
         table.Columns.Add("je");
         table.Columns.Add("slv");
         table.Columns.Add("se");
         float result = 0f;
         float.TryParse(fpxx_0.sLv, out result);
         foreach (Dictionary <SPXX, string> dictionary in fpxx_0.Mxxx)
         {
             DataRow  row       = table.NewRow();
             string   str       = fpxx_0.Get_Print_Dj(dictionary, 0, null);
             object[] objArray2 = new object[] { str, 12 };
             object[] objArray3 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray2);
             if ((objArray3 != null) && (objArray3.Length > 0))
             {
                 row["dj"] = Aisino.Fwkp.Print.Common.FormatString(objArray3[0].ToString());
             }
             else
             {
                 row["dj"] = "";
                 base.loger.Error("精度四舍五入错误");
             }
             row["hwmc"] = dictionary[SPXX.SPMC];
             row["ggxh"] = dictionary[SPXX.GGXH];
             row["dw"]   = dictionary[SPXX.JLDW];
             if (dictionary[SPXX.SL] == "0")
             {
                 row["sl"] = string.Empty;
             }
             else
             {
                 object[] objArray6 = new object[] { dictionary[SPXX.SL], 9 };
                 object[] objArray4 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray6);
                 if ((objArray4 != null) && (objArray4.Length > 0))
                 {
                     row["sl"] = objArray4[0].ToString();
                 }
                 else
                 {
                     row["sl"] = "";
                     base.loger.Error("精度四舍五入错误");
                 }
             }
             row["je"] = dictionary[SPXX.JE];
             if (dictionary[SPXX.SLV] != "")
             {
                 float num2 = 0f;
                 float.TryParse(dictionary[SPXX.SLV], out num2);
                 if (num2 == 0f)
                 {
                     row["slv"] = "***";
                     row["se"]  = "***";
                 }
                 else if ((fpxx_0.fplx == FPLX.ZYFP) && (num2 == 0.05f))
                 {
                     row["slv"] = "";
                     row["se"]  = dictionary[SPXX.SE];
                 }
                 else
                 {
                     row["slv"] = dictionary[SPXX.SLV];
                     row["se"]  = dictionary[SPXX.SE];
                 }
             }
             else
             {
                 row["slv"] = "";
                 row["se"]  = dictionary[SPXX.SE];
             }
             table.Rows.Add(row);
         }
         return(table);
     }
     base.loger.Error("发票明细信息为空");
     return(null);
 }
Пример #6
0
        protected override DataDict DictCreate(params object[] args)
        {
            try
            {
                if (args == null)
                {
                    base._isPrint = "0003";
                    return(null);
                }
                base.ZYFPLX = "";
                if (args.Length >= 3)
                {
                    base._isZYPT = false;
                    string   str3      = args[0].ToString();
                    string   str4      = args[1].ToString();
                    int      num7      = Convert.ToInt32(args[2]);
                    object[] objArray5 = new object[] { str3, str4, num7 };
                    Fpxx     fpxx      = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPChanXunWenBenJieKouShareMethods", objArray5)[0] as Fpxx;
                    if (fpxx.hzfw)
                    {
                        QdfwUtil.IsQDFW();
                    }
                    if (((fpxx != null) && (fpxx.Qdxx != null)) && (fpxx.Qdxx.Count > 0))
                    {
                        List <Dictionary <string, object> > listDict = new List <Dictionary <string, object> >();
                        List <Dictionary <SPXX, string> >   qdxx     = fpxx.Qdxx;
                        int num5 = qdxx.Count / 0x19;
                        if ((qdxx.Count % 0x19) != 0)
                        {
                            num5++;
                        }
                        DateTime time   = new DateTime(0x7dd, 9, 10, 8, 0x22, 30);
                        TimeSpan span   = (TimeSpan)(DateTime.Now - time);
                        byte[]   buffer = AES_Crypt.Encrypt(ToolUtil.GetBytes(span.TotalSeconds.ToString("F1")), new byte[] {
                            0xff, 0x42, 0xae, 0x95, 11, 0x51, 0xca, 0x15, 0x21, 140, 0x4f, 170, 220, 0x92, 170, 0xed,
                            0xfd, 0xeb, 0x4e, 13, 0xac, 0x80, 0x52, 0xff, 0x45, 0x90, 0x85, 0xca, 0xcb, 0x9f, 0xaf, 0xbd
                        }, new byte[] { 0xf2, 0x1f, 0xac, 0x5b, 0x2c, 0xc0, 0xa9, 0xd0, 0xbc, 0xaf, 0x86, 0x99, 0xad, 170, 0xfb, 0x60 });
                        fpxx.Get_Print_Dj(null, 0, buffer);
                        double num14 = 0.0;
                        double num13 = 0.0;
                        for (int i = 0; i < num5; i++)
                        {
                            Dictionary <string, object> item = new Dictionary <string, object>();
                            item.Add("fpdm", fpxx.fpdm);
                            item.Add("fphm", fpxx.fphm);
                            item.Add("fpzl", "所属增值税" + Aisino.Fwkp.Print.Common.GetInvoiceType(fpxx));
                            item.Add("tkrq", fpxx.kprq);
                            if (fpxx.hzfw)
                            {
                                item.Add("hxm", fpxx.hxm);
                            }
                            DataTable table = new DataTable();
                            table.Columns.Add("xh");
                            table.Columns.Add("hwmc");
                            table.Columns.Add("ggxh");
                            table.Columns.Add("dw");
                            table.Columns.Add("sl");
                            table.Columns.Add("dj");
                            table.Columns.Add("je");
                            table.Columns.Add("slv");
                            table.Columns.Add("se");
                            double num2 = 0.0;
                            double num3 = 0.0;
                            for (int j = i * 0x19; j < ((i + 1) * 0x19); j++)
                            {
                                double num19;
                                if (j >= qdxx.Count)
                                {
                                    break;
                                }
                                DataRow  row       = table.NewRow();
                                string   str2      = fpxx.Get_Print_Dj(qdxx[j], 0, null);
                                object[] objArray2 = new object[] { str2, 12 };
                                object[] objArray3 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray2);
                                if ((objArray3 != null) && (objArray3.Length > 0))
                                {
                                    row["dj"] = Aisino.Fwkp.Print.Common.FormatString(objArray3[0].ToString());
                                }
                                else
                                {
                                    row["dj"] = "";
                                    base.loger.Error("精度四舍五入错误");
                                }
                                row["xh"] = j + 1;
                                if (base.IsTaoDa)
                                {
                                    row["hwmc"] = qdxx[j][SPXX.SPMC];
                                }
                                else
                                {
                                    row["hwmc"] = qdxx[j][SPXX.SPMC];
                                }
                                row["ggxh"] = qdxx[j][SPXX.GGXH];
                                row["dw"]   = qdxx[j][SPXX.JLDW];
                                string   str5      = qdxx[j][SPXX.SL];
                                object[] objArray8 = new object[] { str5, 9 };
                                object[] objArray9 = ServiceFactory.InvokePubService("Aisino.Fwkp.Fpkj.FPPrecisionShareMethod", objArray8);
                                if ((objArray9 != null) && (objArray9.Length > 0))
                                {
                                    row["sl"] = objArray9[0].ToString();
                                }
                                else
                                {
                                    row["sl"] = "";
                                    base.loger.Error("精度四舍五入错误");
                                }
                                row["je"] = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.JE]).ToString("f2");
                                if ((qdxx[j].ContainsKey(SPXX.LSLVBS) && (qdxx[j][SPXX.LSLVBS] != null)) && (qdxx[j][SPXX.LSLVBS] != ""))
                                {
                                    int num10 = Aisino.Fwkp.Print.Common.ObjectToInt(qdxx[j][SPXX.LSLVBS]);
                                    if ((num10 >= 0) && (num10 <= 3))
                                    {
                                        row["se"]  = "***";
                                        row["slv"] = Aisino.Fwkp.Print.Common.smethod_4(qdxx[j][SPXX.LSLVBS]);
                                    }
                                    else
                                    {
                                        row["se"]  = qdxx[j][SPXX.SE];
                                        row["slv"] = qdxx[j][SPXX.SLV];
                                    }
                                    goto Label_0845;
                                }
                                if (!(fpxx.sLv != ""))
                                {
                                    goto Label_0749;
                                }
                                string str = qdxx[j][SPXX.SLV];
                                if (str != null)
                                {
                                    if (str == "0.05")
                                    {
                                        bool flag = fpxx.Zyfplx == ZYFP_LX.HYSY;
                                        if ((fpxx.fplx == FPLX.ZYFP) && flag)
                                        {
                                            row["slv"] = "";
                                            row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                                        }
                                        else
                                        {
                                            row["slv"] = ((Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SLV]) * 100.0)).ToString() + "%";
                                            row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                                        }
                                    }
                                    else if (!(str == "0.015"))
                                    {
                                        if (!(str == "0"))
                                        {
                                            goto Label_06D8;
                                        }
                                        row["slv"] = "***";
                                        row["se"]  = "***";
                                    }
                                    else
                                    {
                                        row["slv"] = "***";
                                        row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                                    }
                                    goto Label_0845;
                                }
Label_06D8:
                                num19      = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SLV]) * 100.0;
                                row["slv"] = num19.ToString() + "%";
                                row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                                goto Label_0845;
Label_0749:
                                if (qdxx[j][SPXX.SLV] != "")
                                {
                                    double num8 = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SLV]) * 100.0;
                                    if (num8 == 0.0)
                                    {
                                        row["slv"] = "***";
                                        row["se"]  = "***";
                                    }
                                    else
                                    {
                                        row["slv"] = num8.ToString() + "%";
                                        row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                                    }
                                }
                                else
                                {
                                    row["slv"] = "";
                                    row["se"]  = Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]).ToString("f2");
                                }
Label_0845:
                                if (qdxx[j][SPXX.FPHXZ] != "5")
                                {
                                    num3 += Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.SE]);
                                    num2 += Aisino.Fwkp.Print.Common.ObjectToDouble(qdxx[j][SPXX.JE]);
                                }
                                table.Rows.Add(row);
                            }
                            item.Add("list", table);
                            item.Add("xjje", num2.ToString("f2"));
                            if (num3 == 0.0)
                            {
                                if (fpxx.sLv == "0")
                                {
                                    item.Add("xjse", "***");
                                }
                                if (fpxx.sLv != "0")
                                {
                                    item.Add("xjse", "0.00");
                                }
                            }
                            else
                            {
                                item.Add("xjse", num3.ToString("f2"));
                            }
                            num14 += num2;
                            num13 += num3;
                            item.Add("zjje", num14.ToString("f2"));
                            if (num13 == 0.0)
                            {
                                if (fpxx.sLv == "0")
                                {
                                    item.Add("zjse", "***");
                                }
                                if (fpxx.sLv != "0")
                                {
                                    item.Add("zjse", "0.00");
                                }
                            }
                            else
                            {
                                item.Add("zjse", num13.ToString("f2"));
                            }
                            item.Add("gfmc", fpxx.gfmc);
                            item.Add("xfmc", fpxx.xfmc);
                            item.Add("bz", fpxx.bz);
                            item.Add("page", i + 1);
                            item.Add("allpage", num5);
                            listDict.Add(item);
                        }
                        if (base.IsTaoDa)
                        {
                            base.Id = this.string_0;
                        }
                        else
                        {
                            base.Id = this.string_1;
                        }
                        return(new DataDict(listDict));
                    }
                    base._isPrint = "0006";
                }
                base._isPrint = "0006";
                return(null);
            }
            catch (Exception exception)
            {
                base._isPrint = "0003";
                base.loger.Error("[创建数据字典]:" + exception.Message);
                return(null);
            }
        }