feat(salix): refs #7648 #7648 add new fields
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
f47197cd80
commit
f0326860ba
|
@ -177,10 +177,15 @@ module.exports = Self => {
|
||||||
s.name AS supplierName,
|
s.name AS supplierName,
|
||||||
s.nickname AS supplierAlias,
|
s.nickname AS supplierAlias,
|
||||||
co.code AS companyCode,
|
co.code AS companyCode,
|
||||||
cu.code AS currencyCode
|
cu.code AS currencyCode,
|
||||||
|
t.shipped AS shipped,
|
||||||
|
t.landed AS landed,
|
||||||
|
t.warehouseInFk AS warehouseId,
|
||||||
|
w.name AS warehouseName
|
||||||
FROM vn.entry e
|
FROM vn.entry e
|
||||||
JOIN vn.supplier s ON s.id = e.supplierFk
|
JOIN vn.supplier s ON s.id = e.supplierFk
|
||||||
JOIN vn.travel t ON t.id = e.travelFk
|
JOIN vn.travel t ON t.id = e.travelFk
|
||||||
|
JOIN vn.warehouse w ON w.id = t.warehouseInFk
|
||||||
JOIN vn.company co ON co.id = e.companyFk
|
JOIN vn.company co ON co.id = e.companyFk
|
||||||
JOIN vn.currency cu ON cu.id = e.currencyFk`
|
JOIN vn.currency cu ON cu.id = e.currencyFk`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue