id, photo_type, resume_code,photo_path,servant_code,photo_name,comment delete from mm_info_photo where 1 = 1 and photo_name = #{photo_name,jdbcType=VARCHAR} and servant_code = #{servant_code,jdbcType=VARCHAR} insert into mm_info_photo resume_code, photo_type, photo_path, servant_code, photo_name #{resume_code,jdbcType=INTEGER}, #{photo_type,jdbcType=VARCHAR}, #{photo_path,jdbcType=VARCHAR}, #{servant_code,jdbcType=VARCHAR}, #{photo_name,jdbcType=VARCHAR} update mm_info_photo resume_code = #{resume_code,jdbcType=INTEGER}, photo_type = #{photo_type,jdbcType=VARCHAR}, photo_path = #{photo_path,jdbcType=VARCHAR}, servant_code = #{servant_code,jdbcType=VARCHAR}, photo_name = #{photo_name,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}