|
@@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.customer.controller.admin.businessopportunity;
|
|
|
|
|
|
import cn.iocoder.yudao.module.system.api.dept.DeptApi;
|
|
|
import cn.iocoder.yudao.module.system.api.dept.dto.DeptRespDTO;
|
|
|
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import javax.annotation.Resource;
|
|
@@ -109,4 +110,11 @@ public class CustomerBusinessOpportunityController {
|
|
|
BeanUtils.toBean(list, CustomerBusinessOpportunityRespVO.class));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/getOpportunityCode")
|
|
|
+ @Operation(summary = "获取客户商机编号")
|
|
|
+ @ApiOperationSupport(order = 1)
|
|
|
+ public CommonResult<String> getOpportunityCode() {
|
|
|
+ return success(businessOpportunityService.getOpportunityCode());
|
|
|
+ }
|
|
|
+
|
|
|
}
|