Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/BasicInfo/IDt_needBarcodeRepository.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicInfo/dt_needBarcode.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/BasicInfo/Dt_needBarcodeRepository.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_needBarcodeService.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/Dt_StationManagerController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/dt_needBarcodeController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicRepository/BasicInfo/IDt_needBarcodeRepository.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,32 @@ #region << ç æ¬ 注 é >> /*---------------------------------------------------------------- * å½å空é´ï¼WIDESEAWCS_ITaskInfoRepository * å建è ï¼è¡ç«¥åº * å建æ¶é´ï¼2024/8/2 16:13:36 * çæ¬ï¼V1.0.0 * æè¿°ï¼ * * ---------------------------------------------------------------- * ä¿®æ¹äººï¼ * ä¿®æ¹æ¶é´ï¼ * çæ¬ï¼V1.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> { } } Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicInfo/dt_needBarcode.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,62 @@ using 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; } } Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicRepository/BasicInfo/Dt_needBarcodeRepository.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,28 @@ #region << ç æ¬ 注 é >> /*---------------------------------------------------------------- * å½å空é´ï¼WIDESEAWCS_TaskInfoRepository * å建è ï¼è¡ç«¥åº * å建æ¶é´ï¼2024/8/2 16:13:36 * çæ¬ï¼V1.0.0 * æè¿°ï¼ * * ---------------------------------------------------------------- * ä¿®æ¹äººï¼ * ä¿®æ¹æ¶é´ï¼ * çæ¬ï¼V1.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) { } } } Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/BasicInfo/Dt_needBarcodeService.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,14 @@ using 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) { } } } Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/Dt_StationManagerController.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,22 @@ using 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; } } } Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/BasicInfo/dt_needBarcodeController.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,22 @@ using 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; } } }