1234567891011121314151617181920212223242526272829303132333435363738 |
- 'use strict';
- /**
- * 标准清单业务逻辑
- *
- * @author Mai
- * @date 2018/3/13
- * @version
- */
- const StandardLib = require('./standard_lib');
- module.exports = app => {
- class StdBills extends StandardLib {
- /**
- * 构造函数
- *
- * @param {Object} ctx - egg全局变量
- * @return {void}
- */
- constructor(ctx) {
- super(ctx, {
- mid: 'list_id',
- kid: 'glj_id',
- pid: 'glj_pid',
- order: 'order',
- level: 'level',
- isLeaf: 'is_leaf',
- fullPath: 'full_path',
- keyPre: 'revise_bills_maxLid:'
- }, 'glj_lib');
- this.stdType = 'glj';
- }
- }
- return StdBills;
- };
|