From 58389be5d3c1bbf4e47976f7ea09977be8bb84c5 Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期四, 07 四月 2022 15:27:38 +0800
Subject: [PATCH] 重写add接口

---
 src/app/modules/business/controller/admin/devicegroup.ts          |   30 
 src/app/modules/business/controller/admin/execrecord.ts           |   36 +-
 src/app/modules/business/controller/admin/taskimmediately.ts      |   36 +-
 src/app/modules/business/controller/admin/modelcombination.ts     |   36 +-
 src/app/modules/business/controller/admin/planinventory.ts        |   36 +-
 src/app/modules/business/controller/admin/interfacerecord.ts      |   36 +-
 src/app/modules/business/controller/admin/periodicsetting.ts      |   36 +-
 src/app/modules/business/controller/admin/pointcloud.ts           |   36 +-
 src/app/modules/business/controller/admin/colletmeta.ts           |   36 +-
 src/app/modules/business/controller/admin/statdata.ts             |   36 +-
 src/app/modules/business/controller/admin/basedevicesection.ts    |   36 +-
 src/app/modules/business/controller/admin/basedevicestatus.ts     |   36 +-
 src/app/modules/business/controller/admin/taskmonitor.ts          |   36 +-
 src/app/modules/business/controller/admin/basedeviceinfo.ts       |   36 +-
 src/app/modules/business/controller/admin/basedeviceparams.ts     |   36 +-
 src/app/modules/business/controller/admin/trubinelocation.ts      |    8 
 src/app/modules/business/service/deviceinfo.ts                    |   28 +
 src/app/modules/business/controller/admin/pointmodel.ts           |   36 +-
 src/app/modules/business/controller/admin/messagerecord.ts        |   36 +-
 src/app/modules/business/controller/admin/modelstatic.ts          |   36 +-
 src/app/modules/business/controller/admin/comconfig.ts            |   36 +-
 src/app/modules/business/controller/admin/colletdata.ts           |   36 +-
 /dev/null                                                         |   14 
 src/app/modules/business/controller/admin/deviceattachment.ts     |   36 +-
 src/app/modules/business/controller/admin/doutrubine.ts           |   36 +-
 src/app/modules/business/controller/admin/tuser.ts                |   36 +-
 src/app/modules/business/controller/admin/deviceopreraterecord.ts |   36 +-
 src/app/modules/business/controller/admin/interfacelist.ts        |   36 +-
 src/app/modules/business/controller/admin/metadata.ts             |   36 +-
 29 files changed, 497 insertions(+), 483 deletions(-)

diff --git a/src/app/modules/business/controller/admin/basedeviceinfo.ts b/src/app/modules/business/controller/admin/basedeviceinfo.ts
index 48ab68d..4837dbe 100644
--- a/src/app/modules/business/controller/admin/basedeviceinfo.ts
+++ b/src/app/modules/business/controller/admin/basedeviceinfo.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Basedeviceinfo } from '../../entity/basedeviceinfo';
-import { BasedeviceinfoService } from '../../service/basedeviceinfo';
+// import { BasedeviceinfoService } from '../../service/basedeviceinfo';
 import { DataController } from '../../../base/controller/dataController';
