From 9e3033c25283dff92244ccc0156b3ad1ee409767 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期三, 23 三月 2022 10:12:36 +0800
Subject: [PATCH] check the entity
---
src/app/modules/business/entity/devicegroup.ts | 4
src/app/modules/business/controller/admin/taskimmediately.ts | 35
src/app/modules/business/service/interfacelist.ts | 8
src/app/modules/business/controller/admin/modelcombination.ts | 35
src/app/modules/business/service/execrecord.ts | 8
src/app/modules/business/entity/colletdata.ts | 18
src/app/modules/business/controller/admin/planinventory.ts | 35
src/app/modules/business/service/pointcloud.ts | 8
src/app/modules/business/controller/admin/periodicsetting.ts | 35
src/app/modules/business/entity/basedevicestatus.ts | 18
src/app/modules/business/service/colletmeta.ts | 8
src/app/modules/business/service/metadata.ts | 8
src/app/modules/business/entity/pointmodel.ts | 24
src/app/modules/business/controller/admin/basedevicestatus.ts | 35
src/app/modules/business/controller/admin/basedeviceinfo.ts | 40
src/app/modules/business/controller/admin/pointmodel.ts | 35
src/app/modules/business/entity/pointcloud.ts | 9
src/app/modules/business/entity/interfacerecord.ts | 22
src/app/modules/business/service/colletdata.ts | 8
src/app/modules/business/entity/doutrubine.ts | 4
src/app/modules/business/controller/admin/deviceattachment.ts | 35
src/app/modules/business/service/basedeviceparams.ts | 8
src/app/modules/business/controller/admin/doutrubine.ts | 35
src/app/modules/base/utils/createEntity.ts | 341 +++++----
src/app/modules/business/controller/admin/tuser.ts | 35
src/app/modules/business/service/devicegroup.ts | 8
src/app/modules/business/service/taskimmediately.ts | 8
src/app/modules/business/entity/interfacelist.ts | 30
src/app/modules/business/service/basedeviceinfo.ts | 8
src/app/modules/business/service/periodicsetting.ts | 8
src/app/modules/business/controller/admin/interfacelist.ts | 35
src/app/modules/business/controller/admin/metadata.ts | 35
src/app/modules/business/service/modelstatic.ts | 8
src/app/modules/business/service/trubinelocation.ts | 8
src/app/modules/business/entity/metadata.ts | 24
src/app/modules/business/controller/admin/devicegroup.ts | 35
src/app/modules/business/controller/admin/execrecord.ts | 35
src/app/modules/business/entity/deviceattachment.ts | 22
src/app/modules/business/entity/planinventory.ts | 20
src/app/modules/business/service/interfacerecord.ts | 8
src/app/modules/business/service/modelcombination.ts | 8
src/app/modules/business/service/comconfig.ts | 8
src/app/modules/business/entity/basedeviceinfo.ts | 86 +-
src/app/modules/business/service/basedevicesection.ts | 8
src/app/modules/business/service/taskmonitor.ts | 8
src/app/modules/business/controller/admin/interfacerecord.ts | 35
src/app/modules/business/controller/admin/pointcloud.ts | 35
src/app/modules/business/entity/trubinelocation.ts | 18
src/app/modules/business/controller/admin/colletmeta.ts | 35
src/app/modules/business/entity/tuser.ts | 4
src/app/modules/business/controller/admin/statdata.ts | 35
src/app/modules/business/controller/admin/basedevicesection.ts | 35
src/app/modules/business/service/deviceopreraterecord.ts | 8
src/app/modules/business/entity/statdata.ts | 28
src/app/modules/business/entity/periodicsetting.ts | 4
src/app/modules/business/entity/taskmonitor.ts | 30
src/app/modules/business/controller/admin/taskmonitor.ts | 35
src/app/modules/business/controller/admin/basedeviceparams.ts | 35
src/app/modules/business/service/deviceattachment.ts | 8
src/app/modules/business/controller/admin/trubinelocation.ts | 35
src/app/modules/business/controller/admin/messagerecord.ts | 35
src/app/modules/business/controller/admin/modelstatic.ts | 35
src/app/modules/business/entity/messagerecord.ts | 18
src/app/modules/business/entity/modelcombination.ts | 16
src/app/modules/business/entity/execrecord.ts | 34
src/app/modules/business/service/pointmodel.ts | 8
src/app/modules/business/controller/admin/comconfig.ts | 35
src/app/modules/business/service/tuser.ts | 8
src/app/modules/business/entity/taskimmediately.ts | 22
src/app/modules/business/service/basedevicestatus.ts | 8
src/app/modules/business/controller/admin/colletdata.ts | 35
src/app/modules/business/service/planinventory.ts | 8
/dev/null | 18
src/app/modules/business/entity/basedeviceparams.ts | 20
src/app/modules/base/middleware/authority.ts | 5
src/app/modules/business/service/messagerecord.ts | 8
src/app/modules/business/entity/colletmeta.ts | 12
src/app/modules/business/entity/comconfig.ts | 14
package.json | 2
src/app/modules/business/controller/admin/deviceopreraterecord.ts | 35
src/app/modules/business/entity/modelstatic.ts | 16
src/app/modules/business/service/doutrubine.ts | 8
src/app/modules/business/entity/basedevicesection.ts | 18
src/app/modules/business/entity/deviceopreraterecord.ts | 20
src/app/modules/business/service/statdata.ts | 8
85 files changed, 1,247 insertions(+), 840 deletions(-)
diff --git a/package.json b/package.json
index 9163495..e163091 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"@midwayjs/mock": "^2.14.0",
"@types/jest": "^27.0.3",
"@types/jsonwebtoken": "^8.5.6",
- "@types/node": "14",
+ "@types/node": "^14.18.12",
"cross-env": "^7.0.3",
"jest": "^27.4.3",
"mwts": "^1.3.0",
diff --git a/src/app/modules/base/middleware/authority.ts b/src/app/modules/base/middleware/authority.ts
index 2de76cd..4dce851 100644
--- a/src/app/modules/base/middleware/authority.ts
+++ b/src/app/modules/base/middleware/authority.ts
@@ -43,6 +43,11 @@
await next();
return;
}
+ // 涓嶉渶瑕佺櫥褰� 鏃犻渶鏉冮檺鏍¢獙
+ if (new RegExp(`^${adminUrl}?.*/basedeviceinfo/`).test(url)) {
+ await next();
+ return;
+ }
if (ctx.admin) {
// 瓒呯鎷ユ湁鎵�鏈夋潈闄�
if (ctx.admin.username == 'admin' && !ctx.admin.isRefresh) {
diff --git a/src/app/modules/base/utils/createEntity.ts b/src/app/modules/base/utils/createEntity.ts
index 633207d..fd9f42d 100644
--- a/src/app/modules/base/utils/createEntity.ts
+++ b/src/app/modules/base/utils/createEntity.ts
@@ -2,180 +2,191 @@
import * as fs from 'fs';
/**
- * 涓嶉渶瑕佺櫥褰曠殑鍚庡彴鎺ュ彛
- */
+聽* 涓嶉渶瑕佺櫥褰曠殑鍚庡彴鎺ュ彛
+聽*/
@Provide()
export class CreateEntityUtil {
- createEntity(table) {
- console.log('鐢熸垚缁煎悎瀹炰綋绫讳换鍔″紑濮嬫墽琛�');
- let EntityName = this.firstToUpper3(table.entityName)
- let columnstr = [];
- columnstr.push(`import { EntityModel } from '@midwayjs/orm';\n`)
- columnstr.push(`import { BaseEntity } from '@cool-midway/core';\n`)
- columnstr.push(`import { Column, Double } from 'typeorm';\n`)
- columnstr.push(`/**
- * ${table.comment}
- */\n`)
- columnstr.push(`@EntityModel('${table.name}') \n`)
- columnstr.push(`export class ${EntityName} extends BaseEntity { \n`)
- table.tbcolumn.forEach(item => {
- if (item?.table_name == table.name) {
- let fieldType = 'string'; //nullable length primary enum enumName width
- let matResult = item.column_type.match(/\(([^)]*)\)/);
- let length = 0;
- if (matResult) {
- length = matResult[1];
- }
- switch (item.data_type) {
- case 'varchar':
- fieldType = 'string'
- item.column_default = !isNaN(item.column_default) ? item.column_default : '';
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:'${item.column_default}', length:${length}})\n`)
- break;
- case 'text':
- fieldType = 'string'
- item.column_default = !isNaN(item.column_default) ? item.column_default : '';
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:'${item.column_default}'})\n`)
- break;
- case 'int':
- fieldType = 'number'
- item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}, width:${length}})\n`)
- break;
- case 'bigint':
- fieldType = 'number'
- item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}}, width:${length})\n`)
- break;
- case 'tinyint':
- fieldType = 'number'
- item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}, width:${length}})\n`)
- break;
- case 'datetime':
- fieldType = 'Date'
- item.column_default = item.column_default != 'null' ? item.column_default : `${new Date()}`;
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}'})\n`)
- break;
- case 'double':
- item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
- fieldType = 'Double'
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}})\n`)
- break;
- case 'decimal':
- item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
- fieldType = 'Double'
- columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}})\n`)
- break;
- default:
- break;
- }
+聽 聽 createEntity(table) {
+聽 聽 聽 聽 console.log('鐢熸垚缁煎悎瀹炰綋绫讳换鍔″紑濮嬫墽琛�');
+聽 聽 聽 聽 let EntityName = this.firstToUpper3(table.entityName)
+聽 聽 聽 聽 let columnstr = [];
+聽 聽 聽 聽 columnstr.push(`import { EntityModel } from '@midwayjs/orm';\n`)
+聽 聽 聽 聽 columnstr.push(`import { BaseEntity } from '@cool-midway/core';\n`)
+聽 聽 聽 聽 columnstr.push(`import { Column, Double } from 'typeorm';\n`)
+聽 聽 聽 聽 columnstr.push(`/**
+聽 聽 聽 聽 * ${table.comment}
+聽 聽 聽 聽 */\n`)
+聽 聽 聽 聽 columnstr.push(`@EntityModel('${table.name}') \n`)
+聽 聽 聽 聽 columnstr.push(`export class ${EntityName} extends BaseEntity { \n`)
+聽 聽 聽 聽 table.tbcolumn.forEach(item => {
+聽 聽 聽 聽 聽 聽 if (item?.table_name == table.name) {
+聽 聽 聽 聽 聽 聽 聽 聽 let fieldType = 'string'; 聽//nullable length 聽primary 聽enum 聽 enumName 聽width
+聽 聽 聽 聽 聽 聽 聽 聽 let matResult = item.column_type.match(/\(([^)]*)\)/);
+聽 聽 聽 聽 聽 聽 聽 聽 let length = 0;
+聽 聽 聽 聽 聽 聽 聽 聽 if (matResult) {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 length = matResult[1];
+聽 聽 聽 聽 聽 聽 聽 聽 }
+聽 聽 聽 聽 聽 聽 聽 聽 switch (item.data_type) {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'varchar':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'string'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(item.column_default) ? item.column_default : '';
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:'${item.column_default}', length:${length}})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'text':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'string'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(item.column_default) ? item.column_default : '';
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:'${item.column_default}'})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'int':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'number'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}, width:${length}})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'bigint':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'number'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}}, width:${length})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'tinyint':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'number'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}, width:${length}})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'datetime':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'Date'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = item.column_default != 'null' ? item.column_default : `${new Date()}`;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}'})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'double':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'Double'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 case 'decimal':
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 item.column_default = !isNaN(Number(item.column_default)) ? item.column_default : 0;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 fieldType = 'Double'
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`@Column({ comment:'${item.column_comment}', type:'${item.data_type}', default:${item.column_default}})\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 default:
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 break;
+聽 聽 聽 聽 聽 聽 聽 聽 }
- // let fieldType = item.data_type=='varchar' ? 'string' : item.data_type=='int' ? 'number' : item.data_type=='bigint' ? 'number' : item.data_type=='tinyint' ? 'number'
- columnstr.push(`${item.column_name}: ${fieldType};\n`)
- columnstr.push(`\n`)
- }
+聽 聽 聽 聽 聽 聽 聽 聽 // let fieldType = item.data_type=='varchar' ? 'string' : item.data_type=='int' ? 'number' : item.data_type=='bigint' ? 'number' : item.data_type=='tinyint' ? 'number'
+聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`${item.column_name}: ${fieldType};\n`)
+聽 聽 聽 聽 聽 聽 聽 聽 columnstr.push(`\n`)
+聽 聽 聽 聽 聽 聽 }
- });
- columnstr.push(`}`)
- if (fs.existsSync(`../../business/entity/${table.entityName}.ts`)) {
- console.log(' file is exists')
- } else {
- console.log(' file is not exists')
- // API
- fs.writeFile(`./src/app/modules/business/entity/${table.entityName}.ts`,
- columnstr.join(''), (error) => {
- // 鍒涘缓澶辫触
- if (error) {
- console.log(`鍒涘缓澶辫触锛�${error}`)
- }
- // 鍒涘缓鎴愬姛
- console.log(`鍒涘缓鎴愬姛锛乣)
- })
- }
- console.log(`--------------------鐢熸垚瀹炰綋绫荤粨鏉�${table.entityName}Service--------------------`);
- }
+聽 聽 聽 聽 });
+聽 聽 聽 聽 columnstr.push(`}`)
+聽 聽 聽 聽 if (fs.existsSync(`../../business/entity/${table.entityName}.ts`)) {
+聽 聽 聽 聽 聽 聽 console.log(' file is exists')
+聽 聽 聽 聽 } else {
+聽 聽 聽 聽 聽 聽 console.log(' file is not exists')
+聽 聽 聽 聽 聽 聽 // API
+聽 聽 聽 聽 聽 聽 fs.writeFile(`./src/app/modules/business/entity/${table.entityName}.ts`,
+聽 聽 聽 聽 聽 聽 聽 聽 columnstr.join(''), (error) => {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // 鍒涘缓澶辫触
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 if (error) {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 console.log(`鍒涘缓澶辫触锛�${error}`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 }
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // 鍒涘缓鎴愬姛
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 console.log(`鍒涘缓鎴愬姛锛乣)
+聽 聽 聽 聽 聽 聽 聽 聽 })
+聽 聽 聽 聽 }
+聽 聽 聽 聽 console.log(`--------------------鐢熸垚瀹炰綋绫荤粨鏉�${table.entityName}Service--------------------`);
+聽 聽 }
- createService(table) {
- console.log('鐢熸垚鏈嶅姟绫诲紑濮嬫墽琛�');
- let EntityName = this.firstToUpper3(table.entityName)
- let columnstr = [];
- columnstr.push(`import { Provide } from '@midwayjs/decorator';\n`)
- columnstr.push(`import { BaseService } from '@cool-midway/core';\n`)
- columnstr.push(`import { InjectEntityModel } from '@midwayjs/orm';\n`)
- columnstr.push(`import { Repository } from 'typeorm';\n`)
- columnstr.push(`import { DataService } from '../../base/service/dataapi/dataapi';\n`)
- columnstr.push(`import { ${EntityName} } from '../entity/${table.entityName}';\n`)
- columnstr.push(`/**
- * ${table.comment}
- */\n`)
- columnstr.push(`@Provide()\n`)
- columnstr.push(`export class ${EntityName}Service extends DataService { \n`)
- columnstr.push(` @InjectEntityModel(${EntityName}) \n`)
- columnstr.push(` ${table.entityName}: Repository<${EntityName}> \n`);
- columnstr.push(`}`)
- if (fs.existsSync(`../../business/service/${table.entityName}.ts`)) {
- console.log(' file is exists')
- } else {
- console.log(' file is not exists')
- // API
- fs.writeFile(`./src/app/modules/business/service/${table.entityName}.ts`,
- columnstr.join(''), (error) => {
- // 鍒涘缓澶辫触
- if (error) {
- console.log(`鍒涘缓澶辫触锛�${error}`)
- }
- // 鍒涘缓鎴愬姛
- console.log(`鍒涘缓鎴愬姛锛乣)
- })
- }
- console.log(`--------------------鐢熸垚鏈嶅姟绫荤粨鏉�${EntityName}Service--------------------`);
- }
+聽 聽 createService(table) {
+聽 聽 聽 聽 console.log('鐢熸垚鏈嶅姟绫诲紑濮嬫墽琛�');
+聽 聽 聽 聽 let EntityName = this.firstToUpper3(table.entityName)
+聽 聽 聽 聽 let columnstr = [];
+聽 聽 聽 聽 columnstr.push(`import { Provide } from '@midwayjs/decorator';\n`)
+聽 聽 聽 聽 columnstr.push(`import { BaseService } from '@cool-midway/core';\n`)
+聽 聽 聽 聽 columnstr.push(`import { InjectEntityModel } from '@midwayjs/orm';\n`)
+聽 聽 聽 聽 columnstr.push(`import { Repository } from 'typeorm';\n`)
+聽 聽 聽 聽 columnstr.push(`import { DataService } from '../../base/service/dataapi/dataapi';\n`)
+聽 聽 聽 聽 columnstr.push(`import { ${EntityName} } from '../entity/${table.entityName}';\n`)
+聽 聽 聽 聽 columnstr.push(`/**
+聽 聽 聽 聽 * ${table.comment}
+聽 聽 聽 聽 */\n`)
+聽 聽 聽 聽 columnstr.push(`@Provide()\n`)
+聽 聽 聽 聽 columnstr.push(`export class ${EntityName}Service extends DataService { \n`)
+聽 聽 聽 聽 columnstr.push(` 聽 聽@InjectEntityModel(${EntityName}) \n`)
+聽 聽 聽 聽 columnstr.push(` 聽 聽${table.entityName}: Repository<${EntityName}> \n`);
+聽 聽 聽 聽 columnstr.push(`}`)
+聽 聽 聽 聽 if (fs.existsSync(`../../business/service/${table.entityName}.ts`)) {
+聽 聽 聽 聽 聽 聽 console.log(' file is exists')
+聽 聽 聽 聽 } else {
+聽 聽 聽 聽 聽 聽 console.log(' file is not exists')
+聽 聽 聽 聽 聽 聽 // API
+聽 聽 聽 聽 聽 聽 fs.writeFile(`./src/app/modules/business/service/${table.entityName}.ts`,
+聽 聽 聽 聽 聽 聽 聽 聽 columnstr.join(''), (error) => {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // 鍒涘缓澶辫触
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 if (error) {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 console.log(`鍒涘缓澶辫触锛�${error}`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 }
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // 鍒涘缓鎴愬姛
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 console.log(`鍒涘缓鎴愬姛锛乣)
+聽 聽 聽 聽 聽 聽 聽 聽 })
+聽 聽 聽 聽 }
+聽 聽 聽 聽 console.log(`--------------------鐢熸垚鏈嶅姟绫荤粨鏉�${EntityName}Service--------------------`);
+聽 聽 }
- createController(table) {
- console.log('鐢熸垚鎺у埗绫诲紑濮嬫墽琛�');
- let EntityName = this.firstToUpper3(table.entityName)
- let columnstr = [];
- columnstr.push(`import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';\n`)
- columnstr.push(`import { CoolController, BaseController } from '@cool-midway/core';\n`)
- columnstr.push(`import { ${EntityName} } from '../entity/${table.entityName}';\n`)
- columnstr.push(`import { ${EntityName}Service } from '../service/${table.entityName}';\n`)
- columnstr.push(`import { DataController } from '../../base/controller/dataController';\n`)
- columnstr.push(`/**
- * ${table.comment}
- */\n`)
- columnstr.push(`@Provide()\n`)
- columnstr.push(`@CoolController({ \n`)
- columnstr.push(` api: ['add', 'delete', 'update', 'list'],\n`)
- columnstr.push(` entity: ${EntityName},\n`)
- columnstr.push(` service: ${EntityName}Service,\n`)
- columnstr.push(`})\n`)
- columnstr.push(`export class ${EntityName}Controller extends DataController {\n`)
- columnstr.push(` @Inject()\n`)
- columnstr.push(` ${table.entityName}Service: ${EntityName}Service;\n`)
- columnstr.push(`}`)
- if (fs.existsSync(`../../business/controller/${table.entityName}.ts`)) {
- console.log(' file is exists')
- } else {
- console.log(' file is not exists')
- // API
- fs.writeFile(`./src/app/modules/business/controller/${table.entityName}.ts`,
- columnstr.join(''), (error) => {
- // 鍒涘缓澶辫触
- if (error) {
- console.log(`鍒涘缓澶辫触锛�${error}`)
- }
- // 鍒涘缓鎴愬姛
- console.log(`鍒涘缓鎴愬姛锛乣)
- })
- }
- }
+聽 聽 createController(table) {
+聽 聽 聽 聽 console.log('鐢熸垚鎺у埗绫诲紑濮嬫墽琛�');
+聽 聽 聽 聽 let EntityName = this.firstToUpper3(table.entityName)
+聽 聽 聽 聽 let columnstr = [];
+聽 聽 聽 聽 columnstr.push(`import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';\n`)
+聽 聽 聽 聽 columnstr.push(`import { CoolController, BaseController } from '@cool-midway/core';\n`)
+聽 聽 聽 聽 columnstr.push(`import { ${EntityName} } from '../../entity/${table.entityName}';\n`)
+聽 聽 聽 聽 columnstr.push(`import { ${EntityName}Service } from '../../service/${table.entityName}';\n`)
+聽 聽 聽 聽 columnstr.push(`import { DataController } from '../../../base/controller/dataController';\n`)
+聽 聽 聽 聽 columnstr.push(`/**
+聽 聽 聽 聽 * ${table.comment}
+聽 聽 聽 聽 */\n`)
+聽 聽 聽 聽 columnstr.push(`@Provide()\n`)
+聽 聽 聽 聽 columnstr.push(`@CoolController({ \n`)
+聽 聽 聽 聽 columnstr.push(` 聽api: ['add', 'delete', 'update', 'list'],\n`)
+聽 聽 聽 聽 columnstr.push(` 聽entity: ${EntityName},\n`)
+聽 聽 聽 聽 columnstr.push(` 聽service: ${EntityName}Service,\n`)
+聽 聽 聽 聽 columnstr.push(`})\n`)
+聽 聽 聽 聽 columnstr.push(`export class ${EntityName}Controller extends DataController {\n`)
+聽 聽 聽 聽 columnstr.push(` 聽@Inject()\n`)
+聽 聽 聽 聽 columnstr.push(` 聽${table.entityName}Service: ${EntityName}Service;\n`)
+聽 聽 聽 聽 columnstr.push(` 聽\n`)
+聽 聽 聽 聽 columnstr.push(` /**\n * 鑾峰緱鏁版嵁\n */\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 async getData(@Query(ALL) params: any) {\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 聽 return this.ok(await this.dataService.getData(params));\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 }\n`)
+聽 聽 聽 聽 columnstr.push(` /**\n * 鑾峰緱鏁版嵁\n */\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 async postData(@Query(ALL) params: any) {\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 聽 return this.ok(await this.dataService.getData(params));\n`)
+聽 聽 聽 聽 columnstr.push(` 聽 }\n`)
+聽 聽 聽 聽 columnstr.push(`}`)
+聽 聽 聽 聽 if (fs.existsSync(`../../business/controller/admin/${table.entityName}.ts`)) {
+聽 聽 聽 聽 聽 聽 console.log(' file is exists')
+聽 聽 聽 聽 } else {
+聽 聽 聽 聽 聽 聽 console.log(' file is not exists')
+聽 聽 聽 聽 聽 聽 // API
+聽 聽 聽 聽 聽 聽 fs.writeFile(`./src/app/modules/business/controller/admin/${table.entityName}.ts`,
+聽 聽 聽 聽 聽 聽 聽 聽 columnstr.join(''), (error) => {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // 鍒涘缓澶辫触
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 if (error) {
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 console.log(`鍒涘缓澶辫触锛�${error}`)
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 }
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // 鍒涘缓鎴愬姛
+聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 console.log(`鍒涘缓鎴愬姛锛乣)
+聽 聽 聽 聽 聽 聽 聽 聽 })
+聽 聽 聽 聽 }
+聽 聽 }
- firstToUpper3(str){
- return str.toLowerCase().replace(/( |^)[a-z]/g,(L)=>L.toUpperCase());
- }
+聽 聽 firstToUpper3(str){
+聽 聽 聽 聽 return str.toLowerCase().replace(/( |^)[a-z]/g,(L)=>L.toUpperCase());
+聽 聽 }
}
diff --git a/src/app/modules/business/controller/admin/basedeviceinfo.ts b/src/app/modules/business/controller/admin/basedeviceinfo.ts
index 3bd966c..ac5f36b 100644
--- a/src/app/modules/business/controller/admin/basedeviceinfo.ts
+++ b/src/app/modules/business/controller/admin/basedeviceinfo.ts
@@ -1,17 +1,33 @@
-import { Provide, Inject, } from '@midwayjs/decorator';
+import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
-import { BasedeviceinfoEntity } from '../../entity/basedeviceinfo';
-
-import { DataController } from '../../../base/controller/dataController';
+import { Basedeviceinfo } from '../../entity/basedeviceinfo';
import { BasedeviceinfoService } from '../../service/basedeviceinfo';
-
+import { DataController } from '../../../base/controller/dataController';
/**
- * 鎻忚堪
- */
+聽 聽 聽 聽 * 璁惧淇℃伅
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'info', 'list', 'page'],
- entity: BasedeviceinfoEntity
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Basedeviceinfo,
+ 聽service: BasedeviceinfoService,
})
-export class AdminBasedeviceinfoController extends DataController {
-}
+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('/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 5ca681b..69d67ec 100644
--- a/src/app/modules/business/controller/admin/basedeviceparams.ts
+++ b/src/app/modules/business/controller/admin/basedeviceparams.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧鍙傛暟琛�
- */
+聽 聽 聽 聽 * 璁惧鍙傛暟
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Basedeviceparams,
- service: BasedeviceparamsService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Basedeviceparams,
+ 聽service: BasedeviceparamsService,
})
-export class AdminBasedeviceparamsController extends DataController {
- @Inject()
- basedeviceparamsService: BasedeviceparamsService;
+export class BasedeviceparamsController extends DataController {
+ 聽@Inject()
+ 聽basedeviceparamsService: BasedeviceparamsService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 f1d1321..25da47e 100644
--- a/src/app/modules/business/controller/admin/basedevicesection.ts
+++ b/src/app/modules/business/controller/admin/basedevicesection.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧缁勪欢
- */
+聽 聽 聽 聽 * 璁惧缁勪欢
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Basedevicesection,
- service: BasedevicesectionService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Basedevicesection,
+ 聽service: BasedevicesectionService,
})
-export class AdminBasedevicesectionController extends DataController {
- @Inject()
- basedevicesectionService: BasedevicesectionService;
+export class BasedevicesectionController extends DataController {
+ 聽@Inject()
+ 聽basedevicesectionService: BasedevicesectionService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 b16f726..c8a6a83 100644
--- a/src/app/modules/business/controller/admin/basedevicestatus.ts
+++ b/src/app/modules/business/controller/admin/basedevicestatus.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧鐘舵�佽〃
- */
+聽 聽 聽 聽 * 璁惧鐘舵��
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Basedevicestatus,
- service: BasedevicestatusService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Basedevicestatus,
+ 聽service: BasedevicestatusService,
})
-export class AdminBasedevicestatusController extends DataController {
- @Inject()
- basedevicestatusService: BasedevicestatusService;
+export class BasedevicestatusController extends DataController {
+ 聽@Inject()
+ 聽basedevicestatusService: BasedevicestatusService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 2b27570..a7933b2 100644
--- a/src/app/modules/business/controller/admin/colletdata.ts
+++ b/src/app/modules/business/controller/admin/colletdata.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Colletdata,
- service: ColletdataService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Colletdata,
+ 聽service: ColletdataService,
})
-export class AdminColletdataController extends DataController {
- @Inject()
- colletdataService: ColletdataService;
+export class ColletdataController extends DataController {
+ 聽@Inject()
+ 聽colletdataService: ColletdataService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 23e66d6..266874f 100644
--- a/src/app/modules/business/controller/admin/colletmeta.ts
+++ b/src/app/modules/business/controller/admin/colletmeta.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Colletmeta,
- service: ColletmetaService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Colletmeta,
+ 聽service: ColletmetaService,
})
-export class AdminColletmetaController extends DataController {
- @Inject()
- colletmetaService: ColletmetaService;
+export class ColletmetaController extends DataController {
+ 聽@Inject()
+ 聽colletmetaService: ColletmetaService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 9e908cc..53fc1be 100644
--- a/src/app/modules/business/controller/admin/comconfig.ts
+++ b/src/app/modules/business/controller/admin/comconfig.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Comconfig,
- service: ComconfigService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Comconfig,
+ 聽service: ComconfigService,
})
-export class AdminComconfigController extends DataController {
- @Inject()
- comconfigService: ComconfigService;
+export class ComconfigController extends DataController {
+ 聽@Inject()
+ 聽comconfigService: ComconfigService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 e2e682c..ec9d50b 100644
--- a/src/app/modules/business/controller/admin/deviceattachment.ts
+++ b/src/app/modules/business/controller/admin/deviceattachment.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧鐩稿叧鐨勯檮浠�
- */
+聽 聽 聽 聽 * 璁惧鐩稿叧鐨勯檮浠�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Deviceattachment,
- service: DeviceattachmentService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Deviceattachment,
+ 聽service: DeviceattachmentService,
})
-export class AdminDeviceattachmentController extends DataController {
- @Inject()
- deviceattachmentService: DeviceattachmentService;
+export class DeviceattachmentController extends DataController {
+ 聽@Inject()
+ 聽deviceattachmentService: DeviceattachmentService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 7538d95..6744cdb 100644
--- a/src/app/modules/business/controller/admin/devicegroup.ts
+++ b/src/app/modules/business/controller/admin/devicegroup.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧鍒嗙粍琛�
- */
+聽 聽 聽 聽 * 璁惧鍒嗙粍
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Devicegroup,
- service: DevicegroupService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Devicegroup,
+ 聽service: DevicegroupService,
})
-export class AdminDevicegroupController extends DataController {
- @Inject()
- devicegroupService: DevicegroupService;
+export class DevicegroupController extends DataController {
+ 聽@Inject()
+ 聽devicegroupService: DevicegroupService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 a8de02c..e11e5ae 100644
--- a/src/app/modules/business/controller/admin/deviceopreraterecord.ts
+++ b/src/app/modules/business/controller/admin/deviceopreraterecord.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧杩愮淮璁板綍
- */
+聽 聽 聽 聽 * 璁惧杩愮淮璁板綍
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Deviceopreraterecord,
- service: DeviceopreraterecordService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Deviceopreraterecord,
+ 聽service: DeviceopreraterecordService,
})
-export class AdminDeviceopreraterecordController extends DataController {
- @Inject()
- deviceopreraterecordService: DeviceopreraterecordService;
+export class DeviceopreraterecordController extends DataController {
+ 聽@Inject()
+ 聽deviceopreraterecordService: DeviceopreraterecordService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 160935d..f032c73 100644
--- a/src/app/modules/business/controller/admin/doutrubine.ts
+++ b/src/app/modules/business/controller/admin/doutrubine.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鏂楄疆鏈轰俊鎭�
- */
+聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page'],
- entity: Doutrubine,
- service: DoutrubineService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Doutrubine,
+ 聽service: DoutrubineService,
})
-export class AdminDoutrubineController extends DataController {
- @Inject()
- doutrubineService: DoutrubineService;
+export class DoutrubineController extends DataController {
+ 聽@Inject()
+ 聽doutrubineService: DoutrubineService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 e83cfcf..a360c4b 100644
--- a/src/app/modules/business/controller/admin/execrecord.ts
+++ b/src/app/modules/business/controller/admin/execrecord.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 浠诲姟鎵ц璁板綍琛�
- */
+聽 聽 聽 聽 * 浠诲姟鎵ц璁板綍
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Execrecord,
- service: ExecrecordService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Execrecord,
+ 聽service: ExecrecordService,
})
-export class AdminExecrecordController extends DataController {
- @Inject()
- execrecordService: ExecrecordService;
+export class ExecrecordController extends DataController {
+ 聽@Inject()
+ 聽execrecordService: ExecrecordService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 5091636..fce850b 100644
--- a/src/app/modules/business/controller/admin/interfacelist.ts
+++ b/src/app/modules/business/controller/admin/interfacelist.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鎺ュ彛娓呭崟
- */
+聽 聽 聽 聽 * 鎺ュ彛娓呭崟
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Interfacelist,
- service: InterfacelistService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Interfacelist,
+ 聽service: InterfacelistService,
})
-export class AdminInterfacelistController extends DataController {
- @Inject()
- interfacelistService: InterfacelistService;
+export class InterfacelistController extends DataController {
+ 聽@Inject()
+ 聽interfacelistService: InterfacelistService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 8bb07fe..db195ae 100644
--- a/src/app/modules/business/controller/admin/interfacerecord.ts
+++ b/src/app/modules/business/controller/admin/interfacerecord.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 缁勫悎妯″瀷
- */
+聽 聽 聽 聽 * 缁勫悎妯″瀷
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Interfacerecord,
- service: InterfacerecordService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Interfacerecord,
+ 聽service: InterfacerecordService,
})
-export class AdminInterfacerecordController extends DataController {
- @Inject()
- interfacerecordService: InterfacerecordService;
+export class InterfacerecordController extends DataController {
+ 聽@Inject()
+ 聽interfacerecordService: InterfacerecordService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 20ba650..42992e0 100644
--- a/src/app/modules/business/controller/admin/messagerecord.ts
+++ b/src/app/modules/business/controller/admin/messagerecord.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 浠诲姟娑堟伅璁板綍
- */
+聽 聽 聽 聽 * 浠诲姟娑堟伅璁板綍
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Messagerecord,
- service: MessagerecordService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Messagerecord,
+ 聽service: MessagerecordService,
})
-export class AdminMessagerecordController extends DataController {
- @Inject()
- messagerecordService: MessagerecordService;
+export class MessagerecordController extends DataController {
+ 聽@Inject()
+ 聽messagerecordService: MessagerecordService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 e73be27..9a667c5 100644
--- a/src/app/modules/business/controller/admin/metadata.ts
+++ b/src/app/modules/business/controller/admin/metadata.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴閲囬泦鍘熸暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴閲囬泦鍘熸暟鎹�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Metadata,
- service: MetadataService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Metadata,
+ 聽service: MetadataService,
})
-export class AdminMetadataController extends DataController {
- @Inject()
- metadataService: MetadataService;
+export class MetadataController extends DataController {
+ 聽@Inject()
+ 聽metadataService: MetadataService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 144ca20..d055411 100644
--- a/src/app/modules/business/controller/admin/modelcombination.ts
+++ b/src/app/modules/business/controller/admin/modelcombination.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 缁勫悎妯″瀷
- */
+聽 聽 聽 聽 * 缁勫悎妯″瀷
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Modelcombination,
- service: ModelcombinationService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Modelcombination,
+ 聽service: ModelcombinationService,
})
-export class AdminModelcombinationController extends DataController {
- @Inject()
- modelcombinationService: ModelcombinationService;
+export class ModelcombinationController extends DataController {
+ 聽@Inject()
+ 聽modelcombinationService: ModelcombinationService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 2a77a6c..1e7fd34 100644
--- a/src/app/modules/business/controller/admin/modelstatic.ts
+++ b/src/app/modules/business/controller/admin/modelstatic.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 闈欐�佹ā鍨嬫暟鎹�
- */
+聽 聽 聽 聽 * 闈欐�佹ā鍨嬫暟鎹�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Modelstatic,
- service: ModelstaticService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Modelstatic,
+ 聽service: ModelstaticService,
})
-export class AdminModelstaticController extends DataController {
- @Inject()
- modelstaticService: ModelstaticService;
+export class ModelstaticController extends DataController {
+ 聽@Inject()
+ 聽modelstaticService: ModelstaticService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 95642a1..12cd84f 100644
--- a/src/app/modules/business/controller/admin/periodicsetting.ts
+++ b/src/app/modules/business/controller/admin/periodicsetting.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鍒嗙粍浠诲姟鍙傛暟璁剧疆琛�
- */
+聽 聽 聽 聽 * 鍒嗙粍浠诲姟鍙傛暟璁剧疆
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Periodicsetting,
- service: PeriodicsettingService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Periodicsetting,
+ 聽service: PeriodicsettingService,
})
-export class AdminPeriodicsettingController extends DataController {
- @Inject()
- periodicsettingService: PeriodicsettingService;
+export class PeriodicsettingController extends DataController {
+ 聽@Inject()
+ 聽periodicsettingService: PeriodicsettingService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 b9052b1..11d2e98 100644
--- a/src/app/modules/business/controller/admin/planinventory.ts
+++ b/src/app/modules/business/controller/admin/planinventory.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩樼叅璁″垝
- */
+聽 聽 聽 聽 * 鐩樼叅璁″垝
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Planinventory,
- service: PlaninventoryService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Planinventory,
+ 聽service: PlaninventoryService,
})
-export class AdminPlaninventoryController extends DataController {
- @Inject()
- planinventoryService: PlaninventoryService;
+export class PlaninventoryController extends DataController {
+ 聽@Inject()
+ 聽planinventoryService: PlaninventoryService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 f8bbd23..76d52a5 100644
--- a/src/app/modules/business/controller/admin/pointcloud.ts
+++ b/src/app/modules/business/controller/admin/pointcloud.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Pointcloud,
- service: PointcloudService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Pointcloud,
+ 聽service: PointcloudService,
})
-export class AdminPointcloudController extends DataController {
- @Inject()
- pointcloudService: PointcloudService;
+export class PointcloudController extends DataController {
+ 聽@Inject()
+ 聽pointcloudService: PointcloudService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 f6054f0..ee93fb2 100644
--- a/src/app/modules/business/controller/admin/pointmodel.ts
+++ b/src/app/modules/business/controller/admin/pointmodel.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐐逛簯妯″瀷
- */
+聽 聽 聽 聽 * 鐐逛簯妯″瀷
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Pointmodel,
- service: PointmodelService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Pointmodel,
+ 聽service: PointmodelService,
})
-export class AdminPointmodelController extends DataController {
- @Inject()
- pointmodelService: PointmodelService;
+export class PointmodelController extends DataController {
+ 聽@Inject()
+ 聽pointmodelService: PointmodelService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 c4ec264..387b140 100644
--- a/src/app/modules/business/controller/admin/statdata.ts
+++ b/src/app/modules/business/controller/admin/statdata.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴缁熻
- */
+聽 聽 聽 聽 * 鐩戞祴缁熻
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Statdata,
- service: StatdataService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Statdata,
+ 聽service: StatdataService,
})
-export class AdminStatdataController extends DataController {
- @Inject()
- statdataService: StatdataService;
+export class StatdataController extends DataController {
+ 聽@Inject()
+ 聽statdataService: StatdataService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 baba61e..6fa3e15 100644
--- a/src/app/modules/business/controller/admin/taskimmediately.ts
+++ b/src/app/modules/business/controller/admin/taskimmediately.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鍗虫椂浠诲姟璁板綍琛�
- */
+聽 聽 聽 聽 * 鍗虫椂浠诲姟璁板綍
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Taskimmediately,
- service: TaskimmediatelyService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Taskimmediately,
+ 聽service: TaskimmediatelyService,
})
-export class AdminTaskimmediatelyController extends DataController {
- @Inject()
- taskimmediatelyService: TaskimmediatelyService;
+export class TaskimmediatelyController extends DataController {
+ 聽@Inject()
+ 聽taskimmediatelyService: TaskimmediatelyService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 8dc6494..086040d 100644
--- a/src/app/modules/business/controller/admin/taskmonitor.ts
+++ b/src/app/modules/business/controller/admin/taskmonitor.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鐩戞祴浠诲姟琛�
- */
+聽 聽 聽 聽 * 鐩戞祴浠诲姟
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Taskmonitor,
- service: TaskmonitorService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Taskmonitor,
+ 聽service: TaskmonitorService,
})
-export class AdminTaskmonitorController extends DataController {
- @Inject()
- taskmonitorService: TaskmonitorService;
+export class TaskmonitorController extends DataController {
+ 聽@Inject()
+ 聽taskmonitorService: TaskmonitorService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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 b3ab97c..42e52e0 100644
--- a/src/app/modules/business/controller/admin/trubinelocation.ts
+++ b/src/app/modules/business/controller/admin/trubinelocation.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- * 鏂楄疆鏈轰俊鎭�
- */
+聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Trubinelocation,
- service: TrubinelocationService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Trubinelocation,
+ 聽service: TrubinelocationService,
})
-export class AdminTrubinelocationController extends DataController {
- @Inject()
- trubinelocationService: TrubinelocationService;
+export class TrubinelocationController extends DataController {
+ 聽@Inject()
+ 聽trubinelocationService: TrubinelocationService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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
index 75ff910..8736d51 100644
--- a/src/app/modules/business/controller/admin/tuser.ts
+++ b/src/app/modules/business/controller/admin/tuser.ts
@@ -1,18 +1,33 @@
-import { ALL, Body, Inject, Post, Provide } from '@midwayjs/decorator';
+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 { DataController } from '../../../base/controller/dataController';
/**
- *
- */
+聽 聽 聽 聽 *
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list'],
- entity: Tuser,
- service: TuserService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list'],
+ 聽entity: Tuser,
+ 聽service: TuserService,
})
-export class AdminTuserController extends DataController {
- @Inject()
- tuserService: TuserService;
+export class TuserController extends DataController {
+ 聽@Inject()
+ 聽tuserService: TuserService;
+ 聽
+ /**
+ * 鑾峰緱鏁版嵁
+ */
+ 聽 @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));
+ 聽 }
}
\ 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
deleted file mode 100644
index ce742df..0000000
--- a/src/app/modules/business/controller/app/basedeviceinfo.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-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
deleted file mode 100644
index 08f3e9d..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index b498842..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index c4309c4..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index 79b01c1..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index 4e7af55..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index c7ebed4..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index 31ebcf4..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index e9eb551..0000000
--- a/src/app/modules/business/controller/app/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', '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
deleted file mode 100644
index 9e9147d..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index b87f0a5..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 3facf34..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 90dc93e..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 37dc2a0..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index fefbac4..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 8006e01..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index f79ee48..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 9f73740..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 61ab469..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index b646896..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index b3b7a54..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 46944ea..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index dd01ddc..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 352cc80..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 59b522c..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index db5ce31..0000000
--- a/src/app/modules/business/controller/app/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 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
deleted file mode 100644
index 77bf5c4..0000000
--- a/src/app/modules/business/controller/app/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 AppTuserController 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 b385211..c056c41 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 } from 'typeorm';
+import { Column, Double } from 'typeorm';
/**
- * 璁惧淇℃伅琛�
- */
-@EntityModel('t_base_deviceinfo')
-export class BasedeviceinfoEntity extends BaseEntity {
- @Column({ comment: '璁惧楂樺害', type: 'varchar', default: '', length: 50 })
- altitude: string;
+聽 聽 聽 聽 * 璁惧淇℃伅
+聽 聽 聽 聽 */
+@EntityModel('t_base_deviceinfo')
+export class Basedeviceinfo extends BaseEntity {
+@Column({ comment:'{name:"璁惧楂樺害",format:0.000001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
+altitude: string;
- @Column({ comment: '璐﹀彿', type: 'varchar', default: '', length: 50 })
- device_account: string;
+@Column({ comment:'{name:"璐﹀彿",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+device_account: string;
- @Column({ comment: '鍞竴绱㈠紩锛岃澶囩墿鐞唅d锛屽鍘傜紪鍙枫�乻ubscribeno绛�', type: 'varchar', default: '', length: 50 })
- device_id: string;
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
+device_id: string;
- @Column({ comment: '绔彛', type: 'varchar', default: '', length: 50 })
- device_port: string;
+@Column({ comment:'{name:"绔彛",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+device_port: string;
- @Column({ comment: '瀵嗙爜', type: 'varchar', default: '', length: 50 })
- device_psw: string;
+@Column({ comment:'{name:"瀵嗙爜",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+device_psw: string;
- @Column({ comment: '璁惧绮惧害', type: 'varchar', default: '', length: 50 })
- dimension: string;
+@Column({ comment:'{name:"璁惧绮惧害",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+dimension: string;
- @Column({ comment: '', type: 'varchar', default: '', length: 50 })
- heading_angle: string;
+@Column({ comment:'{name:"涓婂�捐",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+heading_angle: string;
- @Column({ comment: 'IP鍦板潃', type: 'varchar', default: '', length: 50 })
- ipaddres: string;
+@Column({ comment:'{name:"IP鍦板潃",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+ipaddres: string;
- @Column({ comment: '绾害锛岀簿纭埌灏忔暟鐐瑰悗6浣�', type: 'varchar', default: '', length: 50 })
- latitude: string;
+@Column({ comment:'{name:"绾害",format:0.000001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
+latitude: string;
- @Column({ comment: '瀹夎浣嶇疆锛�**鐪�**甯�**鍖�**璺�**鍙�**妤�**鏂逛綅', type: 'varchar', default: '', length: 50 })
- location: string;
+@Column({ comment:'{name:"瀹夎浣嶇疆",format:"**鐪�**甯�**鍖�**璺�**鍙�**妤�**鏂逛綅"}', type:'varchar', default:'null', length:50})
+location: string;
- @Column({ comment: '璁惧閫昏緫ID', type: 'varchar', default: '', length: 50 })
- logic_id: string;
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
+logic_id: string;
- @Column({ comment: '缁忓害锛岀簿纭埌灏忔暟鐐瑰悗6浣�', type: 'varchar', default: '', length: 50 })
- longitude: string;
+@Column({ comment:'{name:"缁忓害",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
+longitude: string;
- @Column({ comment: '璁惧鍚嶇О', type: 'varchar', default: '', length: 50 })
- name: string;
+@Column({ comment:'{name:"璁惧鍚嶇О"}', type:'varchar', default:'null', length:50})
+name: string;
- @Column({ comment: '杩愮淮璐熻矗浜�', type: 'varchar', default: '', length: 50 })
- opertator: string;
+@Column({ comment:'{name:"杩愮淮璐熻矗浜�",format:0.001,tips:""}', type:'varchar', default:'null', length:50})
+opertator: string;
- @Column({ comment: '淇话瑙�', type: 'varchar', default: '', length: 50 })
- petch_angle: string;
+@Column({ comment:'{name:"淇话瑙�",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+petch_angle: string;
- @Column({ comment: '鑸悜瑙�', type: 'varchar', default: '', length: 50 })
- precision: string;
+@Column({ comment:'{name:"鑸悜瑙�",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+precision: string;
- @Column({ comment: '澶囨敞', type: 'varchar', default: '', length: 50 })
- remark: string;
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
+remark: string;
- @Column({ comment: '妯粴瑙�', type: 'varchar', default: '', length: 50 })
- roll_angle: string;
+@Column({ comment:'{name:"妯粴瑙�",format:0.001,tips:"绮剧‘鍒板皬鏁扮偣鍚�3浣�"}', type:'varchar', default:'null', length:50})
+roll_angle: string;
- @Column({ comment: '鐘舵��,1-鍚敤 0-鍋滅敤', type: 'int', default: 1, width: 0 })
- status: number;
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
+status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/basedeviceparams.ts b/src/app/modules/business/entity/basedeviceparams.ts
index d442f8f..6a006d0 100644
--- a/src/app/modules/business/entity/basedeviceparams.ts
+++ b/src/app/modules/business/entity/basedeviceparams.ts
@@ -2,32 +2,32 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 璁惧鍙傛暟琛�
- */
+聽 聽 聽 聽 * 璁惧鍙傛暟
+聽 聽 聽 聽 */
@EntityModel('t_base_deviceparams')
export class Basedeviceparams extends BaseEntity {
-@Column({ comment:'閰嶇疆浜�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"閰嶇疆浜�"}', type:'varchar', default:'null', length:50})
configurator: string;
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'璁惧閫昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'key', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"key"}', type:'varchar', default:'null', length:50})
param_key: string;
-@Column({ comment:'鍙傛暟绫诲瀷', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鍙傛暟绫诲瀷",dict:{"0":"绯荤粺鍙傛暟","1":"姘村钩瑙掑害","2":"鍨傜洿瑙掑害"}}', type:'int', default:null, width:0})
param_type: number;
-@Column({ comment:'鍙傛暟鍊�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鍙傛暟鍊�"}', type:'varchar', default:'null', length:50})
param_value: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鐘舵��,1-鍚敤 0-鍋滅敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/basedevicesection.ts b/src/app/modules/business/entity/basedevicesection.ts
index 025e88d..0590fc8 100644
--- a/src/app/modules/business/entity/basedevicesection.ts
+++ b/src/app/modules/business/entity/basedevicesection.ts
@@ -2,29 +2,29 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 璁惧缁勪欢
- */
+聽 聽 聽 聽 * 璁惧缁勪欢
+聽 聽 聽 聽 */
@EntityModel('t_base_devicesection')
export class Basedevicesection extends BaseEntity {
-@Column({ comment:'閰嶇疆浜�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"閰嶇疆浜�"}', type:'varchar', default:'null', length:50})
configurator: string;
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'缁勪欢鍚嶇О', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"缁勪欢"}', type:'varchar', default:'null', length:50})
section_name: string;
-@Column({ comment:'椤哄簭缂栧彿', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"椤哄簭"}', type:'varchar', default:'null', length:50})
section_sort: string;
-@Column({ comment:'缁勪欢绫诲瀷', type:'int', default:null, width:0})
+@Column({ comment:'{name:"缁勪欢绫诲瀷",dict:{"1":"宸ユ帶鏈�","2":"缃戝崱","3":"鍙鍏夋帰澶�","4":"姣背娉㈤浄杈�"}}', type:'int', default:null, width:0})
section_type: number;
-@Column({ comment:'鐘舵��,1-鍚敤 0-鍋滅敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/basedevicestatus.ts b/src/app/modules/business/entity/basedevicestatus.ts
index c7e0b3b..c44577a 100644
--- a/src/app/modules/business/entity/basedevicestatus.ts
+++ b/src/app/modules/business/entity/basedevicestatus.ts
@@ -2,29 +2,29 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 璁惧鐘舵�佽〃
- */
+聽 聽 聽 聽 * 璁惧鐘舵��
+聽 聽 聽 聽 */
@EntityModel('t_base_devicestatus')
export class Basedevicestatus extends BaseEntity {
-@Column({ comment:'绫诲埆 1-蹇冭烦 2-鍛婅', type:'int', default:null, width:0})
+@Column({ comment:'{name:"绫诲埆",dict:{"1":"蹇冭烦", "2":"鍛婅"}}', type:'int', default:null, width:0})
alarm_type: number;
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'璁惧閫昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'涓婃姤鍐呭锛屽彲浠ユ槸json鏍煎紡', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"涓婃姤鍐呭",tips:"鍙互鏄痡son鏍煎紡"}', type:'varchar', default:'null', length:200})
report_content: string;
-@Column({ comment:'涓婃姤鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"涓婃姤鏃堕棿"}', type:'datetime'})
report_time: Date;
-@Column({ comment:'鐘舵��,1-鍚敤 0-鍋滅敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/colletdata.ts b/src/app/modules/business/entity/colletdata.ts
index b7087e3..f838fe1 100644
--- a/src/app/modules/business/entity/colletdata.ts
+++ b/src/app/modules/business/entity/colletdata.ts
@@ -2,29 +2,29 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@EntityModel('t_monitor_collet_data')
export class Colletdata extends BaseEntity {
-@Column({ comment:'鏁版嵁鍐呭', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鍐呭"}', type:'varchar', default:'null', length:50})
data_content: string;
-@Column({ comment:'鏁版嵁瀛樺偍璺緞锛寀rl鏍煎紡锛屽煙鍚嶅彲鐢辨湇鍔$鎴栬�呭墠绔厤缃繘琛岃闂�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鏂囦欢璺緞"}', type:'varchar', default:'null', length:50})
data_path: string;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏄惁鍛ㄦ湡浠诲姟",dict:{"1":"鍛ㄦ湡浠诲姟","0":"鍗虫椂鎬т换鍔�"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟ID锛屽懆鏈熶换鍔¤〃涓婚敭鎴栬�呭嵆鏃朵换鍔¤〃涓婚敭', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟ID",tips:"鍛ㄦ湡浠诲姟琛ㄦ垨鑰呭嵆鏃朵换鍔¤〃涓婚敭"}', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍id"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/colletmeta.ts b/src/app/modules/business/entity/colletmeta.ts
index 2d79509..2de6318 100644
--- a/src/app/modules/business/entity/colletmeta.ts
+++ b/src/app/modules/business/entity/colletmeta.ts
@@ -2,20 +2,20 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@EntityModel('t_monitor_collet_meta')
export class Colletmeta extends BaseEntity {
-@Column({ comment:'', type:'int', default:null, width:0})
+@Column({ comment:'{name:""}', type:'int', default:null, width:0})
collet_data_id: number;
-@Column({ comment:'', type:'int', default:null, width:0})
+@Column({ comment:'{name:""}', type:'int', default:null, width:0})
meta_data_id: number;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/comconfig.ts b/src/app/modules/business/entity/comconfig.ts
index 39cd7c9..25083ca 100644
--- a/src/app/modules/business/entity/comconfig.ts
+++ b/src/app/modules/business/entity/comconfig.ts
@@ -2,23 +2,23 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@EntityModel('t_model_com_config')
export class Comconfig extends BaseEntity {
-@Column({ comment:'', type:'int', default:null, width:0})
+@Column({ comment:'{name:""}', type:'int', default:null, width:0})
com_model_id: number;
-@Column({ comment:'', type:'int', default:null, width:0})
+@Column({ comment:'{name:"妯″瀷ID"}', type:'int', default:null, width:0})
model_id: number;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:""}', type:'varchar', default:'null', length:50})
sortby: string;
-@Column({ comment:'', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/deviceattachment.ts b/src/app/modules/business/entity/deviceattachment.ts
index 4e01a23..4956d82 100644
--- a/src/app/modules/business/entity/deviceattachment.ts
+++ b/src/app/modules/business/entity/deviceattachment.ts
@@ -2,35 +2,35 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 璁惧鐩稿叧鐨勯檮浠�
- */
+聽 聽 聽 聽 * 璁惧鐩稿叧鐨勯檮浠�
+聽 聽 聽 聽 */
@EntityModel('t_base_device_attachment')
export class Deviceattachment extends BaseEntity {
-@Column({ comment:'闄勪欢鍚嶇О', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"闄勪欢鍚嶇О"}', type:'varchar', default:'null', length:50})
attach_name: string;
-@Column({ comment:'椤哄簭缂栧彿', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"椤哄簭缂栧彿"}', type:'varchar', default:'null', length:50})
attach_sort: string;
-@Column({ comment:'闄勪欢绫诲瀷锛� 1-浣跨敤璇存槑 2-瀹夎浣嶇疆鐓х墖 ...', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"闄勪欢绫诲瀷", dict:{"1":"浣跨敤璇存槑","2":"瀹夎浣嶇疆鐓х墖"}}', type:'varchar', default:'null', length:50})
attach_type: string;
-@Column({ comment:'闄勪欢璁块棶璺緞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"闄勪欢璁块棶璺緞"}', type:'varchar', default:'null', length:50})
attach_url: string;
-@Column({ comment:'闄勪欢鎻愪緵浜�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"闄勪欢鎻愪緵浜�"}', type:'varchar', default:'null', length:50})
configurator: string;
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊ID"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'閫昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鐘舵��,1-鍚敤 0-鍋滅敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/devicegroup.ts b/src/app/modules/business/entity/devicegroup.ts
index 405e142..222c818 100644
--- a/src/app/modules/business/entity/devicegroup.ts
+++ b/src/app/modules/business/entity/devicegroup.ts
@@ -2,8 +2,8 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 璁惧鍒嗙粍琛�
- */
+聽 聽 聽 聽 * 璁惧鍒嗙粍
+聽 聽 聽 聽 */
@EntityModel('t_base_device_group')
export class Devicegroup extends BaseEntity {
@Column({ comment:'鍒嗙粍璁剧疆浜哄憳', type:'varchar', default:'null', length:255})
diff --git a/src/app/modules/business/entity/deviceopreraterecord.ts b/src/app/modules/business/entity/deviceopreraterecord.ts
index 6c25cf6..001a84e 100644
--- a/src/app/modules/business/entity/deviceopreraterecord.ts
+++ b/src/app/modules/business/entity/deviceopreraterecord.ts
@@ -2,32 +2,32 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 璁惧杩愮淮璁板綍
- */
+聽 聽 聽 聽 * 璁惧杩愮淮璁板綍
+聽 聽 聽 聽 */
@EntityModel('t_base_device_opreraterecord')
export class Deviceopreraterecord extends BaseEntity {
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'璁惧閫昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'杩愮淮鍐呭', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"杩愮淮鍐呭"}', type:'varchar', default:'null', length:50})
operate_content: string;
-@Column({ comment:'杩愮淮绫诲瀷 1-宸℃ 2-缁翠慨', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"杩愮淮绫诲瀷",dict:{"1":"宸℃","2":"缁翠慨"}}', type:'varchar', default:'null', length:50})
operate_type: string;
-@Column({ comment:'杩愮淮浜哄憳', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"杩愮淮浜哄憳"}', type:'varchar', default:'null', length:50})
operater: string;
-@Column({ comment:'闄勪欢璁块棶璺緞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏂囦欢璺緞"}', type:'varchar', default:'null', length:50})
pic_url: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鐘舵��,1-鍚敤 0-鍋滅敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/doutrubine.ts b/src/app/modules/business/entity/doutrubine.ts
index e8ae292..729b29d 100644
--- a/src/app/modules/business/entity/doutrubine.ts
+++ b/src/app/modules/business/entity/doutrubine.ts
@@ -2,8 +2,8 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鏂楄疆鏈轰俊鎭�
- */
+聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
+聽 聽 聽 聽 */
@EntityModel('t_base_dou_trubine')
export class Doutrubine extends BaseEntity {
@Column({ comment:'鏃嬭浆鐩村緞', type:'varchar', default:'null', length:255})
diff --git a/src/app/modules/business/entity/execrecord.ts b/src/app/modules/business/entity/execrecord.ts
index c3608f7..9b80c16 100644
--- a/src/app/modules/business/entity/execrecord.ts
+++ b/src/app/modules/business/entity/execrecord.ts
@@ -2,53 +2,53 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 浠诲姟鎵ц璁板綍琛�
- */
+聽 聽 聽 聽 * 浠诲姟鎵ц璁板綍
+聽 聽 聽 聽 */
@EntityModel('t_task_exec_record')
export class Execrecord extends BaseEntity {
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'璁惧鎵ц浠诲姟鏃跺埢鐨勭浉鍏冲弬鏁帮紝json鏍煎紡銆�', type:'varchar', default:'', length:50})
+@Column({ comment:'璁惧鎵ц浠诲姟鏃跺埢鐨勭浉鍏冲弬鏁帮紝json鏍煎紡銆�', type:'varchar', default:'null', length:200})
device_params: string;
-@Column({ comment:'缁撴潫鏃堕棿锛屼换鍔℃墽琛屽畬鎴愭椂闂�', type:'datetime'})
+@Column({ comment:'{name:"缁熻鎴鏃堕棿"}', type:'datetime'})
end_time: Date;
-@Column({ comment:'鎵ц缁撴灉', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎵ц缁撴灉"}', type:'varchar', default:'null', length:50})
exec_result: string;
-@Column({ comment:'鎵ц鑰楁椂', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎵ц鑰楁椂"}', type:'varchar', default:'null', length:0})
exec_time: string;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏄惁鍛ㄦ湡浠诲姟",dict:{"1":"鍛ㄦ湡浠诲姟","0":"鍗虫椂鎬т换鍔�"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'璁惧鐨勯�昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'鏈嶅姟绔暟鎹帴鏀舵椂闂�', type:'datetime'})
+@Column({ comment:'{name:"鏈嶅姟绔暟鎹帴鏀舵椂闂�"}', type:'datetime'})
receive_time: Date;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鏁版嵁鍥炰紶鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"鏁版嵁鍥炰紶鏃堕棿"}', type:'datetime'})
send_time: Date;
-@Column({ comment:'寮�濮嬫椂闂达紝璁惧鏀跺埌鎸囦护鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"缁熻璧峰鏃堕棿"}', type:'datetime'})
start_time: Date;
-@Column({ comment:'鏃犳剰涔夛紝妗嗘灦闇�瑕�', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟鎸囦护', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鎸囦护}', type:'varchar', default:'null', length:50})
task_command: string;
-@Column({ comment:'浠诲姟ID锛屽搴攖_task_periodic_setting鐨勪富閿紝鎴栬�卼_task_immediately涓婚敭', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟ID",tips:"鍛ㄦ湡浠诲姟琛ㄦ垨鑰呭嵆鏃朵换鍔¤〃涓婚敭"}', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍ID锛屽搴攖_task_monitor鐨勪富閿�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍id"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/interfacelist.ts b/src/app/modules/business/entity/interfacelist.ts
index bad8a81..f37f089 100644
--- a/src/app/modules/business/entity/interfacelist.ts
+++ b/src/app/modules/business/entity/interfacelist.ts
@@ -2,47 +2,47 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鎺ュ彛娓呭崟
- */
+聽 聽 聽 聽 * 鎺ュ彛娓呭崟
+聽 聽 聽 聽 */
@EntityModel('t_config_interface_list')
export class Interfacelist extends BaseEntity {
-@Column({ comment:'璐﹀彿', type:'varchar', default:'', length:50})
+@Column({ comment:'璐﹀彿', type:'varchar', default:'null', length:50})
auth_account: string;
-@Column({ comment:'瀵嗙爜', type:'varchar', default:'', length:50})
+@Column({ comment:'瀵嗙爜', type:'varchar', default:'null', length:50})
auth_psw: string;
-@Column({ comment:'璁よ瘉鏂瑰紡', type:'varchar', default:'', length:50})
+@Column({ comment:'璁よ瘉鏂瑰紡', type:'varchar', default:'null', length:50})
interface_auth: string;
-@Column({ comment:'鎺ュ彛IP', type:'varchar', default:'', length:50})
+@Column({ comment:'鎺ュ彛IP', type:'varchar', default:'null', length:150})
interface_ip: string;
-@Column({ comment:'鎺ュ彛鍚嶇О', type:'varchar', default:'', length:50})
+@Column({ comment:'鎺ュ彛鍚嶇О', type:'varchar', default:'null', length:50})
interface_name: string;
-@Column({ comment:'绔彛', type:'varchar', default:'', length:50})
+@Column({ comment:'绔彛', type:'varchar', default:'null', length:50})
interface_port: string;
-@Column({ comment:'鎺ュ彛鍗忚', type:'varchar', default:'', length:50})
+@Column({ comment:'鎺ュ彛鍗忚', type:'varchar', default:'null', length:50})
interface_protocal: string;
-@Column({ comment:'鎺ュ彛绫诲瀷', type:'varchar', default:'', length:50})
+@Column({ comment:'鎺ュ彛绫诲瀷', type:'varchar', default:'null', length:50})
interface_type: string;
-@Column({ comment:'鎺ュ彛鍦板潃', type:'varchar', default:'', length:50})
+@Column({ comment:'鎺ュ彛鍦板潃', type:'varchar', default:'null', length:50})
interface_url: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'', type:'varchar', default:'null', length:50})
share_service: string;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'', type:'varchar', default:'null', length:50})
share_url: string;
-@Column({ comment:'', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/interfacerecord.ts b/src/app/modules/business/entity/interfacerecord.ts
index 32e85ca..3eba1bb 100644
--- a/src/app/modules/business/entity/interfacerecord.ts
+++ b/src/app/modules/business/entity/interfacerecord.ts
@@ -2,35 +2,35 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 缁勫悎妯″瀷
- */
+聽 聽 聽 聽 * 缁勫悎妯″瀷
+聽 聽 聽 聽 */
@EntityModel('t_config_interface_record')
export class Interfacerecord extends BaseEntity {
-@Column({ comment:'璋冪敤缁撴潫鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"璋冪敤缁撴潫"}', type:'datetime'})
end_time: Date;
-@Column({ comment:'鎺ュ彛璋冪敤鍦板潃', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎺ュ彛璋冪敤鍦板潃"}', type:'varchar', default:'null', length:50})
interface_direct: string;
-@Column({ comment:'鎺ュ彛娓呭崟ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎺ュ彛娓呭崟ID"}', type:'varchar', default:'null', length:50})
interface_id: string;
-@Column({ comment:'璋冪敤鍙傛暟锛宩son鏍煎紡', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璋冪敤鍙傛暟",tips:"json鏍煎紡"}', type:'varchar', default:'null', length:150})
params: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'璇锋眰绫诲瀷', type:'varchar', default:'', length:50})
+@Column({ comment:'璇锋眰绫诲瀷', type:'varchar', default:'null', length:50})
request_type: string;
-@Column({ comment:'璋冪敤缁撴灉', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璋冪敤缁撴灉"}', type:'varchar', default:'null', length:150})
result: string;
-@Column({ comment:'寮�濮嬫椂闂�', type:'datetime'})
+@Column({ comment:'{name:"寮�濮嬫椂闂�"}', type:'datetime'})
start_time: Date;
-@Column({ comment:'1-鍚敤 0-绂佺敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/messagerecord.ts b/src/app/modules/business/entity/messagerecord.ts
index 451558e..1cd822c 100644
--- a/src/app/modules/business/entity/messagerecord.ts
+++ b/src/app/modules/business/entity/messagerecord.ts
@@ -2,35 +2,35 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 浠诲姟娑堟伅璁板綍
- */
+聽 聽 聽 聽 * 浠诲姟娑堟伅璁板綍
+聽 聽 聽 聽 */
@EntityModel('t_task_message_record')
export class Messagerecord extends BaseEntity {
@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'娑堟伅', type:'varchar', default:'', length:50})
+@Column({ comment:'娑堟伅', type:'varchar', default:'null', length:50})
message: string;
-@Column({ comment:'鍙戦�佹簮 ', type:'varchar', default:'', length:50})
+@Column({ comment:'鍙戦�佹簮 ', type:'varchar', default:'null', length:50})
msg_source: string;
-@Column({ comment:'鍙戦�佺洰鏍�', type:'varchar', default:'', length:50})
+@Column({ comment:'鍙戦�佺洰鏍�', type:'varchar', default:'null', length:50})
msg_target: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
@Column({ comment:'鍙戦�佹椂闂�', type:'datetime'})
send_time: Date;
-@Column({ comment:'娑堟伅鐘舵�� 1-宸插彂閫� 0-鏈彂閫� 榛樿涓�0', type:'int', default:0, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"宸插彂閫�", "0":"鏈彂閫�"}}', type:'int', default:0, width:0})
status: number;
-@Column({ comment:'浠诲姟鏉ユ簮ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟鏉ユ簮ID"}', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍ID"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/metadata.ts b/src/app/modules/business/entity/metadata.ts
index 3ed4d83..56b0abf 100644
--- a/src/app/modules/business/entity/metadata.ts
+++ b/src/app/modules/business/entity/metadata.ts
@@ -2,38 +2,38 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴閲囬泦鍘熸暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴閲囬泦鍘熸暟鎹�
+聽 聽 聽 聽 */
@EntityModel('t_monitor_meta_data')
export class Metadata extends BaseEntity {
-@Column({ comment:'鏁版嵁鏂囦欢鍐呭鎻忚堪', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鏂囦欢鍐呭"}', type:'varchar', default:'null', length:50})
data_content: string;
-@Column({ comment:'鏁版嵁鏂囦欢璺緞锛寀rl鏍煎紡锛屽煙鍚嶅彲鐢卞墠绔垨鑰呮湇鍔$閰嶇疆', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鏂囦欢璺緞"}', type:'varchar', default:'null', length:50})
data_path: string;
-@Column({ comment:'璁惧ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'鎵ц璁板綍', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鎵ц璁板綍"}', type:'int', default:null, width:0})
exec_record_id: number;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏄惁鍛ㄦ湡浠诲姟",dict:{"1":"鍛ㄦ湡浠诲姟","0":"鍗虫椂鎬т换鍔�"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'閫昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鐘舵�侊紝1-鏈夋晥 0-鏃犳晥 榛樿涓�1', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟ID",tips:"鍛ㄦ湡浠诲姟琛ㄦ垨鑰呭嵆鏃朵换鍔¤〃涓婚敭"}', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍id"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/modelcombination.ts b/src/app/modules/business/entity/modelcombination.ts
index 6f850ff..7421706 100644
--- a/src/app/modules/business/entity/modelcombination.ts
+++ b/src/app/modules/business/entity/modelcombination.ts
@@ -2,29 +2,29 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 缁勫悎妯″瀷
- */
+聽 聽 聽 聽 * 缁勫悎妯″瀷
+聽 聽 聽 聽 */
@EntityModel('t_model_combination')
export class Modelcombination extends BaseEntity {
-@Column({ comment:'鏁版嵁鍐呭', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鍐呭"}', type:'varchar', default:'null', length:50})
data_content: string;
-@Column({ comment:'鏁版嵁鏂囦欢璺緞锛寀rl鏍煎紡锛屽煙鍚嶅彲鐢辨湇鍔$鎴栬�呭墠绔厤缃�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鏂囦欢璺緞",tips:"url鏍煎紡,鍩熷悕鍙敱鏈嶅姟绔垨鑰呭墠绔厤缃�"', type:'varchar', default:'null', length:50})
data_path: string;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂浠诲姟', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟绫诲瀷",dict:{"1":"鍛ㄦ湡浠诲姟", "0":"鍗虫椂浠诲姟"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'1-鍚敤 0-绂佺敤', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
@Column({ comment:'浠诲姟ID锛屽懆鏈熶换鍔¤〃鎴栬�呭嵆鏃朵换鍔¤〃涓婚敭', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍ID"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/modelstatic.ts b/src/app/modules/business/entity/modelstatic.ts
index de5558f..715cdd7 100644
--- a/src/app/modules/business/entity/modelstatic.ts
+++ b/src/app/modules/business/entity/modelstatic.ts
@@ -2,26 +2,26 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 闈欐�佹ā鍨嬫暟鎹�
- */
+聽 聽 聽 聽 * 闈欐�佹ā鍨嬫暟鎹�
+聽 聽 聽 聽 */
@EntityModel('t_model_static')
export class Modelstatic extends BaseEntity {
-@Column({ comment:'鏁版嵁鍐呭', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鍐呭"}', type:'varchar', default:'null', length:50})
data_content: string;
-@Column({ comment:'鏁版嵁鏂囦欢璺緞锛屽瓨鏀緐rl', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鏂囦欢璺緞"}', type:'varchar', default:'null', length:50})
data_path: string;
-@Column({ comment:'鐗╃悊妯″瀷鐨勯�昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'', type:'varchar', default:'null', length:50})
name: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鐘舵�侊紝 1-鍚敤 0-绂佺敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/periodicsetting.ts b/src/app/modules/business/entity/periodicsetting.ts
index 9604e10..4180468 100644
--- a/src/app/modules/business/entity/periodicsetting.ts
+++ b/src/app/modules/business/entity/periodicsetting.ts
@@ -2,8 +2,8 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鍒嗙粍浠诲姟鍙傛暟璁剧疆琛�
- */
+聽 聽 聽 聽 * 鍒嗙粍浠诲姟鍙傛暟璁剧疆
+聽 聽 聽 聽 */
@EntityModel('t_task_periodic_setting')
export class Periodicsetting extends BaseEntity {
@Column({ comment:'鍛ㄦ湡浠诲姟', type:'varchar', default:'null', length:255})
diff --git a/src/app/modules/business/entity/planinventory.ts b/src/app/modules/business/entity/planinventory.ts
index a9fa5e1..b5c7878 100644
--- a/src/app/modules/business/entity/planinventory.ts
+++ b/src/app/modules/business/entity/planinventory.ts
@@ -2,32 +2,32 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩樼叅璁″垝
- */
+聽 聽 聽 聽 * 鐩樼叅璁″垝
+聽 聽 聽 聽 */
@EntityModel('t_plan_inventory')
export class Planinventory extends BaseEntity {
-@Column({ comment:'鐓ょ鏍囪', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐓ょ鏍囪"}', type:'varchar', default:'null', length:50})
coal_marker: string;
-@Column({ comment:'鐓ゅ爢浣撶Н', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐓ゅ爢浣撶Н"}', type:'varchar', default:'null', length:50})
coal_volume: string;
-@Column({ comment:'鐓ゅ爢閲嶉噺锛屽崟浣嶅惃', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐓ゅ爢閲嶉噺",tips:"鍗曚綅鍚�"}', type:'varchar', default:'null', length:50})
coal_weight: string;
-@Column({ comment:'缁勫悎鐐逛簯ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"缁勫悎鐐逛簯ID"}', type:'int', default:null, width:0})
com_model_id: number;
-@Column({ comment:'鐩樼叅璁″垝ID', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩樼叅璁″垝ID"}', type:'int', default:null, width:0})
plan_id: number;
-@Column({ comment:'鐩樼叅鍚嶇О', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐩樼叅鍚嶇О"}', type:'varchar', default:'null', length:50})
plan_name: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'1-鍚敤 0-绂佺敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/pointcloud.ts b/src/app/modules/business/entity/pointcloud.ts
index 8e9acaf..1269979 100644
--- a/src/app/modules/business/entity/pointcloud.ts
+++ b/src/app/modules/business/entity/pointcloud.ts
@@ -2,11 +2,14 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@EntityModel('t_model_point_cloud')
export class Pointcloud extends BaseEntity {
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
+status: number;
+
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/pointmodel.ts b/src/app/modules/business/entity/pointmodel.ts
index e3562b4..462d9c9 100644
--- a/src/app/modules/business/entity/pointmodel.ts
+++ b/src/app/modules/business/entity/pointmodel.ts
@@ -2,38 +2,38 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐐逛簯妯″瀷
- */
+聽 聽 聽 聽 * 鐐逛簯妯″瀷
+聽 聽 聽 聽 */
@EntityModel('t_model_point_model')
export class Pointmodel extends BaseEntity {
-@Column({ comment:'鏁版嵁鍐呭', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鍐呭"}', type:'varchar', default:'null', length:50})
data_content: string;
-@Column({ comment:'鏁版嵁鏂囦欢璺緞锛屽瓨鏀緐rl', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏁版嵁鏂囦欢璺緞"}', type:'varchar', default:'null', length:50})
data_path: string;
-@Column({ comment:'璁惧鐗╃悊ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐗╃悊搴忓垪鍙�"}', type:'varchar', default:'null', length:50})
device_id: string;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏄惁鍛ㄦ湡浠诲姟",dict:{"1":"鍛ㄦ湡浠诲姟","0":"鍗虫椂鎬т换鍔�"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'鐐逛簯鏁版嵁鏉ユ簮鐨勮澶囬�昏緫缂栧彿', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_id: string;
-@Column({ comment:'鐐逛簯鍚嶇О锛屾牸寮忥細浠�${logic_id#YYYYMMDDHHMMSS}', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鐐逛簯鍚嶇О"format:"浠�${logic_id#YYYYMMDDHHMMSS}"}', type:'varchar', default:'null', length:50})
name: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'鐘舵�侊紝 1-鍚敤 0-绂佺敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟ID锛屽懆鏈熶换鍔¤〃鎴栬�呭嵆鏃朵换鍔¤〃涓婚敭', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟ID",tips:"鍛ㄦ湡浠诲姟琛ㄦ垨鑰呭嵆鏃朵换鍔¤〃涓婚敭"}', type:'int', default:null, width:0})
task_id: number;
-@Column({ comment:'鐩戞祴璁板綍id', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐩戞祴璁板綍id"}', type:'int', default:null, width:0})
task_monitor_id: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/statdata.ts b/src/app/modules/business/entity/statdata.ts
index a910a95..0e29b7a 100644
--- a/src/app/modules/business/entity/statdata.ts
+++ b/src/app/modules/business/entity/statdata.ts
@@ -2,44 +2,44 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴缁熻
- */
+聽 聽 聽 聽 * 鐩戞祴缁熻
+聽 聽 聽 聽 */
@EntityModel('t_monitor_stat_data')
export class Statdata extends BaseEntity {
-@Column({ comment:'鐐逛簯璁$畻鑺辫垂鏃堕棿锛屽崟浣嶆绉�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐐逛簯璁$畻鑺辫垂鏃堕棿",tips:"鍗曚綅姣"}', type:'int', default:null, width:0})
avg_caculater_time: number;
-@Column({ comment:'骞冲潎鏂囦欢澶у皬', type:'int', default:null, width:0})
+@Column({ comment:'{name:"骞冲潎鏂囦欢澶у皬"}', type:'int', default:null, width:0})
avg_filesize: number;
-@Column({ comment:'骞冲潎鑺辫垂鏃堕棿锛屽崟浣嶆绉�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"骞冲潎鑺辫垂鏃堕棿",tips:"鍗曚綅姣"}', type:'int', default:null, width:0})
avg_task_time: number;
-@Column({ comment:'鏁版嵁浼犺緭鏃堕棿锛屾绉�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏁版嵁浼犺緭鏃堕棿",tips:"姣"}', type:'int', default:null, width:0})
avg_transmission_time: number;
-@Column({ comment:'CPU 鍗犵敤鐜囷紝鐧惧垎姣�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"CPU 鍗犵敤鐜�",tips:"鐧惧垎姣�"}', type:'int', default:null, width:0})
cpu_rate: number;
-@Column({ comment:'缁熻鎴鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"缁熻鎴鏃堕棿"}', type:'datetime'})
end_time: Date;
-@Column({ comment:'鍐呭瓨锛�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鍐呭瓨"}', type:'int', default:null, width:0})
memory: number;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'缁熻璧峰鏃堕棿', type:'datetime'})
+@Column({ comment:'{name:"缁熻璧峰鏃堕棿"}', type:'datetime'})
start_time: Date;
-@Column({ comment:'', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟绫诲瀷: 1-鎶撳浘 2-闆疯揪鎵弿 3-闄ゅ皹 ', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟绫诲瀷",dict:{"1":"鎶撳浘","2":"闆疯揪鎵弿","3":"闄ゅ皹"}}', type:'int', default:null, width:0})
task_type: number;
-@Column({ comment:'缁熻鏃堕棿绮掑害锛�5-5鍒嗛挓 10-10鍒嗛挓 30-30鍒嗛挓 60-60鍒嗛挓 1440-1澶� 43200-1鏈� ', type:'int', default:null, width:0})
+@Column({ comment:'{name:"缁熻鏃堕棿绮掑害",dict:{"5":"5鍒嗛挓","10":"10","30":"30","60":"60","1440":"1440","43200":"43200"}}', type:'int', default:null, width:0})
time: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/taskimmediately.ts b/src/app/modules/business/entity/taskimmediately.ts
index e1406aa..f59d779 100644
--- a/src/app/modules/business/entity/taskimmediately.ts
+++ b/src/app/modules/business/entity/taskimmediately.ts
@@ -2,35 +2,35 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鍗虫椂浠诲姟璁板綍琛�
- */
+聽 聽 聽 聽 * 鍗虫椂浠诲姟璁板綍
+聽 聽 聽 聽 */
@EntityModel('t_task_immediately')
export class Taskimmediately extends BaseEntity {
-@Column({ comment:'閫昏緫ID', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_ids: string;
-@Column({ comment:'璁剧疆鏃堕棿', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁剧疆鏃堕棿"}', type:'varchar', default:'null', length:50})
operate_time: string;
-@Column({ comment:'鎿嶄綔浜�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎿嶄綔浜�"}', type:'varchar', default:'null', length:50})
operator: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'0-鏈墽琛� 1-鎵ц涓� 2-宸叉墽琛�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鎵ц涓�", "0":"鏈墽琛�", "2":"宸叉墽琛�"}}', type:'int', default:1, width:0})
status: number;
-@Column({ comment:'浠诲姟鎸囦护', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鎸囦护"}', type:'varchar', default:'null', length:50})
task_command: string;
-@Column({ comment:'浠诲姟鍐呭鎻忚堪', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鍐呭鎻忚堪"}', type:'varchar', default:'null', length:50})
task_content: string;
-@Column({ comment:'浠诲姟鍙傛暟,濡傜偣浜戝弬鏁�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鍙傛暟",tips:"濡傜偣浜戝弬鏁�"}', type:'varchar', default:'null', length:50})
task_params: string;
-@Column({ comment:'浠诲姟绫诲瀷: 1-鎶撳浘 2-闆疯揪鎵弿 3-闄ゅ皹 ', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟绫诲瀷",dict:{"1":"鎶撳浘","2":"闆疯揪鎵弿","3":"闄ゅ皹"}}', type:'int', default:null, width:0})
task_type: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/taskmonitor.ts b/src/app/modules/business/entity/taskmonitor.ts
index 8482533..a89c0f9 100644
--- a/src/app/modules/business/entity/taskmonitor.ts
+++ b/src/app/modules/business/entity/taskmonitor.ts
@@ -2,44 +2,44 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鐩戞祴浠诲姟琛�
- */
+聽 聽 聽 聽 * 鐩戞祴浠诲姟
+聽 聽 聽 聽 */
@EntityModel('t_task_monitor')
export class Taskmonitor extends BaseEntity {
-@Column({ comment:'鍛ㄦ湡浠诲姟鍛ㄦ湡璁剧疆锛岃皟搴﹁〃杈惧紡', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鍛ㄦ湡浠诲姟鍛ㄦ湡璁剧疆",tips:"璋冨害琛ㄨ揪寮�"}', type:'varchar', default:'null', length:50})
crontab_rule: string;
-@Column({ comment:'1-鍛ㄦ湡浠诲姟 0-鍗虫椂鎬т换鍔�', type:'int', default:null, width:0})
+@Column({ comment:'{name:"鏄惁鍛ㄦ湡浠诲姟",dict:{"1":"鍛ㄦ湡浠诲姟","0":"鍗虫椂鎬т换鍔�"}}', type:'int', default:null, width:0})
is_periodic: number;
-@Column({ comment:'璁惧閫昏緫id闆嗗悎,閫楀彿鍒嗛殧', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"璁惧閫昏緫ID"}', type:'varchar', default:'null', length:50})
logic_ids: string;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鎿嶄綔鑰�"}', type:'varchar', default:'null', length:50})
operator: string;
-@Column({ comment:'', type:'datetime'})
+@Column({ comment:'{name:"鎿嶄綔鏃堕棿"}', type:'datetime'})
opertate_time: Date;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'0-鏈墽琛� 1-鎵ц涓� 2-宸叉墽琛�', type:'int', default:0, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"宸插彂閫�", "0":"鏈彂閫�"}}', type:'int', default:0, width:0})
status: number;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鎸囦护"}', type:'varchar', default:'null', length:50})
task_command: string;
-@Column({ comment:'', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鍐呭"}', type:'varchar', default:'null', length:100})
task_content: string;
-@Column({ comment:'浠诲姟ID锛� 鍛ㄦ湡浠诲姟鐨勪富閿垨鑰呮槸鍗虫椂浠诲姟鐨勪富閿�', type:'varchar', default:'', length:50})
-task_id: string;
+@Column({ comment:'{name:"浠诲姟鏉ユ簮ID"}', type:'int', default:null, width:0})
+task_id: number;
-@Column({ comment:'浠诲姟鍙傛暟', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"浠诲姟鍙傛暟"}', type:'varchar', default:'null', length:50})
task_params: string;
-@Column({ comment:'浠诲姟绫诲瀷: 1-鎶撳浘 2-闆疯揪鎵弿 3-闄ゅ皹 ', type:'int', default:null, width:0})
+@Column({ comment:'{name:"浠诲姟绫诲瀷",dict:{"1":"鎶撳浘","2":"闆疯揪鎵弿","3":"闄ゅ皹"}}', type:'int', default:null, width:0})
task_type: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/trubinelocation.ts b/src/app/modules/business/entity/trubinelocation.ts
index 76ded79..c03af76 100644
--- a/src/app/modules/business/entity/trubinelocation.ts
+++ b/src/app/modules/business/entity/trubinelocation.ts
@@ -2,29 +2,29 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- * 鏂楄疆鏈轰俊鎭�
- */
+聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
+聽 聽 聽 聽 */
@EntityModel('t_base_dou_trubine_location')
export class Trubinelocation extends BaseEntity {
-@Column({ comment:'楂樺害', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"楂樺害",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
elevation: string;
-@Column({ comment:'鏂逛綅瑙�', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"鏂逛綅瑙�",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
heading_angle: string;
-@Column({ comment:'缁忓害', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"绾害",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
latitude: string;
-@Column({ comment:'绾害', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"缁忓害",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
longitude: string;
-@Column({ comment:'绮惧害', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"绮惧害",format:0.00001,tips:"绮剧‘鍒板皬鏁扮偣鍚�6浣�"}', type:'varchar', default:'null', length:50})
precision: string;
-@Column({ comment:'澶囨敞', type:'varchar', default:'', length:50})
+@Column({ comment:'{name:"澶囨敞"}', type:'varchar', default:'null', length:50})
remark: string;
-@Column({ comment:'1-鍚敤 0-绂佺敤', type:'int', default:1, width:0})
+@Column({ comment:'{name:"鐘舵��",dict:{"1":"鍚敤", "0":"鍋滅敤"}}', type:'int', default:1, width:0})
status: number;
}
\ No newline at end of file
diff --git a/src/app/modules/business/entity/tuser.ts b/src/app/modules/business/entity/tuser.ts
index c04b089..7a331cd 100644
--- a/src/app/modules/business/entity/tuser.ts
+++ b/src/app/modules/business/entity/tuser.ts
@@ -2,8 +2,8 @@
import { BaseEntity } from '@cool-midway/core';
import { Column, Double } from 'typeorm';
/**
- *
- */
+聽 聽 聽 聽 *
+聽 聽 聽 聽 */
@EntityModel('t_user')
export class Tuser extends BaseEntity {
@Column({ comment:'骞撮緞', type:'int', default:null, width:0})
diff --git a/src/app/modules/business/service/basedeviceinfo.ts b/src/app/modules/business/service/basedeviceinfo.ts
index 60a5bab..c07faf7 100644
--- a/src/app/modules/business/service/basedeviceinfo.ts
+++ b/src/app/modules/business/service/basedeviceinfo.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Basedeviceinfo } from '../entity/basedeviceinfo';
/**
- * 璁惧淇℃伅琛�
- */
+聽 聽 聽 聽 * 璁惧淇℃伅
+聽 聽 聽 聽 */
@Provide()
export class BasedeviceinfoService extends DataService {
- @InjectEntityModel(Basedeviceinfo)
- basedeviceinfo: Repository<Basedeviceinfo>
+ 聽 聽@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
index 121db63..22f92fa 100644
--- a/src/app/modules/business/service/basedeviceparams.ts
+++ b/src/app/modules/business/service/basedeviceparams.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Basedeviceparams } from '../entity/basedeviceparams';
/**
- * 璁惧鍙傛暟琛�
- */
+聽 聽 聽 聽 * 璁惧鍙傛暟
+聽 聽 聽 聽 */
@Provide()
export class BasedeviceparamsService extends DataService {
- @InjectEntityModel(Basedeviceparams)
- basedeviceparams: Repository<Basedeviceparams>
+ 聽 聽@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
index d80d1a0..b7ad150 100644
--- a/src/app/modules/business/service/basedevicesection.ts
+++ b/src/app/modules/business/service/basedevicesection.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Basedevicesection } from '../entity/basedevicesection';
/**
- * 璁惧缁勪欢
- */
+聽 聽 聽 聽 * 璁惧缁勪欢
+聽 聽 聽 聽 */
@Provide()
export class BasedevicesectionService extends DataService {
- @InjectEntityModel(Basedevicesection)
- basedevicesection: Repository<Basedevicesection>
+ 聽 聽@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
index 7a3f68c..9828d7e 100644
--- a/src/app/modules/business/service/basedevicestatus.ts
+++ b/src/app/modules/business/service/basedevicestatus.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Basedevicestatus } from '../entity/basedevicestatus';
/**
- * 璁惧鐘舵�佽〃
- */
+聽 聽 聽 聽 * 璁惧鐘舵��
+聽 聽 聽 聽 */
@Provide()
export class BasedevicestatusService extends DataService {
- @InjectEntityModel(Basedevicestatus)
- basedevicestatus: Repository<Basedevicestatus>
+ 聽 聽@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
index 05f16eb..72a957a 100644
--- a/src/app/modules/business/service/colletdata.ts
+++ b/src/app/modules/business/service/colletdata.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Colletdata } from '../entity/colletdata';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
export class ColletdataService extends DataService {
- @InjectEntityModel(Colletdata)
- colletdata: Repository<Colletdata>
+ 聽 聽@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
index 4881a1f..76848c0 100644
--- a/src/app/modules/business/service/colletmeta.ts
+++ b/src/app/modules/business/service/colletmeta.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Colletmeta } from '../entity/colletmeta';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
export class ColletmetaService extends DataService {
- @InjectEntityModel(Colletmeta)
- colletmeta: Repository<Colletmeta>
+ 聽 聽@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
index 0f6e1bf..f7fe986 100644
--- a/src/app/modules/business/service/comconfig.ts
+++ b/src/app/modules/business/service/comconfig.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Comconfig } from '../entity/comconfig';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
export class ComconfigService extends DataService {
- @InjectEntityModel(Comconfig)
- comconfig: Repository<Comconfig>
+ 聽 聽@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
index 21f563b..0077961 100644
--- a/src/app/modules/business/service/deviceattachment.ts
+++ b/src/app/modules/business/service/deviceattachment.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Deviceattachment } from '../entity/deviceattachment';
/**
- * 璁惧鐩稿叧鐨勯檮浠�
- */
+聽 聽 聽 聽 * 璁惧鐩稿叧鐨勯檮浠�
+聽 聽 聽 聽 */
@Provide()
export class DeviceattachmentService extends DataService {
- @InjectEntityModel(Deviceattachment)
- deviceattachment: Repository<Deviceattachment>
+ 聽 聽@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
index 0ee5ec0..4c75d18 100644
--- a/src/app/modules/business/service/devicegroup.ts
+++ b/src/app/modules/business/service/devicegroup.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Devicegroup } from '../entity/devicegroup';
/**
- * 璁惧鍒嗙粍琛�
- */
+聽 聽 聽 聽 * 璁惧鍒嗙粍
+聽 聽 聽 聽 */
@Provide()
export class DevicegroupService extends DataService {
- @InjectEntityModel(Devicegroup)
- devicegroup: Repository<Devicegroup>
+ 聽 聽@InjectEntityModel(Devicegroup)
+ 聽 聽devicegroup: Repository<Devicegroup>
}
\ No newline at end of file
diff --git a/src/app/modules/business/service/deviceopreraterecord.ts b/src/app/modules/business/service/deviceopreraterecord.ts
index 81f685a..984ba45 100644
--- a/src/app/modules/business/service/deviceopreraterecord.ts
+++ b/src/app/modules/business/service/deviceopreraterecord.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Deviceopreraterecord } from '../entity/deviceopreraterecord';
/**
- * 璁惧杩愮淮璁板綍
- */
+聽 聽 聽 聽 * 璁惧杩愮淮璁板綍
+聽 聽 聽 聽 */
@Provide()
export class DeviceopreraterecordService extends DataService {
- @InjectEntityModel(Deviceopreraterecord)
- deviceopreraterecord: Repository<Deviceopreraterecord>
+ 聽 聽@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
index df77009..6d6d4d2 100644
--- a/src/app/modules/business/service/doutrubine.ts
+++ b/src/app/modules/business/service/doutrubine.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Doutrubine } from '../entity/doutrubine';
/**
- * 鏂楄疆鏈轰俊鎭�
- */
+聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
+聽 聽 聽 聽 */
@Provide()
export class DoutrubineService extends DataService {
- @InjectEntityModel(Doutrubine)
- doutrubine: Repository<Doutrubine>
+ 聽 聽@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
index 3506e69..f2f0f3e 100644
--- a/src/app/modules/business/service/execrecord.ts
+++ b/src/app/modules/business/service/execrecord.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Execrecord } from '../entity/execrecord';
/**
- * 浠诲姟鎵ц璁板綍琛�
- */
+聽 聽 聽 聽 * 浠诲姟鎵ц璁板綍
+聽 聽 聽 聽 */
@Provide()
export class ExecrecordService extends DataService {
- @InjectEntityModel(Execrecord)
- execrecord: Repository<Execrecord>
+ 聽 聽@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
index 5dd3fb1..8d4c30a 100644
--- a/src/app/modules/business/service/interfacelist.ts
+++ b/src/app/modules/business/service/interfacelist.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Interfacelist } from '../entity/interfacelist';
/**
- * 鎺ュ彛娓呭崟
- */
+聽 聽 聽 聽 * 鎺ュ彛娓呭崟
+聽 聽 聽 聽 */
@Provide()
export class InterfacelistService extends DataService {
- @InjectEntityModel(Interfacelist)
- interfacelist: Repository<Interfacelist>
+ 聽 聽@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
index 8efed6d..588f4a0 100644
--- a/src/app/modules/business/service/interfacerecord.ts
+++ b/src/app/modules/business/service/interfacerecord.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Interfacerecord } from '../entity/interfacerecord';
/**
- * 缁勫悎妯″瀷
- */
+聽 聽 聽 聽 * 缁勫悎妯″瀷
+聽 聽 聽 聽 */
@Provide()
export class InterfacerecordService extends DataService {
- @InjectEntityModel(Interfacerecord)
- interfacerecord: Repository<Interfacerecord>
+ 聽 聽@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
index 452489b..36022dd 100644
--- a/src/app/modules/business/service/messagerecord.ts
+++ b/src/app/modules/business/service/messagerecord.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Messagerecord } from '../entity/messagerecord';
/**
- * 浠诲姟娑堟伅璁板綍
- */
+聽 聽 聽 聽 * 浠诲姟娑堟伅璁板綍
+聽 聽 聽 聽 */
@Provide()
export class MessagerecordService extends DataService {
- @InjectEntityModel(Messagerecord)
- messagerecord: Repository<Messagerecord>
+ 聽 聽@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
index 8652b3e..9db1e59 100644
--- a/src/app/modules/business/service/metadata.ts
+++ b/src/app/modules/business/service/metadata.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Metadata } from '../entity/metadata';
/**
- * 鐩戞祴閲囬泦鍘熸暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴閲囬泦鍘熸暟鎹�
+聽 聽 聽 聽 */
@Provide()
export class MetadataService extends DataService {
- @InjectEntityModel(Metadata)
- metadata: Repository<Metadata>
+ 聽 聽@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
index aac5f43..5ce13cd 100644
--- a/src/app/modules/business/service/modelcombination.ts
+++ b/src/app/modules/business/service/modelcombination.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Modelcombination } from '../entity/modelcombination';
/**
- * 缁勫悎妯″瀷
- */
+聽 聽 聽 聽 * 缁勫悎妯″瀷
+聽 聽 聽 聽 */
@Provide()
export class ModelcombinationService extends DataService {
- @InjectEntityModel(Modelcombination)
- modelcombination: Repository<Modelcombination>
+ 聽 聽@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
index 4c4fefe..2e41f4d 100644
--- a/src/app/modules/business/service/modelstatic.ts
+++ b/src/app/modules/business/service/modelstatic.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Modelstatic } from '../entity/modelstatic';
/**
- * 闈欐�佹ā鍨嬫暟鎹�
- */
+聽 聽 聽 聽 * 闈欐�佹ā鍨嬫暟鎹�
+聽 聽 聽 聽 */
@Provide()
export class ModelstaticService extends DataService {
- @InjectEntityModel(Modelstatic)
- modelstatic: Repository<Modelstatic>
+ 聽 聽@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
index 30dda3b..bcdc66d 100644
--- a/src/app/modules/business/service/periodicsetting.ts
+++ b/src/app/modules/business/service/periodicsetting.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Periodicsetting } from '../entity/periodicsetting';
/**
- * 鍒嗙粍浠诲姟鍙傛暟璁剧疆琛�
- */
+聽 聽 聽 聽 * 鍒嗙粍浠诲姟鍙傛暟璁剧疆
+聽 聽 聽 聽 */
@Provide()
export class PeriodicsettingService extends DataService {
- @InjectEntityModel(Periodicsetting)
- periodicsetting: Repository<Periodicsetting>
+ 聽 聽@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
index 46feaad..c19ceab 100644
--- a/src/app/modules/business/service/planinventory.ts
+++ b/src/app/modules/business/service/planinventory.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Planinventory } from '../entity/planinventory';
/**
- * 鐩樼叅璁″垝
- */
+聽 聽 聽 聽 * 鐩樼叅璁″垝
+聽 聽 聽 聽 */
@Provide()
export class PlaninventoryService extends DataService {
- @InjectEntityModel(Planinventory)
- planinventory: Repository<Planinventory>
+ 聽 聽@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
index c3e481f..393650f 100644
--- a/src/app/modules/business/service/pointcloud.ts
+++ b/src/app/modules/business/service/pointcloud.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Pointcloud } from '../entity/pointcloud';
/**
- * 鐩戞祴鍏冩暟鎹�
- */
+聽 聽 聽 聽 * 鐩戞祴鍏冩暟鎹�
+聽 聽 聽 聽 */
@Provide()
export class PointcloudService extends DataService {
- @InjectEntityModel(Pointcloud)
- pointcloud: Repository<Pointcloud>
+ 聽 聽@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
index ca05882..844accc 100644
--- a/src/app/modules/business/service/pointmodel.ts
+++ b/src/app/modules/business/service/pointmodel.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Pointmodel } from '../entity/pointmodel';
/**
- * 鐐逛簯妯″瀷
- */
+聽 聽 聽 聽 * 鐐逛簯妯″瀷
+聽 聽 聽 聽 */
@Provide()
export class PointmodelService extends DataService {
- @InjectEntityModel(Pointmodel)
- pointmodel: Repository<Pointmodel>
+ 聽 聽@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
index 70020e6..2a734f6 100644
--- a/src/app/modules/business/service/statdata.ts
+++ b/src/app/modules/business/service/statdata.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Statdata } from '../entity/statdata';
/**
- * 鐩戞祴缁熻
- */
+聽 聽 聽 聽 * 鐩戞祴缁熻
+聽 聽 聽 聽 */
@Provide()
export class StatdataService extends DataService {
- @InjectEntityModel(Statdata)
- statdata: Repository<Statdata>
+ 聽 聽@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
index 0c35d36..e3013d8 100644
--- a/src/app/modules/business/service/taskimmediately.ts
+++ b/src/app/modules/business/service/taskimmediately.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Taskimmediately } from '../entity/taskimmediately';
/**
- * 鍗虫椂浠诲姟璁板綍琛�
- */
+聽 聽 聽 聽 * 鍗虫椂浠诲姟璁板綍
+聽 聽 聽 聽 */
@Provide()
export class TaskimmediatelyService extends DataService {
- @InjectEntityModel(Taskimmediately)
- taskimmediately: Repository<Taskimmediately>
+ 聽 聽@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
index 077a54a..0d0cc3a 100644
--- a/src/app/modules/business/service/taskmonitor.ts
+++ b/src/app/modules/business/service/taskmonitor.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Taskmonitor } from '../entity/taskmonitor';
/**
- * 鐩戞祴浠诲姟琛�
- */
+聽 聽 聽 聽 * 鐩戞祴浠诲姟
+聽 聽 聽 聽 */
@Provide()
export class TaskmonitorService extends DataService {
- @InjectEntityModel(Taskmonitor)
- taskmonitor: Repository<Taskmonitor>
+ 聽 聽@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
index 8d59a67..13409bd 100644
--- a/src/app/modules/business/service/trubinelocation.ts
+++ b/src/app/modules/business/service/trubinelocation.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Trubinelocation } from '../entity/trubinelocation';
/**
- * 鏂楄疆鏈轰俊鎭�
- */
+聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
+聽 聽 聽 聽 */
@Provide()
export class TrubinelocationService extends DataService {
- @InjectEntityModel(Trubinelocation)
- trubinelocation: Repository<Trubinelocation>
+ 聽 聽@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
index 8916fd2..35423a0 100644
--- a/src/app/modules/business/service/tuser.ts
+++ b/src/app/modules/business/service/tuser.ts
@@ -5,10 +5,10 @@
import { DataService } from '../../base/service/dataapi/dataapi';
import { Tuser } from '../entity/tuser';
/**
- *
- */
+聽 聽 聽 聽 *
+聽 聽 聽 聽 */
@Provide()
export class TuserService extends DataService {
- @InjectEntityModel(Tuser)
- tuser: Repository<Tuser>
+ 聽 聽@InjectEntityModel(Tuser)
+ 聽 聽tuser: Repository<Tuser>
}
\ No newline at end of file
--
Gitblit v1.9.1