mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-09 04:20:08 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -361,6 +361,7 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
|||||||
stationVO.setFastFree(fastFree);
|
stationVO.setFastFree(fastFree);
|
||||||
stationVO.setSlowTotal(slowTotal);
|
stationVO.setSlowTotal(slowTotal);
|
||||||
stationVO.setSlowFree(slowFree);
|
stationVO.setSlowFree(slowFree);
|
||||||
|
stationVO.setTotalFree(fastFree + slowFree);
|
||||||
|
|
||||||
// 查询当前时段电费
|
// 查询当前时段电费
|
||||||
CurrentTimePriceDetails currentTimePriceDetails = pileBillingTemplateService.getCurrentTimePriceDetails(stationVO.getStationId());
|
CurrentTimePriceDetails currentTimePriceDetails = pileBillingTemplateService.getCurrentTimePriceDetails(stationVO.getStationId());
|
||||||
|
|||||||
@@ -75,6 +75,11 @@ public class StationInfoVO {
|
|||||||
*/
|
*/
|
||||||
private int slowFree;
|
private int slowFree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总空闲枪口数
|
||||||
|
*/
|
||||||
|
private int totalFree;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 经度
|
* 经度
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,6 +10,12 @@ import lombok.Data;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class AccumulativeInfoVO {
|
public class AccumulativeInfoVO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private String orderCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 枪口编号
|
* 枪口编号
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -925,10 +925,11 @@
|
|||||||
|
|
||||||
<select id="getAccumulativeInfoForLianLian" resultType="com.jsowell.pile.vo.lianlian.AccumulativeInfoVO">
|
<select id="getAccumulativeInfoForLianLian" resultType="com.jsowell.pile.vo.lianlian.AccumulativeInfoVO">
|
||||||
SELECT
|
SELECT
|
||||||
|
t1.order_code as orderCode,
|
||||||
t1.pile_connector_code as pileConnectorCode,
|
t1.pile_connector_code as pileConnectorCode,
|
||||||
t1.pile_sn as pileSn,
|
t1.pile_sn as pileSn,
|
||||||
t1.station_id as stationId,
|
t1.station_id as stationId,
|
||||||
t2.total_used_electricity as connectorElectricity
|
IFNULL(t2.total_used_electricity,0.00) as connectorElectricity
|
||||||
FROM
|
FROM
|
||||||
order_basic_info t1
|
order_basic_info t1
|
||||||
JOIN order_detail t2 ON t1.order_code = t2.order_code
|
JOIN order_detail t2 ON t1.order_code = t2.order_code
|
||||||
|
|||||||
Reference in New Issue
Block a user