@fluxhub/fluxhub-lib 9.0.129 → 9.0.130

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.
@@ -853,6 +853,16 @@ var QueryService = /** @class */ (function () {
853
853
  }
854
854
  if (queryp.types[i] == 'string' && queryp.values[i] == null)
855
855
  queryp.values[i] = 'dbnull';
856
+ if (queryp.types[i] == 'decimal') {
857
+ if (queryp.values[i] + '' == '')
858
+ queryp.values[i] = 'dbnull';
859
+ else {
860
+ if (isNaN(queryp.values[i]))
861
+ queryp.values[i] = '0';
862
+ else
863
+ queryp.values[i] = '' + queryp.values[i];
864
+ }
865
+ }
856
866
  }
857
867
  }
858
868
  //console.log('queryp after ',queryp);