whyclxw
2024-02-29 0ddeae63c5ec1397b3cac2664e25b97ae2218568
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
package com.lxw.test3d.controller;
 
import com.lxw.test3d.Service.BattGroupDataService;
import com.lxw.test3d.Service.NjHomeConfigService;
import com.lxw.test3d.dto.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
@Api(tags = "南京测控")
@RestController
@RequestMapping("njConfig")
public class NjHomeConfigController {
    @Autowired
    private NjHomeConfigService service;
 
    @ApiOperation("插入")
    @GetMapping("addToSql")
    public void addToSql(@RequestParam String filePath){
         service.addToSql(filePath);
    }
}