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, abbreviation, used_order_no, contract_no, aid, create_time, year
delete from idle_contract_no
where id = #{id,jdbcType=INTEGER}
delete from idle_contract_no
insert into idle_contract_no (id, abbreviation, used_order_no,
contract_no, aid, create_time,
year)
values (#{id,jdbcType=INTEGER}, #{abbreviation,jdbcType=VARCHAR}, #{usedOrderNo,jdbcType=VARCHAR},
#{contractNo,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{year,jdbcType=INTEGER})
insert into idle_contract_no
id,
abbreviation,
used_order_no,
contract_no,
aid,
create_time,
year,
#{id,jdbcType=INTEGER},
#{abbreviation,jdbcType=VARCHAR},
#{usedOrderNo,jdbcType=VARCHAR},
#{contractNo,jdbcType=VARCHAR},
#{aid,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{year,jdbcType=INTEGER},
update idle_contract_no
id = #{record.id,jdbcType=INTEGER},
abbreviation = #{record.abbreviation,jdbcType=VARCHAR},
used_order_no = #{record.usedOrderNo,jdbcType=VARCHAR},
contract_no = #{record.contractNo,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
year = #{record.year,jdbcType=INTEGER},
update idle_contract_no
set id = #{record.id,jdbcType=INTEGER},
abbreviation = #{record.abbreviation,jdbcType=VARCHAR},
used_order_no = #{record.usedOrderNo,jdbcType=VARCHAR},
contract_no = #{record.contractNo,jdbcType=VARCHAR},
aid = #{record.aid,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
year = #{record.year,jdbcType=INTEGER}
update idle_contract_no
abbreviation = #{abbreviation,jdbcType=VARCHAR},
used_order_no = #{usedOrderNo,jdbcType=VARCHAR},
contract_no = #{contractNo,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
year = #{year,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update idle_contract_no
set abbreviation = #{abbreviation,jdbcType=VARCHAR},
used_order_no = #{usedOrderNo,jdbcType=VARCHAR},
contract_no = #{contractNo,jdbcType=VARCHAR},
aid = #{aid,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
year = #{year,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}