oxpi-nglib 1.0.38 → 1.0.39
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/fesm2020/oxpi-nglib.mjs
CHANGED
|
@@ -226,6 +226,10 @@ class CommonWebService {
|
|
|
226
226
|
const url = this.PRODUTO_BASE_URL + CommonWebService.URL_PART_NEXT_ID;
|
|
227
227
|
return this.http.get(url, this.getHttpOptions()).pipe(map(data => data));
|
|
228
228
|
}
|
|
229
|
+
findProduto(produtoId) {
|
|
230
|
+
const url = this.PRODUTO_BASE_URL + produtoId;
|
|
231
|
+
return this.http.get(url, this.getHttpOptions()).pipe(map(data => data));
|
|
232
|
+
}
|
|
229
233
|
saveProduto(s) {
|
|
230
234
|
const url = this.PRODUTO_BASE_URL;
|
|
231
235
|
return this.http.post(url, JSON.stringify(s), this.getHttpOptions()).pipe(map(data => data));
|