using Microsoft.AspNetCore.Http; 
 | 
using Microsoft.AspNetCore.Mvc; 
 | 
using WIDESEA_Core; 
 | 
using WIDESEA_Core.BaseController; 
 | 
using WIDESEA_IBasicService; 
 | 
using WIDESEA_Model.Models; 
 | 
  
 | 
namespace WIDESEA_WMSServer.Controllers.Basic 
 | 
{ 
 | 
    [Route("api/[controller]")] 
 | 
    [ApiController] 
 | 
    public class PalletCodeInfoController : ApiBaseController<IPalletCodeInfoService, Dt_PalletCodeInfo> 
 | 
    { 
 | 
        public PalletCodeInfoController(IPalletCodeInfoService service) : base(service) 
 | 
        { 
 | 
        } 
 | 
  
 | 
        /// <summary> 
 | 
        ///  
 | 
        /// </summary> 
 | 
        /// <param name="warehouseId"></param> 
 | 
        /// <param name="count"></param> 
 | 
        /// <param name="palletTypeId"></param> 
 | 
        /// <returns></returns> 
 | 
        [HttpPost, Route("AddPalletCodeData")] 
 | 
        public WebResponseContent AddData(int warehouseId, int count, int palletTypeId) 
 | 
        { 
 | 
            return Service.AddData(warehouseId, count, palletTypeId); 
 | 
        } 
 | 
  
 | 
        /// <summary> 
 | 
        ///  
 | 
        /// </summary> 
 | 
        /// <param name="printCode"></param> 
 | 
        /// <returns></returns> 
 | 
        [HttpPost, Route("PrintStatusUp")] 
 | 
        public WebResponseContent PrintStatusUp(string printCode) 
 | 
        { 
 | 
            return Service.PrintStatusUp(printCode); 
 | 
        } 
 | 
    } 
 | 
} 
 |