This commit is contained in:
ForeverSmiYng 2025-08-05 14:22:41 +08:00
parent 11357fd74e
commit 6e93a67395

View File

@ -9,7 +9,8 @@ WHERE
ORDER BY
line;
-- 定义函数
-- 自定义函数
-- 函数说明:入参书编号及数字位数,返回可排序编号,如入参为'ZW1-12-123'和4,则返回'ZW0001-0012-0123'第二个参数可不填默认为4。
FUNCTION hos_get_sortable_ref(
bh IN VARCHAR2,
len IN NUMBER DEFAULT 4