xiejun
2023-10-18 e40973680e8842a0797ca2e1cd45ec5e6bf0f3d8
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
package com.vci.ubcs.system.controller;
 
import com.vci.ubcs.system.entity.MdmCountConfig;
import com.vci.ubcs.system.service.IMdmCountConfigService;
import com.vci.ubcs.system.vo.MdmCountConfigVO;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import oracle.jdbc.proxy.annotation.Post;
import org.springblade.core.tenant.annotation.NonDS;
import org.springblade.core.tool.api.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author ludc
 * @date 2023/10/18 8:54
 */
@NonDS
@RestController
@AllArgsConstructor
@RequestMapping("/mdmCountConfig")
@Api(value = "字典", tags = "字典")
public class MdmCountConfigController {
 
    private final IMdmCountConfigService countConfigService;
 
    @PostMapping("/save")
    public R saveConfig(@RequestBody MdmCountConfigVO mdmCountConfigVO){
        return R.status(countConfigService.saveMdmCountConfig(mdmCountConfigVO));
    }
 
 
}