|
|
@@ -84,8 +84,6 @@ public class WarnAnalysisManage { |
|
|
|
* 企业综合预警分析列表 |
|
|
|
*/ |
|
|
|
public PageVo<WarnAnalysisByCompanyVo> listCompanyWarnAnalysis(WarnAnalysisListReq req) { |
|
|
|
String companyName = req.getCompanyName(); |
|
|
|
Integer carCount = warnAnalysisCarMapper.selectVehiclesNum(companyName); |
|
|
|
LambdaQueryWrapper<WarnAnalysisCompany> query = Wrappers.lambdaQuery(WarnAnalysisCompany.class); |
|
|
|
WarnAnalysisManage context = (WarnAnalysisManage) AopContext.currentProxy(); |
|
|
|
context.buildCompanyWarnAnalysisQuery(query, req); |
|
|
@@ -98,6 +96,7 @@ public class WarnAnalysisManage { |
|
|
|
if (Objects.nonNull(w.getRegionId())) { |
|
|
|
vo.setRegions(regionsCacheHelper.listParents(w.getRegionId())); |
|
|
|
} |
|
|
|
Integer carCount = warnAnalysisCarMapper.selectVehiclesNum(w.getCompanyName()); |
|
|
|
vo.setCarCount(carCount); |
|
|
|
CodeUtil.searchCompanyName(vo); |
|
|
|
return vo; |
|
|
|