dengjunjie
2025-10-27 6966c63c04c57ddec44e2e0c00c544a09737097b
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
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IWMsInfoServices;
using WIDESEA_Model.Models;
 
namespace WIDESEA_WMSServer.Controllers.WMSInfo
{
    [Route("api/[controller]")]
    [ApiController]
    public class SupplyTaskHtyController : ApiBaseController<ISupplyTaskHtyService, Dt_SupplyTask_Hty>
    {
        public SupplyTaskHtyController(ISupplyTaskHtyService service) : base(service)
        {
        }
        [HttpPost, HttpGet, Route("GetInOutTasks"), AllowAnonymous]
        public object GetInOutTasks()
        {
            WebResponseContent content = Service.GetInOutTasks();
            if (!content.Status)
            {
                return new
                {
                    code = "404",
                    note = content.Message
                };
            }
            else
            {
                return new
                {
                    code = "000",
                    note = "成功",
                    date = content.Data
                };
            }
        }
        
    }
}