+import { BaseDeviceService } from '../../service/deviceinfo';
 /**
-聽 聽 聽 聽 * 璁惧淇℃伅
-聽 聽 聽 聽 */
+        * 璁惧淇℃伅
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Basedeviceinfo,
- 聽service: BasedeviceinfoService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Basedeviceinfo,
+  service: BaseDeviceService,
 })
 export class BasedeviceinfoController extends DataController {
- 聽@Inject()
- 聽basedeviceinfoService: BasedeviceinfoService;
- 聽
+
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ No newline at end of file
diff --git a/src/app/modules/business/controller/admin/basedeviceparams.ts b/src/app/modules/business/controller/admin/basedeviceparams.ts
index 380dc5b..8025c52 100644
--- a/src/app/modules/business/controller/admin/basedeviceparams.ts
+++ b/src/app/modules/business/controller/admin/basedeviceparams.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Basedeviceparams } from '../../entity/basedeviceparams';
-import { BasedeviceparamsService } from '../../service/basedeviceparams';
+// import { BasedeviceparamsService } from '../../service/basedeviceparams';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 璁惧鍙傛暟
-聽 聽 聽 聽 */
+        * 璁惧鍙傛暟
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Basedeviceparams,
- 聽service: BasedeviceparamsService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Basedeviceparams,
+  //  聽service: BasedeviceparamsService,
 })
 export class BasedeviceparamsController extends DataController {
- 聽@Inject()
- 聽basedeviceparamsService: BasedeviceparamsService;
- 聽
+  //  聽@Inject()
+  //  聽basedeviceparamsService: BasedeviceparamsService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 92ef581..988cd0f 100644
--- a/src/app/modules/business/controller/admin/basedevicesection.ts
+++ b/src/app/modules/business/controller/admin/basedevicesection.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Basedevicesection } from '../../entity/basedevicesection';
-import { BasedevicesectionService } from '../../service/basedevicesection';
+// import { BasedevicesectionService } from '../../service/basedevicesection';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 璁惧缁勪欢
-聽 聽 聽 聽 */
+        * 璁惧缁勪欢
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Basedevicesection,
- 聽service: BasedevicesectionService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Basedevicesection,
+  //  聽service: BasedevicesectionService,
 })
 export class BasedevicesectionController extends DataController {
- 聽@Inject()
- 聽basedevicesectionService: BasedevicesectionService;
- 聽
+  //  聽@Inject()
+  //  聽basedevicesectionService: BasedevicesectionService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 0fe153c..c004814 100644
--- a/src/app/modules/business/controller/admin/basedevicestatus.ts
+++ b/src/app/modules/business/controller/admin/basedevicestatus.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Basedevicestatus } from '../../entity/basedevicestatus';
-import { BasedevicestatusService } from '../../service/basedevicestatus';
+// import { BasedevicestatusService } from '../../service/basedevicestatus';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 璁惧鐘舵��
-聽 聽 聽 聽 */
+        * 璁惧鐘舵��
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Basedevicestatus,
- 聽service: BasedevicestatusService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Basedevicestatus,
+  //  聽service: BasedevicestatusService,
 })
 export class BasedevicestatusController extends DataController {
- 聽@Inject()
- 聽basedevicestatusService: BasedevicestatusService;
- 聽
+  //  聽@Inject()
+  //  聽basedevicestatusService: BasedevicestatusService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 3730b42..5b5c0cb 100644
--- a/src/app/modules/business/controller/admin/colletdata.ts
+++ b/src/app/modules/business/controller/admin/colletdata.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Colletdata } from '../../entity/colletdata';
-import { ColletdataService } from '../../service/colletdata';
+// import { ColletdataService } from '../../service/colletdata';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
+        * 鐩戞祴鍏冩暟鎹�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Colletdata,
- 聽service: ColletdataService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Colletdata,
+  //  聽service: ColletdataService,
 })
 export class ColletdataController extends DataController {
- 聽@Inject()
- 聽colletdataService: ColletdataService;
- 聽
+  //  聽@Inject()
+  //  聽colletdataService: ColletdataService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index efb6d39..a10b38c 100644
--- a/src/app/modules/business/controller/admin/colletmeta.ts
+++ b/src/app/modules/business/controller/admin/colletmeta.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Colletmeta } from '../../entity/colletmeta';
-import { ColletmetaService } from '../../service/colletmeta';
+// import { ColletmetaService } from '../../service/colletmeta';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
+        * 鐩戞祴鍏冩暟鎹�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Colletmeta,
- 聽service: ColletmetaService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Colletmeta,
+  //  聽service: ColletmetaService,
 })
 export class ColletmetaController extends DataController {
- 聽@Inject()
- 聽colletmetaService: ColletmetaService;
- 聽
+  //  聽@Inject()
+  //  聽colletmetaService: ColletmetaService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 5006956..c316371 100644
--- a/src/app/modules/business/controller/admin/comconfig.ts
+++ b/src/app/modules/business/controller/admin/comconfig.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Comconfig } from '../../entity/comconfig';
-import { ComconfigService } from '../../service/comconfig';
+// import { ComconfigService } from '../../service/comconfig';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
+        * 鐩戞祴鍏冩暟鎹�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Comconfig,
- 聽service: ComconfigService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Comconfig,
+  //  聽service: ComconfigService,
 })
 export class ComconfigController extends DataController {
- 聽@Inject()
- 聽comconfigService: ComconfigService;
- 聽
+  //  聽@Inject()
+  //  聽comconfigService: ComconfigService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 680fb47..4b7ffda 100644
--- a/src/app/modules/business/controller/admin/deviceattachment.ts
+++ b/src/app/modules/business/controller/admin/deviceattachment.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Deviceattachment } from '../../entity/deviceattachment';
-import { DeviceattachmentService } from '../../service/deviceattachment';
+// import { DeviceattachmentService } from '../../service/deviceattachment';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 璁惧鐩稿叧鐨勯檮浠�
-聽 聽 聽 聽 */
+        * 璁惧鐩稿叧鐨勯檮浠�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Deviceattachment,
- 聽service: DeviceattachmentService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Deviceattachment,
+  //  聽service: DeviceattachmentService,
 })
 export class DeviceattachmentController extends DataController {
- 聽@Inject()
- 聽deviceattachmentService: DeviceattachmentService;
- 聽
+  //  聽@Inject()
+  //  聽deviceattachmentService: DeviceattachmentService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 7804576..43d4573 100644
--- a/src/app/modules/business/controller/admin/devicegroup.ts
+++ b/src/app/modules/business/controller/admin/devicegroup.ts
@@ -1,7 +1,7 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Devicegroup } from '../../entity/devicegroup';
-import { DevicegroupService } from '../../service/devicegroup';
+// import { DevicegroupService } from '../../service/devicegroup';
 import { DataController } from '../../../base/controller/dataController';
 /**
         * 璁惧鍒嗙粍
@@ -10,24 +10,24 @@
 @CoolController({
   api: ['add', 'delete', 'update', 'list', 'page', 'info'],
   entity: Devicegroup,
-  service: DevicegroupService,
+  // service: DevicegroupService,
 })
 export class DevicegroupController extends DataController {
-  @Inject()
-  devicegroupService: DevicegroupService;
+  // @Inject()
+  // devicegroupService: DevicegroupService;
 
   /**
   * 鑾峰緱鏁版嵁
   */
