demand: 月结客户达标统计相关需求
This commit is contained in:
parent
1335ae8890
commit
c3dc8ae7f2
@ -278,9 +278,9 @@ public class EmisCustomerUserServiceImpl extends EmisBaseService implements IEmi
|
|||||||
LocalDate endDate = LocalDate.parse(endSendDate, formatter);
|
LocalDate endDate = LocalDate.parse(endSendDate, formatter);
|
||||||
|
|
||||||
long monthsBetween = ChronoUnit.MONTHS.between(
|
long monthsBetween = ChronoUnit.MONTHS.between(
|
||||||
beginDate.withDayOfMonth(1),
|
beginDate.withDayOfMonth(1),
|
||||||
endDate.withDayOfMonth(1)
|
endDate.withDayOfMonth(1)
|
||||||
);
|
) + 1L;
|
||||||
|
|
||||||
if (monthsBetween < 3) {
|
if (monthsBetween < 3) {
|
||||||
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR,
|
throw new EmisBizError(EmisBizErrorType.PARAM_ERROR,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user