@sdflc/backend-helpers 1.0.99 → 1.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/BaseCore.js
CHANGED
|
@@ -705,7 +705,9 @@ class BaseCore {
|
|
|
705
705
|
if (lastRecord.length > 0) {
|
|
706
706
|
if (this.config.orderNoAsDecimal === true) {
|
|
707
707
|
params.orderNo =
|
|
708
|
-
lastRecord[0]?.orderNo != null
|
|
708
|
+
lastRecord[0]?.orderNo != null
|
|
709
|
+
? Number(lastRecord[0]?.orderNo) + Number(constants_1.DEFAULT_ORDER_NO_STEP)
|
|
710
|
+
: Number(constants_1.DEFAULT_ORDER_NO);
|
|
709
711
|
}
|
|
710
712
|
else {
|
|
711
713
|
const order = new utils_1.StrOrderHelpers({
|
package/build/esm/BaseCore.js
CHANGED
|
@@ -699,7 +699,9 @@ class BaseCore {
|
|
|
699
699
|
if (lastRecord.length > 0) {
|
|
700
700
|
if (this.config.orderNoAsDecimal === true) {
|
|
701
701
|
params.orderNo =
|
|
702
|
-
lastRecord[0]?.orderNo != null
|
|
702
|
+
lastRecord[0]?.orderNo != null
|
|
703
|
+
? Number(lastRecord[0]?.orderNo) + Number(DEFAULT_ORDER_NO_STEP)
|
|
704
|
+
: Number(DEFAULT_ORDER_NO);
|
|
703
705
|
}
|
|
704
706
|
else {
|
|
705
707
|
const order = new StrOrderHelpers({
|