mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update DateUtils 工具类
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user