|
@@ -44,6 +44,7 @@
|
|
|
<resultMap id="StationStatMap" type="com.kym.entity.admin.vo.StationStatVo">
|
|
<resultMap id="StationStatMap" type="com.kym.entity.admin.vo.StationStatVo">
|
|
|
<result column="station_id" property="stationId"/>
|
|
<result column="station_id" property="stationId"/>
|
|
|
<result column="start_time" property="startTime"/>
|
|
<result column="start_time" property="startTime"/>
|
|
|
|
|
+ <result column="total_orders" property="totalOrders"/>
|
|
|
<result column="total_power" property="totalPower"/>
|
|
<result column="total_power" property="totalPower"/>
|
|
|
<result column="total_money" property="totalMoney"/>
|
|
<result column="total_money" property="totalMoney"/>
|
|
|
<result column="elec_money" property="elecMoney"/>
|
|
<result column="elec_money" property="elecMoney"/>
|
|
@@ -113,6 +114,7 @@
|
|
|
DATE_FORMAT(t1.start_time, '%Y-%m')
|
|
DATE_FORMAT(t1.start_time, '%Y-%m')
|
|
|
</if>
|
|
</if>
|
|
|
stat_time,
|
|
stat_time,
|
|
|
|
|
+ count(t1.id) total_orders,
|
|
|
SUM(t1.total_power) total_power,
|
|
SUM(t1.total_power) total_power,
|
|
|
SUM(t1.total_money) total_money,
|
|
SUM(t1.total_money) total_money,
|
|
|
SUM(t1.elec_money) elec_money,
|
|
SUM(t1.elec_money) elec_money,
|