mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 根据汇付会员id查询分账汇总数据接口
This commit is contained in:
@@ -836,4 +836,23 @@
|
||||
station_id = #{dto.stationId,jdbcType=VARCHAR}
|
||||
AND trade_date BETWEEN #{dto.startTime,jdbcType=VARCHAR} AND #{dto.endTime,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="queryStationAggregateData" resultType="com.jsowell.pile.vo.web.SplitConfigStationVO">
|
||||
SELECT
|
||||
t2.station_id AS stationId,
|
||||
t3.station_name AS stationName,
|
||||
t1.electricity_amount AS electricityAmount,
|
||||
t1.service_amount AS serviceAmount,
|
||||
t1.fee_amount AS feeAmount,
|
||||
t1.trade_date AS tradeDate
|
||||
FROM
|
||||
order_split_record t1
|
||||
JOIN order_basic_info t2 ON t1.order_code = t2.order_code
|
||||
JOIN pile_station_info t3 ON t1.station_id = t3.id
|
||||
WHERE
|
||||
t1.adapay_member_id = #{adapayMemberId}
|
||||
AND t1.del_flag = '0'
|
||||
AND t1.trade_date BETWEEN #{startTime,jdbcType=VARCHAR} AND #{endTime,jdbcType=VARCHAR};
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user