trainplanyear.js 450 B

123456789101112131415161718
  1. 'use strict';
  2. const _ = require('lodash');
  3. const Controller = require('egg').Controller;
  4. const meta = require('./.trainplanyear.js');
  5. const { CrudController } = require('naf-framework-mongoose/lib/controller');
  6. // 计划大批次管理
  7. class TrainplanyearController extends Controller {
  8. constructor(ctx) {
  9. super(ctx);
  10. this.service = this.ctx.service.trainplanyear;
  11. }
  12. }
  13. module.exports = CrudController(TrainplanyearController, meta);