|  | @@ -86,7 +86,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
											
												
													
														|  |  		if(Objects.nonNull(queryInfo.getStartDate())){
 |  |  		if(Objects.nonNull(queryInfo.getStartDate())){
 | 
											
												
													
														|  |  			startDate = LocalDateTime.ofInstant(queryInfo.getStartDate().toInstant(), DateUtil.zoneId).toLocalDate();
 |  |  			startDate = LocalDateTime.ofInstant(queryInfo.getStartDate().toInstant(), DateUtil.zoneId).toLocalDate();
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +		startDate = startDate.plusDays(-180);
 | 
											
												
													
														|  |  		LocalDate endDate = nowDate.plusDays(-1);
 |  |  		LocalDate endDate = nowDate.plusDays(-1);
 | 
											
												
													
														|  |  		if(Objects.nonNull(queryInfo.getEndDate())){
 |  |  		if(Objects.nonNull(queryInfo.getEndDate())){
 | 
											
												
													
														|  |  			endDate = LocalDateTime.ofInstant(queryInfo.getEndDate().toInstant(), DateUtil.zoneId).toLocalDate();
 |  |  			endDate = LocalDateTime.ofInstant(queryInfo.getEndDate().toInstant(), DateUtil.zoneId).toLocalDate();
 | 
											
										
											
												
													
														|  | @@ -277,6 +277,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
											
												
													
														|  |  			}
 |  |  			}
 | 
											
												
													
														|  |  			IndexBaseDto indexBaseData = new IndexBaseDto(typeDateMapEntry.getKey(),typeDateMapEntry.getKey().getMsg());
 |  |  			IndexBaseDto indexBaseData = new IndexBaseDto(typeDateMapEntry.getKey(),typeDateMapEntry.getKey().getMsg());
 | 
											
												
													
														|  |  			indexBaseData.setIndexMonthData(value, currentMonth);
 |  |  			indexBaseData.setIndexMonthData(value, currentMonth);
 | 
											
												
													
														|  | 
 |  | +			indexBaseData.setPercent(value.stream().map(IndexBaseMonthData::getPercent).reduce(BigDecimal.ZERO, BigDecimal::add));
 | 
											
												
													
														|  |  			if(OTHER_AMOUNT.equals(typeDateMapEntry.getKey())){
 |  |  			if(OTHER_AMOUNT.equals(typeDateMapEntry.getKey())){
 | 
											
												
													
														|  |  				List<IndexBaseMonthData> otherAmountDetails = new ArrayList<>();
 |  |  				List<IndexBaseMonthData> otherAmountDetails = new ArrayList<>();
 | 
											
												
													
														|  |  				if(value != null && value.size() > 0){
 |  |  				if(value != null && value.size() > 0){
 | 
											
										
											
												
													
														|  | @@ -310,6 +311,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 | 
											
												
													
														|  |  					}
 |  |  					}
 | 
											
												
													
														|  |  				}
 |  |  				}
 | 
											
												
													
														|  |  			}
 |  |  			}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  			result.add(indexBaseData);
 |  |  			result.add(indexBaseData);
 | 
											
												
													
														|  |  		}
 |  |  		}
 | 
											
												
													
														|  |  		return result;
 |  |  		return result;
 |