pid, uid, photo_url, seq_no, create_time, photo_status, admin_id
delete from private_photo
where pid = #{pid,jdbcType=BIGINT}
insert into private_photo (pid, uid, photo_url,
seq_no, create_time, photo_status,
admin_id,update_time)
values (#{pid,jdbcType=BIGINT}, #{uid,jdbcType=BIGINT}, #{photoUrl,jdbcType=VARCHAR},
#{seqNo,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{photoStatus,jdbcType=TINYINT},
#{adminId,jdbcType=INTEGER},#{updateTime,jdbcType=TIMESTAMP})
insert into private_photo
pid,
uid,
photo_url,
seq_no,
create_time,
photo_status,
admin_id,
update_time,
#{pid,jdbcType=BIGINT},
#{uid,jdbcType=BIGINT},
#{photoUrl,jdbcType=VARCHAR},
#{seqNo,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{photoStatus,jdbcType=TINYINT},
#{adminId,jdbcType=INTEGER},
#{updateTime,jdbcType=TIMESTAMP},
update private_photo
uid = #{uid,jdbcType=BIGINT},
photo_url = #{photoUrl,jdbcType=VARCHAR},
seq_no = #{seqNo,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
photo_status = #{photoStatus,jdbcType=TINYINT},
admin_id = #{adminId,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=INTEGER},
where pid = #{pid,jdbcType=BIGINT}
update private_photo
set uid = #{uid,jdbcType=BIGINT},
photo_url = #{photoUrl,jdbcType=VARCHAR},
seq_no = #{seqNo,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
photo_status = #{photoStatus,jdbcType=TINYINT},
admin_id = #{adminId,jdbcType=INTEGER},
private_photo = #{updateTime,jdbcType=TIMESTAMP}
where pid = #{pid,jdbcType=BIGINT}