Commit be1d398e by ning

新增单位列表查询

parent c1174f1a
...@@ -43,4 +43,16 @@ export class KfInfoDao extends BaseTable<KfInfo> { ...@@ -43,4 +43,16 @@ export class KfInfoDao extends BaseTable<KfInfo> {
)`; )`;
return kf_sql; return kf_sql;
} }
/**
* 查询库房列表
*/
async getKf(kfmc: string): Promise<KfInfo[]> {
let wp = this.getPredicates();
if (kfmc) {
wp.like('KFMC', kfmc);
}
wp.orderByAsc("KFDM");
return this.query(wp, this.getTableColumns());
}
} }
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论