1
huanghongfeng
2025-03-07 f1f29f5329102870476653fa6c6ca42b80226078
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
 
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_Core.Const;
using WIDESEA_Core.Helper;
using WIDESEA_Core.HttpContextUser;
using WIDESEA_ISystemService;
using WIDESEA_Model;
using WIDESEA_Model.Models;
using WIDESEA_Model.Models.System;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/Dt_Repair")]
    
    [ApiController]
    public class Dt_RepairController : ApiBaseController<IDt_RepairService, Dt_Repair>
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
 
        public Dt_RepairController(IDt_RepairService tenantService, IHttpContextAccessor httpContextAccessor) : base(tenantService)
        {
            _httpContextAccessor = httpContextAccessor;
        }
 
        [HttpGet, Route("GetBarcodeMessage"), AllowAnonymous] 
        public WebResponseContent GetBarcodeMessage(string barocde)
        {
            return Service.GetBarcodeMessage(barocde);
        }
 
        [HttpGet, Route("UpdateBarcode"), AllowAnonymous]
        public WebResponseContent UpdateBarcode(string barocde)
        {
            return Service.UpdateBarcode(barocde);
        }
 
        [HttpGet, Route("UpdateBarcoend"), AllowAnonymous]
        public WebResponseContent UpdateBarcoend(string barocde, int wcount, int selectvalue)
        {
            return Service.UpdateBarcoend(barocde, wcount, selectvalue);
        }
        [HttpGet, Route("UpdateBarcoendwj"), AllowAnonymous]
        public WebResponseContent UpdateBarcoendwj(string barocde)
        {
            return Service.UpdateBarcoendwj(barocde);
        }
    }
}