dengjunjie
2025-02-17 2bdad959bc30a7c24bf08ca81fb52fff63e79f52
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs
@@ -17,10 +17,35 @@
        public PalletCodeInfoController(IPalletCodeInfoService service) : base(service)
        {
        }
        /// <summary>
        /// 鐢熸垚鏉$爜
        /// </summary>
        /// <param name="palletCodeInfo"></param>
        /// <returns></returns>
        [HttpPost, Route("newBarcodeLib"), AllowAnonymous]
        public string newBarcodeLib([FromBody] palletCodeInfoDTO palletCodeInfo)
        public string newBarcodeLib(int key)
        {
            return Service.newBarcodeLib(key);
        }
        /// <summary>
        /// 鐢熸垚鏉$爜
        /// </summary>
        /// <param name="palletCodeInfo"></param>
        /// <returns></returns>
        [HttpPost, Route("newBarcodeLib1"), AllowAnonymous]
        public string newBarcodeLib1([FromBody] palletCodeInfoDTO palletCodeInfo)
        {
            return Service.newBarcodeLib(palletCodeInfo);
        }
        /// <summary>
        /// 鎵撳嵃鏉$爜
        /// </summary>
        /// <param name="keys"></param>
        /// <returns></returns>
        [HttpPost, Route("PrintBarcodeLib"), AllowAnonymous]
        public WebResponseContent PrintBarcodeLib([FromBody] List<int> keys)
        {
            return Service.PrintBarcodeLib(keys);
        }
    }
}