From deee10bc260c5abc52f75e594247c8796a7ebe04 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Tue, 22 Oct 2024 12:29:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E5=B8=B8=E6=94=AF=E5=87=BA?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=EF=BC=8Cbug=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/StatisticAnalysisImpl.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/StatisticAnalysisImpl.java b/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/StatisticAnalysisImpl.java index fe5cac9..5d6c8ae 100644 --- a/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/StatisticAnalysisImpl.java +++ b/ruoyi-modules/intc-invest/src/main/java/com/ruoyi/invest/service/impl/StatisticAnalysisImpl.java @@ -2687,10 +2687,31 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService { map.put("top10Name",accountsDealRecordVoList.get(9).getName()); map.put("top10",accountsDealRecordVoList.get(9).getAmount()); } + if(accountsDealRecordVoList.size()>10){ map.put("top11Name",accountsDealRecordVoList.get(10).getName()); map.put("top11",accountsDealRecordVoList.get(10).getAmount()); } + if(accountsDealRecordVoList.size()>11){ + map.put("top12Name",accountsDealRecordVoList.get(11).getName()); + map.put("top12",accountsDealRecordVoList.get(11).getAmount()); + } + if(accountsDealRecordVoList.size()>12){ + map.put("top13Name",accountsDealRecordVoList.get(12).getName()); + map.put("top13",accountsDealRecordVoList.get(12).getAmount()); + } + if(accountsDealRecordVoList.size()>13){ + map.put("top14Name",accountsDealRecordVoList.get(13).getName()); + map.put("top14",accountsDealRecordVoList.get(13).getAmount()); + } + if(accountsDealRecordVoList.size()>14){ + map.put("top15Name",accountsDealRecordVoList.get(14).getName()); + map.put("top15",accountsDealRecordVoList.get(14).getAmount()); + } + if(accountsDealRecordVoList.size()>15){ + map.put("top16Name",accountsDealRecordVoList.get(15).getName()); + map.put("top16",accountsDealRecordVoList.get(15).getAmount()); + } ArrayList> acccountsList = new ArrayList<>(); for (AccountsDealRecordVo vo:accountsDealRecordVoList ) {