package com.storlead.sales.controller.customer;

import com.storlead.framework.common.result.Result;
import com.storlead.sales.pojo.dto.customer.CustomerAddDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.transaction.annotation.Transactional;
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;

/**
 * @program: sp-sales-platform
 * @description:
 * @author: chenkq
 * @create: 2025-04-29 15:02
 */
@RestController
@RequestMapping("/customer/comparison")
@Api(tags = "销售: 客户管理相关接口")
public class CustomerComparisonApiController {

    @PostMapping(value = "/comparison-customer-name")
    @ApiOperation(value = "客户管理-新增客户校验", notes = "客户管理-新增客户校验")
    @Transactional(rollbackFor = Throwable.class)
    public Result<?> addCheck(@RequestBody CustomerAddDTO customerAddDTO) {



        return Result.ok();
    }
}
