|
|
@ -144,7 +144,11 @@ public class DimCustomerPartymemberServiceImpl extends BaseServiceImpl<DimCustom |
|
|
|
throw new RenException(StatsConstant.CUSTOMER_INFO_NULL); |
|
|
|
} |
|
|
|
if ((StringUtils.isBlank(customerIdAndDateIdFormDTO.getStartDate()) && StringUtils.isBlank(customerIdAndDateIdFormDTO.getEndDate()))){ |
|
|
|
dateIds.add(DimIdGenerator.getDateDimId(DateUtils.addDateDays(new Date(), -1))); |
|
|
|
if (StringUtils.isNotBlank(customerIdAndDateIdFormDTO.getDateId())){ |
|
|
|
dateIds.add(customerIdAndDateIdFormDTO.getDateId()); |
|
|
|
}else { |
|
|
|
dateIds.add(DimIdGenerator.getDateDimId(DateUtils.addDateDays(new Date(), -1))); |
|
|
|
} |
|
|
|
}else { |
|
|
|
dateIds = DateUtils.getDaysBetween(customerIdAndDateIdFormDTO.getStartDate(), customerIdAndDateIdFormDTO.getEndDate()); |
|
|
|
} |
|
|
|