ludc
2023-11-12 12253875406a93c2cc0f02d4abc87505e9898b15
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
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 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 countConfigService.saveMdmCountConfig(mdmCountConfigVO);
    }
 
 
}