SVN r1031
SVN-Revision: r1031
This commit is contained in:
@@ -145,6 +145,10 @@ namespace Lskj.QueryEssentialInfo
|
|||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Thread.Sleep(1000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -445,17 +449,24 @@ namespace Lskj.QueryEssentialInfo
|
|||||||
}));
|
}));
|
||||||
SetProcessMsg($"正在查询个人养老金数据...");
|
SetProcessMsg($"正在查询个人养老金数据...");
|
||||||
string yljfqCode = QueryApiUtil.GetYLJFQ(out string yljfqResult, out string yljfqMsg);
|
string yljfqCode = QueryApiUtil.GetYLJFQ(out string yljfqResult, out string yljfqMsg);
|
||||||
if (!yljfqCode.Equals("0"))
|
JObject yljfqJObject = JsonConvert.DeserializeObject(yljfqResult) as JObject;
|
||||||
|
string partRespCode = yljfqJObject.ContainsKey("partRespCode") ? yljfqJObject["partRespCode"] + "" : "0";
|
||||||
|
if (!yljfqCode.Equals("0") || !partRespCode.Equals("0"))
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 5; i++)
|
for (int i = 0; i < 5; i++)
|
||||||
{
|
{
|
||||||
yljfqResult = "";
|
yljfqResult = "";
|
||||||
yljfqMsg = "";
|
yljfqMsg = "";
|
||||||
yljfqCode = QueryApiUtil.GetYLJFQ(out yljfqResult, out yljfqMsg);
|
yljfqCode = QueryApiUtil.GetYLJFQ(out yljfqResult, out yljfqMsg);
|
||||||
if (yljfqCode.Equals("0"))
|
partRespCode = yljfqJObject.ContainsKey("partRespCode") ? yljfqJObject["partRespCode"] + "" : "0";
|
||||||
|
if (yljfqCode.Equals("0") || partRespCode.Equals("0"))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Thread.Sleep(1000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!yljfqCode.Equals("0"))
|
if (!yljfqCode.Equals("0"))
|
||||||
|
|||||||
@@ -35,8 +35,9 @@
|
|||||||
<StartupObject />
|
<StartupObject />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
|
<Reference Include="BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||||
<HintPath>..\Lskj.LserpAll\packages\BouncyCastle.1.8.9\lib\BouncyCastle.Crypto.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\引用DLL\BouncyCastle.Crypto.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Data.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.Data.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.Utils.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<Reference Include="DevExpress.Utils.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
|
|||||||
Reference in New Issue
Block a user