update DateUtils 工具类

This commit is contained in:
Lemon
2023-07-20 16:59:34 +08:00
parent 9d0dcb03fe
commit 84e496cc05
2 changed files with 12 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ import com.jsowell.common.core.controller.BaseController;
import com.jsowell.common.enums.ykc.ReturnCodeEnum;
import com.jsowell.common.exception.BusinessException;
import com.jsowell.common.response.RestApiResponse;
import com.jsowell.common.util.DateUtils;
import com.jsowell.pile.domain.MemberPlateNumberRelation;
import com.jsowell.pile.dto.CarVinDTO;
import com.jsowell.pile.dto.QueryOrderDTO;
@@ -113,9 +114,8 @@ public class TempController extends BaseController {
try {
String startTime = dto.getStartTime();
String endTime = dto.getEndTime();
List<String> dateList = Lists.newArrayList();
// 获取日期区间内所有日期
List<String> dateList = DateUtils.getAllDatesInTheDateRange(startTime, endTime);
dto.getStationIdList().parallelStream().forEach(stationId -> {
for (String tradeDate : dateList) {