id, uid, standard_name, standard_number, standard_level, participate_way, create_time, year,
enclosure_url, deleted_sign
delete from org_standard
where id = #{id,jdbcType=VARCHAR}
insert into org_standard (id, uid, standard_name,
standard_number, standard_level, participate_way, create_time, year,
enclosure_url, deleted_sign
)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{standardName,jdbcType=VARCHAR},
#{standardNumber,jdbcType=VARCHAR}, #{standardLevel,jdbcType=INTEGER}, #{participateWay,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{year,jdbcType=INTEGER}, #{enclosureUrl,jdbcType=VARCHAR},
#{deletedSign,jdbcType=INTEGER}
)
insert into org_standard
id,
uid,
standard_name,
standard_number,
standard_level,
participate_way,
create_time,
year,
enclosure_url,
deleted_sign,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{standardName,jdbcType=VARCHAR},
#{standardNumber,jdbcType=VARCHAR},
#{standardLevel,jdbcType=INTEGER},
#{participateWay,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{year,jdbcType=INTEGER},
#{enclosureUrl,jdbcType=VARCHAR},
#{deletedSign,jdbcType=INTEGER},
update org_standard
uid = #{uid,jdbcType=VARCHAR},
standard_name = #{standardName,jdbcType=VARCHAR},
standard_number = #{standardNumber,jdbcType=VARCHAR},
standard_level = #{standardLevel,jdbcType=INTEGER},
participate_way = #{participateWay,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
year = #{year,jdbcType=INTEGER},
enclosure_url = #{enclosureUrl,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update org_standard
set uid = #{uid,jdbcType=VARCHAR},
standard_name = #{standardName,jdbcType=VARCHAR},
standard_number = #{standardNumber,jdbcType=VARCHAR},
standard_level = #{standardLevel,jdbcType=INTEGER},
participate_way = #{participateWay,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
year = #{year,jdbcType=INTEGER},
enclosure_url = #{enclosureUrl,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update org_standard set deleted_sign = 1
where id in
#{item}