dp
huanghongfeng
2025-03-24 0770b93e35cda4a953dcfd50490c1dcabef25031
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
57
58
 
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);
        }
 
        [HttpPost, Route("NumberOverhauls"), AllowAnonymous]
        public Object NumberOverhauls()
        {
            return Service.NumberOverhauls();
        }
    }
}