fei.wang
2025-04-18 321a74059773cfecc01d6313f7c2e2d45545d6d3
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
59
60
61
62
63
64
package com.hxzkappboot.controller;
 
 
import com.hxzkappboot.mapper.TbFenceMapper;
import com.hxzkappboot.service.TbFakajiService;
import com.hxzkappboot.util.R;
import com.hxzkappboot.util.StatusCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wangfei
 * @since 2024-11-26
 */
@RestController
//@RequestMapping("/tb-fakaji")
public class TbFakajiController {
 
    @Autowired
    TbFakajiService tbFakajiService;
 
    @GetMapping("/api/wx/findFakagui")
    public R findFakagui(String company){
        R response ;
        response = new R(StatusCode.Success);
        response.setData(tbFakajiService.findFakagui(company));
        return response;
    }
 
    @GetMapping("/api/wx/findFakaji")
    public R findAllFence(String company,String deviceid){
        R response ;
        response = new R(StatusCode.Success);
        response.setData(tbFakajiService.findFakaji(company,deviceid));
        return response;
    }
 
    @GetMapping("/api/wx/findFakaTag")
    public R findFakaTag(String slotnumber,String deviceid){
 
        R response ;
        response = new R(StatusCode.Success);
        response.setData(tbFakajiService.findFakaTag(slotnumber,deviceid));
        return response;
 
    }
 
    @GetMapping("/api/wx/undateFaka")
    public R undateFaka(String slotnumber,String deviceid){
 
        R response ;
        response = new R(StatusCode.Success);
        response.setData(tbFakajiService.undateFaka(slotnumber,deviceid));
        return response;
 
    }
 
 
 
}