id, servant_code, certificate_code,start_date,end_date,certificate_name,organization
delete from mm_info_certificate
where id = #{id,jdbcType=INTEGER}
insert into mm_info_certificate
servant_code,
certificate_code,
organization,
start_date,
end_date
#{servant_code,jdbcType=INTEGER},
#{certificate_code,jdbcType=INTEGER},
#{organization,jdbcType=INTEGER},
#{start_date,jdbcType=DATE},
#{end_date,jdbcType=DATE}
update mm_info_certificate
servant_code = #{servant_code,jdbcType=VARCHAR},
certificate_code = #{certificate_code,jdbcType=VARCHAR},
organization = #{organization,jdbcType=VARCHAR},
start_date = #{start_date,jdbcType=DATE},
end_date = #{end_date,jdbcType=DATE}
where id = #{id,jdbcType=INTEGER}