Commit fae0b44a by zhaoxiqing

gsb

parent 04eeb67e
......@@ -14,6 +14,12 @@ class EtemplatebusiService extends ServiceBase {
var sql = "SELECT busi_id FROM c_etemplate_busi WHERE template_id = :template_id";
var list = await this.customQuery(sql, {template_id: template_id});
let rs = [];
if (!list || list.length == 0) {
return rs;
}
for (let item of list) {
rs.push(item.busi_id);
}
return rs;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment