mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-20 23:29:48 +08:00
update
This commit is contained in:
@@ -30,4 +30,9 @@ public class UpdateOrderReviewDTO {
|
||||
* 结束日期
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 比率
|
||||
*/
|
||||
private Double ratio;
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ public interface OrderBasicInfoService{
|
||||
void checkOrUpdateOrderSplitRecord(AfterSettleOrderDTO afterSettleOrderDTO);
|
||||
|
||||
|
||||
int updateOrderReviewFlagTemp(LocalDateTime start, LocalDateTime end, String stationId);
|
||||
int updateOrderReviewFlagTemp(LocalDateTime start, LocalDateTime end, String stationId, Double ratio);
|
||||
|
||||
List<StationSplitConfig> queryOrderSplitConfigList(String orderCode);
|
||||
|
||||
|
||||
@@ -6328,11 +6328,13 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateOrderReviewFlagTemp(LocalDateTime start, LocalDateTime end, String stationId) {
|
||||
double ratio = 0.65;
|
||||
public int updateOrderReviewFlagTemp(LocalDateTime start, LocalDateTime end, String stationId, Double ratio) {
|
||||
if (ratio == null) {
|
||||
ratio = 0.1;
|
||||
logger.info("校验或更新订单分账信息-使用默认比例:{}", ratio);
|
||||
}
|
||||
if (StringUtils.isBlank(stationId)) {
|
||||
stationId = "1003"; // 目前只有 大坡中学举视超充站 这一个站点使用
|
||||
ratio = 0.1;
|
||||
logger.info("校验或更新订单分账信息-使用默认站点id:{}", stationId);
|
||||
}
|
||||
List<OrderListVO> orderList = this.selectOrderListByDateTime(start, end, stationId);
|
||||
|
||||
Reference in New Issue
Block a user