画像开发
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.volvo.ai.analytic.center.dto.resp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class CompetingBrrandsDTO {
|
||||
|
||||
// (燃料类型)
|
||||
private String failModelId;
|
||||
private String failBrand;
|
||||
private String brandName;
|
||||
private String failSeries;
|
||||
private String brandSeries;
|
||||
private String dataSource;
|
||||
private String isValid;
|
||||
private String parentId;
|
||||
private String level;
|
||||
private String remark;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.volvo.ai.analytic.center.feign;
|
||||
|
||||
import com.volvo.ai.analytic.center.dto.resp.CompetingBrrandsDTO;
|
||||
import com.volvo.ai.analytic.center.dto.resp.ResultDTO;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@FeignClient(url = "${mse-in.url.dms}", contextId = "customerbusiness", value = "customerbusinessClient", path = "/2b/cyxdms.customerbusiness")
|
||||
public interface CompetingBrandsClient {
|
||||
|
||||
@PostMapping(name = "查询竞品车型", path = "/failModel/getBrand")
|
||||
ResultDTO<List<CompetingBrrandsDTO>> getBrand();
|
||||
|
||||
@GetMapping(name = "查询竞品车型", path = "/failModel/getSeriesByBrandId")
|
||||
ResultDTO<List<CompetingBrrandsDTO>> getSeriesByBrandId(@RequestParam("failModelId") String failModelId);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user