demand: 月结客户达标统计相关需求

This commit is contained in:
aike 2026-02-12 10:37:42 +08:00
parent 1335ae8890
commit c3dc8ae7f2

View File

@ -278,9 +278,9 @@ public class EmisCustomerUserServiceImpl extends EmisBaseService implements IEmi
LocalDate endDate = LocalDate.parse(endSendDate, formatter);
long monthsBetween = ChronoUnit.MONTHS.between(
beginDate.withDayOfMonth(1),
endDate.withDayOfMonth(1)
);
beginDate.withDayOfMonth(1),
endDate.withDayOfMonth(1)
) + 1L;
if (monthsBetween < 3) {
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR,