insert into sys_embedment_correction
id,
embedment_id,
correction_before,
correction_num,
correction_after,
create_time,
create_user,
remark,
#{id,jdbcType=VARCHAR},
#{embedmentId,jdbcType=VARCHAR},
#{correctionBefore,jdbcType=INTEGER},
#{correctionNum,jdbcType=INTEGER},
#{correctionAfter,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{createUser,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
update sys_assist_record set
is_use=2
where id=#{id}
insert into sys_assist_correction
id,
assist_id,
correction_before,
correction_num,
correction_after,
create_time,
create_user,
remark,
#{id,jdbcType=VARCHAR},
#{assistId,jdbcType=VARCHAR},
#{correctionBefore,jdbcType=INTEGER},
#{correctionNum,jdbcType=INTEGER},
#{correctionAfter,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{createUser,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},