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, insurance_start_time, insurance_end_time, fund_start_time, fund_end_time, welfare_remarks,
annex_url, annex_name, create_time
delete from personnel_welfare
where id = #{id,jdbcType=INTEGER}
delete from personnel_welfare
insert into personnel_welfare (id, insurance_start_time, insurance_end_time,
fund_start_time, fund_end_time, welfare_remarks,
annex_url, annex_name, create_time
)
values (#{id,jdbcType=INTEGER}, #{insuranceStartTime,jdbcType=TIMESTAMP}, #{insuranceEndTime,jdbcType=TIMESTAMP},
#{fundStartTime,jdbcType=TIMESTAMP}, #{fundEndTime,jdbcType=TIMESTAMP}, #{welfareRemarks,jdbcType=VARCHAR},
#{annexUrl,jdbcType=VARCHAR}, #{annexName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}
)
insert into personnel_welfare
id,
insurance_start_time,
insurance_end_time,
fund_start_time,
fund_end_time,
welfare_remarks,
annex_url,
annex_name,
create_time,
#{id,jdbcType=INTEGER},
#{insuranceStartTime,jdbcType=TIMESTAMP},
#{insuranceEndTime,jdbcType=TIMESTAMP},
#{fundStartTime,jdbcType=TIMESTAMP},
#{fundEndTime,jdbcType=TIMESTAMP},
#{welfareRemarks,jdbcType=VARCHAR},
#{annexUrl,jdbcType=VARCHAR},
#{annexName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
update personnel_welfare
id = #{record.id,jdbcType=INTEGER},
insurance_start_time = #{record.insuranceStartTime,jdbcType=TIMESTAMP},
insurance_end_time = #{record.insuranceEndTime,jdbcType=TIMESTAMP},
fund_start_time = #{record.fundStartTime,jdbcType=TIMESTAMP},
fund_end_time = #{record.fundEndTime,jdbcType=TIMESTAMP},
welfare_remarks = #{record.welfareRemarks,jdbcType=VARCHAR},
annex_url = #{record.annexUrl,jdbcType=VARCHAR},
annex_name = #{record.annexName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update personnel_welfare
set id = #{record.id,jdbcType=INTEGER},
insurance_start_time = #{record.insuranceStartTime,jdbcType=TIMESTAMP},
insurance_end_time = #{record.insuranceEndTime,jdbcType=TIMESTAMP},
fund_start_time = #{record.fundStartTime,jdbcType=TIMESTAMP},
fund_end_time = #{record.fundEndTime,jdbcType=TIMESTAMP},
welfare_remarks = #{record.welfareRemarks,jdbcType=VARCHAR},
annex_url = #{record.annexUrl,jdbcType=VARCHAR},
annex_name = #{record.annexName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
update personnel_welfare
insurance_start_time = #{insuranceStartTime,jdbcType=TIMESTAMP},
insurance_end_time = #{insuranceEndTime,jdbcType=TIMESTAMP},
fund_start_time = #{fundStartTime,jdbcType=TIMESTAMP},
fund_end_time = #{fundEndTime,jdbcType=TIMESTAMP},
welfare_remarks = #{welfareRemarks,jdbcType=VARCHAR},
annex_url = #{annexUrl,jdbcType=VARCHAR},
annex_name = #{annexName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update personnel_welfare
set insurance_start_time = #{insuranceStartTime,jdbcType=TIMESTAMP},
insurance_end_time = #{insuranceEndTime,jdbcType=TIMESTAMP},
fund_start_time = #{fundStartTime,jdbcType=TIMESTAMP},
fund_end_time = #{fundEndTime,jdbcType=TIMESTAMP},
welfare_remarks = #{welfareRemarks,jdbcType=VARCHAR},
annex_url = #{annexUrl,jdbcType=VARCHAR},
annex_name = #{annexName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}