|
@@ -1,10 +1,9 @@
|
|
|
package com.abi.qms.platform.service.impl;
|
|
|
|
|
|
import com.abi.qms.platform.dao.mapper.ReportServiceMapper;
|
|
|
-import com.abi.qms.platform.dao.vo.result.ListReportVO;
|
|
|
+import com.abi.qms.platform.dao.vo.result.ListBrandCodeReportVO;
|
|
|
import com.abi.qms.platform.dto.req.ReportReq;
|
|
|
-import com.abi.qms.platform.dto.res.ListQrVariableRes;
|
|
|
-import com.abi.qms.platform.dto.res.ListReportRes;
|
|
|
+import com.abi.qms.platform.dto.res.ListBrandCodeReportRes;
|
|
|
import com.abi.qms.platform.service.ReportService;
|
|
|
import com.abi.task.common.utils.PojoConverterUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -28,12 +27,12 @@ public class ReportServiceImpl implements ReportService {
|
|
|
* @date 2021/6/2 16:06
|
|
|
*/
|
|
|
@Override
|
|
|
- public ListReportRes queryBrandCodeProportion(ReportReq reportReq) {
|
|
|
- List<ListReportVO> listReportVOS = reportServiceMapper.queryBrandCodeProportion(reportReq);
|
|
|
+ public ListBrandCodeReportRes queryBrandCodeProportion(ReportReq reportReq) {
|
|
|
+ List<ListBrandCodeReportVO> listReportVOS = reportServiceMapper.queryBrandCodeProportion(reportReq);
|
|
|
// 封装出参
|
|
|
- ListReportRes res = new ListReportRes();
|
|
|
- List<ListReportRes.ReportRes> reportRes = PojoConverterUtils.copyList(listReportVOS, ListReportRes.ReportRes.class);
|
|
|
- res.setReportResList(reportRes);
|
|
|
+ ListBrandCodeReportRes res = new ListBrandCodeReportRes();
|
|
|
+ List<ListBrandCodeReportRes.BrandCodeReportBean> reportRes = PojoConverterUtils.copyList(listReportVOS, ListBrandCodeReportRes.BrandCodeReportBean.class);
|
|
|
+ res.setReportBrandCodeResList(reportRes);
|
|
|
return res;
|
|
|
}
|
|
|
}
|