qinchulong
2024-10-12 7281004dc3854ed59e9164dcd27a59c8c2cf6667
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_BusinessServices;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IBusinessServices;
using WIDESEA_IStorageBasicServices;
using WIDESEA_Model.Models;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/Dt_BillGroupStock")]
    [ApiController]
    public class Dt_BillGroupStockController : ApiBaseController<IDt_BillGroupStockService, Dt_BillGroupStock>
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
 
        public Dt_BillGroupStockController(IDt_BillGroupStockService service, IHttpContextAccessor httpContextAccessor) : base(service)
        {
            _httpContextAccessor = httpContextAccessor;
        }
 
        /// <summary>
        /// PDA组盘
        /// </summary>
        /// <param name="dt_BillGroupStock">组盘信息</param>
        /// <returns></returns>
        [HttpPost, Route("PDAGroupPlateConfirm"),AllowAnonymous]
        public  WebResponseContent PDAGroupPlateConfirm([FromBody]Dt_BillGroupStock dt_BillGroupStock)
        {
            return Service.PDAGroupPlateConfirm(dt_BillGroupStock);
        }
 
        /// <summary>
        /// PDA组盘撤销
        /// </summary>
        /// <param name="plateCode">托盘号</param>
        /// <returns></returns>
        [HttpPost, Route("PDAGroupPlateRevoke"),AllowAnonymous]
        public WebResponseContent PDAGroupPlateRevoke(string plateCode)
        {
            return Service.PDAGroupPlateRevoke(plateCode);
        }
    }
}