mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-27 22:45:05 +08:00
update 批量更新订单审核
This commit is contained in:
@@ -215,6 +215,8 @@ public class OrderBasicInfo {
|
||||
*/
|
||||
private Date settlementTime;
|
||||
|
||||
private String reviewFlag;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.jsowell.pile.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateOrderReviewDTO {
|
||||
/**
|
||||
* 订单编号列表
|
||||
*/
|
||||
private List<String> orderCodeList;
|
||||
|
||||
/**
|
||||
* 评价标记
|
||||
*/
|
||||
private String reviewFlag;
|
||||
|
||||
/**
|
||||
* 站点编号
|
||||
*/
|
||||
private String stationId;
|
||||
}
|
||||
@@ -5,11 +5,11 @@ import com.jsowell.pile.domain.OrderDetail;
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.pile.dto.nanrui.NRQueryOrderDTO;
|
||||
import com.jsowell.pile.dto.ningxiajiaotou.NXJTQueryOrdersInfoDTO;
|
||||
import com.jsowell.pile.vo.uniapp.business.BusinessOrderDetailInfoVO;
|
||||
import com.jsowell.pile.vo.SupStationStatsVO;
|
||||
import com.jsowell.pile.vo.base.MerchantOrderInfoVO;
|
||||
import com.jsowell.pile.vo.lianlian.AccumulativeInfoVO;
|
||||
import com.jsowell.pile.vo.nanrui.JiangSuOrderInfoVO;
|
||||
import com.jsowell.pile.vo.uniapp.business.BusinessOrderDetailInfoVO;
|
||||
import com.jsowell.pile.vo.uniapp.customer.OrderVO;
|
||||
import com.jsowell.pile.vo.uniapp.customer.PersonPileConnectorSumInfoVO;
|
||||
import com.jsowell.pile.vo.uniapp.customer.SendMessageVO;
|
||||
@@ -19,7 +19,6 @@ import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
@Repository
|
||||
@@ -466,4 +465,6 @@ public interface OrderBasicInfoMapper {
|
||||
* @return
|
||||
*/
|
||||
List<PileConnectorInfoVO> batchQueryChargingConnectorInfo(@Param("pileConnectorCodes") List<String> chargingConnectorCodeList);
|
||||
|
||||
int batchUpdateOrderReview(@Param("dto") UpdateOrderReviewDTO dto);
|
||||
}
|
||||
|
||||
@@ -675,4 +675,6 @@ public interface OrderBasicInfoService{
|
||||
* @return
|
||||
*/
|
||||
List<RealTimeMonitorData> getRealTimeMonitorDataList(List<String> transactionCodeList);
|
||||
|
||||
int batchUpdateOrderReview(UpdateOrderReviewDTO dto);
|
||||
}
|
||||
|
||||
@@ -6457,6 +6457,20 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int batchUpdateOrderReview(UpdateOrderReviewDTO dto) {
|
||||
if (CollectionUtils.isEmpty(dto.getOrderCodeList())) {
|
||||
return 0;
|
||||
}
|
||||
if (StringUtils.isBlank(dto.getStationId())) {
|
||||
dto.setStationId("1003");
|
||||
}
|
||||
if (StringUtils.isBlank(dto.getReviewFlag())) {
|
||||
dto.setReviewFlag("0");
|
||||
}
|
||||
return orderBasicInfoMapper.batchUpdateOrderReview(dto);
|
||||
}
|
||||
|
||||
/*
|
||||
* 批量查询充电枪口信息
|
||||
* @param chargingConnectorCodeList
|
||||
|
||||
Reference in New Issue
Block a user