feat(cvc_touch): 为触控项目增加独立数据库和运行配置
This commit is contained in:
parent
d87e5b6469
commit
73bee6283b
2
.gitignore
vendored
2
.gitignore
vendored
@ -52,3 +52,5 @@ nbdist/
|
||||
/cmvr-iot-test/src/test/java/com/cmvr/test/flow/runtime/operator/edge/EdgeAgvOperateServiceTest.java
|
||||
/cmvr-iot-test/src/test/java/com/cmvr/test/flow/runtime/operator/edge/EdgeArmOperateServiceTest.java
|
||||
/cmvr-iot-test/src/test/java/com/cmvr/test/vision/math/VisionCalibrationMathTest.java
|
||||
|
||||
/data/cvc_touch/
|
||||
|
||||
17
README.md
17
README.md
@ -1,5 +1,20 @@
|
||||
# CMVR IoT 物联网平台
|
||||
|
||||
## 两个城职项目的分支与数据库
|
||||
|
||||
同一后端工程维护两个分支,前端是同级的两个独立工程:
|
||||
|
||||
| 项目 | 后端分支 / 配置 | MySQL数据库 | 前端目录 | 本地前端 / 后端 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 语音交互 | `chengzhi` / `application-chengzhi.yml` | `cmvr-iot-chengzhi` | `city_vocational_college` | 5174 / 14080 |
|
||||
| 触控交互 | `cvc_touch` / `application-cvc_touch.yml` | `cvc_touch` | `cvc_touch` | 5175 / 14090 |
|
||||
|
||||
当前 `cvc_touch` 分支默认启用 `cvc_touch` 配置。也可显式指定 `--spring.profiles.active=cvc_touch`;切回 `chengzhi` 分支后,其默认配置仍为 `chengzhi`。不需复制另一份后端源码。
|
||||
|
||||
触控项目数据库地址为 `192.168.28.10:3306/cvc_touch`,账号配置沿用dev环境;可用 `CVC_TOUCH_DB_NAME`、`CVC_TOUCH_PORT`、`CVC_TOUCH_REDIS_DATABASE` 覆盖库名、端口、Redis库。默认Redis使用2号库,与语音项目1号库分开,防止菜单缓存及登录会话混用。上传路径默认为 `./data/cvc_touch/uploads`,支持 `CVC_TOUCH_UPLOAD_PATH` 覆盖。
|
||||
|
||||
首次建库脚本 `sql/cvc_touch_database.sql` 复制现有后端兼容表结构及系统配置、字典、菜单和管理员,不复制业务数据。目标库存在时停止,禁止忽略SQL错误或重复执行。2026-11-17 已创建94张表;管理员可登录,业务表初始为空,原语音项目数据保持不变。资源网关保持独立,不自动接管其他工程运行中的机器人。
|
||||
|
||||
CMVR IoT 是招商车研机器人及智能设备管理平台。本项目以 RuoYi-Vue 3.9.2 为基础升级到 Spring Boot 4,保留原有 REST、前端和 gRPC 对外接口,并将 QUIC Gateway 集成到主应用进程中。
|
||||
|
||||
Java 包名、Maven 坐标统一使用 `com.cmvr`。旧项目 `cmvr-iot` 仅作为迁移来源,不参与本项目构建。
|
||||
@ -150,7 +165,7 @@ Windows 下也可以使用 `bin/package.bat`、`bin/run.bat` 和 `bin/clean.bat`
|
||||
|
||||
## 城职院语音交互项目数据库
|
||||
|
||||
- 默认启用 `chengzhi`,启动参数若显式指定 profile,使用 `--spring.profiles.active=chengzhi`。
|
||||
- `chengzhi` 分支默认启用 `chengzhi`,启动参数若显式指定 profile,使用 `--spring.profiles.active=chengzhi`。
|
||||
- `application-chengzhi.yml` 以 `application-dev.yml` 为基础,将 MySQL 数据库默认名称切换为 `cmvr-iot-chengzhi`,并加载本项目的科大讯飞认证配置。
|
||||
- MySQL:`192.168.28.10:3306/cmvr-iot-chengzhi`,可通过 `CMVR_DB_NAME` 覆盖数据库名称。管理员登录沿用模板库管理员账号。
|
||||
- 首次建库脚本为 `sql/chengzhi_database.sql`,依赖同实例的 `cmvr-iot-resource-dev` 模板库,需使用遇错即停的客户端执行。目标库已存在时请勿再次执行。
|
||||
|
||||
167
cmvr-iot-admin/src/main/resources/application-cvc_touch.yml
Normal file
167
cmvr-iot-admin/src/main/resources/application-cvc_touch.yml
Normal file
@ -0,0 +1,167 @@
|
||||
# CVC触控项目独立配置,数据库与登录缓存不与语音项目共用。
|
||||
tts:
|
||||
provider: xfyun
|
||||
voxcpm2:
|
||||
url: ${VOXCPM2_URL:http://192.168.28.10:18194}
|
||||
timeout-seconds: 240
|
||||
xfyun:
|
||||
url: ${XFYUN_TTS_URL:wss://tts-api.xfyun.cn/v2/tts}
|
||||
app-id: ${XFYUN_APP_ID:}
|
||||
api-key: ${XFYUN_API_KEY:}
|
||||
api-secret: ${XFYUN_API_SECRET:}
|
||||
default-voice: ${XFYUN_TTS_VOICE:x4_yezi}
|
||||
timeout-seconds: 60
|
||||
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: ${CVC_TOUCH_PORT:14090}
|
||||
# 数据源配置
|
||||
spring:
|
||||
config:
|
||||
import: optional:file:./config/xfyun-secrets.properties
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.28.10:3306/${CVC_TOUCH_DB_NAME:cvc_touch}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: cmvr2468
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
enabled: false
|
||||
url:
|
||||
username:
|
||||
password:
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置连接超时时间
|
||||
connectTimeout: 30000
|
||||
# 配置网络超时时间
|
||||
socketTimeout: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
webStatFilter:
|
||||
enabled: true
|
||||
statViewServlet:
|
||||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username: cmvr-iot
|
||||
login-password: 123456
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
# 慢SQL记录
|
||||
log-slow-sql: true
|
||||
slow-sql-millis: 1000
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
# 服务模块
|
||||
devtools:
|
||||
restart:
|
||||
# 热部署开关
|
||||
enabled: true
|
||||
# redis 配置
|
||||
data.redis:
|
||||
# 地址
|
||||
host: 192.168.28.10
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: ${CVC_TOUCH_REDIS_DATABASE:2}
|
||||
# 密码
|
||||
password: cmvr2468
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
pool:
|
||||
# 连接池:中的最小空闲连接
|
||||
min-idle: 0
|
||||
# 连接池中的最大空闲连接
|
||||
max-idle: 8
|
||||
# 连接池的最大数据库连接数
|
||||
max-active: 8
|
||||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: -1ms
|
||||
|
||||
# Minio配置
|
||||
minio:
|
||||
url: http://192.168.28.10:9000
|
||||
accessKey: AKICMVR
|
||||
secretKey: wJalrXUtnFEMI
|
||||
bucketName: cmvr-iot
|
||||
|
||||
# gRPC 客户端设置
|
||||
grpc:
|
||||
client:
|
||||
grpc-server: # 自定义服务名
|
||||
address: 'static://10.148.108.100:50051' # 调用 gRPC 的地址
|
||||
# address: 'static://10.148.108.100:50051' # 调用 gRPC 的地址
|
||||
enableKeepAlive: true
|
||||
keepAliveWithoutCalls: true
|
||||
negotiationType: plaintext # 明文传输
|
||||
|
||||
api:
|
||||
app-id: d0epfibvo3em6c4iul40
|
||||
app-key: d0eqt1kqek3vg7g4ofi0
|
||||
work-flow-url: https://aiagentplatform.cmft.com/api/proxy/api/v1/run_app_workflow
|
||||
query-result-url: https://aiagentplatform.cmft.com/api/proxy/api/v1/query_run_app_process
|
||||
bge-vl: http://192.168.1.8:5000/search_similar
|
||||
generate_advanced_audio: http://192.168.0.102:9003/generate_advanced_audio
|
||||
# 智能体应用id和秘钥
|
||||
# ActionEnum 的枚举作为 key
|
||||
agents:
|
||||
INTENT_RECOGNITION: # 意图识别
|
||||
app-id: d5dn5ibp9adhq1b34lig
|
||||
app-key: d6j5bcellh49on5tasvg
|
||||
TI_TOUCH_COORDINATES: # 获取触控二维坐标
|
||||
app-id: d1ebtabnjkflk4gmhikg
|
||||
app-key: d5thge2cktmipk78h82g
|
||||
evaluation: http://192.168.0.8:8000/analyze
|
||||
current-page: http://192.168.0.222:5000/search_similar
|
||||
|
||||
flowise:
|
||||
tts: 192.168.0.222:8080/tts/
|
||||
start: http://192.168.0.108:3000/api/v1/prediction/f99329e9-b33d-437d-90ed-69eaa8a05418
|
||||
abort: http://192.168.0.108:3000/api/v1/chatmessage/abort/f99329e9-b33d-437d-90ed-69eaa8a05418/
|
||||
query: http://192.168.0.108:3000/api/v1/executions/
|
||||
api-key: pg61JW6W_GXyqmqSoURJ4mlSRrCMRzGLBJli_w3BFkg
|
||||
|
||||
media-analysis:
|
||||
base-url: ${MEDIA_ANALYSIS_BASE_URL:http://192.168.28.10:14080}
|
||||
api-key: ${MEDIA_ANALYSIS_API_KEY:}
|
||||
connect-timeout-ms: 5000
|
||||
read-timeout-ms: 600000
|
||||
|
||||
# Isolate the resource-center development instance from the currently running robot gateway.
|
||||
cmvr:
|
||||
resource:
|
||||
robot-state:
|
||||
enabled: false
|
||||
quic:
|
||||
enabled: false
|
||||
|
||||
cmvr-iot:
|
||||
profile: ${CVC_TOUCH_UPLOAD_PATH:./data/cvc_touch/uploads}
|
||||
@ -62,7 +62,7 @@ spring:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
profiles:
|
||||
active: chengzhi
|
||||
active: cvc_touch
|
||||
# 文件上传
|
||||
servlet:
|
||||
multipart:
|
||||
|
||||
110
sql/cvc_touch_database.sql
Normal file
110
sql/cvc_touch_database.sql
Normal file
@ -0,0 +1,110 @@
|
||||
-- CVC触控项目,仅首次建库执行;目标已存在即失败,禁止使用忽略错误选项。
|
||||
-- 从现有后端数据库复制表结构,仅复制系统配置、菜单、字典和管理员。
|
||||
-- 不复制语料、项目、任务、机器人等业务数据。
|
||||
CREATE DATABASE `cvc_touch` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
CREATE TABLE `cvc_touch`.`ae_evaluation` LIKE `cmvr-iot-chengzhi`.`ae_evaluation`;
|
||||
CREATE TABLE `cvc_touch`.`aima_alarm` LIKE `cmvr-iot-chengzhi`.`aima_alarm`;
|
||||
CREATE TABLE `cvc_touch`.`aima_phone` LIKE `cmvr-iot-chengzhi`.`aima_phone`;
|
||||
CREATE TABLE `cvc_touch`.`aima_task` LIKE `cmvr-iot-chengzhi`.`aima_task`;
|
||||
CREATE TABLE `cvc_touch`.`aima_task_instance` LIKE `cmvr-iot-chengzhi`.`aima_task_instance`;
|
||||
CREATE TABLE `cvc_touch`.`aima_task_test_case` LIKE `cmvr-iot-chengzhi`.`aima_task_test_case`;
|
||||
CREATE TABLE `cvc_touch`.`aima_test_case` LIKE `cmvr-iot-chengzhi`.`aima_test_case`;
|
||||
CREATE TABLE `cvc_touch`.`aima_test_log` LIKE `cmvr-iot-chengzhi`.`aima_test_log`;
|
||||
CREATE TABLE `cvc_touch`.`aima_vehicle` LIKE `cmvr-iot-chengzhi`.`aima_vehicle`;
|
||||
CREATE TABLE `cvc_touch`.`de_device_control_log` LIKE `cmvr-iot-chengzhi`.`de_device_control_log`;
|
||||
CREATE TABLE `cvc_touch`.`de_device_group` LIKE `cmvr-iot-chengzhi`.`de_device_group`;
|
||||
CREATE TABLE `cvc_touch`.`de_device_profile` LIKE `cmvr-iot-chengzhi`.`de_device_profile`;
|
||||
CREATE TABLE `cvc_touch`.`de_device_registration` LIKE `cmvr-iot-chengzhi`.`de_device_registration`;
|
||||
CREATE TABLE `cvc_touch`.`de_device_terminal_config` LIKE `cmvr-iot-chengzhi`.`de_device_terminal_config`;
|
||||
CREATE TABLE `cvc_touch`.`de_robot_config` LIKE `cmvr-iot-chengzhi`.`de_robot_config`;
|
||||
CREATE TABLE `cvc_touch`.`evaluate_indicator` LIKE `cmvr-iot-chengzhi`.`evaluate_indicator`;
|
||||
CREATE TABLE `cvc_touch`.`gen_table` LIKE `cmvr-iot-chengzhi`.`gen_table`;
|
||||
CREATE TABLE `cvc_touch`.`gen_table_column` LIKE `cmvr-iot-chengzhi`.`gen_table_column`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_alarm` LIKE `cmvr-iot-chengzhi`.`inspection_alarm`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_detection_alert` LIKE `cmvr-iot-chengzhi`.`inspection_detection_alert`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_detection_detail` LIKE `cmvr-iot-chengzhi`.`inspection_detection_detail`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_map` LIKE `cmvr-iot-chengzhi`.`inspection_map`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_result` LIKE `cmvr-iot-chengzhi`.`inspection_result`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_result_media` LIKE `cmvr-iot-chengzhi`.`inspection_result_media`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_robot` LIKE `cmvr-iot-chengzhi`.`inspection_robot`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_robot_device` LIKE `cmvr-iot-chengzhi`.`inspection_robot_device`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_task` LIKE `cmvr-iot-chengzhi`.`inspection_task`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_task_instance` LIKE `cmvr-iot-chengzhi`.`inspection_task_instance`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_task_log` LIKE `cmvr-iot-chengzhi`.`inspection_task_log`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_task_waypoint` LIKE `cmvr-iot-chengzhi`.`inspection_task_waypoint`;
|
||||
CREATE TABLE `cvc_touch`.`inspection_waypoint` LIKE `cmvr-iot-chengzhi`.`inspection_waypoint`;
|
||||
CREATE TABLE `cvc_touch`.`iot_device` LIKE `cmvr-iot-chengzhi`.`iot_device`;
|
||||
CREATE TABLE `cvc_touch`.`iot_map` LIKE `cmvr-iot-chengzhi`.`iot_map`;
|
||||
CREATE TABLE `cvc_touch`.`iot_resource_migration` LIKE `cmvr-iot-chengzhi`.`iot_resource_migration`;
|
||||
CREATE TABLE `cvc_touch`.`iot_robot` LIKE `cmvr-iot-chengzhi`.`iot_robot`;
|
||||
CREATE TABLE `cvc_touch`.`iot_robot_map` LIKE `cmvr-iot-chengzhi`.`iot_robot_map`;
|
||||
CREATE TABLE `cvc_touch`.`iot_robot_terminal` LIKE `cmvr-iot-chengzhi`.`iot_robot_terminal`;
|
||||
CREATE TABLE `cvc_touch`.`iot_terminal` LIKE `cmvr-iot-chengzhi`.`iot_terminal`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_blob_triggers` LIKE `cmvr-iot-chengzhi`.`qrtz_blob_triggers`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_calendars` LIKE `cmvr-iot-chengzhi`.`qrtz_calendars`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_cron_triggers` LIKE `cmvr-iot-chengzhi`.`qrtz_cron_triggers`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_fired_triggers` LIKE `cmvr-iot-chengzhi`.`qrtz_fired_triggers`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_job_details` LIKE `cmvr-iot-chengzhi`.`qrtz_job_details`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_locks` LIKE `cmvr-iot-chengzhi`.`qrtz_locks`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_paused_trigger_grps` LIKE `cmvr-iot-chengzhi`.`qrtz_paused_trigger_grps`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_scheduler_state` LIKE `cmvr-iot-chengzhi`.`qrtz_scheduler_state`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_simple_triggers` LIKE `cmvr-iot-chengzhi`.`qrtz_simple_triggers`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_simprop_triggers` LIKE `cmvr-iot-chengzhi`.`qrtz_simprop_triggers`;
|
||||
CREATE TABLE `cvc_touch`.`qrtz_triggers` LIKE `cmvr-iot-chengzhi`.`qrtz_triggers`;
|
||||
CREATE TABLE `cvc_touch`.`sys_config` LIKE `cmvr-iot-chengzhi`.`sys_config`;
|
||||
CREATE TABLE `cvc_touch`.`sys_dept` LIKE `cmvr-iot-chengzhi`.`sys_dept`;
|
||||
CREATE TABLE `cvc_touch`.`sys_dict_data` LIKE `cmvr-iot-chengzhi`.`sys_dict_data`;
|
||||
CREATE TABLE `cvc_touch`.`sys_dict_type` LIKE `cmvr-iot-chengzhi`.`sys_dict_type`;
|
||||
CREATE TABLE `cvc_touch`.`sys_file_info` LIKE `cmvr-iot-chengzhi`.`sys_file_info`;
|
||||
CREATE TABLE `cvc_touch`.`sys_group` LIKE `cmvr-iot-chengzhi`.`sys_group`;
|
||||
CREATE TABLE `cvc_touch`.`sys_job` LIKE `cmvr-iot-chengzhi`.`sys_job`;
|
||||
CREATE TABLE `cvc_touch`.`sys_job_log` LIKE `cmvr-iot-chengzhi`.`sys_job_log`;
|
||||
CREATE TABLE `cvc_touch`.`sys_logininfor` LIKE `cmvr-iot-chengzhi`.`sys_logininfor`;
|
||||
CREATE TABLE `cvc_touch`.`sys_menu` LIKE `cmvr-iot-chengzhi`.`sys_menu`;
|
||||
CREATE TABLE `cvc_touch`.`sys_notice` LIKE `cmvr-iot-chengzhi`.`sys_notice`;
|
||||
CREATE TABLE `cvc_touch`.`sys_notice_read` LIKE `cmvr-iot-chengzhi`.`sys_notice_read`;
|
||||
CREATE TABLE `cvc_touch`.`sys_oper_log` LIKE `cmvr-iot-chengzhi`.`sys_oper_log`;
|
||||
CREATE TABLE `cvc_touch`.`sys_post` LIKE `cmvr-iot-chengzhi`.`sys_post`;
|
||||
CREATE TABLE `cvc_touch`.`sys_role` LIKE `cmvr-iot-chengzhi`.`sys_role`;
|
||||
CREATE TABLE `cvc_touch`.`sys_role_dept` LIKE `cmvr-iot-chengzhi`.`sys_role_dept`;
|
||||
CREATE TABLE `cvc_touch`.`sys_role_menu` LIKE `cmvr-iot-chengzhi`.`sys_role_menu`;
|
||||
CREATE TABLE `cvc_touch`.`sys_user` LIKE `cmvr-iot-chengzhi`.`sys_user`;
|
||||
CREATE TABLE `cvc_touch`.`sys_user_post` LIKE `cmvr-iot-chengzhi`.`sys_user_post`;
|
||||
CREATE TABLE `cvc_touch`.`sys_user_role` LIKE `cmvr-iot-chengzhi`.`sys_user_role`;
|
||||
CREATE TABLE `cvc_touch`.`sys_veh_oper_config` LIKE `cmvr-iot-chengzhi`.`sys_veh_oper_config`;
|
||||
CREATE TABLE `cvc_touch`.`te_ai_evaluation` LIKE `cmvr-iot-chengzhi`.`te_ai_evaluation`;
|
||||
CREATE TABLE `cvc_touch`.`te_detection_item` LIKE `cmvr-iot-chengzhi`.`te_detection_item`;
|
||||
CREATE TABLE `cvc_touch`.`te_detection_item_log` LIKE `cmvr-iot-chengzhi`.`te_detection_item_log`;
|
||||
CREATE TABLE `cvc_touch`.`te_detection_item_version` LIKE `cmvr-iot-chengzhi`.`te_detection_item_version`;
|
||||
CREATE TABLE `cvc_touch`.`te_node_def` LIKE `cmvr-iot-chengzhi`.`te_node_def`;
|
||||
CREATE TABLE `cvc_touch`.`te_node_inst` LIKE `cmvr-iot-chengzhi`.`te_node_inst`;
|
||||
CREATE TABLE `cvc_touch`.`te_param_config` LIKE `cmvr-iot-chengzhi`.`te_param_config`;
|
||||
CREATE TABLE `cvc_touch`.`te_task_config_info` LIKE `cmvr-iot-chengzhi`.`te_task_config_info`;
|
||||
CREATE TABLE `cvc_touch`.`te_task_inst` LIKE `cmvr-iot-chengzhi`.`te_task_inst`;
|
||||
CREATE TABLE `cvc_touch`.`te_task_inst_flow_version` LIKE `cmvr-iot-chengzhi`.`te_task_inst_flow_version`;
|
||||
CREATE TABLE `cvc_touch`.`te_task_inst_log` LIKE `cmvr-iot-chengzhi`.`te_task_inst_log`;
|
||||
CREATE TABLE `cvc_touch`.`te_task_orchestration` LIKE `cmvr-iot-chengzhi`.`te_task_orchestration`;
|
||||
CREATE TABLE `cvc_touch`.`te_vision_calibration_profile` LIKE `cmvr-iot-chengzhi`.`te_vision_calibration_profile`;
|
||||
CREATE TABLE `cvc_touch`.`te_vision_calibration_record` LIKE `cmvr-iot-chengzhi`.`te_vision_calibration_record`;
|
||||
CREATE TABLE `cvc_touch`.`ti_project` LIKE `cmvr-iot-chengzhi`.`ti_project`;
|
||||
CREATE TABLE `cvc_touch`.`ti_vehicle_config` LIKE `cmvr-iot-chengzhi`.`ti_vehicle_config`;
|
||||
CREATE TABLE `cvc_touch`.`ti_vehicle_function` LIKE `cmvr-iot-chengzhi`.`ti_vehicle_function`;
|
||||
CREATE TABLE `cvc_touch`.`ti_vehicle_ui` LIKE `cmvr-iot-chengzhi`.`ti_vehicle_ui`;
|
||||
CREATE TABLE `cvc_touch`.`tts_corpus_category` LIKE `cmvr-iot-chengzhi`.`tts_corpus_category`;
|
||||
CREATE TABLE `cvc_touch`.`tts_corpus_info` LIKE `cmvr-iot-chengzhi`.`tts_corpus_info`;
|
||||
CREATE TABLE `cvc_touch`.`tts_synthesize_task` LIKE `cmvr-iot-chengzhi`.`tts_synthesize_task`;
|
||||
CREATE TABLE `cvc_touch`.`vi_corpus` LIKE `cmvr-iot-chengzhi`.`vi_corpus`;
|
||||
CREATE TABLE `cvc_touch`.`vi_project` LIKE `cmvr-iot-chengzhi`.`vi_project`;
|
||||
CREATE TABLE `cvc_touch`.`vi_scheme` LIKE `cmvr-iot-chengzhi`.`vi_scheme`;
|
||||
INSERT INTO `cvc_touch`.`sys_config` SELECT * FROM `cmvr-iot-chengzhi`.`sys_config`;
|
||||
INSERT INTO `cvc_touch`.`sys_menu` SELECT * FROM `cmvr-iot-chengzhi`.`sys_menu`;
|
||||
INSERT INTO `cvc_touch`.`sys_dict_type` SELECT * FROM `cmvr-iot-chengzhi`.`sys_dict_type`;
|
||||
INSERT INTO `cvc_touch`.`sys_dict_data` SELECT * FROM `cmvr-iot-chengzhi`.`sys_dict_data`;
|
||||
INSERT INTO `cvc_touch`.`sys_user` SELECT * FROM `cmvr-iot-chengzhi`.`sys_user` WHERE user_id=1;
|
||||
INSERT INTO `cvc_touch`.`sys_dept` SELECT * FROM `cmvr-iot-chengzhi`.`sys_dept` WHERE dept_id IN (SELECT dept_id FROM `cvc_touch`.sys_user);
|
||||
INSERT INTO `cvc_touch`.`sys_user_role` SELECT * FROM `cmvr-iot-chengzhi`.`sys_user_role` WHERE user_id=1;
|
||||
INSERT INTO `cvc_touch`.`sys_role` SELECT * FROM `cmvr-iot-chengzhi`.`sys_role` WHERE role_id IN (SELECT role_id FROM `cvc_touch`.sys_user_role);
|
||||
INSERT INTO `cvc_touch`.`sys_user_post` SELECT * FROM `cmvr-iot-chengzhi`.`sys_user_post` WHERE user_id=1;
|
||||
INSERT INTO `cvc_touch`.`sys_post` SELECT * FROM `cmvr-iot-chengzhi`.`sys_post` WHERE post_id IN (SELECT post_id FROM `cvc_touch`.sys_user_post);
|
||||
INSERT INTO `cvc_touch`.`sys_role_menu` SELECT * FROM `cmvr-iot-chengzhi`.`sys_role_menu` WHERE role_id IN (SELECT role_id FROM `cvc_touch`.sys_role);
|
||||
INSERT INTO `cvc_touch`.`sys_role_dept` SELECT * FROM `cmvr-iot-chengzhi`.`sys_role_dept` WHERE role_id IN (SELECT role_id FROM `cvc_touch`.sys_role);
|
||||
Loading…
Reference in New Issue
Block a user