feat: refs #3199 Added one more scope ticketTotal
gitea/mycdc/pipeline/pr-master This commit looks good
Details
gitea/mycdc/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
5e01721f75
commit
6976e20943
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue