'use strict'; /** * * * @author Mai * @date 2023/7/3 * @version */ module.exports = app => { class SpecPull extends app.BaseService { /** * 构造函数 * * @param {Object} ctx - egg全局变量 * @return {void} */ constructor(ctx) { super(ctx); this.tableName = 'std_gcl_list'; } async getSafeGcl () { return await this.getAllDataByCondition({ where: { sub_type: 1 } }); } } return SpecPull; };