select id, name, pile_connector_code, status, park_no, pile_sn, create_by, create_time, update_by, update_time, del_flag from pile_connector_info
insert into pile_connector_info
name,pile_connector_code,status,park_no,pile_sn,create_by,create_time,update_by,update_time,del_flag,#{name},#{pileConnectorCode},#{status},#{parkNo},#{pileSn},#{createBy},#{createTime},#{updateBy},#{updateTime},#{delFlag},
update pile_connector_info
name = #{name},pile_connector_code = #{pileConnectorCode},status = #{status},park_no = #{parkNo},pile_sn = #{pileSn},create_by = #{createBy},create_time = #{createTime},update_by = #{updateBy},update_time = #{updateTime},del_flag = #{delFlag},
where id = #{id}
delete from pile_connector_info where id = #{id}
delete from pile_connector_info where id in
#{id}
delete from pile_connector_info where pile_sn in
#{pileSn,jdbcType=VARCHAR}
insert into pile_connector_info
(name,pile_connector_code,status,park_no,pile_sn,create_by,update_by,del_flag)
values
(
#{item.name,jdbcType=VARCHAR},
#{item.pileConnectorCode,jdbcType=VARCHAR},
#{item.status,jdbcType=VARCHAR},
#{item.parkNo,jdbcType=VARCHAR},
#{item.pileSn,jdbcType=VARCHAR},
#{item.createBy,jdbcType=VARCHAR},
#{item.updateBy,jdbcType=VARCHAR},
#{item.delFlag,jdbcType=VARCHAR}
)
update pile_connector_info
set status = #{connectorStatus,jdbcType=VARCHAR}
where pile_connector_code = #{pileConnectorCode,jdbcType=VARCHAR}
update pile_connector_info
set status = #{connectorStatus,jdbcType=VARCHAR}
where pile_sn = #{pileSn,jdbcType=VARCHAR}