去掉编号函数

This commit is contained in:
季圣华
2019-07-10 23:08:02 +08:00
parent 10aa65b7a3
commit fdebb1e565
6 changed files with 17 additions and 30 deletions

View File

@@ -434,8 +434,13 @@
</set>
where Id = #{id,jdbcType=BIGINT}
</update>
<update id="updateBuildOnlyNumber">
update tbl_sequence set current_val = current_val + 1 where seq_name = 'depot_number_seq'
</update>
<select id="getBuildOnlyNumber" resultType="java.lang.Long">
select _nextval(#{seq_name}) from dual;
select current_val from tbl_sequence where seq_name = 'depot_number_seq'
</select>
<update id="batchDeleteDepotHeadByIds">