|
@@ -28,7 +28,7 @@ module.exports = app => {
|
|
|
value: id,
|
|
|
operate: '=',
|
|
|
});
|
|
|
- this.sqlBuilder.columns = ['id', 'rpt_type', 'rpt_tpl_name', 'rpt_content'];
|
|
|
+ this.sqlBuilder.columns = ['id', 'rpt_type', 'rpt_tpl_name', 'rpt_content', 'source_type'];
|
|
|
const [sql, sqlParam] = this.sqlBuilder.build(this.tableName);
|
|
|
const list = await this.db.query(sql, sqlParam);
|
|
|
return list;
|
|
@@ -40,7 +40,7 @@ module.exports = app => {
|
|
|
value: rpt_ids,
|
|
|
operate: 'in',
|
|
|
});
|
|
|
- this.sqlBuilder.columns = ['id', 'rpt_type', 'rpt_tpl_name', 'rpt_content'];
|
|
|
+ this.sqlBuilder.columns = ['id', 'rpt_type', 'rpt_tpl_name', 'rpt_content', 'source_type'];
|
|
|
const [sql, sqlParam] = this.sqlBuilder.build(this.tableName);
|
|
|
const list = await this.db.query(sql, sqlParam);
|
|
|
return list;
|