From e6da9b8ee8d038464da1e5f048565b7196729d51 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期三, 30 十月 2024 09:37:56 +0800 Subject: [PATCH] 1 --- /dev/null | 0 WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs | 19 +++++++++ WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/ade235eb-fbdf-4815-b117-a62bd238d39b.vsidx | 0 WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs | 17 ++++++++ WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs | 14 +++++++ WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs | 18 +++++++++ WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/2ddc4f6e-5256-4fc8-b4f1-b46f86742993.vsidx | 0 WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs | 14 +++++++ 8 files changed, 82 insertions(+), 0 deletions(-) diff --git a/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/2ddc4f6e-5256-4fc8-b4f1-b46f86742993.vsidx b/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/2ddc4f6e-5256-4fc8-b4f1-b46f86742993.vsidx new file mode 100644 index 0000000..678d094 --- /dev/null +++ b/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/2ddc4f6e-5256-4fc8-b4f1-b46f86742993.vsidx Binary files differ diff --git a/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/ade235eb-fbdf-4815-b117-a62bd238d39b.vsidx b/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/ade235eb-fbdf-4815-b117-a62bd238d39b.vsidx new file mode 100644 index 0000000..0e8deae --- /dev/null +++ b/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/ade235eb-fbdf-4815-b117-a62bd238d39b.vsidx Binary files differ diff --git a/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/df097475-a21c-477f-bae8-fdcb85add7c1.vsidx b/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/df097475-a21c-477f-bae8-fdcb85add7c1.vsidx deleted file mode 100644 index 70aef67..0000000 --- a/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/df097475-a21c-477f-bae8-fdcb85add7c1.vsidx +++ /dev/null Binary files differ diff --git a/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs b/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs new file mode 100644 index 0000000..3c9f9a8 --- /dev/null +++ b/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_LogRepository : IRepository<Sys_Log> + { + } +} diff --git a/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs b/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs new file mode 100644 index 0000000..166d420 --- /dev/null +++ b/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_LogService : IService<Sys_Log> + { + } +} diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs b/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs new file mode 100644 index 0000000..8bf9b04 --- /dev/null +++ b/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_Server.Controllers.System +{ + [Route("api/[controller]")] + [ApiController] + public class Sys_LogController : ApiBaseController<ISys_LogService, Sys_Log> + { + public Sys_LogController(ISys_LogService service) : base(service) + { + } + } +} diff --git a/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs b/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs new file mode 100644 index 0000000..f61053e --- /dev/null +++ b/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_LogRepository : RepositoryBase<Sys_Log>, ISys_LogRepository + { + public Sys_LogRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git a/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs b/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs new file mode 100644 index 0000000..fdb3067 --- /dev/null +++ b/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_LogService : ServiceBase<Sys_Log, ISys_LogRepository>, ISys_LogService + { + public Sys_LogService(ISys_LogRepository BaseDal) : base(BaseDal) + { + } + } +} -- Gitblit v1.9.3