alsmanager_lib 3.0.160 → 3.0.162
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/lib/modules.js +2 -2
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -9982,7 +9982,7 @@ function removeDismissioneById(db_used, id_dismiss) {
|
|
|
9982
9982
|
function selectDismissioneDevicesByIdDismissSQLite(id_dismiss) {
|
|
9983
9983
|
var query = "select dm.id, ";
|
|
9984
9984
|
query += "case ";
|
|
9985
|
-
query += "when d.inv_ict3_number != '' and d.inv_ict3_number is not null then d.inv_ict3_number ";
|
|
9985
|
+
query += "when d.inv_ict3_number != '' and d.inv_ict3_number is not null then concat(d.inv_ict3_number,iif(d.part_of is not null and trim(d.part_of) <> '', concat('/',d.part_of),'')) ";
|
|
9986
9986
|
query += "when d.inv_pnrr_number != '' and d.inv_pnrr_number is not null then d.inv_pnrr_number ";
|
|
9987
9987
|
query += "when d.inv_tn_number != '' and d.inv_tn_number is not null then concat(d.inv_tn_number,'(TN)') ";
|
|
9988
9988
|
query += "when d.inv_tndigit_number != '' and d.inv_tndigit_number is not null then concat(d.inv_tndigit_number,'(TNDigit)') ";
|
|
@@ -10002,7 +10002,7 @@ function selectDismissioneDevicesByIdDismissSQLite(id_dismiss) {
|
|
|
10002
10002
|
function selectDismissioneDevicesByIdDismissMySQL(id_dismiss) {
|
|
10003
10003
|
var query = "select dm.id, ";
|
|
10004
10004
|
query += "case ";
|
|
10005
|
-
query += "when d.inv_ict3_number != '' and d.inv_ict3_number is not null then d.inv_ict3_number ";
|
|
10005
|
+
query += "when d.inv_ict3_number != '' and d.inv_ict3_number is not null then concat(d.inv_ict3_number,iif(d.part_of is not null and trim(d.part_of) <> '', concat('/',d.part_of),'')) ";
|
|
10006
10006
|
query += "when d.inv_pnrr_number != '' and d.inv_pnrr_number is not null then d.inv_pnrr_number ";
|
|
10007
10007
|
query += "when d.inv_tn_number != '' and d.inv_tn_number is not null then concat(d.inv_tn_number,'(TN)') ";
|
|
10008
10008
|
query += "when d.inv_tndigit_number != '' and d.inv_tndigit_number is not null then concat(d.inv_tndigit_number,'(TNDigit)') ";
|