|
|
@ -309,7 +309,6 @@ public class BsSgcjsjdBuiProInfoService extends BaseService<BsSgcjsjdBuiProInfoM |
|
|
|
List<HistogramDto> list = bsSgcjsjdBuiProInfoMapper.getHistogram(user.getId(),user.getUserType()); |
|
|
|
HashMap<String, Use> map = new HashMap<>(); |
|
|
|
for (int i = 0; i < list.size(); i++) { |
|
|
|
|
|
|
|
Use use = new Use(); |
|
|
|
if (list.get(i).getIsMajor().equals("zd")) { |
|
|
|
use.setZd(list.get(i).getNum()); |
|
|
@ -317,8 +316,6 @@ public class BsSgcjsjdBuiProInfoService extends BaseService<BsSgcjsjdBuiProInfoM |
|
|
|
use.setMs(list.get(i).getNum()); |
|
|
|
} |
|
|
|
for (int j = 0; j < list.size(); j++) { |
|
|
|
|
|
|
|
|
|
|
|
if (list.get(i).getCity().equals(list.get(j).getCity()) |
|
|
|
&& !list.get(i).getIsMajor().equals(list.get(j).getIsMajor())) { |
|
|
|
if (list.get(j).getIsMajor().equals("zd")) { |
|
|
|