From 296ae8946c001a3d7c5efe29141574603381e99d Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期二, 22 三月 2022 11:44:17 +0800
Subject: [PATCH] business接口放入admin文件夹
---
src/app/modules/business/controller/admin/taskimmediately.ts | 18
src/app/modules/business/controller/app/basedeviceinfo.ts | 17
src/app/modules/business/controller/admin/modelcombination.ts | 18
src/app/modules/business/controller/app/pointmodel.ts | 18
src/app/modules/business/controller/app/basedevicesection.ts | 18
src/app/modules/business/controller/admin/planinventory.ts | 18
src/app/modules/business/controller/admin/periodicsetting.ts | 18
src/app/modules/business/controller/app/modelcombination.ts | 18
src/app/modules/base/entity/app/commentity.ts | 905 -------------------------
src/app/modules/business/controller/app/statdata.ts | 18
src/app/modules/business/controller/app/tuser.ts | 18
src/app/modules/business/controller/admin/basedevicestatus.ts | 18
src/app/modules/business/controller/app/basedeviceparams.ts | 18
src/app/modules/business/controller/admin/basedeviceinfo.ts | 17
src/app/modules/business/controller/app/comconfig.ts | 18
src/app/modules/business/controller/admin/pointmodel.ts | 18
src/app/modules/business/controller/app/planinventory.ts | 18
src/app/modules/business/controller/admin/deviceattachment.ts | 18
src/app/modules/business/controller/admin/doutrubine.ts | 18
src/app/modules/business/controller/app/taskmonitor.ts | 18
src/app/modules/business/controller/admin/tuser.ts | 18
src/app/modules/business/controller/app/deviceopreraterecord.ts | 18
src/app/modules/business/controller/app/messagerecord.ts | 18
src/app/modules/business/controller/app/periodicsetting.ts | 18
src/app/modules/business/controller/app/modelstatic.ts | 18
src/app/modules/business/controller/app/trubinelocation.ts | 18
src/app/modules/base/controller/admin/open.ts | 9
src/app/modules/business/controller/admin/interfacelist.ts | 18
src/app/modules/business/controller/admin/metadata.ts | 18
src/app/modules/business/controller/app/devicegroup.ts | 18
src/app/modules/business/controller/app/taskimmediately.ts | 18
src/app/modules/business/controller/admin/devicegroup.ts | 18
src/app/modules/business/controller/admin/execrecord.ts | 18
src/app/modules/deviceGroup/controller/admin/deviceGroup.ts | 24
src/app/modules/business/entity/basedeviceinfo.ts | 82 +-
src/app/modules/business/controller/app/doutrubine.ts | 18
src/app/modules/business/controller/admin/interfacerecord.ts | 18
src/app/modules/business/controller/admin/pointcloud.ts | 18
src/app/modules/business/controller/app/colletmeta.ts | 18
src/app/modules/business/controller/admin/colletmeta.ts | 18
src/app/modules/business/controller/app/interfacerecord.ts | 18
src/app/modules/business/controller/admin/statdata.ts | 18
src/app/modules/business/controller/admin/basedevicesection.ts | 18
src/app/modules/business/controller/app/execrecord.ts | 18
src/app/modules/business/controller/app/pointcloud.ts | 18
src/app/modules/business/config.ts | 2
src/app/modules/business/controller/admin/taskmonitor.ts | 18
src/app/modules/business/controller/app/basedevicestatus.ts | 18
src/app/modules/business/controller/admin/basedeviceparams.ts | 18
src/app/modules/business/controller/admin/trubinelocation.ts | 18
src/app/modules/business/controller/admin/messagerecord.ts | 18
src/app/modules/business/controller/admin/modelstatic.ts | 18
src/app/modules/business/controller/admin/comconfig.ts | 18
src/app/modules/business/controller/admin/colletdata.ts | 18
src/app/modules/business/controller/app/deviceattachment.ts | 18
src/app/modules/business/controller/app/metadata.ts | 18
/dev/null | 69 -
src/app/modules/base/controller/admin/test.ts | 0
src/app/modules/business/controller/app/interfacelist.ts | 18
src/app/modules/business/controller/admin/deviceopreraterecord.ts | 18
src/app/modules/business/controller/app/colletdata.ts | 18
src/app/modules/deviceGroup/controller/app/deviceGroup.ts | 28
62 files changed, 1,057 insertions(+), 1,032 deletions(-)
diff --git a/src/app/modules/base/controller/admin/open.ts b/src/app/modules/base/controller/admin/open.ts
index 6c05a10..c18ccd8 100644
--- a/src/app/modules/base/controller/admin/open.ts
+++ b/src/app/modules/base/controller/admin/open.ts
@@ -10,21 +10,16 @@
import { Context } from 'egg';
import { CoolController, BaseController } from '@cool-midway/core';
import { LoginDTO } from '../../dto/login';
-import * as fs from 'fs';
import { BaseSysLoginService } from '../../service/sys/login';
import { BaseSysParamService } from '../../service/sys/param';
import { DataService } from '../../service/dataapi/dataapi';
-import { CommEntity } from '../../entity/app/commentity';
import { CreateEntityUtil } from '../../utils/createEntity';
/**
* 涓嶉渶瑕佺櫥褰曠殑鍚庡彴鎺ュ彛
*/
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'info', 'list', 'page'],
- entity: CommEntity
-})
+@CoolController()
export class BaseOpenController extends BaseController {
@Inject()
baseSysLoginService: BaseSysLoginService;
@@ -136,4 +131,4 @@
})
}
-}
+}
\ No newline at end of file
diff --git a/src/app/modules/base/controller/admin/test.ts b/src/app/modules/base/controller/admin/test.ts
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/app/modules/base/controller/admin/test.ts
diff --git a/src/app/modules/base/entity/app/commentity.ts b/src/app/modules/base/entity/app/commentity.ts
index 2de32ec..e897d9a 100644
--- a/src/app/modules/base/entity/app/commentity.ts
+++ b/src/app/modules/base/entity/app/commentity.ts
@@ -1,889 +1,18 @@
import { EntityModel } from '@midwayjs/orm';
-import { BaseEntity } from '@cool-midway/core';
-import { Column, Double } from 'typeorm';
-
-/**
- * 缁煎悎瀹炰綋绫�
- */
-@EntityModel('t_sys_comm_column')
-export class CommEntity extends BaseEntity {
- @Column({ comment: '闄勪欢鍚嶇О', type: 'varchar', default: 'null' })
- deviceattachment_attach_name: string;
-
- @Column({ comment: '椤哄簭缂栧彿', type: 'varchar', default: 'null' })
- deviceattachment_attach_sort: string;
-
- @Column({ comment: '闄勪欢绫诲瀷锛� 1-浣跨敤璇存槑 2-瀹夎浣嶇疆鐓х墖 ...', type: 'varchar', default: 'null' })
- deviceattachment_attach_type: string;
-
- @Column({ comment: '闄勪欢璁块棶璺緞', type: 'varchar', default: 'null' })
- deviceattachment_attach_url: string;
-
- @Column({ comment: '闄勪欢鎻愪緵浜�', type: 'varchar', default: 'null' })
- deviceattachment_configurator: string;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- deviceattachment_device_id: string;
-
- @Column({ comment: '閫昏緫ID', type: 'varchar', default: 'null' })
- deviceattachment_logic_id: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- deviceattachment_remark: string;
-
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: '1' })
- deviceattachment_status: number;
-
- @Column({ comment: '鍒嗙粍璁剧疆浜哄憳', type: 'varchar', default: 'null' })
- devicegroup_configurator: string;
-
- @Column({ comment: '閫昏緫ID', type: 'varchar', default: 'null' })
- devicegroup_logic_id: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: '鏃�' })
- devicegroup_remark: string;
-
- @Column({ comment: '鐘舵��', type: 'tinyint', default: '1' })
- devicegroup_status: number;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- deviceopreraterecord_device_id: string;
-
- @Column({ comment: '璁惧閫昏緫ID', type: 'varchar', default: 'null' })
- deviceopreraterecord_logic_id: string;
-
- @Column({ comment: '杩愮淮鍐呭', type: 'varchar', default: 'null' })
- deviceopreraterecord_operate_content: string;
-
- @Column({ comment: '杩愮淮绫诲瀷 1-宸℃ 2-缁翠慨', type: 'varchar', default: 'null' })
- deviceopreraterecord_operate_type: string;
-
- @Column({ comment: '杩愮淮浜哄憳', type: 'varchar', default: 'null' })
- deviceopreraterecord_operator: string;
-
- @Column({ comment: '闄勪欢璁块棶璺緞', type: 'varchar', default: 'null' })
- deviceopreraterecord_pic_url: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- deviceopreraterecord_remark: string;
-
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: '1' })
- deviceopreraterecord_status: number;
-
- @Column({ comment: '楂樺害', type: 'double', default: '40' })
- basedeviceinfo_altitude: Double;
-
- @Column({ comment: '璐﹀彿', type: 'varchar', default: 'admin' })
- basedeviceinfo_device_account: string;
-
- @Column({ comment: '鐗╃悊ID', type: 'varchar', default: 'null' })
- basedeviceinfo_device_id: string;
-
- @Column({ comment: '绔彛', type: 'varchar', default: '8001' })
- basedeviceinfo_device_port: string;
-
- @Column({ comment: '瀵嗙爜', type: 'varchar', default: '123456' })
- basedeviceinfo_device_psw: string;
-
- @Column({ comment: '璁惧灏哄', type: 'varchar', default: '110*110' })
- basedeviceinfo_dimension: string;
-
- @Column({ comment: '鑸悜瑙�', type: 'varchar', default: '90' })
- basedeviceinfo_heading_angle: string;
-
- @Column({ comment: 'IP鍦板潃', type: 'varchar', default: '127.0.0.1' })
- basedeviceinfo_ipaddress: string;
-
- @Column({ comment: '绾害', type: 'double', default: '31' })
- basedeviceinfo_latitude: Double;
-
- @Column({ comment: '瀹夎浣嶇疆', type: 'varchar', default: '鍗庤兘鐢靛巶浜屽彿鐓ゆ-绗竴椹亾-鍖�' })
- basedeviceinfo_location: string;
-
- @Column({ comment: '閫昏緫ID', type: 'varchar', default: 'null' })
- basedeviceinfo_logic_id: string;
-
- @Column({ comment: '缁忓害', type: 'double', default: '121' })
- basedeviceinfo_longitude: Double;
-
- @Column({ comment: '璁惧鍚嶇О', type: 'varchar', default: '鍙鍏�-姣背娉�-閲囬泦璁惧' })
- basedeviceinfo_name: string;
-
- @Column({ comment: '杩愮淮璐熻矗浜�', type: 'varchar', default: 'null' })
- basedeviceinfo_operator: string;
-
- @Column({ comment: '淇话瑙�', type: 'varchar', default: '90' })
- basedeviceinfo_petch_angle: string;
-
- @Column({ comment: '璁惧绮惧害', type: 'varchar', default: '3' })
- basedeviceinfo_precision: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: '鏃�' })
- basedeviceinfo_remark: string;
-
- @Column({ comment: '妯粴瑙�', type: 'varchar', default: '90' })
- basedeviceinfo_roll_angle: string;
-
- @Column({ comment: '鐘舵��', type: 'int', default: '1' })
- basedeviceinfo_status: number;
-
- @Column({ comment: '閰嶇疆浜�', type: 'varchar', default: 'null' })
- basedeviceparams_configurator: string;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- basedeviceparams_device_id: string;
-
- @Column({ comment: '璁惧閫昏緫ID', type: 'varchar', default: 'null' })
- basedeviceparams_logic_id: string;
-
- @Column({ comment: 'key', type: 'varchar', default: 'null' })
- basedeviceparams_param_key: string;
-
- @Column({ comment: '鍙傛暟绫诲瀷', type: 'int', default: 'null' })
- basedeviceparams_param_type: number;
-
- @Column({ comment: '鍙傛暟鍊�', type: 'varchar', default: 'null' })
- basedeviceparams_param_value: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- basedeviceparams_remark: string;
-
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: '1' })
- basedeviceparams_status: number;
-
- @Column({ comment: '閰嶇疆浜�', type: 'varchar', default: 'null' })
- basedevicesection_configurator: string;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- basedevicesection_device_id: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- basedevicesection_remark: string;
-
- @Column({ comment: '缁勪欢鍚嶇О', type: 'varchar', default: 'null' })
- basedevicesection_section_name: string;
-
- @Column({ comment: '椤哄簭缂栧彿', type: 'varchar', default: 'null' })
- basedevicesection_section_sort: string;
-
- @Column({ comment: '缁勪欢绫诲瀷', type: 'int', default: 'null' })
- basedevicesection_section_type: number;
-
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: '1' })
- basedevicesection_status: number;
-
- @Column({ comment: '绫诲埆 1-蹇冭烦 2-鍛婅', type: 'int', default: 'null' })
- basedevicestatus_alarm_type: number;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- basedevicestatus_device_id: string;
-
- @Column({ comment: '璁惧閫昏緫ID', type: 'varchar', default: 'null' })
- basedevicestatus_logic_id: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- basedevicestatus_remark: string;
-
- @Column({ comment: '涓婃姤鍐呭锛屽彲浠ユ槸json鏍煎紡', type: 'varchar', default: 'null' })
- basedevicestatus_report_content: string;
-
- @Column({ comment: '涓婃姤鏃堕棿', type: 'datetime', default: 'null' })
- basedevicestatus_report_time: Date;
-
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: '1' })
- basedevicestatus_status: number;
-
- @Column({ comment: '鏃嬭浆鐩村緞', type: 'varchar', default: 'null' })
- doutrubine_diameter_wheel: string;
-
- @Column({ comment: 'dou_wheel_volumn', type: 'varchar', default: 'null' })
- doutrubine_dou_wheel_volumn: string;
-
- @Column({ comment: 'max_reclaiming', type: 'varchar', default: 'null' })
- doutrubine_max_reclaiming: string;
-
- @Column({ comment: '鐓ゅ爢2', type: 'varchar', default: 'null' })
- doutrubine_max_windrow: string;
-
- @Column({ comment: 'petch_angle', type: 'varchar', default: 'null' })
- doutrubine_petch_angle: string;
-
- @Column({ comment: '鏃嬭浆鐩村緞', type: 'varchar', default: 'null' })
- doutrubine_pie_height_down: string;
-
- @Column({ comment: '鏃嬭浆鐩村緞', type: 'varchar', default: 'null' })
- doutrubine_pie_height_up: string;
-
- @Column({ comment: 'rated_reclaiming', type: 'varchar', default: 'null' })
- doutrubine_rated_reclaiming: string;
-
- @Column({ comment: '鐓ゅ爢1', type: 'varchar', default: 'null' })
- doutrubine_rated_windrow: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- doutrubine_remark: string;
-
- @Column({ comment: '鐘舵��', type: 'tinyint', default: '1' })
- doutrubine_status: number;
-
- @Column({ comment: '鏂楄疆鏈哄悕绉�', type: 'varchar', default: 'null' })
- doutrubine_trubine_name: string;
-
- @Column({ comment: '鏂楄疆鏈虹紪鍙�', type: 'varchar', default: 'null' })
- doutrubine_trubine_no: string;
-
- @Column({ comment: '鍨嬪彿灏哄', type: 'varchar', default: 'null' })
- doutrubine_trubine_size: string;
-
- @Column({ comment: '鏂楄疆鏈虹被鍒�', type: 'varchar', default: 'null' })
- doutrubine_trubine_type: string;
-
- @Column({ comment: '楂樺害', type: 'double', default: 'null' })
- trubinelocation_elevation: Double;
-
- @Column({ comment: '鏂逛綅瑙�', type: 'varchar', default: 'null' })
- trubinelocation_heading_angle: string;
-
- @Column({ comment: '缁忓害', type: 'double', default: 'null' })
- trubinelocation_latitude: Double;
-
- @Column({ comment: '绾害', type: 'double', default: 'null' })
- trubinelocation_longitude: Double;
-
- @Column({ comment: '绮惧害', type: 'varchar', default: 'null' })
- trubinelocation_precision: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- trubinelocation_remark: string;
-
- @Column({ comment: '1-鍚敤 0-绂佺敤', type: 'int', default: '1' })
- trubinelocation_status: number;
-
- @Column({ comment: '鍒嗙被ID', type: 'bigint', default: 0 })
- baseentity_classifyId: number;
-
- @Column({ comment: '绫诲瀷', type: 'varchar', default: 'null' })
- baseentity_type: string;
-
- @Column({ comment: '鍦板潃', type: 'varchar', default: 'null' })
- baseentity_url: string;
-
- @Column({ comment: '璐﹀彿', type: 'varchar', default: 'null' })
- interfacelist_auth_account: string;
-
- @Column({ comment: '瀵嗙爜', type: 'varchar', default: 'null' })
- interfacelist_auth_psw: string;
-
- @Column({ comment: '璁よ瘉鏂瑰紡', type: 'varchar', default: 'null' })
- interfacelist_interface_auth: string;
-
- @Column({ comment: '鎺ュ彛IP', type: 'varchar', default: 'null' })
- interfacelist_interface_ip: string;
-
- @Column({ comment: '鎺ュ彛鍚嶇О', type: 'varchar', default: 'null' })
- interfacelist_interface_name: string;
-
- @Column({ comment: '绔彛', type: 'varchar', default: 'null' })
- interfacelist_interface_port: string;
-
- @Column({ comment: '鎺ュ彛鍗忚', type: 'varchar', default: 'null' })
- interfacelist_interface_protocal: string;
-
- @Column({ comment: '鎺ュ彛绫诲瀷', type: 'varchar', default: 'null' })
- interfacelist_interface_type: string;
-
- @Column({ comment: '鎺ュ彛鍦板潃', type: 'varchar', default: 'null' })
- interfacelist_interface_url: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- interfacelist_remark: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- interfacelist_share_service: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- interfacelist_share_url: string;
-
- @Column({ comment: '', type: 'int', default: 'null' })
- interfacelist_status: number;
-
- @Column({ comment: '璋冪敤缁撴潫鏃堕棿', type: 'datetime', default: 'null' })
- interfacerecord_end_time: Date;
-
- @Column({ comment: '鎺ュ彛璋冪敤鍦板潃', type: 'varchar', default: 'null' })
- interfacerecord_interface_direct: string;
-
- @Column({ comment: '鎺ュ彛娓呭崟ID', type: 'varchar', default: 'null' })
- interfacerecord_interface_id: string;
-
- @Column({ comment: '璋冪敤鍙傛暟锛宩son鏍煎紡', type: 'varchar', default: 'null' })
- interfacerecord_params: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- interfacerecord_remark: string;
-
- @Column({ comment: '璇锋眰绫诲瀷', type: 'varchar', default: 'null' })
- interfacerecord_request_type: string;
-
- @Column({ comment: '璋冪敤缁撴灉', type: 'varchar', default: 'null' })
- interfacerecord_result: string;
-
- @Column({ comment: '寮�濮嬫椂闂�', type: 'datetime', default: 'null' })
- interfacerecord_start_time: Date;
-
- @Column({ comment: '1-鍚敤 0-绂佺敤', type: 'int', default: '1' })
- interfacerecord_status: number;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_citycode: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_cityEn: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_cityname: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_cloud: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_humidity: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_iconDay: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_iconNight: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_moonPhase: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_moonPhaseIcon: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_moonrise: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_moonset: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_posttime: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_precip: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_pressure: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_responsedata: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_sunrise: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_sunset: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_tempMax: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_tempMin: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_textDay: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_textNight: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_type: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_uvIndex: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_vis: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_wind360Day: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_wind360Night: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_windDirDay: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_windDirNight: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_windScaleDay: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_windScaleNight: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_windSpeedDay: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherday_windSpeedNight: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_citycode: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_cityEn: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_cityname: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_cloud: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_dew: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_feelsLike: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_humidity: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_icon: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_posttime: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_precip: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_pressure: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_responsedata: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_temp: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_text: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_type: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_vis: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_wind360: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_windDir: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_windScale: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- weatherhour_windSpeed: string;
-
- @Column({ comment: 'id', type: 'varchar', default: 'null' })
- hnall_logic_id: string;
-
- @Column({ comment: '', type: 'int', default: 'null' })
- comconfig_com_model_id: number;
-
- @Column({ comment: '', type: 'int', default: 'null' })
- comconfig_model_id: number;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- comconfig_remark: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- comconfig_sortby: string;
-
- @Column({ comment: '', type: 'int', default: 'null' })
- comconfig_status: number;
-
- @Column({ comment: '鏁版嵁鍐呭', type: 'varchar', default: 'null' })
- modelcombination_data_content: string;
-
- @Column({ comment: '鏁版嵁鏂囦欢璺緞锛寀rl鏍煎紡锛屽煙鍚嶅彲鐢辨湇鍔$鎴栬�呭墠绔厤缃�', type: 'varchar', default: 'null' })
- modelcombination_data_path: string;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂浠诲姟', type: 'int', default: 'null' })
- modelcombination_is_periodic: number;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- modelcombination_remark: string;
-
- @Column({ comment: '1-鍚敤 0-绂佺敤', type: 'int', default: 'null' })
- modelcombination_status: number;
-
- @Column({ comment: '浠诲姟ID锛屽懆鏈熶换鍔¤〃鎴栬�呭嵆鏃朵换鍔¤〃涓婚敭', type: 'int', default: 'null' })
- modelcombination_task_id: number;
-
- @Column({ comment: '鐩戞祴璁板綍ID', type: 'int', default: 'null' })
- modelcombination_task_monitor_id: number;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- pointcloud_remark: string;
-
- @Column({ comment: '鏁版嵁鍐呭', type: 'varchar', default: 'null' })
- pointmodel_data_content: string;
-
- @Column({ comment: '鏁版嵁鏂囦欢璺緞锛屽瓨鏀緐rl', type: 'varchar', default: 'null' })
- pointmodel_data_path: string;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- pointmodel_device_id: string;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type: 'int', default: 'null' })
- pointmodel_is_periodic: number;
-
- @Column({ comment: '鐐逛簯鏁版嵁鏉ユ簮鐨勮澶囬�昏緫缂栧彿', type: 'varchar', default: 'null' })
- pointmodel_logic_id: string;
-
- @Column({ comment: '鐐逛簯鍚嶇О锛屾牸寮忥細浠�${logic_id#YYYYMMDDHHMMSS}', type: 'varchar', default: 'null' })
- pointmodel_name: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- pointmodel_remark: string;
-
- @Column({ comment: '鐘舵�侊紝 1-鍚敤 0-绂佺敤', type: 'int', default: '1' })
- pointmodel_status: number;
-
- @Column({ comment: '浠诲姟ID锛屽懆鏈熶换鍔¤〃鎴栬�呭嵆鏃朵换鍔¤〃涓婚敭', type: 'int', default: 'null' })
- pointmodel_task_id: number;
-
- @Column({ comment: '鐩戞祴璁板綍id', type: 'int', default: 'null' })
- pointmodel_task_monitor_id: number;
-
- @Column({ comment: '鏁版嵁鍐呭', type: 'varchar', default: 'null' })
- modelstatic_data_content: string;
-
- @Column({ comment: '鏁版嵁鏂囦欢璺緞锛屽瓨鏀緐rl', type: 'varchar', default: 'null' })
- modelstatic_data_path: string;
-
- @Column({ comment: '鐗╃悊妯″瀷鐨勯�昏緫ID', type: 'varchar', default: 'null' })
- modelstatic_logic_id: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- modelstatic_name: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- modelstatic_remark: string;
-
- @Column({ comment: '鐘舵�侊紝 1-鍚敤 0-绂佺敤', type: 'int', default: '1' })
- modelstatic_status: number;
-
- @Column({ comment: '鏁版嵁鍐呭', type: 'varchar', default: 'null' })
- colletdata_data_content: string;
-
- @Column({ comment: '鏁版嵁瀛樺偍璺緞锛寀rl鏍煎紡锛屽煙鍚嶅彲鐢辨湇鍔$鎴栬�呭墠绔厤缃繘琛岃闂�', type: 'varchar', default: 'null' })
- colletdata_data_path: string;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type: 'int', default: 'null' })
- colletdata_is_periodic: number;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- colletdata_remark: string;
-
- @Column({ comment: '', type: 'int', default: '1' })
- colletdata_status: number;
-
- @Column({ comment: '浠诲姟ID锛屽懆鏈熶换鍔¤〃涓婚敭鎴栬�呭嵆鏃朵换鍔¤〃涓婚敭', type: 'int', default: 'null' })
- colletdata_task_id: number;
-
- @Column({ comment: '鐩戞祴璁板綍ID', type: 'int', default: 'null' })
- colletdata_task_monitor_id: number;
-
- @Column({ comment: '', type: 'int', default: 'null' })
- colletmeta_collet_data_id: number;
-
- @Column({ comment: '', type: 'int', default: 'null' })
- colletmeta_meta_data_id: number;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- colletmeta_remark: string;
-
- @Column({ comment: '', type: 'int', default: '1' })
- colletmeta_status: number;
-
- @Column({ comment: '鏁版嵁鏂囦欢鍐呭鎻忚堪', type: 'varchar', default: 'null' })
- metadata_data_content: string;
-
- @Column({ comment: '鏁版嵁鏂囦欢璺緞锛寀rl鏍煎紡锛屽煙鍚嶅彲鐢卞墠绔垨鑰呮湇鍔$閰嶇疆', type: 'varchar', default: 'null' })
- metadata_data_path: string;
-
- @Column({ comment: '璁惧ID', type: 'varchar', default: 'null' })
- metadata_device_id: string;
-
- @Column({ comment: '鎵ц璁板綍', type: 'int', default: 'null' })
- metadata_exec_record_id: number;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type: 'int', default: 'null' })
- metadata_is_periodic: number;
-
- @Column({ comment: '閫昏緫ID', type: 'varchar', default: 'null' })
- metadata_logic_id: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- metadata_remark: string;
-
- @Column({ comment: '鐘舵�侊紝1-鏈夋晥 0-鏃犳晥 榛樿涓�1', type: 'int', default: '1' })
- metadata_status: number;
-
- @Column({ comment: '浠诲姟ID', type: 'int', default: 'null' })
- metadata_task_id: number;
-
- @Column({ comment: '鐩戞祴璁板綍ID', type: 'int', default: 'null' })
- metadata_task_monitor_id: number;
-
- @Column({ comment: '鐐逛簯璁$畻鑺辫垂鏃堕棿锛屽崟浣嶆绉�', type: 'int', default: 'null' })
- statdata_avg_caculater_time: number;
-
- @Column({ comment: '骞冲潎鏂囦欢澶у皬', type: 'int', default: 'null' })
- statdata_avg_filesize: number;
-
- @Column({ comment: '骞冲潎鑺辫垂鏃堕棿锛屽崟浣嶆绉�', type: 'int', default: 'null' })
- statdata_avg_task_time: number;
-
- @Column({ comment: '鏁版嵁浼犺緭鏃堕棿锛屾绉�', type: 'int', default: 'null' })
- statdata_avg_transmission_time: number;
-
- @Column({ comment: 'CPU 鍗犵敤鐜囷紝鐧惧垎姣�', type: 'int', default: 'null' })
- statdata_cpu_rate: number;
-
- @Column({ comment: '缁熻鎴鏃堕棿', type: 'datetime', default: 'null' })
- statdata_end_time: Date;
-
- @Column({ comment: '鍐呭瓨锛�', type: 'int', default: 'null' })
- statdata_memory: number;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- statdata_remark: string;
-
- @Column({ comment: '缁熻璧峰鏃堕棿', type: 'datetime', default: 'null' })
- statdata_start_time: Date;
-
- @Column({ comment: '', type: 'int', default: '1' })
- statdata_status: number;
-
- @Column({ comment: '浠诲姟绫诲瀷: 1-鎶撳浘 2-闆疯揪鎵弿 3-闄ゅ皹 ', type: 'int', default: 'null' })
- statdata_task_type: number;
-
- @Column({ comment: '缁熻鏃堕棿绮掑害锛�5-5鍒嗛挓 10-10鍒嗛挓 30-30鍒嗛挓 60-60鍒嗛挓 1440-1澶� 43200-1鏈� ', type: 'int', default: 'null' })
- statdata_time: number;
-
- @Column({ comment: '鐓ょ鏍囪', type: 'varchar', default: 'null' })
- planinventory_coal_marker: string;
-
- @Column({ comment: '鐓ゅ爢浣撶Н', type: 'varchar', default: 'null' })
- planinventory_coal_volume: string;
-
- @Column({ comment: '鐓ゅ爢閲嶉噺锛屽崟浣嶅惃', type: 'varchar', default: 'null' })
- planinventory_coal_weight: string;
-
- @Column({ comment: '缁勫悎鐐逛簯ID', type: 'int', default: 'null' })
- planinventory_com_model_id: number;
-
- @Column({ comment: '鐩樼叅璁″垝ID', type: 'int', default: 'null' })
- planinventory_plan_id: number;
-
- @Column({ comment: '鐩樼叅鍚嶇О', type: 'varchar', default: 'null' })
- planinventory_plan_name: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- planinventory_remark: string;
-
- @Column({ comment: '1-鍚敤 0-绂佺敤', type: 'int', default: '1' })
- planinventory_status: number;
-
- @Column({ comment: '璁惧鐗╃悊ID', type: 'varchar', default: 'null' })
- execrecord_device_id: string;
-
- @Column({ comment: '璁惧鎵ц浠诲姟鏃跺埢鐨勭浉鍏冲弬鏁帮紝json鏍煎紡銆�', type: 'varchar', default: 'null' })
- execrecord_device_params: string;
-
- @Column({ comment: '缁撴潫鏃堕棿锛屼换鍔℃墽琛屽畬鎴愭椂闂�', type: 'datetime', default: 'null' })
- execrecord_end_time: Date;
-
- @Column({ comment: '鎵ц缁撴灉', type: 'varchar', default: 'null' })
- execrecord_exec_result: string;
-
- @Column({ comment: '鎵ц鑰楁椂', type: 'varchar', default: 'null' })
- execrecord_exec_time: string;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type: 'int', default: 'null' })
- execrecord_is_periodic: number;
-
- @Column({ comment: '璁惧鐨勯�昏緫ID', type: 'varchar', default: 'null' })
- execrecord_logic_id: string;
-
- @Column({ comment: '鏈嶅姟绔暟鎹帴鏀舵椂闂�', type: 'datetime', default: 'null' })
- execrecord_receive_time: Date;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- execrecord_remark: string;
-
- @Column({ comment: '鏁版嵁鍥炰紶鏃堕棿', type: 'datetime', default: 'null' })
- execrecord_send_time: Date;
-
- @Column({ comment: '寮�濮嬫椂闂达紝璁惧鏀跺埌鎸囦护鏃堕棿', type: 'datetime', default: 'null' })
- execrecord_start_time: Date;
-
- @Column({ comment: '鏃犳剰涔夛紝妗嗘灦闇�瑕�', type: 'int', default: '1' })
- execrecord_status: number;
-
- @Column({ comment: '浠诲姟鎸囦护', type: 'varchar', default: 'null' })
- execrecord_task_command: string;
-
- @Column({ comment: '浠诲姟ID锛屽搴攖_task_periodic_setting鐨勪富閿紝鎴栬�卼_task_immediately涓婚敭', type: 'int', default: 'null' })
- execrecord_task_id: number;
-
- @Column({ comment: '鐩戞祴璁板綍ID锛屽搴攖_task_monitor鐨勪富閿�', type: 'int', default: 'null' })
- execrecord_task_monitor_id: number;
-
- @Column({ comment: '閫昏緫ID', type: 'varchar', default: 'null' })
- taskimmediately_logic_ids: string;
-
- @Column({ comment: '璁剧疆鏃堕棿', type: 'varchar', default: 'null' })
- taskimmediately_operate_time: string;
-
- @Column({ comment: '鎿嶄綔浜�', type: 'varchar', default: 'null' })
- taskimmediately_operator: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- taskimmediately_remark: string;
-
- @Column({ comment: '0-鏈墽琛� 1-鎵ц涓� 2-宸叉墽琛�', type: 'int', default: 'null' })
- taskimmediately_status: number;
-
- @Column({ comment: '浠诲姟鎸囦护', type: 'varchar', default: 'null' })
- taskimmediately_task_command: string;
-
- @Column({ comment: '浠诲姟鍐呭鎻忚堪', type: 'varchar', default: 'null' })
- taskimmediately_task_content: string;
-
- @Column({ comment: '浠诲姟鍙傛暟,濡傜偣浜戝弬鏁�', type: 'varchar', default: 'null' })
- taskimmediately_task_params: string;
-
- @Column({ comment: '浠诲姟绫诲瀷: 1-鎶撳浘 2-闆疯揪鎵弿 3-闄ゅ皹 ', type: 'int', default: 'null' })
- taskimmediately_task_type: number;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type: 'int', default: 'null' })
- messagerecord_is_periodic: number;
-
- @Column({ comment: '娑堟伅', type: 'varchar', default: 'null' })
- messagerecord_message: string;
-
- @Column({ comment: '鍙戦�佹簮 ', type: 'varchar', default: 'null' })
- messagerecord_msg_source: string;
-
- @Column({ comment: '鍙戦�佺洰鏍�', type: 'varchar', default: 'null' })
- messagerecord_msg_target: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- messagerecord_remark: string;
-
- @Column({ comment: '鍙戦�佹椂闂�', type: 'datetime', default: 'null' })
- messagerecord_send_time: Date;
-
- @Column({ comment: '娑堟伅鐘舵�� 1-宸插彂閫� 0-鏈彂閫� 榛樿涓�0', type: 'int', default: '0' })
- messagerecord_status: number;
-
- @Column({ comment: '浠诲姟鏉ユ簮ID', type: 'int', default: 'null' })
- messagerecord_task_id: number;
-
- @Column({ comment: '鐩戞祴璁板綍ID', type: 'int', default: 'null' })
- messagerecord_task_monitor_id: number;
-
- @Column({ comment: '鍛ㄦ湡浠诲姟鍛ㄦ湡璁剧疆锛岃皟搴﹁〃杈惧紡', type: 'varchar', default: 'null' })
- taskmonitor_crontab_rule: string;
-
- @Column({ comment: '1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type: 'int', default: 'null' })
- taskmonitor_is_periodic: number;
-
- @Column({ comment: '璁惧閫昏緫id闆嗗悎,閫楀彿鍒嗛殧', type: 'varchar', default: 'null' })
- taskmonitor_logic_ids: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- taskmonitor_operator: string;
-
- @Column({ comment: '', type: 'datetime', default: 'null' })
- taskmonitor_opertate_time: Date;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- taskmonitor_remark: string;
-
- @Column({ comment: '0-鏈墽琛� 1-鎵ц涓� 2-宸叉墽琛�', type: 'int', default: '0' })
- taskmonitor_status: number;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- taskmonitor_task_command: string;
-
- @Column({ comment: '', type: 'varchar', default: 'null' })
- taskmonitor_task_content: string;
-
- @Column({ comment: '浠诲姟ID锛� 鍛ㄦ湡浠诲姟鐨勪富閿垨鑰呮槸鍗虫椂浠诲姟鐨勪富閿�', type: 'int', default: 'null' })
- taskmonitor_task_id: number;
-
- @Column({ comment: '浠诲姟鍙傛暟', type: 'varchar', default: 'null' })
- taskmonitor_task_params: string;
-
- @Column({ comment: '浠诲姟绫诲瀷: 1-鎶撳浘 2-闆疯揪鎵弿 3-闄ゅ皹 ', type: 'int', default: 'null' })
- taskmonitor_task_type: number;
-
- @Column({ comment: '鍛ㄦ湡浠诲姟', type: 'varchar', default: 'null' })
- periodicsetting_crontab_rule: string;
-
- @Column({ comment: '浠诲姟缁撴潫鏃堕棿', type: 'datetime', default: 'null' })
- periodicsetting_end_time: Date;
-
- @Column({ comment: '璁惧鍒嗙粍ID', type: 'int', default: 'null' })
- periodicsetting_group_id: number;
-
- @Column({ comment: '璁剧疆浜�', type: 'varchar', default: 'null' })
- periodicsetting_operator: string;
-
- @Column({ comment: '澶囨敞', type: 'varchar', default: 'null' })
- periodicsetting_remark: string;
-
- @Column({ comment: '鐘舵��', type: 'tinyint', default: '1' })
- periodicsetting_status: number;
-
- @Column({ comment: '浠诲姟鍛戒护鏍煎紡', type: 'varchar', default: 'null' })
- periodicsetting_task_command: string;
-
- @Column({ comment: '浠诲姟鍐呭鎻忚堪', type: 'varchar', default: 'null' })
- periodicsetting_task_content: string;
-
- @Column({ comment: '浠诲姟鍙傛暟', type: 'varchar', default: 'null' })
- periodicsetting_task_params: string;
-
- @Column({ comment: '浠诲姟绫诲瀷', type: 'int', default: 'null' })
- periodicsetting_task_type: number;
-
- @Column({ comment: '骞撮緞', type: 'int', default: 'null' })
- tuser_age: number;
-
- @Column({ comment: '鍑虹敓鏃ユ湡', type: 'datetime', default: 'null' })
- tuser_birthDate: Date;
-
- @Column({ comment: '澶村儚', type: 'varchar', default: 'null' })
- tuser_headImg: string;
-
- @Column({ comment: '浠嬬粛', type: 'varchar', default: 'null' })
- tuser_introduce: string;
-
- @Column({ comment: '濮撳悕', type: 'varchar', default: 'null' })
- tuser_name: string;
-
- @Column({ comment: '鎬у埆 0-鏈煡 1-鐢� 2-濂�', type: 'tinyint', default: '0' })
- tuser_type: number;
-
-}
\ No newline at end of file
+ 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;
+ }
\ No newline at end of file
diff --git a/src/app/modules/business/config.ts b/src/app/modules/business/config.ts
index e65df6b..14bce31 100644
--- a/src/app/modules/business/config.ts
+++ b/src/app/modules/business/config.ts
@@ -13,6 +13,6 @@
// 涓棿浠�
middlewares: [],
// 鍏ㄥ眬涓棿浠�
- globalMiddlewares: [],
+ // globalMiddlewares: [],
} as ModuleConfig;
};
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/basedeviceinfo.ts b/src/app/modules/business/controller/admin/basedeviceinfo.ts
new file mode 100644
index 0000000..3bd966c
--- /dev/null
+++ b/src/app/modules/business/controller/admin/basedeviceinfo.ts
@@ -0,0 +1,17 @@
+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 {
+}
diff --git a/src/app/modules/business/controller/admin/basedeviceparams.ts b/src/app/modules/business/controller/admin/basedeviceparams.ts
new file mode 100644
index 0000000..5ca681b
--- /dev/null
+++ b/src/app/modules/business/controller/admin/basedeviceparams.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/basedevicesection.ts b/src/app/modules/business/controller/admin/basedevicesection.ts
new file mode 100644
index 0000000..f1d1321
--- /dev/null
+++ b/src/app/modules/business/controller/admin/basedevicesection.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/basedevicestatus.ts b/src/app/modules/business/controller/admin/basedevicestatus.ts
new file mode 100644
index 0000000..b16f726
--- /dev/null
+++ b/src/app/modules/business/controller/admin/basedevicestatus.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/colletdata.ts b/src/app/modules/business/controller/admin/colletdata.ts
new file mode 100644
index 0000000..2b27570
--- /dev/null
+++ b/src/app/modules/business/controller/admin/colletdata.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/colletmeta.ts b/src/app/modules/business/controller/admin/colletmeta.ts
new file mode 100644
index 0000000..23e66d6
--- /dev/null
+++ b/src/app/modules/business/controller/admin/colletmeta.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/comconfig.ts b/src/app/modules/business/controller/admin/comconfig.ts
new file mode 100644
index 0000000..9e908cc
--- /dev/null
+++ b/src/app/modules/business/controller/admin/comconfig.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/deviceattachment.ts b/src/app/modules/business/controller/admin/deviceattachment.ts
new file mode 100644
index 0000000..e2e682c
--- /dev/null
+++ b/src/app/modules/business/controller/admin/deviceattachment.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/devicegroup.ts b/src/app/modules/business/controller/admin/devicegroup.ts
new file mode 100644
index 0000000..7538d95
--- /dev/null
+++ b/src/app/modules/business/controller/admin/devicegroup.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/deviceopreraterecord.ts b/src/app/modules/business/controller/admin/deviceopreraterecord.ts
new file mode 100644
index 0000000..a8de02c
--- /dev/null
+++ b/src/app/modules/business/controller/admin/deviceopreraterecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/doutrubine.ts b/src/app/modules/business/controller/admin/doutrubine.ts
new file mode 100644
index 0000000..160935d
--- /dev/null
+++ b/src/app/modules/business/controller/admin/doutrubine.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/execrecord.ts b/src/app/modules/business/controller/admin/execrecord.ts
new file mode 100644
index 0000000..e83cfcf
--- /dev/null
+++ b/src/app/modules/business/controller/admin/execrecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/interfacelist.ts b/src/app/modules/business/controller/admin/interfacelist.ts
new file mode 100644
index 0000000..5091636
--- /dev/null
+++ b/src/app/modules/business/controller/admin/interfacelist.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/interfacerecord.ts b/src/app/modules/business/controller/admin/interfacerecord.ts
new file mode 100644
index 0000000..8bb07fe
--- /dev/null
+++ b/src/app/modules/business/controller/admin/interfacerecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/messagerecord.ts b/src/app/modules/business/controller/admin/messagerecord.ts
new file mode 100644
index 0000000..20ba650
--- /dev/null
+++ b/src/app/modules/business/controller/admin/messagerecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/metadata.ts b/src/app/modules/business/controller/admin/metadata.ts
new file mode 100644
index 0000000..e73be27
--- /dev/null
+++ b/src/app/modules/business/controller/admin/metadata.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/modelcombination.ts b/src/app/modules/business/controller/admin/modelcombination.ts
new file mode 100644
index 0000000..144ca20
--- /dev/null
+++ b/src/app/modules/business/controller/admin/modelcombination.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/modelstatic.ts b/src/app/modules/business/controller/admin/modelstatic.ts
new file mode 100644
index 0000000..2a77a6c
--- /dev/null
+++ b/src/app/modules/business/controller/admin/modelstatic.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/periodicsetting.ts b/src/app/modules/business/controller/admin/periodicsetting.ts
new file mode 100644
index 0000000..95642a1
--- /dev/null
+++ b/src/app/modules/business/controller/admin/periodicsetting.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/planinventory.ts b/src/app/modules/business/controller/admin/planinventory.ts
new file mode 100644
index 0000000..b9052b1
--- /dev/null
+++ b/src/app/modules/business/controller/admin/planinventory.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/pointcloud.ts b/src/app/modules/business/controller/admin/pointcloud.ts
new file mode 100644
index 0000000..f8bbd23
--- /dev/null
+++ b/src/app/modules/business/controller/admin/pointcloud.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/pointmodel.ts b/src/app/modules/business/controller/admin/pointmodel.ts
new file mode 100644
index 0000000..f6054f0
--- /dev/null
+++ b/src/app/modules/business/controller/admin/pointmodel.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/statdata.ts b/src/app/modules/business/controller/admin/statdata.ts
new file mode 100644
index 0000000..c4ec264
--- /dev/null
+++ b/src/app/modules/business/controller/admin/statdata.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/taskimmediately.ts b/src/app/modules/business/controller/admin/taskimmediately.ts
new file mode 100644
index 0000000..baba61e
--- /dev/null
+++ b/src/app/modules/business/controller/admin/taskimmediately.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/taskmonitor.ts b/src/app/modules/business/controller/admin/taskmonitor.ts
new file mode 100644
index 0000000..8dc6494
--- /dev/null
+++ b/src/app/modules/business/controller/admin/taskmonitor.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/trubinelocation.ts b/src/app/modules/business/controller/admin/trubinelocation.ts
new file mode 100644
index 0000000..b3ab97c
--- /dev/null
+++ b/src/app/modules/business/controller/admin/trubinelocation.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/tuser.ts b/src/app/modules/business/controller/admin/tuser.ts
new file mode 100644
index 0000000..75ff910
--- /dev/null
+++ b/src/app/modules/business/controller/admin/tuser.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/basedeviceinfo.ts b/src/app/modules/business/controller/app/basedeviceinfo.ts
new file mode 100644
index 0000000..ce742df
--- /dev/null
+++ b/src/app/modules/business/controller/app/basedeviceinfo.ts
@@ -0,0 +1,17 @@
+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 {
+}
diff --git a/src/app/modules/business/controller/app/basedeviceparams.ts b/src/app/modules/business/controller/app/basedeviceparams.ts
new file mode 100644
index 0000000..08f3e9d
--- /dev/null
+++ b/src/app/modules/business/controller/app/basedeviceparams.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/basedevicesection.ts b/src/app/modules/business/controller/app/basedevicesection.ts
new file mode 100644
index 0000000..b498842
--- /dev/null
+++ b/src/app/modules/business/controller/app/basedevicesection.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/basedevicestatus.ts b/src/app/modules/business/controller/app/basedevicestatus.ts
new file mode 100644
index 0000000..c4309c4
--- /dev/null
+++ b/src/app/modules/business/controller/app/basedevicestatus.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/colletdata.ts b/src/app/modules/business/controller/app/colletdata.ts
new file mode 100644
index 0000000..79b01c1
--- /dev/null
+++ b/src/app/modules/business/controller/app/colletdata.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/colletmeta.ts b/src/app/modules/business/controller/app/colletmeta.ts
new file mode 100644
index 0000000..4e7af55
--- /dev/null
+++ b/src/app/modules/business/controller/app/colletmeta.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/comconfig.ts b/src/app/modules/business/controller/app/comconfig.ts
new file mode 100644
index 0000000..c7ebed4
--- /dev/null
+++ b/src/app/modules/business/controller/app/comconfig.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/deviceattachment.ts b/src/app/modules/business/controller/app/deviceattachment.ts
new file mode 100644
index 0000000..31ebcf4
--- /dev/null
+++ b/src/app/modules/business/controller/app/deviceattachment.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/devicegroup.ts b/src/app/modules/business/controller/app/devicegroup.ts
new file mode 100644
index 0000000..e9eb551
--- /dev/null
+++ b/src/app/modules/business/controller/app/devicegroup.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/deviceopreraterecord.ts b/src/app/modules/business/controller/app/deviceopreraterecord.ts
new file mode 100644
index 0000000..9e9147d
--- /dev/null
+++ b/src/app/modules/business/controller/app/deviceopreraterecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/doutrubine.ts b/src/app/modules/business/controller/app/doutrubine.ts
new file mode 100644
index 0000000..b87f0a5
--- /dev/null
+++ b/src/app/modules/business/controller/app/doutrubine.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/execrecord.ts b/src/app/modules/business/controller/app/execrecord.ts
new file mode 100644
index 0000000..3facf34
--- /dev/null
+++ b/src/app/modules/business/controller/app/execrecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/interfacelist.ts b/src/app/modules/business/controller/app/interfacelist.ts
new file mode 100644
index 0000000..90dc93e
--- /dev/null
+++ b/src/app/modules/business/controller/app/interfacelist.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/interfacerecord.ts b/src/app/modules/business/controller/app/interfacerecord.ts
new file mode 100644
index 0000000..37dc2a0
--- /dev/null
+++ b/src/app/modules/business/controller/app/interfacerecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/messagerecord.ts b/src/app/modules/business/controller/app/messagerecord.ts
new file mode 100644
index 0000000..fefbac4
--- /dev/null
+++ b/src/app/modules/business/controller/app/messagerecord.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/metadata.ts b/src/app/modules/business/controller/app/metadata.ts
new file mode 100644
index 0000000..8006e01
--- /dev/null
+++ b/src/app/modules/business/controller/app/metadata.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/modelcombination.ts b/src/app/modules/business/controller/app/modelcombination.ts
new file mode 100644
index 0000000..f79ee48
--- /dev/null
+++ b/src/app/modules/business/controller/app/modelcombination.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/modelstatic.ts b/src/app/modules/business/controller/app/modelstatic.ts
new file mode 100644
index 0000000..9f73740
--- /dev/null
+++ b/src/app/modules/business/controller/app/modelstatic.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/periodicsetting.ts b/src/app/modules/business/controller/app/periodicsetting.ts
new file mode 100644
index 0000000..61ab469
--- /dev/null
+++ b/src/app/modules/business/controller/app/periodicsetting.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/planinventory.ts b/src/app/modules/business/controller/app/planinventory.ts
new file mode 100644
index 0000000..b646896
--- /dev/null
+++ b/src/app/modules/business/controller/app/planinventory.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/pointcloud.ts b/src/app/modules/business/controller/app/pointcloud.ts
new file mode 100644
index 0000000..b3b7a54
--- /dev/null
+++ b/src/app/modules/business/controller/app/pointcloud.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/pointmodel.ts b/src/app/modules/business/controller/app/pointmodel.ts
new file mode 100644
index 0000000..46944ea
--- /dev/null
+++ b/src/app/modules/business/controller/app/pointmodel.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/statdata.ts b/src/app/modules/business/controller/app/statdata.ts
new file mode 100644
index 0000000..dd01ddc
--- /dev/null
+++ b/src/app/modules/business/controller/app/statdata.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/taskimmediately.ts b/src/app/modules/business/controller/app/taskimmediately.ts
new file mode 100644
index 0000000..352cc80
--- /dev/null
+++ b/src/app/modules/business/controller/app/taskimmediately.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/taskmonitor.ts b/src/app/modules/business/controller/app/taskmonitor.ts
new file mode 100644
index 0000000..59b522c
--- /dev/null
+++ b/src/app/modules/business/controller/app/taskmonitor.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/trubinelocation.ts b/src/app/modules/business/controller/app/trubinelocation.ts
new file mode 100644
index 0000000..db5ce31
--- /dev/null
+++ b/src/app/modules/business/controller/app/trubinelocation.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/app/tuser.ts b/src/app/modules/business/controller/app/tuser.ts
new file mode 100644
index 0000000..77bf5c4
--- /dev/null
+++ b/src/app/modules/business/controller/app/tuser.ts
@@ -0,0 +1,18 @@
+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;
+}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/basedeviceinfo.ts b/src/app/modules/business/controller/basedeviceinfo.ts
deleted file mode 100644
index 3d08063..0000000
--- a/src/app/modules/business/controller/basedeviceinfo.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
-import { CoolController, BaseController } from '@cool-midway/core';
-import { Basedeviceinfo } from '../entity/basedeviceinfo';
-import { BasedeviceinfoService } from '../service/basedeviceinfo';
-import { DataController } from '../../base/controller/dataController';
-/**
- * 璁惧淇℃伅琛�
- */
-@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Basedeviceinfo,
- service: BasedeviceinfoService,
-})
-export class BasedeviceinfoController extends DataController {
- @Inject()
- basedeviceinfoService: BasedeviceinfoService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/basedeviceparams.ts b/src/app/modules/business/controller/basedeviceparams.ts
deleted file mode 100644
index a9975e5..0000000
--- a/src/app/modules/business/controller/basedeviceparams.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Basedeviceparams,
- service: BasedeviceparamsService,
-})
-export class BasedeviceparamsController extends DataController {
- @Inject()
- basedeviceparamsService: BasedeviceparamsService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/basedevicesection.ts b/src/app/modules/business/controller/basedevicesection.ts
deleted file mode 100644
index 3ed61fe..0000000
--- a/src/app/modules/business/controller/basedevicesection.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Basedevicesection,
- service: BasedevicesectionService,
-})
-export class BasedevicesectionController extends DataController {
- @Inject()
- basedevicesectionService: BasedevicesectionService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/basedevicestatus.ts b/src/app/modules/business/controller/basedevicestatus.ts
deleted file mode 100644
index 1b390f3..0000000
--- a/src/app/modules/business/controller/basedevicestatus.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Basedevicestatus,
- service: BasedevicestatusService,
-})
-export class BasedevicestatusController extends DataController {
- @Inject()
- basedevicestatusService: BasedevicestatusService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/colletdata.ts b/src/app/modules/business/controller/colletdata.ts
deleted file mode 100644
index 5cac8dc..0000000
--- a/src/app/modules/business/controller/colletdata.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Colletdata,
- service: ColletdataService,
-})
-export class ColletdataController extends DataController {
- @Inject()
- colletdataService: ColletdataService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/colletmeta.ts b/src/app/modules/business/controller/colletmeta.ts
deleted file mode 100644
index ff8ed89..0000000
--- a/src/app/modules/business/controller/colletmeta.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Colletmeta,
- service: ColletmetaService,
-})
-export class ColletmetaController extends DataController {
- @Inject()
- colletmetaService: ColletmetaService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/comconfig.ts b/src/app/modules/business/controller/comconfig.ts
deleted file mode 100644
index f08a2ee..0000000
--- a/src/app/modules/business/controller/comconfig.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Comconfig,
- service: ComconfigService,
-})
-export class ComconfigController extends DataController {
- @Inject()
- comconfigService: ComconfigService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/deviceattachment.ts b/src/app/modules/business/controller/deviceattachment.ts
deleted file mode 100644
index 04b0f01..0000000
--- a/src/app/modules/business/controller/deviceattachment.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Deviceattachment,
- service: DeviceattachmentService,
-})
-export class DeviceattachmentController extends DataController {
- @Inject()
- deviceattachmentService: DeviceattachmentService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/devicegroup.ts b/src/app/modules/business/controller/devicegroup.ts
deleted file mode 100644
index bb5eb75..0000000
--- a/src/app/modules/business/controller/devicegroup.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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'],
- entity: Devicegroup,
- service: DevicegroupService,
-})
-export class DevicegroupController extends DataController {
- @Inject()
- devicegroupService: DevicegroupService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/deviceopreraterecord.ts b/src/app/modules/business/controller/deviceopreraterecord.ts
deleted file mode 100644
index fe144cd..0000000
--- a/src/app/modules/business/controller/deviceopreraterecord.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 DeviceopreraterecordController extends DataController {
- @Inject()
- deviceopreraterecordService: DeviceopreraterecordService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/doutrubine.ts b/src/app/modules/business/controller/doutrubine.ts
deleted file mode 100644
index 746d105..0000000
--- a/src/app/modules/business/controller/doutrubine.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 DoutrubineController extends DataController {
- @Inject()
- doutrubineService: DoutrubineService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/execrecord.ts b/src/app/modules/business/controller/execrecord.ts
deleted file mode 100644
index 80b2346..0000000
--- a/src/app/modules/business/controller/execrecord.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 ExecrecordController extends DataController {
- @Inject()
- execrecordService: ExecrecordService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/interfacelist.ts b/src/app/modules/business/controller/interfacelist.ts
deleted file mode 100644
index fd1c371..0000000
--- a/src/app/modules/business/controller/interfacelist.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 InterfacelistController extends DataController {
- @Inject()
- interfacelistService: InterfacelistService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/interfacerecord.ts b/src/app/modules/business/controller/interfacerecord.ts
deleted file mode 100644
index b9e6b2a..0000000
--- a/src/app/modules/business/controller/interfacerecord.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 InterfacerecordController extends DataController {
- @Inject()
- interfacerecordService: InterfacerecordService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/messagerecord.ts b/src/app/modules/business/controller/messagerecord.ts
deleted file mode 100644
index 5cc1c8b..0000000
--- a/src/app/modules/business/controller/messagerecord.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 MessagerecordController extends DataController {
- @Inject()
- messagerecordService: MessagerecordService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/metadata.ts b/src/app/modules/business/controller/metadata.ts
deleted file mode 100644
index 8b81980..0000000
--- a/src/app/modules/business/controller/metadata.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 MetadataController extends DataController {
- @Inject()
- metadataService: MetadataService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/modelcombination.ts b/src/app/modules/business/controller/modelcombination.ts
deleted file mode 100644
index c676c44..0000000
--- a/src/app/modules/business/controller/modelcombination.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 ModelcombinationController extends DataController {
- @Inject()
- modelcombinationService: ModelcombinationService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/modelstatic.ts b/src/app/modules/business/controller/modelstatic.ts
deleted file mode 100644
index 41e43fd..0000000
--- a/src/app/modules/business/controller/modelstatic.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 ModelstaticController extends DataController {
- @Inject()
- modelstaticService: ModelstaticService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/periodicsetting.ts b/src/app/modules/business/controller/periodicsetting.ts
deleted file mode 100644
index 7c97585..0000000
--- a/src/app/modules/business/controller/periodicsetting.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 PeriodicsettingController extends DataController {
- @Inject()
- periodicsettingService: PeriodicsettingService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/planinventory.ts b/src/app/modules/business/controller/planinventory.ts
deleted file mode 100644
index e63d74a..0000000
--- a/src/app/modules/business/controller/planinventory.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 PlaninventoryController extends DataController {
- @Inject()
- planinventoryService: PlaninventoryService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/pointcloud.ts b/src/app/modules/business/controller/pointcloud.ts
deleted file mode 100644
index 4c54b01..0000000
--- a/src/app/modules/business/controller/pointcloud.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 PointcloudController extends DataController {
- @Inject()
- pointcloudService: PointcloudService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/pointmodel.ts b/src/app/modules/business/controller/pointmodel.ts
deleted file mode 100644
index 501da30..0000000
--- a/src/app/modules/business/controller/pointmodel.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 PointmodelController extends DataController {
- @Inject()
- pointmodelService: PointmodelService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/statdata.ts b/src/app/modules/business/controller/statdata.ts
deleted file mode 100644
index 9eb37e9..0000000
--- a/src/app/modules/business/controller/statdata.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 StatdataController extends DataController {
- @Inject()
- statdataService: StatdataService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/taskimmediately.ts b/src/app/modules/business/controller/taskimmediately.ts
deleted file mode 100644
index 41ef9f8..0000000
--- a/src/app/modules/business/controller/taskimmediately.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 TaskimmediatelyController extends DataController {
- @Inject()
- taskimmediatelyService: TaskimmediatelyService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/taskmonitor.ts b/src/app/modules/business/controller/taskmonitor.ts
deleted file mode 100644
index 753192e..0000000
--- a/src/app/modules/business/controller/taskmonitor.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 TaskmonitorController extends DataController {
- @Inject()
- taskmonitorService: TaskmonitorService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/trubinelocation.ts b/src/app/modules/business/controller/trubinelocation.ts
deleted file mode 100644
index cac6ca2..0000000
--- a/src/app/modules/business/controller/trubinelocation.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 TrubinelocationController extends DataController {
- @Inject()
- trubinelocationService: TrubinelocationService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/controller/tuser.ts b/src/app/modules/business/controller/tuser.ts
deleted file mode 100644
index 040a403..0000000
--- a/src/app/modules/business/controller/tuser.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-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 TuserController extends DataController {
- @Inject()
- tuserService: TuserService;
-}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/basedeviceinfo.ts b/src/app/modules/business/entity/basedeviceinfo.ts
index 981efae..b385211 100644
--- a/src/app/modules/business/entity/basedeviceinfo.ts
+++ b/src/app/modules/business/entity/basedeviceinfo.ts
@@ -1,66 +1,66 @@
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:'鍞竴绱㈠紩锛岃澶囩墿鐞唅d锛屽鍘傜紪鍙枫�乻ubscribeno绛�', type:'varchar', default:'', length:50})
-device_id: string;
+ @Column({ comment: '鍞竴绱㈠紩锛岃澶囩墿鐞唅d锛屽鍘傜紪鍙枫�乻ubscribeno绛�', 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;
}
\ No newline at end of file
diff --git a/src/app/modules/device/config.ts b/src/app/modules/device/config.ts
deleted file mode 100644
index 9259f9d..0000000
--- a/src/app/modules/device/config.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Application } from 'egg';
-import { ModuleConfig } from '@cool-midway/core';
-
-/**
- * 妯″潡閰嶇疆
- */
-export default (app: Application) => {
- return {
- // 妯″潡鍚嶇О
- name: 'device',
- // 妯″潡鎻忚堪
- description: '閲囬泦璁惧',
- // 涓棿浠讹紝鍙鏈ā鍧楁湁鏁�
- middlewares: [],
- } as ModuleConfig;
-};
\ No newline at end of file
diff --git a/src/app/modules/device/controller/admin/device.ts b/src/app/modules/device/controller/admin/device.ts
deleted file mode 100644
index ec4c23e..0000000
--- a/src/app/modules/device/controller/admin/device.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { CoolController, BaseController } from '@cool-midway/core';
-import { DemoDeviceEntity } from '../../entity/device';
-
-/**
- * 鎻忚堪
- */
-@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'info', 'list', 'page'],
- entity: DemoDeviceEntity,
-})
-export class DemoAdminDeviceController extends BaseController { }
diff --git a/src/app/modules/device/controller/app/device.ts b/src/app/modules/device/controller/app/device.ts
deleted file mode 100644
index e519bd0..0000000
--- a/src/app/modules/device/controller/app/device.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { CoolController, BaseController } from '@cool-midway/core';
-import { DemoDeviceEntity } from '../../entity/device';
-
-/**
- * test
- */
-@Provide()
-@CoolController(
- {
- api: ['delete', 'update', 'info', 'list', 'page'],
- entity: DemoDeviceEntity
- }
-)
-export class DemoAppDeviceController extends BaseController { }
diff --git a/src/app/modules/device/entity/device.ts b/src/app/modules/device/entity/device.ts
deleted file mode 100644
index f4ce258..0000000
--- a/src/app/modules/device/entity/device.ts
+++ /dev/null
@@ -1,69 +0,0 @@
-import { EntityModel } from '@midwayjs/orm';
-import { BaseEntity } from '@cool-midway/core';
-import { Column, PrimaryGeneratedColumn } from 'typeorm';
-
-/**
- * 鍟嗗搧
- */
-@EntityModel('t_base_deviceinfo')
-export class DemoDeviceEntity extends BaseEntity {
- @PrimaryGeneratedColumn({ comment: 'id' })
- id: number;
-
- @Column({ comment: '閫昏緫ID' })
- logic_id: string;
-
- @Column({ comment: '鐗╃悊ID' })
- device_id: string;
-
- @Column({ comment: '璁惧鍚嶇О', default: "鍙鍏�-姣背娉�-閲囬泦璁惧" })
- name: string;
-
- @Column({ comment: '瀹夎浣嶇疆', default: "鍗庤兘鐢靛巶浜屽彿鐓ゆ-绗竴椹亾-鍖�" })
- location: string;
-
- @Column({ comment: '缁忓害', type: 'double', default: 121.222222 })
- longitude: number;
-
- @Column({ comment: '绾害', type: 'double', default: 31.222222 })
- latitude: number;
-
- @Column({ comment: '楂樺害', type: 'double', default: 40 })
- altitude: number;
-
- @Column({ comment: '璁惧灏哄', default: "110*110" })
- dimension: string;
-
- @Column({ comment: '璁惧绮惧害', default: "3" })
- precision: string;
-
- @Column({ comment: '鑸悜瑙�', default: "90" })
- heading_angle: string;
-
- @Column({ comment: '淇话瑙�', default: "90" })
- petch_angle: string;
-
- @Column({ comment: '妯粴瑙�', default: "90" })
- roll_angle: string;
-
- @Column({ comment: 'IP鍦板潃', default: "127.0.0.1" })
- ipaddress: string;
-
- @Column({ comment: '绔彛', default: "8001" })
- device_port: string;
-
- @Column({ comment: '璐﹀彿', default: "admin" })
- device_account: string;
-
- @Column({ comment: '瀵嗙爜', default: "123456" })
- device_psw: string;
-
- @Column({ comment: '杩愮淮璐熻矗浜�' })
- operator: string;
-
- @Column({ comment: '澶囨敞', default: "鏃�" })
- remark: string;
-
- @Column({ comment: '鐘舵��', default: 1 })
- status: number;
-}
diff --git a/src/app/modules/deviceGroup/controller/admin/deviceGroup.ts b/src/app/modules/deviceGroup/controller/admin/deviceGroup.ts
index 1bce6d3..20bd12f 100644
--- a/src/app/modules/deviceGroup/controller/admin/deviceGroup.ts
+++ b/src/app/modules/deviceGroup/controller/admin/deviceGroup.ts
@@ -1,13 +1,13 @@
-// import { Provide } from '@midwayjs/decorator';
-// import { CoolController, BaseController } from '@cool-midway/core';
-// import { DemodeviceGroupEntity } from '../../entity/deviceGroup';
+import { Provide } from '@midwayjs/decorator';
+import { CoolController, BaseController } from '@cool-midway/core';
+import { DemodeviceGroupEntity } from '../../entity/deviceGroup';
-// /**
-// * 鎻忚堪
-// */
-// @Provide()
-// @CoolController({
-// api: ['add', 'delete', 'update', 'info', 'list', 'page'],
-// entity: DemodeviceGroupEntity,
-// })
-// export class DemoAdmindeviceGroupController extends BaseController { }
+/**
+ * 鎻忚堪
+ */
+@Provide()
+@CoolController({
+ api: ['add', 'delete', 'update', 'info', 'list', 'page'],
+ entity: DemodeviceGroupEntity,
+})
+export class DemoAdmindeviceGroupController extends BaseController { }
diff --git a/src/app/modules/deviceGroup/controller/app/deviceGroup.ts b/src/app/modules/deviceGroup/controller/app/deviceGroup.ts
index 6599c33..3d07128 100644
--- a/src/app/modules/deviceGroup/controller/app/deviceGroup.ts
+++ b/src/app/modules/deviceGroup/controller/app/deviceGroup.ts
@@ -1,15 +1,15 @@
-// import { Provide } from '@midwayjs/decorator';
-// import { CoolController, BaseController } from '@cool-midway/core';
-// import { DemodeviceGroupEntity } from '../../entity/deviceGroup';
+import { Provide } from '@midwayjs/decorator';
+import { CoolController, BaseController } from '@cool-midway/core';
+import { DemodeviceGroupEntity } from '../../entity/deviceGroup';
-// /**
-// * test
-// */
-// @Provide()
-// @CoolController(
-// {
-// api: ['add', 'delete', 'update', 'info', 'list', 'page'],
-// entity: DemodeviceGroupEntity
-// }
-// )
-// export class DemoAppdGController extends BaseController { }
+/**
+ * test
+ */
+@Provide()
+@CoolController(
+ {
+ api: ['add', 'delete', 'update', 'info', 'list', 'page'],
+ entity: DemodeviceGroupEntity
+ }
+)
+export class DemoAppdGController extends BaseController { }
--
Gitblit v1.9.1