新增 对接青海平台 推送充换电站实时功率 接口

This commit is contained in:
Lemon
2024-04-15 13:57:09 +08:00
parent b73a34a75a
commit b961ec7e73
7 changed files with 197 additions and 29 deletions

View File

@@ -414,4 +414,18 @@
where del_flag = '0'
and (parent_id = #{firstMerchantId,jdbcType=VARCHAR} or id = #{firstMerchantId,jdbcType=VARCHAR})
</select>
<select id="queryMerchantInfoByStationId" resultType="com.jsowell.pile.vo.web.PileMerchantInfoVO">
SELECT
t1.id AS stationId,
t1.merchant_id AS merchantId,
t2.merchant_name AS merchantName,
t2.organization_code AS organizationCode
FROM
pile_station_info t1
JOIN pile_merchant_info t2 ON t1.merchant_id = t2.id
WHERE
t1.del_flag = '0'
AND t1.id = #{stationId,jdbcType=VARCHAR}
</select>
</mapper>