56个文件已添加
31个文件已删除
3个文件已修改
| New file |
| | |
| | | import { EntityModel } from '@midwayjs/orm'; |
| | | import { BaseEntity } from '@cool-midway/core'; |
| | | import { Column } from 'typeorm'; |
| | | |
| | | /** |
| | | * 文件空间信息 |
| | | */ |
| | | @EntityModel('t_sys_comm_column') |
| | | export class CommEntity extends BaseEntity { |
| | | @Column({ comment: '地址' }) |
| | | url: string; |
| | | |
| | | @Column({ comment: '类型' }) |
| | | type: string; |
| | | |
| | | @Column({ comment: '分类ID', type: 'bigint', nullable: true }) |
| | | classifyId: number; |
| | | } |
| | |
| | | // 中间件 |
| | | middlewares: [], |
| | | // 全局中间件 |
| | | globalMiddlewares: [], |
| | | // globalMiddlewares: [], |
| | | } as ModuleConfig; |
| | | }; |
| New file |
| | |
| | | import { Provide, Inject, } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { BasedeviceinfoEntity } from '../../entity/basedeviceinfo'; |
| | | |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | import { BasedeviceinfoService } from '../../service/basedeviceinfo'; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'info', 'list', 'page'], |
| | | entity: BasedeviceinfoEntity |
| | | }) |
| | | export class AdminBasedeviceinfoController extends DataController { |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Basedeviceparams } from '../../entity/basedeviceparams'; |
| | | import { BasedeviceparamsService } from '../../service/basedeviceparams'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备参数表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Basedeviceparams, |
| | | service: BasedeviceparamsService, |
| | | }) |
| | | export class AdminBasedeviceparamsController extends DataController { |
| | | @Inject() |
| | | basedeviceparamsService: BasedeviceparamsService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Basedevicesection } from '../../entity/basedevicesection'; |
| | | import { BasedevicesectionService } from '../../service/basedevicesection'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备组件 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Basedevicesection, |
| | | service: BasedevicesectionService, |
| | | }) |
| | | export class AdminBasedevicesectionController extends DataController { |
| | | @Inject() |
| | | basedevicesectionService: BasedevicesectionService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Basedevicestatus } from '../../entity/basedevicestatus'; |
| | | import { BasedevicestatusService } from '../../service/basedevicestatus'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备状态表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Basedevicestatus, |
| | | service: BasedevicestatusService, |
| | | }) |
| | | export class AdminBasedevicestatusController extends DataController { |
| | | @Inject() |
| | | basedevicestatusService: BasedevicestatusService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Colletdata } from '../../entity/colletdata'; |
| | | import { ColletdataService } from '../../service/colletdata'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Colletdata, |
| | | service: ColletdataService, |
| | | }) |
| | | export class AdminColletdataController extends DataController { |
| | | @Inject() |
| | | colletdataService: ColletdataService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Colletmeta } from '../../entity/colletmeta'; |
| | | import { ColletmetaService } from '../../service/colletmeta'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Colletmeta, |
| | | service: ColletmetaService, |
| | | }) |
| | | export class AdminColletmetaController extends DataController { |
| | | @Inject() |
| | | colletmetaService: ColletmetaService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Comconfig } from '../../entity/comconfig'; |
| | | import { ComconfigService } from '../../service/comconfig'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Comconfig, |
| | | service: ComconfigService, |
| | | }) |
| | | export class AdminComconfigController extends DataController { |
| | | @Inject() |
| | | comconfigService: ComconfigService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Deviceattachment } from '../../entity/deviceattachment'; |
| | | import { DeviceattachmentService } from '../../service/deviceattachment'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备相关的附件 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Deviceattachment, |
| | | service: DeviceattachmentService, |
| | | }) |
| | | export class AdminDeviceattachmentController extends DataController { |
| | | @Inject() |
| | | deviceattachmentService: DeviceattachmentService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Devicegroup } from '../../entity/devicegroup'; |
| | | import { DevicegroupService } from '../../service/devicegroup'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备分组表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Devicegroup, |
| | | service: DevicegroupService, |
| | | }) |
| | | export class AdminDevicegroupController extends DataController { |
| | | @Inject() |
| | | devicegroupService: DevicegroupService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Deviceopreraterecord } from '../../entity/deviceopreraterecord'; |
| | | import { DeviceopreraterecordService } from '../../service/deviceopreraterecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备运维记录 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Deviceopreraterecord, |
| | | service: DeviceopreraterecordService, |
| | | }) |
| | | export class AdminDeviceopreraterecordController extends DataController { |
| | | @Inject() |
| | | deviceopreraterecordService: DeviceopreraterecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Doutrubine } from '../../entity/doutrubine'; |
| | | import { DoutrubineService } from '../../service/doutrubine'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 斗轮机信息 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Doutrubine, |
| | | service: DoutrubineService, |
| | | }) |
| | | export class AdminDoutrubineController extends DataController { |
| | | @Inject() |
| | | doutrubineService: DoutrubineService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Execrecord } from '../../entity/execrecord'; |
| | | import { ExecrecordService } from '../../service/execrecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 任务执行记录表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Execrecord, |
| | | service: ExecrecordService, |
| | | }) |
| | | export class AdminExecrecordController extends DataController { |
| | | @Inject() |
| | | execrecordService: ExecrecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Interfacelist } from '../../entity/interfacelist'; |
| | | import { InterfacelistService } from '../../service/interfacelist'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 接口清单 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Interfacelist, |
| | | service: InterfacelistService, |
| | | }) |
| | | export class AdminInterfacelistController extends DataController { |
| | | @Inject() |
| | | interfacelistService: InterfacelistService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Interfacerecord } from '../../entity/interfacerecord'; |
| | | import { InterfacerecordService } from '../../service/interfacerecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 组合模型 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Interfacerecord, |
| | | service: InterfacerecordService, |
| | | }) |
| | | export class AdminInterfacerecordController extends DataController { |
| | | @Inject() |
| | | interfacerecordService: InterfacerecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Messagerecord } from '../../entity/messagerecord'; |
| | | import { MessagerecordService } from '../../service/messagerecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 任务消息记录 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Messagerecord, |
| | | service: MessagerecordService, |
| | | }) |
| | | export class AdminMessagerecordController extends DataController { |
| | | @Inject() |
| | | messagerecordService: MessagerecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Metadata } from '../../entity/metadata'; |
| | | import { MetadataService } from '../../service/metadata'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测采集原数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Metadata, |
| | | service: MetadataService, |
| | | }) |
| | | export class AdminMetadataController extends DataController { |
| | | @Inject() |
| | | metadataService: MetadataService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Modelcombination } from '../../entity/modelcombination'; |
| | | import { ModelcombinationService } from '../../service/modelcombination'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 组合模型 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Modelcombination, |
| | | service: ModelcombinationService, |
| | | }) |
| | | export class AdminModelcombinationController extends DataController { |
| | | @Inject() |
| | | modelcombinationService: ModelcombinationService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Modelstatic } from '../../entity/modelstatic'; |
| | | import { ModelstaticService } from '../../service/modelstatic'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 静态模型数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Modelstatic, |
| | | service: ModelstaticService, |
| | | }) |
| | | export class AdminModelstaticController extends DataController { |
| | | @Inject() |
| | | modelstaticService: ModelstaticService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Periodicsetting } from '../../entity/periodicsetting'; |
| | | import { PeriodicsettingService } from '../../service/periodicsetting'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 分组任务参数设置表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Periodicsetting, |
| | | service: PeriodicsettingService, |
| | | }) |
| | | export class AdminPeriodicsettingController extends DataController { |
| | | @Inject() |
| | | periodicsettingService: PeriodicsettingService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Planinventory } from '../../entity/planinventory'; |
| | | import { PlaninventoryService } from '../../service/planinventory'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 盘煤计划 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Planinventory, |
| | | service: PlaninventoryService, |
| | | }) |
| | | export class AdminPlaninventoryController extends DataController { |
| | | @Inject() |
| | | planinventoryService: PlaninventoryService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Pointcloud } from '../../entity/pointcloud'; |
| | | import { PointcloudService } from '../../service/pointcloud'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Pointcloud, |
| | | service: PointcloudService, |
| | | }) |
| | | export class AdminPointcloudController extends DataController { |
| | | @Inject() |
| | | pointcloudService: PointcloudService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Pointmodel } from '../../entity/pointmodel'; |
| | | import { PointmodelService } from '../../service/pointmodel'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 点云模型 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Pointmodel, |
| | | service: PointmodelService, |
| | | }) |
| | | export class AdminPointmodelController extends DataController { |
| | | @Inject() |
| | | pointmodelService: PointmodelService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Statdata } from '../../entity/statdata'; |
| | | import { StatdataService } from '../../service/statdata'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测统计 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Statdata, |
| | | service: StatdataService, |
| | | }) |
| | | export class AdminStatdataController extends DataController { |
| | | @Inject() |
| | | statdataService: StatdataService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Taskimmediately } from '../../entity/taskimmediately'; |
| | | import { TaskimmediatelyService } from '../../service/taskimmediately'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 即时任务记录表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Taskimmediately, |
| | | service: TaskimmediatelyService, |
| | | }) |
| | | export class AdminTaskimmediatelyController extends DataController { |
| | | @Inject() |
| | | taskimmediatelyService: TaskimmediatelyService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Taskmonitor } from '../../entity/taskmonitor'; |
| | | import { TaskmonitorService } from '../../service/taskmonitor'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测任务表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Taskmonitor, |
| | | service: TaskmonitorService, |
| | | }) |
| | | export class AdminTaskmonitorController extends DataController { |
| | | @Inject() |
| | | taskmonitorService: TaskmonitorService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Trubinelocation } from '../../entity/trubinelocation'; |
| | | import { TrubinelocationService } from '../../service/trubinelocation'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 斗轮机信息 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Trubinelocation, |
| | | service: TrubinelocationService, |
| | | }) |
| | | export class AdminTrubinelocationController extends DataController { |
| | | @Inject() |
| | | trubinelocationService: TrubinelocationService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Tuser } from '../../entity/tuser'; |
| | | import { TuserService } from '../../service/tuser'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Tuser, |
| | | service: TuserService, |
| | | }) |
| | | export class AdminTuserController extends DataController { |
| | | @Inject() |
| | | tuserService: TuserService; |
| | | } |
| New file |
| | |
| | | import { Provide, Inject, } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { BasedeviceinfoEntity } from '../../entity/basedeviceinfo'; |
| | | |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | import { BasedeviceinfoService } from '../../service/basedeviceinfo'; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'info', 'list', 'page'], |
| | | entity: BasedeviceinfoEntity |
| | | }) |
| | | export class AppBasedeviceinfoController extends DataController { |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Basedeviceparams } from '../../entity/basedeviceparams'; |
| | | import { BasedeviceparamsService } from '../../service/basedeviceparams'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备参数表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Basedeviceparams, |
| | | service: BasedeviceparamsService, |
| | | }) |
| | | export class AppBasedeviceparamsController extends DataController { |
| | | @Inject() |
| | | basedeviceparamsService: BasedeviceparamsService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Basedevicesection } from '../../entity/basedevicesection'; |
| | | import { BasedevicesectionService } from '../../service/basedevicesection'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备组件 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Basedevicesection, |
| | | service: BasedevicesectionService, |
| | | }) |
| | | export class AppBasedevicesectionController extends DataController { |
| | | @Inject() |
| | | basedevicesectionService: BasedevicesectionService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Basedevicestatus } from '../../entity/basedevicestatus'; |
| | | import { BasedevicestatusService } from '../../service/basedevicestatus'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备状态表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Basedevicestatus, |
| | | service: BasedevicestatusService, |
| | | }) |
| | | export class AppBasedevicestatusController extends DataController { |
| | | @Inject() |
| | | basedevicestatusService: BasedevicestatusService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Colletdata } from '../../entity/colletdata'; |
| | | import { ColletdataService } from '../../service/colletdata'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Colletdata, |
| | | service: ColletdataService, |
| | | }) |
| | | export class AppColletdataController extends DataController { |
| | | @Inject() |
| | | colletdataService: ColletdataService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Colletmeta } from '../../entity/colletmeta'; |
| | | import { ColletmetaService } from '../../service/colletmeta'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Colletmeta, |
| | | service: ColletmetaService, |
| | | }) |
| | | export class AppColletmetaController extends DataController { |
| | | @Inject() |
| | | colletmetaService: ColletmetaService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Comconfig } from '../../entity/comconfig'; |
| | | import { ComconfigService } from '../../service/comconfig'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Comconfig, |
| | | service: ComconfigService, |
| | | }) |
| | | export class AppComconfigController extends DataController { |
| | | @Inject() |
| | | comconfigService: ComconfigService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Deviceattachment } from '../../entity/deviceattachment'; |
| | | import { DeviceattachmentService } from '../../service/deviceattachment'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备相关的附件 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Deviceattachment, |
| | | service: DeviceattachmentService, |
| | | }) |
| | | export class AppDeviceattachmentController extends DataController { |
| | | @Inject() |
| | | deviceattachmentService: DeviceattachmentService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Devicegroup } from '../../entity/devicegroup'; |
| | | import { DevicegroupService } from '../../service/devicegroup'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备分组表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list', 'page'], |
| | | entity: Devicegroup, |
| | | service: DevicegroupService, |
| | | }) |
| | | export class AppDevicegroupController extends DataController { |
| | | @Inject() |
| | | devicegroupService: DevicegroupService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Deviceopreraterecord } from '../../entity/deviceopreraterecord'; |
| | | import { DeviceopreraterecordService } from '../../service/deviceopreraterecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 设备运维记录 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Deviceopreraterecord, |
| | | service: DeviceopreraterecordService, |
| | | }) |
| | | export class AppDeviceopreraterecordController extends DataController { |
| | | @Inject() |
| | | deviceopreraterecordService: DeviceopreraterecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Doutrubine } from '../../entity/doutrubine'; |
| | | import { DoutrubineService } from '../../service/doutrubine'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 斗轮机信息 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Doutrubine, |
| | | service: DoutrubineService, |
| | | }) |
| | | export class AppDoutrubineController extends DataController { |
| | | @Inject() |
| | | doutrubineService: DoutrubineService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Execrecord } from '../../entity/execrecord'; |
| | | import { ExecrecordService } from '../../service/execrecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 任务执行记录表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Execrecord, |
| | | service: ExecrecordService, |
| | | }) |
| | | export class AppExecrecordController extends DataController { |
| | | @Inject() |
| | | execrecordService: ExecrecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Interfacelist } from '../../entity/interfacelist'; |
| | | import { InterfacelistService } from '../../service/interfacelist'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 接口清单 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Interfacelist, |
| | | service: InterfacelistService, |
| | | }) |
| | | export class AppInterfacelistController extends DataController { |
| | | @Inject() |
| | | interfacelistService: InterfacelistService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Interfacerecord } from '../../entity/interfacerecord'; |
| | | import { InterfacerecordService } from '../../service/interfacerecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 组合模型 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Interfacerecord, |
| | | service: InterfacerecordService, |
| | | }) |
| | | export class AppInterfacerecordController extends DataController { |
| | | @Inject() |
| | | interfacerecordService: InterfacerecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Messagerecord } from '../../entity/messagerecord'; |
| | | import { MessagerecordService } from '../../service/messagerecord'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 任务消息记录 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Messagerecord, |
| | | service: MessagerecordService, |
| | | }) |
| | | export class AppMessagerecordController extends DataController { |
| | | @Inject() |
| | | messagerecordService: MessagerecordService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Metadata } from '../../entity/metadata'; |
| | | import { MetadataService } from '../../service/metadata'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测采集原数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Metadata, |
| | | service: MetadataService, |
| | | }) |
| | | export class AppMetadataController extends DataController { |
| | | @Inject() |
| | | metadataService: MetadataService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Modelcombination } from '../../entity/modelcombination'; |
| | | import { ModelcombinationService } from '../../service/modelcombination'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 组合模型 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Modelcombination, |
| | | service: ModelcombinationService, |
| | | }) |
| | | export class AppModelcombinationController extends DataController { |
| | | @Inject() |
| | | modelcombinationService: ModelcombinationService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Modelstatic } from '../../entity/modelstatic'; |
| | | import { ModelstaticService } from '../../service/modelstatic'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 静态模型数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Modelstatic, |
| | | service: ModelstaticService, |
| | | }) |
| | | export class AppModelstaticController extends DataController { |
| | | @Inject() |
| | | modelstaticService: ModelstaticService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Periodicsetting } from '../../entity/periodicsetting'; |
| | | import { PeriodicsettingService } from '../../service/periodicsetting'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 分组任务参数设置表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Periodicsetting, |
| | | service: PeriodicsettingService, |
| | | }) |
| | | export class AppPeriodicsettingController extends DataController { |
| | | @Inject() |
| | | periodicsettingService: PeriodicsettingService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Planinventory } from '../../entity/planinventory'; |
| | | import { PlaninventoryService } from '../../service/planinventory'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 盘煤计划 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Planinventory, |
| | | service: PlaninventoryService, |
| | | }) |
| | | export class AppPlaninventoryController extends DataController { |
| | | @Inject() |
| | | planinventoryService: PlaninventoryService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Pointcloud } from '../../entity/pointcloud'; |
| | | import { PointcloudService } from '../../service/pointcloud'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测元数据 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Pointcloud, |
| | | service: PointcloudService, |
| | | }) |
| | | export class AppPointcloudController extends DataController { |
| | | @Inject() |
| | | pointcloudService: PointcloudService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Pointmodel } from '../../entity/pointmodel'; |
| | | import { PointmodelService } from '../../service/pointmodel'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 点云模型 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Pointmodel, |
| | | service: PointmodelService, |
| | | }) |
| | | export class AppPointmodelController extends DataController { |
| | | @Inject() |
| | | pointmodelService: PointmodelService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Statdata } from '../../entity/statdata'; |
| | | import { StatdataService } from '../../service/statdata'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测统计 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Statdata, |
| | | service: StatdataService, |
| | | }) |
| | | export class AppStatdataController extends DataController { |
| | | @Inject() |
| | | statdataService: StatdataService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Taskimmediately } from '../../entity/taskimmediately'; |
| | | import { TaskimmediatelyService } from '../../service/taskimmediately'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 即时任务记录表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Taskimmediately, |
| | | service: TaskimmediatelyService, |
| | | }) |
| | | export class AppTaskimmediatelyController extends DataController { |
| | | @Inject() |
| | | taskimmediatelyService: TaskimmediatelyService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Taskmonitor } from '../../entity/taskmonitor'; |
| | | import { TaskmonitorService } from '../../service/taskmonitor'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 监测任务表 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Taskmonitor, |
| | | service: TaskmonitorService, |
| | | }) |
| | | export class AppTaskmonitorController extends DataController { |
| | | @Inject() |
| | | taskmonitorService: TaskmonitorService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Trubinelocation } from '../../entity/trubinelocation'; |
| | | import { TrubinelocationService } from '../../service/trubinelocation'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * 斗轮机信息 |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Trubinelocation, |
| | | service: TrubinelocationService, |
| | | }) |
| | | export class AppTrubinelocationController extends DataController { |
| | | @Inject() |
| | | trubinelocationService: TrubinelocationService; |
| | | } |
| New file |
| | |
| | | import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator'; |
| | | import { CoolController, BaseController } from '@cool-midway/core'; |
| | | import { Tuser } from '../../entity/tuser'; |
| | | import { TuserService } from '../../service/tuser'; |
| | | import { DataController } from '../../../base/controller/dataController'; |
| | | /** |
| | | * |
| | | */ |
| | | @Provide() |
| | | @CoolController({ |
| | | api: ['add', 'delete', 'update', 'list'], |
| | | entity: Tuser, |
| | | service: TuserService, |
| | | }) |
| | | export class AppTuserController extends DataController { |
| | | @Inject() |
| | | tuserService: TuserService; |
| | | } |
| | |
| | | import { EntityModel } from '@midwayjs/orm'; |
| | | import { BaseEntity } from '@cool-midway/core'; |
| | | import { Column, Double } from 'typeorm'; |
| | | import { Column } from 'typeorm'; |
| | | /** |
| | | * 设备信息表 |
| | | */ |
| | | @EntityModel('t_base_deviceinfo') |
| | | export class Basedeviceinfo extends BaseEntity { |
| | | @Column({ comment:'设备高度', type:'varchar', default:'', length:50}) |
| | | altitude: string; |
| | | @EntityModel('t_base_deviceinfo') |
| | | export class BasedeviceinfoEntity extends BaseEntity { |
| | | @Column({ comment: '设备高度', type: 'varchar', default: '', length: 50 }) |
| | | altitude: string; |
| | | |
| | | @Column({ comment:'账号', type:'varchar', default:'', length:50}) |
| | | device_account: string; |
| | | @Column({ comment: '账号', type: 'varchar', default: '', length: 50 }) |
| | | device_account: string; |
| | | |
| | | @Column({ comment:'唯一索引,设备物理id,如厂编号、subscribeno等', type:'varchar', default:'', length:50}) |
| | | device_id: string; |
| | | @Column({ comment: '唯一索引,设备物理id,如厂编号、subscribeno等', type: 'varchar', default: '', length: 50 }) |
| | | device_id: string; |
| | | |
| | | @Column({ comment:'端口', type:'varchar', default:'', length:50}) |
| | | device_port: string; |
| | | @Column({ comment: '端口', type: 'varchar', default: '', length: 50 }) |
| | | device_port: string; |
| | | |
| | | @Column({ comment:'密码', type:'varchar', default:'', length:50}) |
| | | device_psw: string; |
| | | @Column({ comment: '密码', type: 'varchar', default: '', length: 50 }) |
| | | device_psw: string; |
| | | |
| | | @Column({ comment:'设备精度', type:'varchar', default:'', length:50}) |
| | | dimension: string; |
| | | @Column({ comment: '设备精度', type: 'varchar', default: '', length: 50 }) |
| | | dimension: string; |
| | | |
| | | @Column({ comment:'', type:'varchar', default:'', length:50}) |
| | | heading_angle: string; |
| | | @Column({ comment: '', type: 'varchar', default: '', length: 50 }) |
| | | heading_angle: string; |
| | | |
| | | @Column({ comment:'IP地址', type:'varchar', default:'', length:50}) |
| | | ipaddres: string; |
| | | @Column({ comment: 'IP地址', type: 'varchar', default: '', length: 50 }) |
| | | ipaddres: string; |
| | | |
| | | @Column({ comment:'纬度,精确到小数点后6位', type:'varchar', default:'', length:50}) |
| | | latitude: string; |
| | | @Column({ comment: '纬度,精确到小数点后6位', type: 'varchar', default: '', length: 50 }) |
| | | latitude: string; |
| | | |
| | | @Column({ comment:'安装位置,**省**市**区**路**号**楼**方位', type:'varchar', default:'', length:50}) |
| | | location: string; |
| | | @Column({ comment: '安装位置,**省**市**区**路**号**楼**方位', type: 'varchar', default: '', length: 50 }) |
| | | location: string; |
| | | |
| | | @Column({ comment:'设备逻辑ID', type:'varchar', default:'', length:50}) |
| | | logic_id: string; |
| | | @Column({ comment: '设备逻辑ID', type: 'varchar', default: '', length: 50 }) |
| | | logic_id: string; |
| | | |
| | | @Column({ comment:'经度,精确到小数点后6位', type:'varchar', default:'', length:50}) |
| | | longitude: string; |
| | | @Column({ comment: '经度,精确到小数点后6位', type: 'varchar', default: '', length: 50 }) |
| | | longitude: string; |
| | | |
| | | @Column({ comment:'设备名称', type:'varchar', default:'', length:50}) |
| | | name: string; |
| | | @Column({ comment: '设备名称', type: 'varchar', default: '', length: 50 }) |
| | | name: string; |
| | | |
| | | @Column({ comment:'运维负责人', type:'varchar', default:'', length:50}) |
| | | opertator: string; |
| | | @Column({ comment: '运维负责人', type: 'varchar', default: '', length: 50 }) |
| | | opertator: string; |
| | | |
| | | @Column({ comment:'俯仰角', type:'varchar', default:'', length:50}) |
| | | petch_angle: string; |
| | | @Column({ comment: '俯仰角', type: 'varchar', default: '', length: 50 }) |
| | | petch_angle: string; |
| | | |
| | | @Column({ comment:'航向角', type:'varchar', default:'', length:50}) |
| | | precision: string; |
| | | @Column({ comment: '航向角', type: 'varchar', default: '', length: 50 }) |
| | | precision: string; |
| | | |
| | | @Column({ comment:'备注', type:'varchar', default:'', length:50}) |
| | | remark: string; |
| | | @Column({ comment: '备注', type: 'varchar', default: '', length: 50 }) |
| | | remark: string; |
| | | |
| | | @Column({ comment:'横滚角', type:'varchar', default:'', length:50}) |
| | | roll_angle: string; |
| | | @Column({ comment: '横滚角', type: 'varchar', default: '', length: 50 }) |
| | | roll_angle: string; |
| | | |
| | | @Column({ comment:'状态,1-启用 0-停用', type:'int', default:1, width:0}) |
| | | status: number; |
| | | @Column({ comment: '状态,1-启用 0-停用', type: 'int', default: 1, width: 0 }) |
| | | status: number; |
| | | |
| | | } |