123456789101112131415161718192021222324252627282930 |
- '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;
- };
|