mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-26 22:15:06 +08:00
支付状态新增待补缴
This commit is contained in:
@@ -3523,6 +3523,11 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
return orderBasicInfoMapper.getOrderInfoByNXJT(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OrderBasicInfo> queryRepayOrder(String memberId) {
|
||||
return orderBasicInfoMapper.queryRepayOrder(memberId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int deleteByPrimaryKey(Integer id) {
|
||||
return orderBasicInfoMapper.deleteByPrimaryKey(id);
|
||||
|
||||
@@ -20,6 +20,7 @@ import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.PageUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.common.util.id.IdUtils;
|
||||
import com.jsowell.pile.domain.OrderBasicInfo;
|
||||
import com.jsowell.pile.domain.OrderPileOccupy;
|
||||
import com.jsowell.pile.domain.ykcCommond.RemoteControlGroundLockCommand;
|
||||
import com.jsowell.pile.dto.*;
|
||||
@@ -353,6 +354,21 @@ public class OrderPileOccupyServiceImpl implements OrderPileOccupyService {
|
||||
return orderPileOccupyMapper.queryUnPayOrderByMemberId(memberId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> queryUnPayOrder(String memberId) {
|
||||
Map<String, Object> resultMap = Maps.newHashMap();
|
||||
OrderPileOccupy orderPileOccupy = orderPileOccupyMapper.queryUnPayOrderByMemberId(memberId);
|
||||
if (orderPileOccupy != null) {
|
||||
resultMap.put("occupyCode", orderPileOccupy.getOccupyCode());
|
||||
}
|
||||
List<OrderBasicInfo> orderList = orderBasicInfoService.queryRepayOrder(memberId);
|
||||
if (CollectionUtils.isNotEmpty(orderList)) {
|
||||
List<String> orderCodeList = orderList.stream().map(OrderBasicInfo::getOrderCode).collect(Collectors.toList());
|
||||
resultMap.put("occupyCode", orderCodeList);
|
||||
}
|
||||
return resultMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询占桩订单列表
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user