select id, parent_id, parent_ids, name, sort, create_by, create_date, update_by, update_date, remarks, del_flag, is_dir, en_name, owner_id, owner_grp_id, auth_level_owner, auth_level_same_grp, auth_level_other, auth_key, mapping_path, check_sync_time, check_valid from info_resource
insert into info_resource
id,
parent_id,
parent_ids,
name,
sort,
create_by,
create_date,
update_by,
update_date,
remarks,
del_flag,
is_dir,
en_name,
owner_id,
owner_grp_id,
auth_level_owner,
auth_level_same_grp,
auth_level_other,
auth_key,
mapping_path,
check_sync_time,
check_valid,
#{id},
#{parentId},
#{parentIds},
#{name},
#{sort},
#{createBy},
#{createDate},
#{updateBy},
#{updateDate},
#{remarks},
#{delFlag},
#{isDir},
#{enName},
#{ownerId},
#{ownerGrpId},
#{authLevelOwner},
#{authLevelSameGrp},
#{authLevelOther},
#{authKey},
#{mappingPath},
#{checkSyncTime},
#{checkValid},
update info_resource
parent_id = #{parentId},
parent_ids = #{parentIds},
name = #{name},
sort = #{sort},
create_by = #{createBy},
create_date = #{createDate},
update_by = #{updateBy},
update_date = #{updateDate},
remarks = #{remarks},
del_flag = #{delFlag},
is_dir = #{isDir},
en_name = #{enName},
owner_id = #{ownerId},
owner_grp_id = #{ownerGrpId},
auth_level_owner = #{authLevelOwner},
auth_level_same_grp = #{authLevelSameGrp},
auth_level_other = #{authLevelOther},
auth_key = #{authKey},
mapping_path = #{mappingPath},
check_sync_time = #{checkSyncTime},
check_valid = #{checkValid},
where id = #{id}
delete from info_resource where id = #{id}
delete from info_resource where id in
#{id}