From 6705349f2e750a2e06f384bea66c0bd72bfb9475 Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期三, 18 十二月 2024 21:18:26 +0800 Subject: [PATCH] 遗漏上传项目 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_needBarcodeService.cs | 14 ++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/dt_needBarcodeController.cs | 22 +++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicInfo/dt_needBarcode.cs | 62 ++++++++++++++++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/BasicInfo/Dt_needBarcodeRepository.cs | 28 +++++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/Dt_StationManagerController.cs | 22 +++++++ Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/BasicInfo/IDt_needBarcodeRepository.cs | 32 ++++++++++ 6 files changed, 180 insertions(+), 0 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/BasicInfo/IDt_needBarcodeRepository.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/BasicInfo/IDt_needBarcodeRepository.cs new file mode 100644 index 0000000..f703426 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/BasicInfo/IDt_needBarcodeRepository.cs @@ -0,0 +1,32 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_ITaskInfoRepository + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_BasicInfoRepository +{ + public interface IDt_needBarcodeRepository : IRepository<dt_needBarcode> + { + + } +} diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicInfo/dt_needBarcode.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicInfo/dt_needBarcode.cs new file mode 100644 index 0000000..1c892e5 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicInfo/dt_needBarcode.cs @@ -0,0 +1,62 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Text; +using WIDESEA_Core.DB.Models; +using WIDESEA_Model.Models; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable("dt_needBarcode")] + public class dt_needBarcode : BaseEntity + { + [Key] + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int id { get; set; } + + /// <summary> + /// 鐩爣搴撳尯 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鐩爣搴撳尯")] + public string toArea { get; set; } + + /// <summary> + /// 鏉ユ簮搴撳尯 + /// </summary> + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鏉ユ簮搴撳尯")] + public string fromArea { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鎵樼洏绫诲瀷")] + public string barcodeType { get; set; } + + /// <summary> + /// 浜х嚎 + /// </summary> + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鎵�灞炰骇绾�")] + public string productLine { get; set; } + + /// <summary> + /// 鍦ㄩ�旀暟閲� + /// </summary> + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鍦ㄩ�旀暟閲�")] + public int inLineNum { get; set; } + + /// <summary> + /// 鐩爣缂撳瓨鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鍙紦瀛樻暟閲�")] + public int cacheNum { get; set; } = 0; + + + /// <summary> + /// 宸插垱寤哄嚭搴撲换鍔℃暟閲� + /// </summary> + //[NotMapped] + //public int haveOutNum { get; set; } = 0; + } +} diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/BasicInfo/Dt_needBarcodeRepository.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/BasicInfo/Dt_needBarcodeRepository.cs new file mode 100644 index 0000000..af6b2d3 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/BasicInfo/Dt_needBarcodeRepository.cs @@ -0,0 +1,28 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_TaskInfoRepository + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_BasicInfoRepository +{ + public class Dt_needBarcodeRepository : RepositoryBase<dt_needBarcode>, IDt_needBarcodeRepository + { + public Dt_needBarcodeRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_needBarcodeService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_needBarcodeService.cs new file mode 100644 index 0000000..36a7f72 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_needBarcodeService.cs @@ -0,0 +1,14 @@ +锘縰sing WIDESEA_IServices; +using WIDESEAWCS_BasicInfoRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_BasicInfoService +{ + public partial class dt_needBarcodeService : ServiceBase<dt_needBarcode, IDt_needBarcodeRepository>, Idt_needBarcodeService + { + public dt_needBarcodeService(IDt_needBarcodeRepository BaseDal) : base(BaseDal) + { + + } + } +} \ No newline at end of file diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/Dt_StationManagerController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/Dt_StationManagerController.cs new file mode 100644 index 0000000..167b7c9 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/Dt_StationManagerController.cs @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using WIDESEA_BusinessServices; +using WIDESEA_Core.BaseController; +using WIDESEA_IBusinessServices; +using WIDESEA_Model.Models; +using WIDESEAWCS_BasicInfoService; +using WIDESEAWCS_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + [Route("api/Dt_StationManager")] + [ApiController] + public class Dt_StationManagerController : ApiBaseController<IDt_StationManagerService, Dt_StationManager> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public Dt_StationManagerController(IDt_StationManagerService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + } +} diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/dt_needBarcodeController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/dt_needBarcodeController.cs new file mode 100644 index 0000000..63f5557 --- /dev/null +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/dt_needBarcodeController.cs @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using WIDESEA_BusinessServices; +using WIDESEA_Core.BaseController; +using WIDESEA_IBusinessServices; +using WIDESEA_Model.Models; +using WIDESEAWCS_BasicInfoService; +using WIDESEAWCS_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + [Route("api/dt_needBarcode")] + [ApiController] + public class dt_needBarcodeController : ApiBaseController<Idt_needBarcodeService, dt_needBarcode> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public dt_needBarcodeController(Idt_needBarcodeService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + } +} -- Gitblit v1.9.3