feat: refs #3199 Added one more scope ticketTotal
gitea/mycdc/pipeline/pr-master This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-05-14 08:57:16 +02:00
parent 5e01721f75
commit 6976e20943
2 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,7 @@ More info at https://github.com/nevill/zongji/issues/143
git clone https://github.com/juan-ferrer-toribio/zongji.git git clone https://github.com/juan-ferrer-toribio/zongji.git
cd zongji cd zongji
git checkout fix-143 git checkout fix-143
npm install
``` ```
Apply *zongji.sql* script into DB. Apply *zongji.sql* script into DB.

View File

@ -2,6 +2,7 @@ query:
ticket: CALL vn.ticket_recalc(:id, NULL) ticket: CALL vn.ticket_recalc(:id, NULL)
client: CALL vn.ticket_recalcByScope('client', :id) client: CALL vn.ticket_recalcByScope('client', :id)
address: CALL vn.ticket_recalcByScope('address', :id) address: CALL vn.ticket_recalcByScope('address', :id)
item: CALL vn.ticket_recalcByScope('item', :id)
includeSchema: includeSchema:
vn: vn:
ticket: ticket:
@ -40,3 +41,10 @@ includeSchema:
key: id key: id
columns: columns:
- isEqualizated - isEqualizated
itemTaxCountry:
key: itemFk
scope: item
columns:
- itemFk
- countryFk
- taxClassFk