and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, company_name, type, create_time, aid
delete from company_library
where id = #{id,jdbcType=INTEGER}
delete from company_library
insert into company_library (id, company_name, type,
create_time, aid)
values (#{id,jdbcType=INTEGER}, #{companyName,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{aid,jdbcType=VARCHAR})
insert into company_library
id,
company_name,
type,
create_time,
aid,
#{id,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{aid,jdbcType=VARCHAR},
update company_library
id = #{record.id,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
type = #{record.type,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
aid = #{record.aid,jdbcType=VARCHAR},
update company_library
set id = #{record.id,jdbcType=INTEGER},
company_name = #{record.companyName,jdbcType=VARCHAR},
type = #{record.type,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
aid = #{record.aid,jdbcType=VARCHAR}
update company_library
company_name = #{companyName,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
aid = #{aid,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update company_library
set company_name = #{companyName,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
aid = #{aid,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
insert into company_library
id,
company_name,
type,
create_time,
aid,
#{id,jdbcType=INTEGER},
#{companyName,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{aid,jdbcType=VARCHAR},
SELECT LAST_INSERT_ID()