Browse Source
# Conflicts: # epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/controller/IcCustomerReportController.java # epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/IcCustomerReportService.java # epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/IcCustomerReportServiceImpl.javamaster
11 changed files with 222 additions and 3 deletions
@ -0,0 +1,14 @@ |
|||
package com.epmet.commons.feignclient.feigns; |
|||
|
|||
import com.epmet.commons.feignclient.feigns.fallback.JiMuReportOpenFeignClientFallback; |
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/8/8 13:52 |
|||
* @DESC |
|||
*/ |
|||
@FeignClient(name = ServiceConstant.EPMET_JM_REPORT, fallbackFactory = JiMuReportOpenFeignClientFallback.class) |
|||
public interface JiMuReportOpenFeignClient { |
|||
} |
@ -0,0 +1,11 @@ |
|||
package com.epmet.commons.feignclient.feigns.fallback; |
|||
|
|||
import com.epmet.commons.feignclient.feigns.JiMuReportOpenFeignClient; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/8/8 13:53 |
|||
* @DESC |
|||
*/ |
|||
public class JiMuReportOpenFeignClientFallback implements JiMuReportOpenFeignClient { |
|||
} |
@ -0,0 +1,84 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/8/8 10:29 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class ReportResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -5798816843431200300L; |
|||
|
|||
/** |
|||
* 报表名字 |
|||
*/ |
|||
private String reportName; |
|||
|
|||
/** |
|||
* 报表ID |
|||
*/ |
|||
private String reportId; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@JsonIgnore |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户名字 |
|||
*/ |
|||
@JsonIgnore |
|||
private String customerName; |
|||
|
|||
/** |
|||
* 分类名字 |
|||
*/ |
|||
@JsonIgnore |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 分类key |
|||
*/ |
|||
@JsonIgnore |
|||
private String categoryKey; |
|||
|
|||
/** |
|||
* 客户信息集合 |
|||
*/ |
|||
private List<CustomerList> customerList; |
|||
|
|||
|
|||
@Data |
|||
public static class CustomerList implements Serializable{ |
|||
|
|||
private static final long serialVersionUID = 7146198312265513418L; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 客户名字 |
|||
*/ |
|||
private String customerName; |
|||
|
|||
/** |
|||
* 分类名字 |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 分类key |
|||
*/ |
|||
private String categoryKey; |
|||
} |
|||
} |
Loading…
Reference in new issue