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));
|
}
|
|
|
|
}
|