ソースを参照

feat: 报表问题修改

fangxinjian 4 年 前
コミット
95025bfd97

+ 3 - 2
abi-cloud-qr-platform-server/src/main/java/com/abi/qms/platform/dto/res/ListReportRes.java

@@ -9,6 +9,7 @@ import lombok.ToString;
 
 import java.io.Serializable;
 import java.util.List;
+
 /**
  * @author ludashi
  * @date 2021年06月02日 16:26
@@ -18,14 +19,14 @@ import java.util.List;
 public class ListReportRes implements Serializable {
 
     @ApiModelProperty("品牌使用码量占比列表")
-    private List<ListReportRes.ReportRes> qrVariableBeanList;
+    private List<ReportRes> reportResList;
 
     @Data
     @NoArgsConstructor
     @AllArgsConstructor
     @ToString
     @ApiModel(value = "ListReportRes_ReportRes")
-    public class ReportRes implements Serializable {
+    public static class ReportRes implements Serializable {
 
         @ApiModelProperty("品牌名称")
         private String brandName;

+ 1 - 1
abi-cloud-qr-platform-server/src/main/java/com/abi/qms/platform/service/impl/ReportServiceImpl.java

@@ -33,7 +33,7 @@ public class ReportServiceImpl implements ReportService {
         // 封装出参
         ListReportRes res = new ListReportRes();
         List<ListReportRes.ReportRes> reportRes = PojoConverterUtils.copyList(listReportVOS, ListReportRes.ReportRes.class);
-        res.setQrVariableBeanList(reportRes);
+        res.setReportResList(reportRes);
         return res;
     }
 }