mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update
This commit is contained in:
@@ -392,6 +392,24 @@
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="queryBillingDetailByTemplateId" resultMap="PileBillingDetailResult">
|
||||
SELECT
|
||||
t1.id,
|
||||
t1.template_code,
|
||||
t1.time_type,
|
||||
t1.electricity_price,
|
||||
t1.service_price,
|
||||
t1.apply_time,
|
||||
t1.create_by,
|
||||
t1.create_time,
|
||||
t1.update_by,
|
||||
t1.update_time,
|
||||
t1.del_flag
|
||||
FROM pile_billing_detail t1
|
||||
JOIN pile_billing_template t2 ON t2.template_code = t1.template_code
|
||||
WHERE t2.id = #{templateId,jdbcType=BIGINT}
|
||||
</select>
|
||||
|
||||
<insert id="insertPileBillingRelation">
|
||||
insert into pile_billing_relation
|
||||
(pile_sn, billing_template_code, station_id)
|
||||
|
||||
Reference in New Issue
Block a user