| | |
| | | import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Trubinelocation } from '../../entity/trubinelocation'; |
| | | import { TrubinelocationService } from '../../service/trubinelocation'; |
| | | // import { TrubinelocationService } from '../../service/trubinelocation'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 斗轮机信息 |
| | |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page', 'info'], |
| | | entity: Trubinelocation, |
| | | service: TrubinelocationService, |
| | | // service: TrubinelocationService, |
| | | }) |
| | | export class TrubinelocationController extends DataController { |
| | | @Inject() |
| | | trubinelocationService: TrubinelocationService; |
| | | // @Inject() |
| | | // trubinelocationService: TrubinelocationService; |
| | | |
| | | /** |
| | | * 获得数据 |