更改单据编号表的表名
This commit is contained in:
@@ -61,7 +61,7 @@ public class TenantConfig {
|
||||
return true;
|
||||
} else {
|
||||
// 这里可以判断是否过滤表
|
||||
if ("jsh_materialproperty".equals(tableName) || "tbl_sequence".equals(tableName)
|
||||
if ("jsh_materialproperty".equals(tableName) || "jsh_sequence".equals(tableName)
|
||||
|| "jsh_userbusiness".equals(tableName) || "jsh_functions".equals(tableName)
|
||||
|| "jsh_tenant".equals(tableName)) {
|
||||
return true;
|
||||
|
||||
@@ -436,11 +436,11 @@
|
||||
</update>
|
||||
|
||||
<update id="updateBuildOnlyNumber">
|
||||
update tbl_sequence set current_val = current_val + 1 where seq_name = 'depot_number_seq'
|
||||
update jsh_sequence set current_val = current_val + 1 where seq_name = 'depot_number_seq'
|
||||
</update>
|
||||
|
||||
<select id="getBuildOnlyNumber" resultType="java.lang.Long">
|
||||
select current_val from tbl_sequence where seq_name = 'depot_number_seq'
|
||||
select current_val from jsh_sequence where seq_name = 'depot_number_seq'
|
||||
</select>
|
||||
|
||||
<update id="batchDeleteDepotHeadByIds">
|
||||
|
||||
Reference in New Issue
Block a user