select c.id, c.station_id, c.order_no, c.type, c.amt, c.create_time, c.create_by,dept_name as station_name,u.nick_name as create_name
from station_balance_change c
left join sys_dept d on c.station_id = d.dept_id
left join sys_user u on c.create_by =u.user_id
insert into station_balance_change
station_id,order_no,type,amt,create_time,create_by,now_amt,#{stationId},#{orderNo},#{type},#{amt},#{createTime},#{createBy},#{nowAmt},
update station_balance_change
station_id = #{stationId},order_no = #{orderNo},type = #{type},amt = #{amt},create_time = #{createTime},create_by = #{createBy},
where id = #{id}
delete from station_balance_change where id = #{id}
delete from station_balance_change where id in
#{id}