id, site, sys_oss_id, "type", associated_field1, associated_field2, associated_field3
delete from file_associate
and id = #{id,jdbcType=INTEGER}
and site = #{site,jdbcType=VARCHAR}
and sys_oss_id = #{sysOssId,jdbcType=INTEGER}
and type = #{type,jdbcType=VARCHAR}
insert into file_associate (site, sys_oss_id, "type",
associated_field1, associated_field2, associated_field3
)
values (#{site,jdbcType=VARCHAR}, #{sysOssId,jdbcType=INTEGER}, #{type,jdbcType=VARCHAR},
#{associatedField1,jdbcType=VARCHAR}, #{associatedField2,jdbcType=VARCHAR}, #{associatedField3,jdbcType=VARCHAR}
)
insert into file_associate
site,
sys_oss_id,
"type",
associated_field1,
associated_field2,
associated_field3,
#{site,jdbcType=VARCHAR},
#{sysOssId,jdbcType=INTEGER},
#{type,jdbcType=VARCHAR},
#{associatedField1,jdbcType=VARCHAR},
#{associatedField2,jdbcType=VARCHAR},
#{associatedField3,jdbcType=VARCHAR},
update file_associate
site = #{site,jdbcType=VARCHAR},
sys_oss_id = #{sysOssId,jdbcType=INTEGER},
"type" = #{type,jdbcType=VARCHAR},
associated_field1 = #{associatedField1,jdbcType=VARCHAR},
associated_field2 = #{associatedField2,jdbcType=VARCHAR},
associated_field3 = #{associatedField3,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update file_associate
set site = #{site,jdbcType=VARCHAR},
sys_oss_id = #{sysOssId,jdbcType=INTEGER},
"type" = #{type,jdbcType=VARCHAR},
associated_field1 = #{associatedField1,jdbcType=VARCHAR},
associated_field2 = #{associatedField2,jdbcType=VARCHAR},
associated_field3 = #{associatedField3,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}