This commit is contained in:
parent
e7d25a6cf3
commit
45085cccc8
|
@ -77,7 +77,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
stmt = new ParameterizedSQL(
|
stmt = new ParameterizedSQL(
|
||||||
`SELECT id, code, name
|
`SELECT id, code, name
|
||||||
FROM department;`
|
FROM department d`
|
||||||
);
|
);
|
||||||
|
|
||||||
stmt.merge(conn.makeSuffix(filter));
|
stmt.merge(conn.makeSuffix(filter));
|
||||||
|
|
|
@ -3,4 +3,5 @@ module.exports = Self => {
|
||||||
require('../methods/department/createChild')(Self);
|
require('../methods/department/createChild')(Self);
|
||||||
require('../methods/department/removeChild')(Self);
|
require('../methods/department/removeChild')(Self);
|
||||||
require('../methods/department/moveChild')(Self);
|
require('../methods/department/moveChild')(Self);
|
||||||
|
require('../methods/department/filter')(Self);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue