From 05ffeb287cd0b8b8d2ef1b3d6ce5f274b0d9adcc Mon Sep 17 00:00:00 2001
From: wet <1034391973@qq.com>
Date: Mon, 9 Jan 2023 11:58:42 +0800
Subject: [PATCH] =?UTF-8?q?=E8=88=B9=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Myshipping.Core/Myshipping.Core.xml | 13 +++++++++++++
.../Service/DjyVesselInfo/DjyVesselInfoService.cs | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/Myshipping.Core/Myshipping.Core.xml b/Myshipping.Core/Myshipping.Core.xml
index 5080a8f3..8ea43033 100644
--- a/Myshipping.Core/Myshipping.Core.xml
+++ b/Myshipping.Core/Myshipping.Core.xml
@@ -9311,6 +9311,19 @@
+
+
+ 重置秘钥
+
+
+
+
+
+
+ 生成新秘钥
+
+
+
接口授权输出参数
diff --git a/Myshipping.Core/Service/DjyVesselInfo/DjyVesselInfoService.cs b/Myshipping.Core/Service/DjyVesselInfo/DjyVesselInfoService.cs
index 1983ec90..83f46acf 100644
--- a/Myshipping.Core/Service/DjyVesselInfo/DjyVesselInfoService.cs
+++ b/Myshipping.Core/Service/DjyVesselInfo/DjyVesselInfoService.cs
@@ -103,8 +103,8 @@ namespace Myshipping.Core.Service
Voyno = x.Voyno,
VoynoInside = x.VoynoInside,
Vessel = x.Vessel,
- ETD = x.ETD,
- ATD = x.ATD,
+ ETD = x.ETD==null?"":Convert.ToDateTime(x.ETD).ToString("yyyy-MM-dd"),
+ ATD = x.ATD == null ? "" : Convert.ToDateTime(x.ATD).ToString("yyyy-MM-dd"),
}).Take(20).
ToListAsync();