SELECT seq_base_biz_code_seq.NEXTVAL as objId FROM DUAL
insert into base_biz_code_seq
obj_id,
biz_type,
current_period,
current_seq,
remark,
created_time,
updated_time,
#{objId},
#{bizType},
#{currentPeriod},
#{currentSeq},
#{remark},
#{createdTime},
#{updatedTime},
update base_biz_code_seq
current_period = #{currentPeriod},
current_seq = #{currentSeq},
remark = #{remark},
updated_time = #{updatedTime},
where obj_id = #{objId}