select id, plant_name, plant_code, status, create_by, create_time, update_by, update_time from aps_plant insert into aps_plant id, plant_name, plant_code, status, create_by, create_time, update_by, update_time, #{id}, #{plantName}, #{plantCode}, #{status}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update aps_plant plant_name = #{plantName}, plant_code = #{plantCode}, status = #{status}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from aps_plant where id = #{id} delete from aps_plant where id in #{id}