ludc
2024-01-08 82dafa095dcfa9a94ed5b6fa45552e038eae3a12
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
package com.vci.ubcs.code.controller;
 
import com.vci.ubcs.code.service.IGroupMapAttrXMLService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R;
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;
import org.xml.sax.SAXException;
 
import javax.annotation.Resource;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
 
/**
 * 集团属性映射xml配置管理
 * @author ludc
 * @date 2024/1/8 9:41
 */
@RestController
@AllArgsConstructor
@RequestMapping("/groupMapAttrXML")
@Api(value = "集团属性映射xml配置管理", tags = "集团属性映射xml配置管理接口")
public class GroupMapAttrXMLController {
 
    private final IGroupMapAttrXMLService groupMapAttrXMLService;
 
    @GetMapping("/getGroupMapXML")
    public R<String> getGroupMapXMLInfo(@RequestParam("xmlName") String xmlName) throws ParserConfigurationException, IOException, SAXException {
        return R.data(groupMapAttrXMLService.getGroupMapXMLInfo(xmlName));
    }
 
 
 
}