select d.id, d.dept_id, d.dept_name, d.file_name, d.resource_url, d.tenant_id, d.tenant_name, d.create_by, d.create_time, d.update_by, d.update_time from iot_doc d
insert into iot_doc
dept_id,dept_name,file_name,resource_url,tenant_id,tenant_name,create_by,create_time,update_by,update_time,#{deptId},#{deptName},#{fileName},#{resourceUrl},#{tenantId},#{tenantName},#{createBy},#{createTime},#{updateBy},#{updateTime},
update iot_doc
dept_id = #{deptId},dept_name = #{deptName},file_name = #{fileName},resource_url = #{resourceUrl},tenant_id = #{tenantId},tenant_name = #{tenantName},create_by = #{createBy},create_time = #{createTime},update_by = #{updateBy},update_time = #{updateTime},
where id = #{id}
delete from iot_doc where id = #{id}
delete from iot_doc where id in
#{id}