|
|
@@ -20,7 +20,6 @@ import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import java.io.IOException;
|
|
|
-import java.time.temporal.ChronoUnit;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Objects;
|
|
|
@@ -185,7 +184,7 @@ public class CustomerController {
|
|
|
//设置时间
|
|
|
.peek(read -> {
|
|
|
if (read.getReadDate() != null)
|
|
|
- read.setForDate(read.getReadDate().truncatedTo(ChronoUnit.MONTHS).toLocalDate());
|
|
|
+ read.setForDate(read.getReadDate().withDayOfMonth(1).toLocalDate());
|
|
|
})
|
|
|
.collect(Collectors.toList());
|
|
|
if (CollectionUtils.isEmpty(dates)) continue;
|