mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-21 23:59:50 +08:00
update update 枪口充电信息
This commit is contained in:
@@ -25,13 +25,6 @@ import java.util.Map;
|
|||||||
* @date 2022-09-30
|
* @date 2022-09-30
|
||||||
*/
|
*/
|
||||||
public interface IOrderBasicInfoService {
|
public interface IOrderBasicInfoService {
|
||||||
/**
|
|
||||||
* 查询订单
|
|
||||||
*
|
|
||||||
* @param id 订单主键
|
|
||||||
* @return 订单
|
|
||||||
*/
|
|
||||||
OrderBasicInfo selectOrderBasicInfoById(Long id);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 条件查询订单基础信息
|
* 条件查询订单基础信息
|
||||||
|
|||||||
@@ -144,17 +144,6 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private IPileAuthCardService pileAuthCardService;
|
private IPileAuthCardService pileAuthCardService;
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询订单
|
|
||||||
*
|
|
||||||
* @param id 订单主键
|
|
||||||
* @return 订单
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public OrderBasicInfo selectOrderBasicInfoById(Long id) {
|
|
||||||
return orderBasicInfoMapper.selectOrderBasicInfoById(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 条件查询订单基本信息
|
* 条件查询订单基本信息
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -361,6 +361,16 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
|
|||||||
|
|
||||||
PageInfo<PileConnectorInfoVO> pageInfo = new PageInfo<>(pileConnectorInfoList);
|
PageInfo<PileConnectorInfoVO> pageInfo = new PageInfo<>(pileConnectorInfoList);
|
||||||
|
|
||||||
|
// 查询枪口当前订单
|
||||||
|
for (PileConnectorInfoVO pileConnectorInfoVO : pageInfo.getList()) {
|
||||||
|
String pileConnectorCode = pileConnectorInfoVO.getPileConnectorCode();
|
||||||
|
pileConnectorInfoVO.setConnectorQrCodeUrl(getPileConnectorQrCodeUrl(pileConnectorCode)); // 枪口号二维码
|
||||||
|
OrderBasicInfo order = orderBasicInfoService.queryChargingByPileConnectorCode(pileConnectorCode);
|
||||||
|
if (order != null) {
|
||||||
|
pileConnectorInfoVO.setOrderCode(order.getOrderCode());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
queryRealTimeData(pageInfo.getList());
|
queryRealTimeData(pageInfo.getList());
|
||||||
|
|
||||||
// 返回结果集
|
// 返回结果集
|
||||||
|
|||||||
Reference in New Issue
Block a user