-  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
-  async getData(@Query(ALL) params: any) {
-    return this.ok(await this.devicegroupService.getData(params));
-  }
-  /**
-  * 鑾峰緱鏁版嵁
-  */
-  @Post('/postdata', { summary: '鏁版嵁鎺ュ彛' })
-  async postData(@Query(ALL) params: any) {
-    return this.ok(await this.devicegroupService.getData(params));
-  }
+  // @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  // async getData(@Query(ALL) params: any) {
+  //   return this.ok(await this.devicegroupService.getData(params));
+  // }
+  // /**
+  // * 鑾峰緱鏁版嵁
+  // */
+  // @Post('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  // async postData(@Query(ALL) params: any) {
+  //   return this.ok(await this.devicegroupService.getData(params));
+  // }
 }
\ 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
index fdff492..c233663 100644
--- a/src/app/modules/business/controller/admin/deviceopreraterecord.ts
+++ b/src/app/modules/business/controller/admin/deviceopreraterecord.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Deviceopreraterecord } from '../../entity/deviceopreraterecord';
-import { DeviceopreraterecordService } from '../../service/deviceopreraterecord';
+// import { DeviceopreraterecordService } from '../../service/deviceopreraterecord';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 璁惧杩愮淮璁板綍
-聽 聽 聽 聽 */
+        * 璁惧杩愮淮璁板綍
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Deviceopreraterecord,
- 聽service: DeviceopreraterecordService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Deviceopreraterecord,
+  //  聽service: DeviceopreraterecordService,
 })
 export class DeviceopreraterecordController extends DataController {
- 聽@Inject()
- 聽deviceopreraterecordService: DeviceopreraterecordService;
- 聽
+  //  聽@Inject()
+  //  聽deviceopreraterecordService: DeviceopreraterecordService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index bd8c11e..3a797f2 100644
--- a/src/app/modules/business/controller/admin/doutrubine.ts
+++ b/src/app/modules/business/controller/admin/doutrubine.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Doutrubine } from '../../entity/doutrubine';
-import { DoutrubineService } from '../../service/doutrubine';
+// import { DoutrubineService } from '../../service/doutrubine';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
-聽 聽 聽 聽 */
+        * 鏂楄疆鏈轰俊鎭�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Doutrubine,
- 聽service: DoutrubineService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Doutrubine,
+  //  聽service: DoutrubineService,
 })
 export class DoutrubineController extends DataController {
- 聽@Inject()
- 聽doutrubineService: DoutrubineService;
- 聽
+  //  聽@Inject()
+  //  聽doutrubineService: DoutrubineService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index d2ff074..a69ab40 100644
--- a/src/app/modules/business/controller/admin/execrecord.ts
+++ b/src/app/modules/business/controller/admin/execrecord.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Execrecord } from '../../entity/execrecord';
-import { ExecrecordService } from '../../service/execrecord';
+// import { ExecrecordService } from '../../service/execrecord';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 浠诲姟鎵ц璁板綍
-聽 聽 聽 聽 */
+        * 浠诲姟鎵ц璁板綍
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Execrecord,
- 聽service: ExecrecordService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Execrecord,
+  //  聽service: ExecrecordService,
 })
 export class ExecrecordController extends DataController {
- 聽@Inject()
- 聽execrecordService: ExecrecordService;
- 聽
+  //  聽@Inject()
+  //  聽execrecordService: ExecrecordService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 804e5f7..2c91c9a 100644
--- a/src/app/modules/business/controller/admin/interfacelist.ts
+++ b/src/app/modules/business/controller/admin/interfacelist.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Interfacelist } from '../../entity/interfacelist';
-import { InterfacelistService } from '../../service/interfacelist';
+// import { InterfacelistService } from '../../service/interfacelist';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鎺ュ彛娓呭崟
-聽 聽 聽 聽 */
+        * 鎺ュ彛娓呭崟
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Interfacelist,
- 聽service: InterfacelistService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Interfacelist,
+  //  聽service: InterfacelistService,
 })
 export class InterfacelistController extends DataController {
- 聽@Inject()
- 聽interfacelistService: InterfacelistService;
- 聽
+  //  聽@Inject()
+  //  聽interfacelistService: InterfacelistService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 03b5afb..0adc597 100644
--- a/src/app/modules/business/controller/admin/interfacerecord.ts
+++ b/src/app/modules/business/controller/admin/interfacerecord.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Interfacerecord } from '../../entity/interfacerecord';
-import { InterfacerecordService } from '../../service/interfacerecord';
+// import { InterfacerecordService } from '../../service/interfacerecord';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 缁勫悎妯″瀷
-聽 聽 聽 聽 */
+        * 缁勫悎妯″瀷
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Interfacerecord,
- 聽service: InterfacerecordService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Interfacerecord,
+  //  聽service: InterfacerecordService,
 })
 export class InterfacerecordController extends DataController {
- 聽@Inject()
- 聽interfacerecordService: InterfacerecordService;
- 聽
+  //  聽@Inject()
+  //  聽interfacerecordService: InterfacerecordService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index bc19096..734082c 100644
--- a/src/app/modules/business/controller/admin/messagerecord.ts
+++ b/src/app/modules/business/controller/admin/messagerecord.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Messagerecord } from '../../entity/messagerecord';
-import { MessagerecordService } from '../../service/messagerecord';
+// import { MessagerecordService } from '../../service/messagerecord';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 浠诲姟娑堟伅璁板綍
-聽 聽 聽 聽 */
+        * 浠诲姟娑堟伅璁板綍
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Messagerecord,
- 聽service: MessagerecordService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Messagerecord,
+  //  聽service: MessagerecordService,
 })
 export class MessagerecordController extends DataController {
- 聽@Inject()
- 聽messagerecordService: MessagerecordService;
- 聽
+  //  聽@Inject()
+  //  聽messagerecordService: MessagerecordService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index d003d51..c49287a 100644
--- a/src/app/modules/business/controller/admin/metadata.ts
+++ b/src/app/modules/business/controller/admin/metadata.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Metadata } from '../../entity/metadata';
-import { MetadataService } from '../../service/metadata';
+// import { MetadataService } from '../../service/metadata';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴閲囬泦鍘熸暟鎹�
-聽 聽 聽 聽 */
+        * 鐩戞祴閲囬泦鍘熸暟鎹�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Metadata,
- 聽service: MetadataService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Metadata,
+  //  聽service: MetadataService,
 })
 export class MetadataController extends DataController {
- 聽@Inject()
- 聽metadataService: MetadataService;
- 聽
+  //  聽@Inject()
+  //  聽metadataService: MetadataService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index fb02a57..fc99ae2 100644
--- a/src/app/modules/business/controller/admin/modelcombination.ts
+++ b/src/app/modules/business/controller/admin/modelcombination.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Modelcombination } from '../../entity/modelcombination';
-import { ModelcombinationService } from '../../service/modelcombination';
+// import { ModelcombinationService } from '../../service/modelcombination';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 缁勫悎妯″瀷
-聽 聽 聽 聽 */
+        * 缁勫悎妯″瀷
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Modelcombination,
- 聽service: ModelcombinationService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Modelcombination,
+  //  聽service: ModelcombinationService,
 })
 export class ModelcombinationController extends DataController {
- 聽@Inject()
- 聽modelcombinationService: ModelcombinationService;
- 聽
+  //  聽@Inject()
+  //  聽modelcombinationService: ModelcombinationService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index c277daa..1b161a9 100644
--- a/src/app/modules/business/controller/admin/modelstatic.ts
+++ b/src/app/modules/business/controller/admin/modelstatic.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Modelstatic } from '../../entity/modelstatic';
-import { ModelstaticService } from '../../service/modelstatic';
+// import { ModelstaticService } from '../../service/modelstatic';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 闈欐�佹ā鍨嬫暟鎹�
-聽 聽 聽 聽 */
+        * 闈欐�佹ā鍨嬫暟鎹�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Modelstatic,
- 聽service: ModelstaticService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Modelstatic,
+  //  聽service: ModelstaticService,
 })
 export class ModelstaticController extends DataController {
- 聽@Inject()
- 聽modelstaticService: ModelstaticService;
- 聽
+  //  聽@Inject()
+  //  聽modelstaticService: ModelstaticService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 28e2c92..ddb9bce 100644
--- a/src/app/modules/business/controller/admin/periodicsetting.ts
+++ b/src/app/modules/business/controller/admin/periodicsetting.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Periodicsetting } from '../../entity/periodicsetting';
-import { PeriodicsettingService } from '../../service/periodicsetting';
+// import { PeriodicsettingService } from '../../service/periodicsetting';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鍒嗙粍浠诲姟鍙傛暟璁剧疆
-聽 聽 聽 聽 */
+        * 鍒嗙粍浠诲姟鍙傛暟璁剧疆
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Periodicsetting,
- 聽service: PeriodicsettingService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Periodicsetting,
+  //  聽service: PeriodicsettingService,
 })
 export class PeriodicsettingController extends DataController {
- 聽@Inject()
- 聽periodicsettingService: PeriodicsettingService;
- 聽
+  //  聽@Inject()
+  //  聽periodicsettingService: PeriodicsettingService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index f4d6a31..c6cbc56 100644
--- a/src/app/modules/business/controller/admin/planinventory.ts
+++ b/src/app/modules/business/controller/admin/planinventory.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Planinventory } from '../../entity/planinventory';
-import { PlaninventoryService } from '../../service/planinventory';
+// import { PlaninventoryService } from '../../service/planinventory';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩樼叅璁″垝
-聽 聽 聽 聽 */
+        * 鐩樼叅璁″垝
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Planinventory,
- 聽service: PlaninventoryService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Planinventory,
+  //  聽service: PlaninventoryService,
 })
 export class PlaninventoryController extends DataController {
- 聽@Inject()
- 聽planinventoryService: PlaninventoryService;
- 聽
+  //  聽@Inject()
+  //  聽planinventoryService: PlaninventoryService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index d25b688..eb2a02a 100644
--- a/src/app/modules/business/controller/admin/pointcloud.ts
+++ b/src/app/modules/business/controller/admin/pointcloud.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Pointcloud } from '../../entity/pointcloud';
-import { PointcloudService } from '../../service/pointcloud';
+// import { PointcloudService } from '../../service/pointcloud';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
+        * 鐩戞祴鍏冩暟鎹�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Pointcloud,
- 聽service: PointcloudService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Pointcloud,
+  //  聽service: PointcloudService,
 })
 export class PointcloudController extends DataController {
- 聽@Inject()
- 聽pointcloudService: PointcloudService;
- 聽
+  //  聽@Inject()
+  //  聽pointcloudService: PointcloudService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 4e257a3..3790f50 100644
--- a/src/app/modules/business/controller/admin/pointmodel.ts
+++ b/src/app/modules/business/controller/admin/pointmodel.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Pointmodel } from '../../entity/pointmodel';
-import { PointmodelService } from '../../service/pointmodel';
+// import { PointmodelService } from '../../service/pointmodel';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐐逛簯妯″瀷
-聽 聽 聽 聽 */
+        * 鐐逛簯妯″瀷
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Pointmodel,
- 聽service: PointmodelService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Pointmodel,
+  //  聽service: PointmodelService,
 })
 export class PointmodelController extends DataController {
- 聽@Inject()
- 聽pointmodelService: PointmodelService;
- 聽
+  //  聽@Inject()
+  //  聽pointmodelService: PointmodelService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index 8c1dd8d..afcd10d 100644
--- a/src/app/modules/business/controller/admin/statdata.ts
+++ b/src/app/modules/business/controller/admin/statdata.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Statdata } from '../../entity/statdata';
-import { StatdataService } from '../../service/statdata';
+// import { StatdataService } from '../../service/statdata';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴缁熻
-聽 聽 聽 聽 */
+        * 鐩戞祴缁熻
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Statdata,
- 聽service: StatdataService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Statdata,
+  //  聽service: StatdataService,
 })
 export class StatdataController extends DataController {
- 聽@Inject()
- 聽statdataService: StatdataService;
- 聽
+  //  聽@Inject()
+  //  聽statdataService: StatdataService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index c2f5ee5..1e9f008 100644
--- a/src/app/modules/business/controller/admin/taskimmediately.ts
+++ b/src/app/modules/business/controller/admin/taskimmediately.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Taskimmediately } from '../../entity/taskimmediately';
-import { TaskimmediatelyService } from '../../service/taskimmediately';
+// import { TaskimmediatelyService } from '../../service/taskimmediately';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鍗虫椂浠诲姟璁板綍
-聽 聽 聽 聽 */
+        * 鍗虫椂浠诲姟璁板綍
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Taskimmediately,
- 聽service: TaskimmediatelyService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Taskimmediately,
+  //  聽service: TaskimmediatelyService,
 })
 export class TaskimmediatelyController extends DataController {
- 聽@Inject()
- 聽taskimmediatelyService: TaskimmediatelyService;
- 聽
+  //  聽@Inject()
+  //  聽taskimmediatelyService: TaskimmediatelyService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index fde0065..63e6f79 100644
--- a/src/app/modules/business/controller/admin/taskmonitor.ts
+++ b/src/app/modules/business/controller/admin/taskmonitor.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Taskmonitor } from '../../entity/taskmonitor';
-import { TaskmonitorService } from '../../service/taskmonitor';
+// import { TaskmonitorService } from '../../service/taskmonitor';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鐩戞祴浠诲姟
-聽 聽 聽 聽 */
+        * 鐩戞祴浠诲姟
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Taskmonitor,
- 聽service: TaskmonitorService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Taskmonitor,
+  //  聽service: TaskmonitorService,
 })
 export class TaskmonitorController extends DataController {
- 聽@Inject()
- 聽taskmonitorService: TaskmonitorService;
- 聽
+  //  聽@Inject()
+  //  聽taskmonitorService: TaskmonitorService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ 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
index c52318d..e03cdcd 100644
--- a/src/app/modules/business/controller/admin/trubinelocation.ts
+++ b/src/app/modules/business/controller/admin/trubinelocation.ts
@@ -1,7 +1,7 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Trubinelocation } from '../../entity/trubinelocation';
-import { TrubinelocationService } from '../../service/trubinelocation';
+// import { TrubinelocationService } from '../../service/trubinelocation';
 import { DataController } from '../../../base/controller/dataController';
 /**
         * 鏂楄疆鏈轰俊鎭�
@@ -10,11 +10,11 @@
 @CoolController({
   api: ['add', 'delete', 'update', 'list', 'page', 'info'],
   entity: Trubinelocation,
-  service: TrubinelocationService,
+  // service: TrubinelocationService,
 })
 export class TrubinelocationController extends DataController {
-  @Inject()
-  trubinelocationService: TrubinelocationService;
+  // @Inject()
+  // trubinelocationService: TrubinelocationService;
 
   /**
   * 鑾峰緱鏁版嵁
diff --git a/src/app/modules/business/controller/admin/tuser.ts b/src/app/modules/business/controller/admin/tuser.ts
index 13500d3..fa25bfc 100644
--- a/src/app/modules/business/controller/admin/tuser.ts
+++ b/src/app/modules/business/controller/admin/tuser.ts
@@ -1,33 +1,33 @@
 import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
 import { CoolController, BaseController } from '@cool-midway/core';
 import { Tuser } from '../../entity/tuser';
-import { TuserService } from '../../service/tuser';
+// import { TuserService } from '../../service/tuser';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 
-聽 聽 聽 聽 */
+        * 
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Tuser,
- 聽service: TuserService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Tuser,
+  //  聽service: TuserService,
 })
 export class TuserController extends DataController {
- 聽@Inject()
- 聽tuserService: TuserService;
- 聽
+  //  聽@Inject()
+  //  聽tuserService: TuserService;
+  //  聽
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ No newline at end of file
diff --git a/src/app/modules/business/service/basedeviceinfo.ts b/src/app/modules/business/service/basedeviceinfo.ts
deleted file mode 100644
index c07faf7..0000000
--- a/src/app/modules/business/service/basedeviceinfo.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Basedeviceinfo } from '../entity/basedeviceinfo';
-/**
-聽 聽 聽 聽 * 璁惧淇℃伅
-聽 聽 聽 聽 */
-@Provide()
-export class BasedeviceinfoService extends DataService { 
- 聽 聽@InjectEntityModel(Basedeviceinfo) 
- 聽 聽basedeviceinfo: Repository<Basedeviceinfo> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/basedeviceparams.ts b/src/app/modules/business/service/basedeviceparams.ts
deleted file mode 100644
index 22f92fa..0000000
--- a/src/app/modules/business/service/basedeviceparams.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Basedeviceparams } from '../entity/basedeviceparams';
-/**
-聽 聽 聽 聽 * 璁惧鍙傛暟
-聽 聽 聽 聽 */
-@Provide()
-export class BasedeviceparamsService extends DataService { 
- 聽 聽@InjectEntityModel(Basedeviceparams) 
- 聽 聽basedeviceparams: Repository<Basedeviceparams> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/basedevicesection.ts b/src/app/modules/business/service/basedevicesection.ts
deleted file mode 100644
index b7ad150..0000000
--- a/src/app/modules/business/service/basedevicesection.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Basedevicesection } from '../entity/basedevicesection';
-/**
-聽 聽 聽 聽 * 璁惧缁勪欢
-聽 聽 聽 聽 */
-@Provide()
-export class BasedevicesectionService extends DataService { 
- 聽 聽@InjectEntityModel(Basedevicesection) 
- 聽 聽basedevicesection: Repository<Basedevicesection> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/basedevicestatus.ts b/src/app/modules/business/service/basedevicestatus.ts
deleted file mode 100644
index 9828d7e..0000000
--- a/src/app/modules/business/service/basedevicestatus.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Basedevicestatus } from '../entity/basedevicestatus';
-/**
-聽 聽 聽 聽 * 璁惧鐘舵��
-聽 聽 聽 聽 */
-@Provide()
-export class BasedevicestatusService extends DataService { 
- 聽 聽@InjectEntityModel(Basedevicestatus) 
- 聽 聽basedevicestatus: Repository<Basedevicestatus> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/colletdata.ts b/src/app/modules/business/service/colletdata.ts
deleted file mode 100644
index 72a957a..0000000
--- a/src/app/modules/business/service/colletdata.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Colletdata } from '../entity/colletdata';
-/**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
-@Provide()
-export class ColletdataService extends DataService { 
- 聽 聽@InjectEntityModel(Colletdata) 
- 聽 聽colletdata: Repository<Colletdata> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/colletmeta.ts b/src/app/modules/business/service/colletmeta.ts
deleted file mode 100644
index 76848c0..0000000
--- a/src/app/modules/business/service/colletmeta.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Colletmeta } from '../entity/colletmeta';
-/**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
-@Provide()
-export class ColletmetaService extends DataService { 
- 聽 聽@InjectEntityModel(Colletmeta) 
- 聽 聽colletmeta: Repository<Colletmeta> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/comconfig.ts b/src/app/modules/business/service/comconfig.ts
deleted file mode 100644
index f7fe986..0000000
--- a/src/app/modules/business/service/comconfig.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Comconfig } from '../entity/comconfig';
-/**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
-@Provide()
-export class ComconfigService extends DataService { 
- 聽 聽@InjectEntityModel(Comconfig) 
- 聽 聽comconfig: Repository<Comconfig> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/deviceattachment.ts b/src/app/modules/business/service/deviceattachment.ts
deleted file mode 100644
index 0077961..0000000
--- a/src/app/modules/business/service/deviceattachment.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Deviceattachment } from '../entity/deviceattachment';
-/**
-聽 聽 聽 聽 * 璁惧鐩稿叧鐨勯檮浠�
-聽 聽 聽 聽 */
-@Provide()
-export class DeviceattachmentService extends DataService { 
- 聽 聽@InjectEntityModel(Deviceattachment) 
- 聽 聽deviceattachment: Repository<Deviceattachment> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/devicegroup.ts b/src/app/modules/business/service/devicegroup.ts
deleted file mode 100644
index 4c75d18..0000000
--- a/src/app/modules/business/service/devicegroup.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Devicegroup } from '../entity/devicegroup';
-/**
-聽 聽 聽 聽 * 璁惧鍒嗙粍
-聽 聽 聽 聽 */
-@Provide()
-export class DevicegroupService extends DataService { 
- 聽 聽@InjectEntityModel(Devicegroup) 
- 聽 聽devicegroup: Repository<Devicegroup> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/deviceinfo.ts b/src/app/modules/business/service/deviceinfo.ts
new file mode 100644
index 0000000..f88d5cc
--- /dev/null
+++ b/src/app/modules/business/service/deviceinfo.ts
@@ -0,0 +1,28 @@
+import { Provide } from '@midwayjs/decorator';
+import { BaseService } from '@cool-midway/core';
+import { InjectEntityModel } from '@midwayjs/orm';
+import { Repository } from 'typeorm';
+import { Basedeviceinfo } from '../entity/basedeviceinfo';
+import { Devicegroup } from '../entity/devicegroup';
+
+/**
+ * 鎻忚堪
+ */
+@Provide()
+export class BaseDeviceService extends BaseService {
+  @InjectEntityModel(Basedeviceinfo)
+  Basedeviceinfo: Repository<Basedeviceinfo>;
+  @InjectEntityModel(Devicegroup)
+  Devicegroup: Repository<Devicegroup>;
+
+  /**
+   * 鎻忚堪
+   */
+  async add(param: any) {
+    console.log(param, "dddddddd")
+    const { logic_id } = param
+    const devicegroup = this.Devicegroup
+    await this.Devicegroup.insert(param)
+    return await super.add(param)
+  }
+}
diff --git a/src/app/modules/business/service/deviceopreraterecord.ts b/src/app/modules/business/service/deviceopreraterecord.ts
deleted file mode 100644
index 984ba45..0000000
--- a/src/app/modules/business/service/deviceopreraterecord.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Deviceopreraterecord } from '../entity/deviceopreraterecord';
-/**
-聽 聽 聽 聽 * 璁惧杩愮淮璁板綍
-聽 聽 聽 聽 */
-@Provide()
-export class DeviceopreraterecordService extends DataService { 
- 聽 聽@InjectEntityModel(Deviceopreraterecord) 
- 聽 聽deviceopreraterecord: Repository<Deviceopreraterecord> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/doutrubine.ts b/src/app/modules/business/service/doutrubine.ts
deleted file mode 100644
index 6d6d4d2..0000000
--- a/src/app/modules/business/service/doutrubine.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Doutrubine } from '../entity/doutrubine';
-/**
-聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
-聽 聽 聽 聽 */
-@Provide()
-export class DoutrubineService extends DataService { 
- 聽 聽@InjectEntityModel(Doutrubine) 
- 聽 聽doutrubine: Repository<Doutrubine> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/execrecord.ts b/src/app/modules/business/service/execrecord.ts
deleted file mode 100644
index f2f0f3e..0000000
--- a/src/app/modules/business/service/execrecord.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Execrecord } from '../entity/execrecord';
-/**
-聽 聽 聽 聽 * 浠诲姟鎵ц璁板綍
-聽 聽 聽 聽 */
-@Provide()
-export class ExecrecordService extends DataService { 
- 聽 聽@InjectEntityModel(Execrecord) 
- 聽 聽execrecord: Repository<Execrecord> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/interfacelist.ts b/src/app/modules/business/service/interfacelist.ts
deleted file mode 100644
index 8d4c30a..0000000
--- a/src/app/modules/business/service/interfacelist.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Interfacelist } from '../entity/interfacelist';
-/**
-聽 聽 聽 聽 * 鎺ュ彛娓呭崟
-聽 聽 聽 聽 */
-@Provide()
-export class InterfacelistService extends DataService { 
- 聽 聽@InjectEntityModel(Interfacelist) 
- 聽 聽interfacelist: Repository<Interfacelist> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/interfacerecord.ts b/src/app/modules/business/service/interfacerecord.ts
deleted file mode 100644
index 588f4a0..0000000
--- a/src/app/modules/business/service/interfacerecord.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Interfacerecord } from '../entity/interfacerecord';
-/**
-聽 聽 聽 聽 * 缁勫悎妯″瀷
-聽 聽 聽 聽 */
-@Provide()
-export class InterfacerecordService extends DataService { 
- 聽 聽@InjectEntityModel(Interfacerecord) 
- 聽 聽interfacerecord: Repository<Interfacerecord> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/messagerecord.ts b/src/app/modules/business/service/messagerecord.ts
deleted file mode 100644
index 36022dd..0000000
--- a/src/app/modules/business/service/messagerecord.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Messagerecord } from '../entity/messagerecord';
-/**
-聽 聽 聽 聽 * 浠诲姟娑堟伅璁板綍
-聽 聽 聽 聽 */
-@Provide()
-export class MessagerecordService extends DataService { 
- 聽 聽@InjectEntityModel(Messagerecord) 
- 聽 聽messagerecord: Repository<Messagerecord> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/metadata.ts b/src/app/modules/business/service/metadata.ts
deleted file mode 100644
index 9db1e59..0000000
--- a/src/app/modules/business/service/metadata.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Metadata } from '../entity/metadata';
-/**
-聽 聽 聽 聽 * 鐩戞祴閲囬泦鍘熸暟鎹�
-聽 聽 聽 聽 */
-@Provide()
-export class MetadataService extends DataService { 
- 聽 聽@InjectEntityModel(Metadata) 
- 聽 聽metadata: Repository<Metadata> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/modelcombination.ts b/src/app/modules/business/service/modelcombination.ts
deleted file mode 100644
index 5ce13cd..0000000
--- a/src/app/modules/business/service/modelcombination.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Modelcombination } from '../entity/modelcombination';
-/**
-聽 聽 聽 聽 * 缁勫悎妯″瀷
-聽 聽 聽 聽 */
-@Provide()
-export class ModelcombinationService extends DataService { 
- 聽 聽@InjectEntityModel(Modelcombination) 
- 聽 聽modelcombination: Repository<Modelcombination> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/modelstatic.ts b/src/app/modules/business/service/modelstatic.ts
deleted file mode 100644
index 2e41f4d..0000000
--- a/src/app/modules/business/service/modelstatic.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Modelstatic } from '../entity/modelstatic';
-/**
-聽 聽 聽 聽 * 闈欐�佹ā鍨嬫暟鎹�
-聽 聽 聽 聽 */
-@Provide()
-export class ModelstaticService extends DataService { 
- 聽 聽@InjectEntityModel(Modelstatic) 
- 聽 聽modelstatic: Repository<Modelstatic> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/periodicsetting.ts b/src/app/modules/business/service/periodicsetting.ts
deleted file mode 100644
index bcdc66d..0000000
--- a/src/app/modules/business/service/periodicsetting.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Periodicsetting } from '../entity/periodicsetting';
-/**
-聽 聽 聽 聽 * 鍒嗙粍浠诲姟鍙傛暟璁剧疆
-聽 聽 聽 聽 */
-@Provide()
-export class PeriodicsettingService extends DataService { 
- 聽 聽@InjectEntityModel(Periodicsetting) 
- 聽 聽periodicsetting: Repository<Periodicsetting> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/planinventory.ts b/src/app/modules/business/service/planinventory.ts
deleted file mode 100644
index c19ceab..0000000
--- a/src/app/modules/business/service/planinventory.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Planinventory } from '../entity/planinventory';
-/**
-聽 聽 聽 聽 * 鐩樼叅璁″垝
-聽 聽 聽 聽 */
-@Provide()
-export class PlaninventoryService extends DataService { 
- 聽 聽@InjectEntityModel(Planinventory) 
- 聽 聽planinventory: Repository<Planinventory> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/pointcloud.ts b/src/app/modules/business/service/pointcloud.ts
deleted file mode 100644
index 393650f..0000000
--- a/src/app/modules/business/service/pointcloud.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Pointcloud } from '../entity/pointcloud';
-/**
-聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
-聽 聽 聽 聽 */
-@Provide()
-export class PointcloudService extends DataService { 
- 聽 聽@InjectEntityModel(Pointcloud) 
- 聽 聽pointcloud: Repository<Pointcloud> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/pointmodel.ts b/src/app/modules/business/service/pointmodel.ts
deleted file mode 100644
index 844accc..0000000
--- a/src/app/modules/business/service/pointmodel.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Pointmodel } from '../entity/pointmodel';
-/**
-聽 聽 聽 聽 * 鐐逛簯妯″瀷
-聽 聽 聽 聽 */
-@Provide()
-export class PointmodelService extends DataService { 
- 聽 聽@InjectEntityModel(Pointmodel) 
- 聽 聽pointmodel: Repository<Pointmodel> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/statdata.ts b/src/app/modules/business/service/statdata.ts
deleted file mode 100644
index 2a734f6..0000000
--- a/src/app/modules/business/service/statdata.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Statdata } from '../entity/statdata';
-/**
-聽 聽 聽 聽 * 鐩戞祴缁熻
-聽 聽 聽 聽 */
-@Provide()
-export class StatdataService extends DataService { 
- 聽 聽@InjectEntityModel(Statdata) 
- 聽 聽statdata: Repository<Statdata> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/taskimmediately.ts b/src/app/modules/business/service/taskimmediately.ts
deleted file mode 100644
index e3013d8..0000000
--- a/src/app/modules/business/service/taskimmediately.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Taskimmediately } from '../entity/taskimmediately';
-/**
-聽 聽 聽 聽 * 鍗虫椂浠诲姟璁板綍
-聽 聽 聽 聽 */
-@Provide()
-export class TaskimmediatelyService extends DataService { 
- 聽 聽@InjectEntityModel(Taskimmediately) 
- 聽 聽taskimmediately: Repository<Taskimmediately> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/taskmonitor.ts b/src/app/modules/business/service/taskmonitor.ts
deleted file mode 100644
index 0d0cc3a..0000000
--- a/src/app/modules/business/service/taskmonitor.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Taskmonitor } from '../entity/taskmonitor';
-/**
-聽 聽 聽 聽 * 鐩戞祴浠诲姟
-聽 聽 聽 聽 */
-@Provide()
-export class TaskmonitorService extends DataService { 
- 聽 聽@InjectEntityModel(Taskmonitor) 
- 聽 聽taskmonitor: Repository<Taskmonitor> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/trubinelocation.ts b/src/app/modules/business/service/trubinelocation.ts
deleted file mode 100644
index 13409bd..0000000
--- a/src/app/modules/business/service/trubinelocation.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Trubinelocation } from '../entity/trubinelocation';
-/**
-聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
-聽 聽 聽 聽 */
-@Provide()
-export class TrubinelocationService extends DataService { 
- 聽 聽@InjectEntityModel(Trubinelocation) 
- 聽 聽trubinelocation: Repository<Trubinelocation> 
-}
\ No newline at end of file
diff --git a/src/app/modules/business/service/tuser.ts b/src/app/modules/business/service/tuser.ts
deleted file mode 100644
index 35423a0..0000000
--- a/src/app/modules/business/service/tuser.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Provide } from '@midwayjs/decorator';
-import { BaseService } from '@cool-midway/core';
-import { InjectEntityModel } from '@midwayjs/orm';
-import { Repository } from 'typeorm';
-import { DataService } from '../../base/service/dataapi/dataapi';
-import { Tuser } from '../entity/tuser';
-/**
-聽 聽 聽 聽 * 
-聽 聽 聽 聽 */
-@Provide()
-export class TuserService extends DataService { 
- 聽 聽@InjectEntityModel(Tuser) 
- 聽 聽tuser: Repository<Tuser> 
-}
\ No newline at end of file

--
Gitblit v1.9.1