From c40fb1ee1c2920807090920cbf6866ab5d03790f Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 27 九月 2024 20:12:47 +0800 Subject: [PATCH] 修改导入结果展示 --- Service/HStation.Service.Xhs.Core/04-dal/02-postgresql/XhsProject.cs | 28 ---------------------------- 1 files changed, 0 insertions(+), 28 deletions(-) diff --git a/Service/HStation.Service.Xhs.Core/04-dal/02-postgresql/XhsProject.cs b/Service/HStation.Service.Xhs.Core/04-dal/02-postgresql/XhsProject.cs index 936e8ce..9266685 100644 --- a/Service/HStation.Service.Xhs.Core/04-dal/02-postgresql/XhsProject.cs +++ b/Service/HStation.Service.Xhs.Core/04-dal/02-postgresql/XhsProject.cs @@ -138,34 +138,6 @@ } /// <summary> - /// 鏇存柊寮�濮嬫椂闂� - /// </summary> - public virtual bool UpdateStartTime(long ID, DateTime StartTime) - { - using (SqlSugarClient db = new(ConnectionConfig)) - { - return db.Updateable<Entity.XhsProject>() - .SetColumns(x => x.StartTime == StartTime) - .Where(x => x.ID == ID) - .ExecuteCommand() > 0; - } - } - - /// <summary> - /// 鏇存柊缁撴潫鏃堕棿 - /// </summary> - public virtual bool UpdateEndTime(long ID, DateTime EndTime) - { - using (SqlSugarClient db = new(ConnectionConfig)) - { - return db.Updateable<Entity.XhsProject>() - .SetColumns(x => x.EndTime == EndTime) - .Where(x => x.ID == ID) - .ExecuteCommand() > 0; - } - } - - /// <summary> /// 閫氳繃 ID 鍒犻櫎 锛堟嫇灞曪級 /// </summary> public bool DeleteExByID(long ID) -- Gitblit v1.9.3