This commit is contained in:
parent
da0e735fb2
commit
889b86644b
|
@ -81,7 +81,7 @@ module.exports = Self => {
|
|||
let stmts = [];
|
||||
let stmt;
|
||||
stmt = new ParameterizedSQL(
|
||||
`SELECT
|
||||
`SELECT
|
||||
s.id,
|
||||
s.name AS socialName,
|
||||
s.nickname AS alias,
|
||||
|
@ -92,10 +92,13 @@ module.exports = Self => {
|
|||
s.payDay,
|
||||
s.phone,
|
||||
s.city,
|
||||
s.countryFk,
|
||||
c.name country,
|
||||
pm.name AS payMethod,
|
||||
pd.payDem AS payDem
|
||||
FROM vn.supplier s
|
||||
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`
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue