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, pd_id, start_time, end_time, contract_remarks, annex_url, annex_name, create_time
delete from personnel_contract
where id = #{id,jdbcType=INTEGER}
delete from personnel_contract
insert into personnel_contract (id, pd_id, start_time,
end_time, contract_remarks, annex_url,
annex_name, create_time)
values (#{id,jdbcType=INTEGER}, #{pdId,jdbcType=INTEGER}, #{startTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP}, #{contractRemarks,jdbcType=VARCHAR}, #{annexUrl,jdbcType=VARCHAR},
#{annexName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})
insert into personnel_contract
id,
pd_id,
start_time,
end_time,
contract_remarks,
annex_url,
annex_name,
create_time,
#{id,jdbcType=INTEGER},
#{pdId,jdbcType=INTEGER},
#{startTime,jdbcType=TIMESTAMP},
#{endTime,jdbcType=TIMESTAMP},
#{contractRemarks,jdbcType=VARCHAR},
#{annexUrl,jdbcType=VARCHAR},
#{annexName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
update personnel_contract
id = #{record.id,jdbcType=INTEGER},
pd_id = #{record.pdId,jdbcType=INTEGER},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
contract_remarks = #{record.contractRemarks,jdbcType=VARCHAR},
annex_url = #{record.annexUrl,jdbcType=VARCHAR},
annex_name = #{record.annexName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update personnel_contract
set id = #{record.id,jdbcType=INTEGER},
pd_id = #{record.pdId,jdbcType=INTEGER},
start_time = #{record.startTime,jdbcType=TIMESTAMP},
end_time = #{record.endTime,jdbcType=TIMESTAMP},
contract_remarks = #{record.contractRemarks,jdbcType=VARCHAR},
annex_url = #{record.annexUrl,jdbcType=VARCHAR},
annex_name = #{record.annexName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
update personnel_contract
pd_id = #{pdId,jdbcType=INTEGER},
start_time = #{startTime,jdbcType=TIMESTAMP},
end_time = #{endTime,jdbcType=TIMESTAMP},
contract_remarks = #{contractRemarks,jdbcType=VARCHAR},
annex_url = #{annexUrl,jdbcType=VARCHAR},
annex_name = #{annexName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update personnel_contract
set pd_id = #{pdId,jdbcType=INTEGER},
start_time = #{startTime,jdbcType=TIMESTAMP},
end_time = #{endTime,jdbcType=TIMESTAMP},
contract_remarks = #{contractRemarks,jdbcType=VARCHAR},
annex_url = #{annexUrl,jdbcType=VARCHAR},
annex_name = #{annexName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}