From de821d69ff8a57fa9ea7cb1c0138997cad9754ae Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <1247017146@qq.com> Date: 星期一, 07 四月 2025 15:14:58 +0800 Subject: [PATCH] 1 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/IMOMErrorMessageRepository.cs | 7 +++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationServices/Error/IMOMErrorMessageService.cs | 14 +++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MOMErrorMessageController.cs | 13 ++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MOM/Error/MOMErrorMessageService.cs | 15 +++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/MOMErrorMessageRepository.cs | 8 ++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/GlobalUsing.cs | 3 + Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/GlobalUsing.cs | 17 ++++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/GlobalUsing.cs | 2 + 8 files changed, 79 insertions(+), 0 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/GlobalUsing.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/GlobalUsing.cs new file mode 100644 index 0000000..74a991a --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/GlobalUsing.cs @@ -0,0 +1,2 @@ +锘縢lobal using WIDESEA_Core.BaseRepository; +global using WIDESEA_Model.Models; \ No newline at end of file diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/IMOMErrorMessageRepository.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/IMOMErrorMessageRepository.cs new file mode 100644 index 0000000..1ab60b2 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationRepository/IMOMErrorMessageRepository.cs @@ -0,0 +1,7 @@ +锘� +namespace WIDESEA_IStoragIntegrationRepository; + +public interface IMOMErrorMessageRepository : IRepository<MOMErrorMessage> +{ + +} \ No newline at end of file diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationServices/Error/IMOMErrorMessageService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationServices/Error/IMOMErrorMessageService.cs new file mode 100644 index 0000000..2033e11 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStoragIntegrationServices/Error/IMOMErrorMessageService.cs @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IStoragIntegrationServices.MOM.Error +{ + public interface IMOMErrorMessageService : IService<MOMErrorMessage> + { + } +} diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/GlobalUsing.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/GlobalUsing.cs new file mode 100644 index 0000000..164021d --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/GlobalUsing.cs @@ -0,0 +1,3 @@ +锘縢lobal using WIDESEA_Core.BaseRepository; +global using WIDESEA_IStoragIntegrationRepository; +global using WIDESEA_Model.Models; \ No newline at end of file diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/MOMErrorMessageRepository.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/MOMErrorMessageRepository.cs new file mode 100644 index 0000000..bfe40ab --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationRepository/MOMErrorMessageRepository.cs @@ -0,0 +1,8 @@ +锘縩amespace WIDESEA_StoragIntegrationRepository; + +public class MOMErrorMessageRepository : RepositoryBase<MOMErrorMessage>, IMOMErrorMessageRepository +{ + public MOMErrorMessageRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } +} \ No newline at end of file diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/GlobalUsing.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/GlobalUsing.cs new file mode 100644 index 0000000..540a0d0 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/GlobalUsing.cs @@ -0,0 +1,17 @@ +锘縢lobal using AutoMapper; +global using WIDESEA_Core; +global using WIDESEA_Core.Enums; +global using WIDESEA_Core.BaseRepository; +global using WIDESEA_Core.BaseServices; +global using WIDESEA_Core.Helper; +global using WIDESEA_IStorageTaskRepository; +global using WIDESEA_Model.Models; +global using WIDESEA_IBusinessesRepository; +global using WIDESEA_IStorageBasicRepository; +global using WIDESEA_IStorageBasicService; +global using LogLibrary.Log; +global using Newtonsoft.Json; +global using WIDESEA_IStoragIntegrationRepository; +global using WIDESEA_IStoragIntegrationServices.MOM.Error; +global using WIDESEA_Common; +global using WIDESEA_DTO; \ No newline at end of file diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MOM/Error/MOMErrorMessageService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MOM/Error/MOMErrorMessageService.cs new file mode 100644 index 0000000..52c6571 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MOM/Error/MOMErrorMessageService.cs @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_StoragIntegrationServices.MOM.Error +{ + public class MOMErrorMessageService : ServiceBase<MOMErrorMessage, IMOMErrorMessageRepository>, IMOMErrorMessageService + { + public MOMErrorMessageService(IMOMErrorMessageRepository BaseDal) : base(BaseDal) + { + } + } +} diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MOMErrorMessageController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MOMErrorMessageController.cs new file mode 100644 index 0000000..5af6164 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MOMErrorMessageController.cs @@ -0,0 +1,13 @@ +锘縰sing WIDESEA_IStoragIntegrationServices.MOM.Error; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers; + +[Route("api/MOMErrorMessage")] +[ApiController] +public class MOMErrorMessageController : ApiBaseController<IMOMErrorMessageService, MOMErrorMessage> +{ + public MOMErrorMessageController(IMOMErrorMessageService service) : base(service) + { + } +} \ No newline at end of file -- Gitblit v1.9.3