mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update 批量更新订单审核
This commit is contained in:
@@ -24,7 +24,6 @@ import com.jsowell.pile.domain.ykcCommond.StartChargingCommand;
|
||||
import com.jsowell.pile.service.*;
|
||||
import com.jsowell.pile.vo.base.StationInfoVO;
|
||||
import com.jsowell.pile.vo.web.BillingTemplateVO;
|
||||
import com.jsowell.pile.vo.web.OrderListVO;
|
||||
import com.jsowell.thirdparty.amap.service.AMapService;
|
||||
import com.jsowell.thirdparty.common.NotificationDTO;
|
||||
import com.jsowell.thirdparty.common.NotificationService;
|
||||
@@ -492,12 +491,8 @@ public class JsowellTask {
|
||||
LocalDate yesterday = DateUtils.getYesterday();
|
||||
LocalDateTime start = yesterday.atStartOfDay();
|
||||
LocalDateTime end = yesterday.atTime(23, 59, 59);
|
||||
List<OrderListVO> orderList = orderBasicInfoService.selectOrderListByDateTime(start, end);
|
||||
if (CollectionUtils.isEmpty(orderList)) {
|
||||
return;
|
||||
}
|
||||
List<String> list = orderList.stream().map(OrderListVO::getOrderCode).collect(Collectors.toList());
|
||||
orderBasicInfoService.updateOrderReviewFlagTemp(list);
|
||||
|
||||
orderBasicInfoService.updateOrderReviewFlagTemp(start, end, null);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user