|
@ -136,6 +136,11 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist |
|
|
return baseMapper.countAlertCompare(businessAlertBo); |
|
|
return baseMapper.countAlertCompare(businessAlertBo); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
|
|
LocalDate today = LocalDate.now(); |
|
|
|
|
|
System.out.println( today.toString()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public StatObj countPanelAlert(BusinessAlertBo businessAlertBo) { |
|
|
public StatObj countPanelAlert(BusinessAlertBo businessAlertBo) { |
|
|
LocalDate today = LocalDate.now(); |
|
|
LocalDate today = LocalDate.now(); |
|
@ -145,7 +150,7 @@ public class BusinessAlertStatisticsServiceImpl implements IBusinessAlertStatist |
|
|
return new StatObj(0, 0,0,0,0,0); |
|
|
return new StatObj(0, 0,0,0,0,0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
businessAlertBo.setCreateTime(today.getYear()+"-"+today.getMonthValue()+"-"+today.getDayOfMonth()); |
|
|
businessAlertBo.setCreateTime(today.toString()); |
|
|
|
|
|
|
|
|
businessAlertBo.setAiLabelEnList(getAiLabel(businessAlertBo.getPostCode()).stream().map(RemoteAiLabelPostVo::getLabelEn).collect(Collectors.toList())); |
|
|
businessAlertBo.setAiLabelEnList(getAiLabel(businessAlertBo.getPostCode()).stream().map(RemoteAiLabelPostVo::getLabelEn).collect(Collectors.toList())); |
|
|
} |
|
|
} |
|
|