|
|
@ -415,7 +415,7 @@ public class RetailCompanyService {
|
|
|
|
//计算两个时间间隔用于计算平均值
|
|
|
|
//计算两个时间间隔用于计算平均值
|
|
|
|
LocalDate start = LocalDate.parse(startTime);
|
|
|
|
LocalDate start = LocalDate.parse(startTime);
|
|
|
|
LocalDate end = LocalDate.parse(endTime);
|
|
|
|
LocalDate end = LocalDate.parse(endTime);
|
|
|
|
long days = end.until(start, ChronoUnit.DAYS) + 1;
|
|
|
|
long days = start.until(end, ChronoUnit.DAYS) + 1;
|
|
|
|
|
|
|
|
|
|
|
|
organizationalVO.setNewCustomer((int) (countEnd - count));
|
|
|
|
organizationalVO.setNewCustomer((int) (countEnd - count));
|
|
|
|
organizationalVO.setNewEffectiveCustomer((int) (countEnd2 - count2));
|
|
|
|
organizationalVO.setNewEffectiveCustomer((int) (countEnd2 - count2));
|
|
|
@ -454,7 +454,7 @@ public class RetailCompanyService {
|
|
|
|
//计算两个时间间隔用于计算平均值
|
|
|
|
//计算两个时间间隔用于计算平均值
|
|
|
|
LocalDate start = LocalDate.parse(startTime);
|
|
|
|
LocalDate start = LocalDate.parse(startTime);
|
|
|
|
LocalDate end = LocalDate.parse(endTime);
|
|
|
|
LocalDate end = LocalDate.parse(endTime);
|
|
|
|
long days = end.until(start, ChronoUnit.DAYS);
|
|
|
|
long days = start.until(end, ChronoUnit.DAYS) + 1;
|
|
|
|
|
|
|
|
|
|
|
|
organizationalVO.setNewCustomer((int) (countEnd - count));
|
|
|
|
organizationalVO.setNewCustomer((int) (countEnd - count));
|
|
|
|
organizationalVO.setNewEffectiveCustomer((int) (countEnd2 - count2));
|
|
|
|
organizationalVO.setNewEffectiveCustomer((int) (countEnd2 - count2));
|
|
|
|