dengjunjie
2025-10-17 55142f3214485c7ec12c5e414a56519f66a1eb1d
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
46
47
48
49
50
51
52
53
54
55
56
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_ISquareCabinServices;
using WIDESEA_Model.Models;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/CabinOrder")]
    [ApiController]
    public class CabinOrderController : ApiBaseController<ICabinOrderServices, Dt_CabinOrder>
    {
        public CabinOrderController(ICabinOrderServices service) : base(service)
        {
        }
 
 
        [HttpPost,Route("GetUpstreamOrder"),AllowAnonymous]
        public WebResponseContent GetUpstreamOrder()
        {
            return Service.GetUpstreamOrder();
        }
 
        /// 查询单信息
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetCabinOrders")]
        public WebResponseContent GetCabinOrders([FromBody] SaveModel saveModel)
        {
            return Service.GetCabinOrders(saveModel);
        }
 
        /// 查询单详情信息
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("GetCabinOrderDetail")]
        public WebResponseContent GetCabinOrderDetail(int pageNo, string orderNo)
        {
            return Service.GetCabinOrderDetail(pageNo,orderNo);
        }
 
        [HttpPost, HttpGet, Route("FeedbackIn")]
        public WebResponseContent FeedbackIn([FromBody] SaveModel saveModel)
        {
            return Service.FeedbackIn(saveModel);
        }
        //[HttpPost, Route("CompleteOrder"), AllowAnonymous]
        //public WebResponseContent CompleteOrder(string order_no)
        //{
        //    return Service.CompleteOrder(order_no);
        //}
 
    }
}