This commit is contained in:
parent
da0e735fb2
commit
889b86644b
|
@ -92,10 +92,13 @@ module.exports = Self => {
|
||||||
s.payDay,
|
s.payDay,
|
||||||
s.phone,
|
s.phone,
|
||||||
s.city,
|
s.city,
|
||||||
|
s.countryFk,
|
||||||
|
c.name country,
|
||||||
pm.name AS payMethod,
|
pm.name AS payMethod,
|
||||||
pd.payDem AS payDem
|
pd.payDem AS payDem
|
||||||
FROM vn.supplier s
|
FROM vn.supplier s
|
||||||
LEFT JOIN vn.payMethod pm ON pm.id = s.payMethodFk
|
LEFT JOIN vn.payMethod pm ON pm.id = s.payMethodFk
|
||||||
|
LEFT JOIN vn.country c ON c.id = s.countryFk
|
||||||
LEFT JOIN vn.payDem pd ON pd.id = s.payDemFk`
|
LEFT JOIN vn.payDem pd ON pd.id = s.payDemFk`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue