From e2b314f1b625c6853035684280973997e2163573 Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Fri, 9 Jun 2023 17:08:12 +0800 Subject: [PATCH] 1 --- Myshipping.Application/Service/DataSync/DataSyncService.cs | 2 +- Myshipping.Core/Entity/DJY/DjyVesselInfo.cs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Myshipping.Application/Service/DataSync/DataSyncService.cs b/Myshipping.Application/Service/DataSync/DataSyncService.cs index 43195535..910071d6 100644 --- a/Myshipping.Application/Service/DataSync/DataSyncService.cs +++ b/Myshipping.Application/Service/DataSync/DataSyncService.cs @@ -2290,7 +2290,7 @@ namespace Myshipping.Application public async Task GetSyncVesselDate() { - var list = await _vesselinfo.AsQueryable().Filter(null, true).Where(x => x.ATD == null && x.TenantId == UserManager.TENANT_ID && (x.Voyno != null && x.Voyno != "")).Select(x => new + var list = await _vesselinfo.AsQueryable().Filter(null, true).Where(x =>x.Sign==false&&x.ATD == null && x.TenantId == UserManager.TENANT_ID && (x.Voyno != null && x.Voyno != "")).Select(x => new { Vessel = x.Vessel, Voyno = x.Voyno, diff --git a/Myshipping.Core/Entity/DJY/DjyVesselInfo.cs b/Myshipping.Core/Entity/DJY/DjyVesselInfo.cs index c87adc41..42a6aeb1 100644 --- a/Myshipping.Core/Entity/DJY/DjyVesselInfo.cs +++ b/Myshipping.Core/Entity/DJY/DjyVesselInfo.cs @@ -94,8 +94,11 @@ namespace Myshipping.Application.Entity /// public string BSNO { get; set; } + /// + /// 是否调用接口标志 + /// + public bool Sign { get; set; } - }