Commit df5f0f49 by Neo Turing

优化,归档后回传

parent 7f9f4bd1
......@@ -150,7 +150,7 @@ namespace Kivii.Third.Chinaerdos.Entities
if (thirdDetails.IsNullOrEmpty()) return false;
var reports = conn.SelectByIds<Report>(thirdDetails.ConvertAll(o => o.ReportKvid));
if (reports.IsNullOrEmpty()) return false;
if (reports.Exists(o => o.Status <= (int)ReportStatusType.ReportIssue)) return false;
if (reports.Exists(o => o.Status < (int)ReportStatusType.ReportCollected)) return false;
var client = new JsonHttpClient(Configs._defaultUrl);
......@@ -169,7 +169,7 @@ namespace Kivii.Third.Chinaerdos.Entities
if (thirdDetail.ReportKvid == Guid.Empty) continue;
var report = reports.FirstOrDefault(o => o.Kvid == thirdDetail.ReportKvid);
if (report == null) continue;
if (report.Status <= (int)ReportStatusType.ReportIssue) continue;
if (report.Status < (int)ReportStatusType.ReportCollected) continue;
var queryReportItems = conn.From<ReportItem>();
queryReportItems.Where(o => o.ReportKvid == report.Kvid);
var allReportItems = conn.Select(queryReportItems);
......
......@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2025.2080")]
[assembly: AssemblyFileVersion("5.4.2025.2080")]
[assembly: AssemblyVersion("5.4.2025.2270")]
[assembly: AssemblyFileVersion("5.4.2025.2270")]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment