Compare commits

...

2359 Commits

Author SHA1 Message Date
thesai f14e377565 [新增]以终端反向信号机命名的信号机同样也用此信号机作为办理进路的按钮
CI / Docker-Build (push) Successful in 2m13s Details
2024-09-29 09:31:21 +08:00
thesai b302bb360b [新增]开启自动进路的信号机不能开放引导信号 2024-09-26 15:20:55 +08:00
thesai 1e2ed4d305 [新增]获取用户信息的接口中增加更新时间
CI / Docker-Build (push) Successful in 2m12s Details
2024-09-25 13:27:39 +08:00
thesai 436a07bcf4 [新增]获取所有用户信息的接口
CI / Docker-Build (push) Successful in 2m9s Details
2024-09-25 10:51:31 +08:00
thesai 235f4dce5b [新增]按id数组查询用户信息的接口
CI / Docker-Build (push) Successful in 2m14s Details
2024-09-24 16:43:07 +08:00
thesai ac87b0dbe9 [bug]实训中,有多个评分规则时,仅有一个评分规则被使用
CI / Docker-Build (push) Successful in 2m12s Details
2024-09-18 10:37:33 +08:00
thesai 3536ff75ad [修改]后备模式下,办理引导进路不再检查区段占用
CI / Docker-Build (push) Successful in 2m11s Details
2024-09-11 19:07:55 +08:00
thesai f57952b755 [修改]实训结束后的评分删除多余的memberId字段;查询实训按id逆序排列
CI / Docker-Build (push) Successful in 2m13s Details
2024-09-11 14:02:16 +08:00
thesai 9c9e7c60e3 [修改]场景实训结束后的评分展示中增加非用户角色的步骤(并增加每个步骤对应的角色id,非用户角色步骤没有分数)
CI / Docker-Build (push) Successful in 6m56s Details
2024-09-10 17:55:50 +08:00
thesai 98abf0691a Merge remote-tracking branch 'origin/develop' into develop 2024-09-10 17:01:45 +08:00
thesai 16e8dc191f [bug]对道岔区段的区故解仅解锁指定的区段,而非整个道岔计轴区段 2024-09-10 17:01:24 +08:00
tiger_zhou 4f151fae4a 修改 仿真销毁的时候发送cgy时间,有个可能是空的
CI / Docker-Build (push) Successful in 2m33s Details
2024-08-19 09:42:14 +08:00
tiger_zhou e93171e958 调整列车区段没有值得问题
CI / Docker-Build (push) Successful in 5m14s Details
2024-08-16 18:59:18 +08:00
thesai 4cd80bbec5 [bug]成都工业实体信号机黄灯、绿灯控制逻辑不对 2024-07-29 13:43:06 +08:00
thesai 8125e32d7e [bug]成都工业实体信号机黄灯、绿灯控制逻辑不对 2024-07-18 16:45:00 +08:00
thesai e23864fa72 [修改]探索如何设置maven镜像源
CI / Docker-Build (push) Successful in 5m3s Details
2024-06-11 20:40:34 +08:00
thesai 212773e679 [修改]gitea自动构建/发布脚本文件
CI / Docker-Build (push) Failing after 19m33s Details
2024-06-11 20:15:21 +08:00
thesai 495681db5d [修改]语音识别校验接口要求匹配率提高到70%
CI / Docker-Build (push) Failing after 1m49s Details
2024-06-07 18:10:20 +08:00
thesai dbe197eba6 [bug]成都工业区段联动服务没写 2024-05-24 11:40:13 +08:00
thesai cee9eda430 [修改]校验语音识别接口增加立体声转单声道逻辑
CI / Docker-Build (push) Successful in 2m36s Details
2024-05-17 17:38:22 +08:00
thesai 0d10203613 [修改]发布配置文件
CI / Docker-Build (push) Successful in 2m29s Details
公网服务发布 / Docker-Build-Push (push) Successful in 10s Details
2024-05-16 16:59:41 +08:00
thesai 99a772a050 [修改]语音识别并与正确文本进行校验接口的参数接收方式
CI / Docker-Build (push) Successful in 2m31s Details
2024-05-14 18:32:59 +08:00
thesai ba1e057bce [新增]语音识别并与正确文本进行校验接口
CI / Docker-Build (push) Successful in 8m28s Details
2024-05-14 15:14:16 +08:00
thesai 6187e6d667 [bug]成工院虚仿平台对接的统计数据同步服务bug 2024-05-11 09:09:33 +08:00
thesai bef6dda6b2 [新增]成工院虚仿平台对接的登录接口、统计数据并同步服务 2024-05-07 16:47:32 +08:00
thesai 5d15ba3240 [修改]成都工业职业技术学院项目设备联动逻辑 2024-04-17 10:42:05 +08:00
thesai aae729b637 【修改】试卷创建者信息查询接口GET请求参数绑定出错,改为POST 2024-04-11 13:18:17 +08:00
thesai 2416d21a4f 【新增】试卷创建者信息查询接口;查询试卷增加按创建人筛选 2024-04-10 14:53:34 +08:00
soul-walker 346a265164 添加readme文件说明分支及发布方式
CI / Docker-Build (push) Successful in 2m29s Details
公网服务发布 / Docker-Build-Push (push) Successful in 15s Details
2024-03-25 18:57:48 +08:00
soul-walker 9921aea15a 修改定时任务cron 2024-03-25 18:39:10 +08:00
soul-walker 3e19150a48 删除测试步骤
公网服务发布 / Docker-Build-Push (push) Successful in 28s Details
2024-03-25 18:28:52 +08:00
soul-walker 202037ec55 修改定时执行工作流
CI / Docker-Build (push) Successful in 2m30s Details
公网服务发布 / Docker-Build-Push (push) Failing after 14s Details
添加清理docker tag为none镜像步骤
2024-03-25 18:19:31 +08:00
soul-walker 5045f6152a 修改触发间隔
CI / Docker-Build (push) Successful in 2m28s Details
公网服务发布 / Docker-Build-Push (push) Successful in 3s Details
2024-03-25 17:14:43 +08:00
soul-walker 2a47dc5979 测试定时执行CI
修改工作流名称
2024-03-25 17:06:30 +08:00
soul-walker 6597194b9c 完善在git发布新版时的构建流程 2024-03-25 16:27:26 +08:00
soul-walker 319592dd19 继续测试event的release事件对象 2024-03-25 15:08:34 +08:00
soul-walker 585c32ac0d 测试event事件对象
测试下拉代码分支版本
2024-03-25 14:51:32 +08:00
soul-walker 3301634aa0 修改触发类型
CI / Docker-Build (push) Has been cancelled Details
2024-03-25 14:32:44 +08:00
soul-walker 32d9a9ab21 添加新工作流 2024-03-22 16:36:16 +08:00
soul-walker a440b77c7f 修改docker 构建bug
CI / Docker-Build (push) Successful in 3m29s Details
2024-03-22 15:37:25 +08:00
soul-walker 82e41df1c7 添加设置maven环境操作
CI / Docker-Build (push) Failing after 18m32s Details
2024-03-22 09:33:00 +08:00
soul-walker 0b7ce9d746 修改setup java版本
CI / Docker-Build (push) Failing after 1m14s Details
2024-03-21 15:33:20 +08:00
soul-walker b10ea3b6ba 添加local_test持续集成部署工作流
CI / Docker-Build (push) Failing after 33s Details
2024-03-21 15:29:19 +08:00
soul-walker f2b38a9eb2 修改submodule 2024-03-13 19:18:17 +08:00
tiger_zhou bf87b46662 Merge branch 'test' 2024-03-12 10:36:14 +08:00
tiger_zhou 5f2c1133ca 大赛管理功能 2024-03-12 09:37:21 +08:00
tiger_zhou 352c44a280 大赛管理功能 2024-03-11 18:12:01 +08:00
tiger_zhou d20fe5fd27 文本替换添加对应的日志 2024-03-11 17:57:12 +08:00
tiger_zhou c085f5f778 大赛管理功能 2024-03-11 15:25:43 +08:00
tiger_zhou 5579c4f461 大赛管理功能 2024-03-11 15:05:06 +08:00
tiger_zhou 2f9ace88bd 大赛管理功能 2024-03-11 15:01:24 +08:00
tiger_zhou 287e004ee5 大赛管理功能 2024-03-11 13:35:18 +08:00
tiger_zhou 6843a987d5 大赛管理功能 2024-03-11 13:10:40 +08:00
tiger_zhou cc7218902e 大赛管理功能 2024-03-11 13:10:04 +08:00
tiger_zhou 7404c0bfb8 大赛管理功能 2024-03-11 10:45:05 +08:00
tiger_zhou ae06533192 大赛管理功能 2024-03-11 10:02:19 +08:00
tiger_zhou c18a073dee 大赛管理功能 2024-03-11 09:46:46 +08:00
tiger_zhou a5b71e159a 大赛管理功能 2024-03-11 09:26:12 +08:00
thesai 727ddd48ac Merge branch 'test' 2024-03-08 11:32:51 +08:00
tiger_zhou f95ed6a898 大赛管理功能 2024-03-08 10:51:08 +08:00
tiger_zhou 985c1de837 大赛管理功能 2024-03-08 10:28:31 +08:00
tiger_zhou c0ed50ccdc 大赛管理功能 2024-03-07 16:47:41 +08:00
tiger_zhou 164c26a01e 大赛管理功能 2024-03-07 14:56:38 +08:00
tiger_zhou 13451cbec0 大赛管理功能 2024-03-07 14:35:55 +08:00
tiger_zhou 2a0e126a7c 大赛管理功能 2024-03-07 14:24:54 +08:00
tiger_zhou 8b23269aba 大赛管理功能 2024-03-07 13:23:44 +08:00
thesai 2492184d0e Merge branch 'test' 2024-03-05 13:53:51 +08:00
tiger_zhou 9cda9872cd 大赛管理功能 2024-03-05 10:44:42 +08:00
thesai 200f7b5db7 赛题训练结果中添加场景ID字段 2024-03-05 10:07:27 +08:00
thesai deb7fa11fc Merge branch 'test' 2024-03-04 17:26:29 +08:00
thesai cbb52ddbd7 赛题模块训练接口调试修改 2024-03-04 16:29:20 +08:00
tiger_zhou 7fb4199e1b Merge remote-tracking branch 'origin/test' into test 2024-03-04 14:39:22 +08:00
tiger_zhou 08d7996f32 大赛管理功能 2024-03-04 14:38:38 +08:00
thesai 6fe2679fd8 增加赛题模块训练接口(未完) 2024-03-01 18:27:40 +08:00
tiger_zhou 9df4de84b6 大赛管理功能 2024-03-01 16:58:07 +08:00
tiger_zhou 823888ac35 大赛管理功能 2024-03-01 16:47:15 +08:00
tiger_zhou 1e927b29af 大赛管理功能 2024-03-01 13:17:40 +08:00
tiger_zhou 97b6d27952 大赛管理功能 2024-03-01 08:32:18 +08:00
thesai 58bc68876a Merge branch 'test'
# Conflicts:
#	rtss-message
2024-02-29 23:05:43 +08:00
tiger_zhou 4a1316e1bd 大赛管理功能方法注释 2024-02-29 18:00:54 +08:00
tiger_zhou 902a2e78b1 大赛管理功能 2024-02-29 16:13:42 +08:00
tiger_zhou 7b36192a9a 大赛管理功能 2024-02-29 10:45:22 +08:00
thesai 761c7e02eb 增加用功能参数创建仿真的接口; 2024-02-28 18:30:47 +08:00
tiger_zhou 8446891ba5 大赛管理功能 2024-02-28 17:42:48 +08:00
tiger_zhou 7e227fb96b 大赛管理功能 2024-02-28 13:47:48 +08:00
tiger_zhou 6c1bb1d77f 大赛管理功能 2024-02-28 10:05:04 +08:00
tiger_zhou 636f049bfe 大赛管理功能 2024-02-27 15:51:27 +08:00
tiger_zhou 6e19d7acb1 大赛管理功能 2024-02-27 15:51:13 +08:00
tiger_zhou e647d54762 大赛管理功能 2024-02-27 15:35:49 +08:00
tiger_zhou 161e8ec469 大赛管理功能 2024-02-27 15:08:00 +08:00
tiger_zhou eecef5ba96 大赛管理功能 2024-02-27 13:49:46 +08:00
tiger_zhou da470b1832 大赛管理功能 2024-02-27 13:47:23 +08:00
tiger_zhou 23d46aac0c 大赛管理功能 2024-02-27 13:39:04 +08:00
tiger_zhou 37f6fd51eb 大赛管理功能删除之前的模块相关功能 2024-02-27 09:44:12 +08:00
tiger_zhou 9bf2fede2c 大赛管理功能 2024-02-27 09:26:24 +08:00
tiger_zhou 025888cbd2 大赛管理功能 2024-02-27 09:20:32 +08:00
tiger_zhou 9139c93a75 大赛管理功能 2024-02-26 17:27:07 +08:00
tiger_zhou 8200bd7c76 大赛管理功能 2024-02-26 14:03:39 +08:00
tiger_zhou 2647a26869 大赛管理功能 2024-02-26 13:35:39 +08:00
tiger_zhou 68fdecdf31 大赛管理功能 2024-02-23 17:40:04 +08:00
tiger_zhou 2be04ceca1 大赛管理功能 2024-02-23 16:50:22 +08:00
tiger_zhou 1cf7397f55 大赛管理功能 2024-02-23 11:50:44 +08:00
tiger_zhou 25396dc11c 大赛管理功能 2024-02-23 11:49:15 +08:00
tiger_zhou 49aff5b340 大赛管理功能 2024-02-23 11:27:32 +08:00
tiger_zhou cc58504b5b 大赛管理功能 2024-02-23 11:04:38 +08:00
tiger_zhou cade3772cd 大赛管理功能 2024-02-23 11:03:10 +08:00
tiger_zhou 6288c72829 大赛管理功能 2024-02-23 10:52:42 +08:00
tiger_zhou 1931e5f52f 大赛管理功能 2024-02-23 10:49:16 +08:00
tiger_zhou 07e23db1db 大赛管理功能 2024-02-23 10:39:11 +08:00
tiger_zhou 63c1c88312 大赛管理功能 2024-02-23 10:02:44 +08:00
tiger_zhou e515bcb56a 大赛管理功能 2024-02-23 09:27:19 +08:00
tiger_zhou b24c3ddaa7 大赛管理功能 2024-02-23 09:23:42 +08:00
tiger_zhou 2ce51aaac9 添加service 2024-02-18 15:12:43 +08:00
tiger_zhou 740dcefb4c 添加controller 2024-02-18 15:12:16 +08:00
tiger_zhou d278c01d3b 添加 protobuf 2024-02-18 15:09:03 +08:00
thesai 5d07d730eb proto文件编译工具类和编译后的文件 2024-02-05 15:45:18 +08:00
thesai 76dea2b00b 竞赛接口使用的proto文件 v0.1 2024-02-05 14:05:45 +08:00
thesai 6996aae12f 添加竞赛proto定义0.1版 2024-02-02 15:30:27 +08:00
tiger_zhou 92bfa114be 添加 protobuf 2024-01-31 11:13:17 +08:00
tiger_zhou 006367f3de 添加 message子模块 2024-01-31 10:49:46 +08:00
tiger_zhou 7b4c5f0948 添加 message子模块 2024-01-31 10:47:26 +08:00
tiger_zhou bb0cf5a83f 添加 message子模块 2024-01-31 10:45:26 +08:00
tiger_zhou 99a47d9d65 调整 2024-01-31 10:32:37 +08:00
joylink_zhangsai 5cbcd67041 修改进路接近锁闭的判定条件与信号机保持一致;回滚办理引导进路时,引导信号持续时间逻辑 2023-12-19 14:54:23 +08:00
weizhihong 5372e55b44 【车站直接转中控】 2023-12-05 18:13:17 +08:00
joylink_zhangsai 2316deb8d3 发给前端的列车状态增加停站状态 2023-12-04 17:51:24 +08:00
joylink_zhangsai b0d30ed58c 修改机器人驾驶逻辑:停车后不会自动开ATO,修改预选模式后即可自动开启ATO 2023-12-04 12:17:43 +08:00
joylink_zhangsai b8768e6052 修改机器人驾驶的停车制动操作 2023-12-04 11:01:00 +08:00
joylink_zhangsai d77e70c126 Merge remote-tracking branch 'origin/test' into test 2023-12-04 10:14:19 +08:00
joylink_zhangsai 7f30126bd8 修改设置备用车预选模式无效bug 2023-12-04 10:13:57 +08:00
weizhihong 2b3b1134c5 【发布保存为草稿】【增加TMS、PIS设备类型】 2023-12-01 11:24:08 +08:00
joylink_zhangsai 5e5a17d79a 修改【人工驾驶默认停车】配置的生效逻辑 2023-11-30 17:01:41 +08:00
weizhihong 659b537f75 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-11-30 14:08:38 +08:00
weizhihong 441ec71627 【增加移动授权非空判断】 2023-11-30 14:08:20 +08:00
walker 4739bb6a68 添加进路办理检查道岔人工办理优先处理逻辑 2023-11-30 14:07:44 +08:00
walker 44e9bd5ec2 添加进路办理检查道岔征用相反位置人工办理优先处理逻辑 2023-11-29 16:52:18 +08:00
weizhihong bdfa4d2992 【仿真背景加载列车逻辑修改】【站台跳停时,列车不开门】【calculateStationRatio方法返回值空指针处理】 2023-11-28 17:53:16 +08:00
weizhihong d39f9dbdbb 【重复加载实训人员时出错】 2023-11-28 14:16:39 +08:00
weizhihong 700d95e4a7 【增加点击初始化清除人员操作,编制时找不到列车问题】 2023-11-27 17:56:27 +08:00
weizhihong 28c74a75cd Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-11-27 16:47:40 +08:00
weizhihong a73c568b7f 【实训加载时人员初始化】 2023-11-27 16:47:31 +08:00
joylink_zhangsai e67b7b8ad1 以ATO速度曲线的距离筛选MA(之前以EOA距离筛选的方式导致列车运行过远) 2023-11-27 16:26:07 +08:00
joylink_zhangsai 300804dccc 车地通信异常情况下无法同步列车信息 2023-11-27 10:06:43 +08:00
joylink_zhangsai 787ecb5642 修改列车供电状态的更新逻辑;列车重新通电之后重置ATP系统中的一些状态;TrainInfo中增加车地通信状态 2023-11-24 16:40:40 +08:00
joylink_zhangsai 29b94f0f1b 修改“驾驶”命令设置目的地时的bug 2023-11-24 10:52:23 +08:00
joylink_zhangsai 3e8ed7095e 实训时,用户的会话操作匹配失败后,机器人成员会发送“请重复”语音 2023-11-23 17:03:00 +08:00
joylink_zhangsai 6c6e254751 列车初始化时将机器人驾驶参数也初始化 2023-11-23 10:50:31 +08:00
joylink_zhangsai 6b14090431 场景实训中非用户的文字聊天操作会被替换为语音聊天,且车次号会被替换为专业发音 2023-11-23 09:52:02 +08:00
joylink_zhangsai 5eac7cc9be 进路人工办理优先于自动办理(人工办理进路会将与其冲突的、尚未办理完成的进路取消掉) 2023-11-22 17:15:51 +08:00
joylink_zhangsai 4becfd48cb 列车机器人驾驶需使用驾驶命令后才会自动解除EB 2023-11-22 16:16:21 +08:00
joylink_zhangsai aec1a01f96 修复国赛场景编制遇到的问题。修改延续保护中道岔的延续保护及侧防解锁逻辑;修改设计划车时的计划筛选逻辑 2023-11-21 14:51:26 +08:00
joylink_zhangsai 0faf852aa6 更严格的限制CM模式机器人驾驶 2023-11-20 13:32:13 +08:00
tiger_zhou 3d86ae0355 中途添加计划车导致报错问题 2023-11-16 15:45:18 +08:00
joylink_zhangsai 618c8dc33c 修改设置计划车时,下一车站计划的筛选逻辑 2023-11-16 15:16:05 +08:00
joylink_zhangsai 57209785ad 修改成工院实训室项目生成设备配置的逻辑 2023-11-15 18:07:52 +08:00
joylink_zhangsai 352ef75923 储存TrainInfo的头码车运行路径(hctPath)信息 2023-11-15 17:58:38 +08:00
joylink_zhangsai 25c31fcefb 修改机器人开启ATO的逻辑;修改[延续保护太早锁闭在错误位置导致无法办理]的bug 2023-11-15 13:21:36 +08:00
joylink_zhangsai f1da71f236 增加成都工业职业技术学院线下项目实体设备连接配置及服务 2023-11-15 09:26:04 +08:00
joylink_zhangsai 885e98dccf 修改TMS消息bug 2023-11-13 13:47:32 +08:00
joylink_zhangsai f98dee79a0 Merge remote-tracking branch 'origin/test' into test 2023-11-13 09:26:06 +08:00
joylink_zhangsai f281499099 增加列车TMS(司机视角左下角)消息 2023-11-13 09:17:56 +08:00
tiger_zhou bb26f1e944 修改列车折返错误 2023-11-07 16:45:24 +08:00
joylink_zhangsai 48803daf24 删除到道岔转动操作接口阻塞 2023-11-01 15:07:25 +08:00
joylink_zhangsai 3855c3ab64 Merge branch 'test' 2023-11-01 15:02:11 +08:00
joylink_zhangsai 3335dea0a6 删除仿真操作接口阻塞 2023-11-01 15:00:48 +08:00
joylink_zhangsai b4aa17e028 Merge branch 'test' 2023-10-31 17:52:11 +08:00
joylink_zhangsai 67175c5919 修改设置备用车时列车级别不正确的bug;修改机器人驾驶及ATS界面的修改预选模式操作逻辑;挤岔恢复操作增加等待 2023-10-31 17:38:18 +08:00
joylink_zhangsai 376590f5d1 修改联锁生成逻辑:解决同时设置“多延续保护生成多条进路”与“触发式延续保护”时,本该有且仅有一个延续保护的进路实际会没有延续保护的问题 2023-10-31 10:37:58 +08:00
joylink_zhangsai 361d446a19 增加进路“ars”属性的判断逻辑:延续保护有侧向道岔的不行;进路中的区段与进路方向相反的不行。 修改删除驾驶参数“无”后出现的bug 2023-10-30 18:07:39 +08:00
joylink_zhangsai abbfabab40 加载备用车时,如果选择了ITC相关预选模式,当前模式会是RM,后续运行收到移动授权后升级;驾驶操作的参数,”进路闭塞法行车“替代”无“,删除原”进路闭塞法行车“ 2023-10-30 17:34:40 +08:00
joylink_zhangsai 9b5c54f749 根据配置决定列车转人工模式后是否默认为停车 2023-10-30 14:26:38 +08:00
joylink_zhangsai 9b4480f376 挤岔故障恢复逻辑修改为恢复并转换到另一个位置 2023-10-30 11:03:40 +08:00
joylink_zhangsai 1be9cccc4a 实现“进路中道岔故障时,区段和道岔由远及近锁闭,并且可以开放引导信号”逻辑 2023-10-30 09:49:30 +08:00
joylink_zhangsai cd92403096 增加“单列车进路”属性生成及使用逻辑 2023-10-27 16:19:26 +08:00
joylink_zhangsai b01ac1dc0f [办理进路][道岔转动][道岔强扳]接口阻塞式等待结果 2023-10-27 15:56:52 +08:00
joylink_zhangsai 2f2ec98029 加载备用车时可以选择预选模式;“多延续保护生成多条进路”联锁生成配置下也支持触发式延续保护;线路设置增加两个配置(但不生效) 2023-10-27 10:09:46 +08:00
joylink_zhangsai 18cfe99905 列车越过进路始端信号机后,信号机即刻降级(关闭级);进路延时解锁的同时进路即设置为人工模式;延续保护中的道岔设为延续保护锁闭;进路增加办理成功状态 2023-10-26 15:35:24 +08:00
joylink_zhangsai e7c6d428ad 增加特殊情况下使用的换端操作;修改机器人驾驶列车bug 2023-10-25 14:15:10 +08:00
joylink_zhangsai 9259fd123b Merge branch 'test' 2023-09-27 18:09:23 +08:00
tiger_zhou cf24e2e7f9 调整 2023-09-27 18:04:35 +08:00
tiger_zhou 42d36d8812 Merge remote-tracking branch 'origin/test' into test 2023-09-27 17:55:14 +08:00
tiger_zhou f6021e9a2d 删除自己的实训数据,出现共享数据不能删除的错误 2023-09-27 17:53:59 +08:00
joylink_zhangsai e2cd83d298 实训场景编制时,将控制权转换相关消息暂存,后续再发送;增加[车站站长]和[站务员]角色 2023-09-27 15:47:05 +08:00
joylink_zhangsai d7b42ef478 修改数据构建bug 2023-08-29 16:53:26 +08:00
joylink_zhangsai 99ecac0318 修改ngy项目设备生成逻辑 2023-08-18 15:10:55 +08:00
joylink_zhangsai 8b85c0a63b 运行图编制,复制计划时,按照源计划的服务号位数决定新服务号位数 2023-08-18 09:51:32 +08:00
joylink_zhangsai b4bb689dc5 增加南工院沙盘服务 2023-08-14 13:11:05 +08:00
joylink_zhangsai 813d13d768 添加新设备类型 2023-07-06 11:13:42 +08:00
joylink_zhangsai c686a8d23e 泰国沙盘删除多次出清才算出清逻辑 2023-06-13 10:32:50 +08:00
joylink_zhangsai 3c6cb3a994 泰国沙盘增加进路解锁逻辑 2023-06-12 15:54:42 +08:00
weizhihong 88d9ae234c Merge branch 'test' 2023-06-07 18:01:10 +08:00
joylink_zhangsai 9001cb5df9 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/robot/SimulationRobotService.java
2023-06-07 17:56:08 +08:00
joylink_zhangsai 6a9b4c43c9 修改泰国沙盘逻辑,提高UDP真实设备逻辑运行速度 2023-06-07 17:54:58 +08:00
weizhihong 4937d22a0d 【回库匹配逻辑】 2023-06-07 16:21:15 +08:00
weizhihong bf7f8510be 【连挂车停位BUG】 2023-06-07 16:02:59 +08:00
weizhihong 389f393a7d 【道岔转动联动处理】 2023-06-07 14:41:47 +08:00
weizhihong 8764511650 【学生成绩统计BUG】 2023-06-07 10:16:20 +08:00
weizhihong c84538bc4f 【修改连挂后,故障车到达位置】 2023-06-07 08:55:21 +08:00
weizhihong 8cb9d9bb84 【回库BUG】 2023-06-06 17:01:37 +08:00
weizhihong 4de0b5e0e8 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-06-06 16:42:35 +08:00
weizhihong c13e5ab742 【连挂车设置驾驶目的地时,给故障车赋值】 2023-06-06 16:42:29 +08:00
tiger_zhou ba5ec61c5e 应急调度日志 2023-06-06 16:01:34 +08:00
tiger_zhou c9c8c75be3 应急调度日志 2023-06-06 13:49:29 +08:00
joylink_zhangsai b70d829c65 Merge remote-tracking branch 'origin/test' into test 2023-06-05 11:42:12 +08:00
joylink_zhangsai b41ea03502 泰国沙盘禁用列车自动上线逻辑 2023-06-05 11:41:59 +08:00
tiger_zhou a6f75d5cbf 考试回调参数 2023-06-05 10:48:25 +08:00
joylink_zhangsai 5cc2c02ccc 修改本地环境的数据连接配置 2023-06-04 18:45:39 +08:00
joylink_zhangsai 7d678f3d61 泰国沙盘停站延时改动 2023-06-04 18:28:16 +08:00
joylink_zhangsai 74b9ab80da 泰国沙盘调试改动 2023-06-04 17:23:46 +08:00
weizhihong f968066501 Merge branch 'test' 2023-06-01 18:27:55 +08:00
weizhihong f3ec423779 【实训导出BUG修复】 2023-06-01 18:26:29 +08:00
weizhihong 8f9316c3c9 Merge branch 'test' 2023-06-01 18:18:27 +08:00
weizhihong ec6e78dbcb 【进路解锁逻辑修改】 2023-06-01 15:38:37 +08:00
weizhihong dad1bfc982 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-06-01 14:37:30 +08:00
weizhihong c23d97ae86 【红光带引导,进路取消逻辑修改】 2023-06-01 14:37:24 +08:00
tiger_zhou daee0d2c67 Merge remote-tracking branch 'origin/test' 2023-06-01 09:11:59 +08:00
tiger_zhou a1be780b13 南宁设备逻辑 2023-06-01 09:00:34 +08:00
tiger_zhou 35b9f0cca2 Merge remote-tracking branch 'origin/test' 2023-05-31 16:07:29 +08:00
tiger_zhou 966c70cd2f Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-31 16:06:16 +08:00
tiger_zhou 3189b6b51a 南宁设备逻辑 2023-05-31 16:05:48 +08:00
weizhihong a1a9929f4d 【实训加载到某步出现提示BUG】
【角色替换扮演置NULL问题】
【信号机增加引导关键道岔属性】
2023-05-31 15:20:43 +08:00
weizhihong 4e5e83202c 【IBP按钮时间使用仿真时间处理】 2023-05-30 17:30:53 +08:00
tiger_zhou 38c30520f4 武汉8修改日志 2023-05-30 16:49:45 +08:00
weizhihong 72024821b0 【增加IBP计轴复位预处理逻辑】 2023-05-30 16:46:18 +08:00
tiger_zhou 6cfa675ead Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-30 16:39:33 +08:00
tiger_zhou 25fbd9a715 武汉8 2023-05-30 16:39:06 +08:00
weizhihong 0a8082ed97 【无群组信息是给默认数据】 2023-05-30 15:52:41 +08:00
weizhihong d9812813d7 【多人仿真调用接口时,修改实训状态】 2023-05-30 14:43:53 +08:00
tiger_zhou 33dbc54fd9 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-30 13:54:29 +08:00
weizhihong 0be6e02563 【处理实训结束操作时,暂停导致结束消息不发送问题】 2023-05-30 13:48:43 +08:00
weizhihong 488ec0a7a4 【增加实训开始结束状态消息】 2023-05-30 10:43:40 +08:00
weizhihong cda1272d08 【发布实训导出去除地图ID】【实训加载增加模式参数】 2023-05-29 17:52:53 +08:00
tiger_zhou 06d4e50192 记录 2023-05-29 16:46:06 +08:00
weizhihong 07f8bcbd16 【上电解锁状态提交】 2023-05-29 16:23:07 +08:00
weizhihong b505dcdbfe 【多人实训开始前发送实训ID消息】 2023-05-29 14:13:09 +08:00
weizhihong 2596ad3085 【上电解锁按钮】 2023-05-29 11:14:54 +08:00
tiger_zhou 6b30e5c066 Merge remote-tracking branch 'origin/test' 2023-05-29 09:39:49 +08:00
tiger_zhou ecdf3de890 部署过滤 2023-05-29 09:14:00 +08:00
weizhihong 68b4c0af01 【导入、导出实训接口】 2023-05-26 18:06:59 +08:00
tiger_zhou ee3f242162 部署过滤 2023-05-26 17:07:05 +08:00
tiger_zhou cf6e117549 Merge remote-tracking branch 'origin/test' 2023-05-26 16:39:21 +08:00
joylink_zhangsai 63fbc5d0c6 修改NCC报警bug 2023-05-26 16:35:31 +08:00
joylink_zhangsai 8acadcd71f Merge remote-tracking branch 'origin/test' into test 2023-05-26 16:01:28 +08:00
joylink_zhangsai 17d42a4d63 修改NCC报警bug 2023-05-26 15:46:17 +08:00
tiger_zhou 36a3609164 Merge branch 'test' 2023-05-26 15:33:47 +08:00
tiger_zhou 49f19cdc17 Merge branch 'test-zy' into test 2023-05-26 15:33:00 +08:00
tiger_zhou ca43e7e0ee 记录 2023-05-26 15:32:23 +08:00
joylink_zhangsai 3aed493654 Merge remote-tracking branch 'origin/test' into test 2023-05-26 15:27:10 +08:00
joylink_zhangsai ffe8927892 修改NCC报警bug 2023-05-26 15:26:52 +08:00
weizhihong 9eaf172a99 【去除群组名称校验】 2023-05-26 15:09:09 +08:00
joylink_zhangsai 19f63f8f38 恢复向第三方接口同步仿真使用记录功能 2023-05-26 15:00:42 +08:00
tiger_zhou 92adfad951 部署调整白名单列表 2023-05-26 11:15:07 +08:00
joylink_zhangsai 957dc9bd7f 修改,NCC报警原因显示故障设备name而非code;提交转移旧仿真记录的sql 2023-05-25 13:14:41 +08:00
joylink_zhangsai 07b699cf7b Merge branch 'test' 2023-05-24 19:38:46 +08:00
joylink_zhangsai cced32fca8 修改NCC报警逻辑bug 2023-05-24 19:33:07 +08:00
joylink_zhangsai 6a7931da7c 增加日志,用于调试 2023-05-24 19:22:46 +08:00
joylink_zhangsai 5ef51cbe56 NCC报警道岔失表故障改为汉字 2023-05-24 18:24:27 +08:00
joylink_zhangsai c6b74613dc 修改NCC报警监控bug 2023-05-24 17:53:18 +08:00
joylink_zhangsai 4f4377f3b8 删除多余的仿真销毁消息 2023-05-24 17:19:51 +08:00
joylink_zhangsai 37e13abe47 Merge remote-tracking branch 'origin/test' into test 2023-05-24 17:19:12 +08:00
joylink_zhangsai 8e4155d6d4 NCC报警增加原因和pis模板 2023-05-24 17:18:43 +08:00
joylink_zhangsai 6e198efe85 NCC报警增加原因和pis模板 2023-05-24 17:17:56 +08:00
joylink_zhangsai e7cab0591d 删除掉版本发布之初处理数据的接口和一些很久以前的sql 2023-05-24 16:27:49 +08:00
joylink_zhangsai cc9e63842d 删除掉版本发布之初处理数据的接口和一些很久以前的sql 2023-05-24 15:07:38 +08:00
joylink_zhangsai 00cd87f972 登录信息增加第三方登录;将异常的默认信息改为英文 2023-05-24 15:04:24 +08:00
weizhihong 7df0a7e5f1 【会话私发自己给自己发送BUG】 2023-05-24 14:13:48 +08:00
weizhihong 7c84157e67 【会话消息发送BUG】 2023-05-24 14:04:09 +08:00
weizhihong e016aab767 【用户给自己发送消息时,发错会话组问题】 2023-05-24 10:07:07 +08:00
weizhihong a780b385bd 【增加OCC信息调度角色】 2023-05-23 09:32:14 +08:00
joylink_zhangsai 8e63848520 重新实现仿真记录、删除旧的仿真记录Service;重写Section的toString方法 2023-05-22 17:21:35 +08:00
joylink_zhangsai e66bb869f3 Merge remote-tracking branch 'origin/test' into test 2023-05-22 17:17:32 +08:00
joylink_zhangsai 477bda4557 当移除仿真用户时,发送ws消息给前端 2023-05-22 17:17:01 +08:00
weizhihong d981f43c12 【更新角色时,增加群主字段】 2023-05-22 15:41:03 +08:00
weizhihong bf93d15082 【增加会话群组加入socket消息字段】 2023-05-22 15:14:57 +08:00
weizhihong 803d1a761f 【修改初始化仿真时,群组信息不重置BUG】 2023-05-22 14:58:42 +08:00
tiger_zhou b302f7d4d4 考试定义调整 2023-05-22 10:05:31 +08:00
tiger_zhou 4fa0c0c2b7 考试定义调整 2023-05-22 09:33:26 +08:00
weizhihong e9444302d9 【实训设备过滤规则修改】 2023-05-21 16:08:25 +08:00
tiger_zhou f260aab664 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-21 16:00:10 +08:00
tiger_zhou a49e910976 考试定义调整 2023-05-21 15:59:33 +08:00
weizhihong bc874187e6 【增加实训中进路始终信号机在同一联锁站的规则】 2023-05-21 15:54:05 +08:00
tiger_zhou 12f7d33816 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-21 15:39:28 +08:00
weizhihong 6331e723eb 【根据地图原有的线路功能信息生成新的线路功能信息(模板与当前数据名称匹配)】 2023-05-21 15:26:53 +08:00
joylink_zhangsai 4f599acffe Merge remote-tracking branch 'origin/test' into test 2023-05-21 13:56:08 +08:00
joylink_zhangsai f0243ba4e1 在仿真状态订阅路径中增加仿真倍速消息 2023-05-21 13:55:56 +08:00
tiger_zhou 827a9b75ec 考试定义调整 2023-05-21 13:27:26 +08:00
weizhihong 74193e6db7 【区故解背景设置】 2023-05-21 13:16:57 +08:00
tiger_zhou 71addf2b60 Merge branch 'master' of https://git.code.tencent.com/lian-cbtc/rtss-server 2023-05-20 18:24:58 +08:00
joylink_zhangsai 21c9cd242f Merge remote-tracking branch 'origin/test' 2023-05-20 18:20:38 +08:00
tiger_zhou 14fa1132fe Merge remote-tracking branch 'origin/test' 2023-05-20 18:20:22 +08:00
tiger_zhou 7f0cb1e41b 用户考试调整,支持"单操"绑定客户端的操作 2023-05-20 18:05:47 +08:00
tiger_zhou 5c19222cf4 用户考试调整,支持"单操"绑定客户端的操作 2023-05-20 16:59:55 +08:00
weizhihong 2bfdaeab63 【修改私聊消息时间控制问题】 2023-05-20 15:02:22 +08:00
weizhihong 145bc63540 【修改单操生成时背景设置逻辑】 2023-05-20 13:31:57 +08:00
tiger_zhou d048ae9c60 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-20 11:26:51 +08:00
tiger_zhou 5e6dbb4f3c 用户考试调整
1 加载试卷返回当前系统时间
2 注释交卷时长的验证
2023-05-20 11:26:30 +08:00
joylink_zhangsai 3f4cccbeed 修改NCC故障信息发送到的ws 2023-05-15 17:10:03 +08:00
tiger_zhou b62453ecc8 考试实训计算分调整 2023-05-15 16:42:22 +08:00
tiger_zhou 5d289fbc97 考试实训计算分调整 2023-05-15 14:27:42 +08:00
weizhihong 9e08c224ac Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-05-15 13:19:29 +08:00
weizhihong 1c5a9e9315 【默认客户端处理】 2023-05-15 13:19:23 +08:00
tiger_zhou 0574328ff0 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-15 13:04:26 +08:00
tiger_zhou 9e130d9f31 ncc图例铁车位置调整 2023-05-15 13:04:11 +08:00
tiger_zhou 430fe344cf ncc图例铁车位置调整 2023-05-15 13:02:59 +08:00
weizhihong c16b415c86 【客户端生成逻辑修改】 2023-05-15 10:32:51 +08:00
weizhihong efb68f9496 【跳转步骤时,背景加载逻辑BUG】 2023-05-13 17:03:58 +08:00
tiger_zhou 6c44d38ebd ncc图例铁车位置调整 2023-05-13 14:04:01 +08:00
weizhihong ed357b2e4a 【修改仿真最大速度】 2023-05-12 18:00:30 +08:00
weizhihong 6fa2adb7cd 【会话信息,在用户是机器人时不发验证消息】 2023-05-12 16:51:48 +08:00
weizhihong 5073f9f788 【实训跳转至目标步骤功能】 2023-05-12 15:46:58 +08:00
joylink_zhangsai aace990217 修改宁波一延续保护异常触发的问题 2023-05-11 13:44:32 +08:00
weizhihong ecb29dbcc2 【会话群初始化空数据处理】 2023-05-10 16:20:54 +08:00
joylink_zhangsai dd1238d607 Merge remote-tracking branch 'origin/test' into test 2023-05-09 17:21:40 +08:00
joylink_zhangsai b0c3dabc38 增加一个ATS报警信息类型 2023-05-09 17:21:24 +08:00
tiger_zhou f963c811f7 一个用户同时只能存在一个仿真 2023-05-08 17:26:32 +08:00
tiger_zhou fdb53063b7 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-08 17:26:06 +08:00
joylink_zhangsai bf0bd580f7 创建仿真时保存地图功能信息;接口请求的仿真信息中添加地图功能信息 2023-05-08 16:38:09 +08:00
tiger_zhou 4e6e1efda7 ncc 列车图例调整 2023-05-08 16:15:59 +08:00
tiger_zhou 459c6856b2 一个用户同时只能存在一个仿真 2023-05-08 11:10:39 +08:00
tiger_zhou fdf503261e 一个用户同时只能存在一个仿真 2023-05-08 11:03:31 +08:00
joylink_zhangsai 877372b2cd 回滚创建仿真的限制 2023-05-06 18:20:56 +08:00
joylink_zhangsai 19acb558c2 Merge remote-tracking branch 'origin/test' into test 2023-05-06 18:12:19 +08:00
joylink_zhangsai 65eef78e42 增加查询“我”加入的仿真接口 2023-05-06 18:11:54 +08:00
tiger_zhou 2e630d6916 一个用户同时只能存在一个仿真 2023-05-06 17:06:11 +08:00
tiger_zhou b85ac76d3d 一个用户同时只能存在一个仿真 2023-05-06 16:37:39 +08:00
tiger_zhou cab64eea88 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-06 15:15:47 +08:00
tiger_zhou 94e2ca2c7f 考试单操,场景重复回答步骤的问题 2023-05-06 15:15:15 +08:00
tiger_zhou b2ff67fe7e Merge branch 'test-zy' into test 2023-05-06 15:03:52 +08:00
tiger_zhou 9d329efa3e Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-06 15:03:33 +08:00
tiger_zhou e6b7e71d3d 考试单操,场景重复回答步骤的问题 2023-05-06 15:03:20 +08:00
tiger_zhou 5f8511b200 考试单操,场景重复回答步骤的问题 2023-05-06 15:02:26 +08:00
weizhihong 57aa61b03c 【功能模板生成客户端逻辑】 2023-05-06 13:36:08 +08:00
tiger_zhou c77ef0b669 考试单操,场景重复回答步骤的问题 2023-05-06 10:45:27 +08:00
tiger_zhou 28b421a073 考试单操,场景重复回答步骤的问题 2023-05-06 10:32:25 +08:00
weizhihong 346d3171f2 【增加规则设置的分数】 2023-05-06 10:06:55 +08:00
weizhihong 6a969fe843 【增加实训生成名称解析规则】 2023-05-05 18:28:24 +08:00
tiger_zhou fba36af273 考试单操,场景重复回答步骤的问题 2023-05-05 15:41:01 +08:00
joylink_zhangsai 4a09b427e5 取消授权码拦截器的注释 2023-05-05 15:37:41 +08:00
weizhihong 9b188dc9d9 【生成实训时,名称生成规则修改】 2023-05-05 13:31:57 +08:00
weizhihong 440d2df836 【单操实训生成定位】 2023-05-05 13:22:26 +08:00
tiger_zhou 8d4ac98eb9 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-05 11:10:58 +08:00
tiger_zhou 806718bb7e 考试标签筛选问题 2023-05-05 11:09:12 +08:00
weizhihong 132a8c4755 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-05-05 11:03:28 +08:00
weizhihong 0b7ccabb16 【修改已发布实训label信息】 2023-05-05 11:03:22 +08:00
tiger_zhou e516ad0be4 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-05 10:56:07 +08:00
tiger_zhou eb16f39745 列车图例显示位置调整 2023-05-05 10:55:46 +08:00
weizhihong 1d4918f52d 【打分返回结果修改】 2023-05-05 10:31:16 +08:00
weizhihong 2f8604c6bd 【表sql】 2023-05-05 10:12:34 +08:00
weizhihong 4e7e3cb457 【实训默认打分规则】 2023-05-05 10:12:10 +08:00
tiger_zhou edf707fbb2 列车图例显示位置调整 2023-05-04 17:42:47 +08:00
tiger_zhou 8180d2136c 列车图例显示位置调整 2023-05-04 16:11:29 +08:00
tiger_zhou 8bd766a301 列车图例显示位置调整 2023-05-04 15:53:09 +08:00
weizhihong 943c46bda7 【单操打分规则逻辑修改】 2023-05-04 15:14:10 +08:00
tiger_zhou 6825eb02bd 列车图例显示位置调整 2023-05-04 14:06:36 +08:00
tiger_zhou c78ff9dda1 列车图例显示位置调整 2023-05-04 13:26:27 +08:00
weizhihong 867b4be020 【群组已读消息逻辑】 2023-05-04 11:21:01 +08:00
weizhihong 8a12446080 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2023-05-04 11:02:20 +08:00
weizhihong 1844a69c69 【根据地图ID获取客户端信息】 2023-05-04 11:02:02 +08:00
joylink_zhangsai aa5cc0b333 修改机器人驾驶的判定条件 2023-05-04 11:01:07 +08:00
tiger_zhou f51abb1865 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-05-04 10:11:40 +08:00
tiger_zhou f3ff63431c 列车图例显示位置调整 2023-05-04 10:11:13 +08:00
weizhihong 07008b74b7 【读取群组消息逻辑修改】 2023-05-04 09:51:59 +08:00
tiger_zhou 5128cd5ea6 列车图例显示位置调整 2023-05-04 09:17:06 +08:00
joylink_zhangsai 77c985897a Merge remote-tracking branch 'origin/test' into test 2023-04-28 11:04:28 +08:00
joylink_zhangsai 41739011ed 列车接管逻辑及操作 2023-04-28 11:04:16 +08:00
tiger_zhou f248c336b4 Merge remote-tracking branch 'origin/test' into test 2023-04-27 16:12:11 +08:00
tiger_zhou b97ef2c036 列车图例显示位置调整 2023-04-27 16:11:00 +08:00
weizhihong f2244ea5fa 【仿真初始化时,群组信息没初始化BUG】 2023-04-27 15:23:02 +08:00
weizhihong 6527d042ea 【操作执行事件增加结果】【实训语音结果校验结果返回】 2023-04-27 11:28:11 +08:00
weizhihong f3dd343a1c 【客户端列表】 2023-04-27 10:25:31 +08:00
tiger_zhou 1bcf4a9e13 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-27 09:35:53 +08:00
tiger_zhou cf6b6f5a9a 列车图例显示位置调整 2023-04-27 09:35:41 +08:00
tiger_zhou 91b61d697c Merge remote-tracking branch 'origin/test' into test 2023-04-27 09:31:17 +08:00
tiger_zhou 932718ee0b 列车图例显示位置调整 2023-04-27 09:30:11 +08:00
tiger_zhou 50053c2b36 列车图例显示位置调整 2023-04-27 09:29:34 +08:00
weizhihong 32ed729788 【增加客户端列表ID】 2023-04-27 09:26:16 +08:00
tiger_zhou 5a33c35c15 列车图例显示位置调整 2023-04-26 17:59:46 +08:00
tiger_zhou af74502f37 列车图例显示位置调整 2023-04-26 17:55:46 +08:00
tiger_zhou 7a20c4a659 列车图例显示位置调整 2023-04-26 16:28:52 +08:00
tiger_zhou f4df139cbb Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-26 16:18:40 +08:00
joylink_zhangsai 0442a5723a Merge remote-tracking branch 'origin/test' into test 2023-04-26 16:15:42 +08:00
joylink_zhangsai cfcd24e04f Ats报警信息中增加报警信息处理方式;支持多点登录;仿真自动销毁时长改为30分钟;计划车越站时更新离站信息; 2023-04-26 16:15:18 +08:00
weizhihong f9b8d0f901 【地图客户端列表】 2023-04-26 16:07:30 +08:00
tiger_zhou c209942286 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-26 15:16:04 +08:00
weizhihong e19e4480bd 【添加成员覆盖BUG修复】【会话私聊接口】 2023-04-26 14:32:59 +08:00
tiger_zhou 10aadf7e93 列车图例显示位置调整 2023-04-26 11:11:23 +08:00
tiger_zhou b3b749ca80 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-26 11:03:23 +08:00
tiger_zhou 5d57a1a57b 列车图例显示位置调整 2023-04-26 11:01:43 +08:00
weizhihong ab6dfab00b 【实训ID类型修改】 2023-04-25 16:45:34 +08:00
weizhihong 1808395ba2 【大铁运行方向多余代码删除】 2023-04-25 16:27:18 +08:00
weizhihong 5b4e99fd82 【修改操作名称】 2023-04-25 11:19:44 +08:00
joylink_zhangsai ceada5f729 Merge remote-tracking branch 'origin/test' into test 2023-04-25 10:59:32 +08:00
joylink_zhangsai 70d99faa59 修改NCC报警信息;增加报警提示信息数据管理接口(暂时不用) 2023-04-25 10:59:20 +08:00
tiger_zhou 80f42f30f8 列车图例显示位置调整 2023-04-25 10:33:58 +08:00
tiger_zhou 7f003ec816 列车图例显示位置调整 2023-04-24 15:25:22 +08:00
tiger_zhou 786a56b8d1 列车图例显示位置调整 2023-04-24 14:04:27 +08:00
tiger_zhou 590bb3181f 列车图例显示位置调整 2023-04-24 10:25:21 +08:00
weizhihong 221200cfcd 【剧本保存会话群组草稿信息】 2023-04-23 18:14:13 +08:00
tiger_zhou f861256107 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-23 18:04:39 +08:00
tiger_zhou 5fb422d3d0 列车图例显示位置 2023-04-23 18:04:14 +08:00
weizhihong 3e3c977329 【增加NCC调度员角色】 2023-04-23 16:48:31 +08:00
weizhihong d9fbac8dd8 【仿真创建群组接口增加群头像信息】 2023-04-23 15:58:43 +08:00
weizhihong d2f271fa4e 【删除无效的包引入】 2023-04-23 09:34:32 +08:00
weizhihong a9559e2455 【批量处理机器人已读操作】 2023-04-21 17:50:17 +08:00
weizhihong a26d883e99 【群组消息大小写问题,人员进组时名字获取】 2023-04-21 10:41:00 +08:00
weizhihong e16437b347 【调整群组事件处理结构】 2023-04-21 10:18:08 +08:00
tiger_zhou e83d5dfae6 列车图例显示位置 2023-04-20 17:42:05 +08:00
weizhihong 77ee7005f1 【先取消群组语音识别】 2023-04-20 16:09:30 +08:00
tiger_zhou 90d6a1200a Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-20 14:13:22 +08:00
tiger_zhou d6ae7d4acf 列车图例显示位置 2023-04-20 14:12:29 +08:00
weizhihong 07aa27bd4e 【会话回复逻辑人家机器人消息不做回复操作】 2023-04-20 09:58:03 +08:00
weizhihong 550b85b8ea 【处理发送消息BUG】 2023-04-19 17:59:42 +08:00
weizhihong f8f7cc03df 【修改歧义参数名】 2023-04-19 17:50:08 +08:00
weizhihong 91ad315825 【增加改方按钮抬起验证】 2023-04-19 17:21:35 +08:00
tiger_zhou 3829f12f08 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-19 17:13:15 +08:00
weizhihong dc68b2daeb 【用户群组多余操作接口、表删除】 2023-04-19 16:53:37 +08:00
tiger_zhou d87fb8479a Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy
 Conflicts:
	src/main/java/club/joylink/rtss/simulation/cbtc/work/MetroSimulationWorkServiceImpl.java
2023-04-19 16:15:38 +08:00
tiger_zhou 734b0bc6a9 列车图例显示位置 2023-04-19 16:14:01 +08:00
joylink_zhangsai 56c5c6b3d3 Merge remote-tracking branch 'origin/test' into test 2023-04-19 13:40:23 +08:00
joylink_zhangsai 6045cb3c2b 增加NCC绘图数据 2023-04-19 13:40:00 +08:00
weizhihong c499eb0ec3 【修改会话保存结构】 2023-04-19 11:29:19 +08:00
weizhihong a0ff4e6962 【会话组结构调整】 2023-04-19 09:28:03 +08:00
joylink_zhangsai 720154f53a NCC列车延误报警逻辑修改;修改列车最大制动力计算逻辑 2023-04-18 18:05:24 +08:00
joylink_zhangsai d354ed9fd7 Merge remote-tracking branch 'origin/test' into test 2023-04-18 18:04:12 +08:00
weizhihong 5359bf1c27 【修改群组BUG】 2023-04-18 16:33:24 +08:00
joylink_zhangsai 4a647ffb84 Merge remote-tracking branch 'origin/test' into test 2023-04-18 15:08:25 +08:00
tiger_zhou 220d47b1a9 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-18 15:03:11 +08:00
weizhihong 04ab5e0aef 【增加群组头像字段】 2023-04-18 14:31:41 +08:00
tiger_zhou a51a09c23b Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy 2023-04-18 13:10:42 +08:00
weizhihong c02fa14d31 【修改语音识别成员解析逻辑】 2023-04-18 11:31:47 +08:00
joylink_zhangsai 57eaa241bb NCC列车延误报警 2023-04-18 09:46:53 +08:00
weizhihong 0dddb9b4e8 【语音识别与群组会话事件添加】 2023-04-17 18:24:00 +08:00
tiger_zhou 6ca90b9b0d 修改ctc出入口未关联车站的问题 2023-04-17 17:45:07 +08:00
weizhihong 1eb4e2c6cf 【群组发送消息】 2023-04-17 16:58:12 +08:00
weizhihong c88ae2b17b 【仿真会话群组通知消息事件处理】 2023-04-17 16:48:29 +08:00
weizhihong d83de6f4bd 【会话群组消息通知事件】 2023-04-17 14:03:23 +08:00
weizhihong ad2900926e Merge branch 'test-training2' into test 2023-04-17 09:45:11 +08:00
weizhihong 8fd00384d4 【用户组仿真操作】 2023-04-17 09:43:11 +08:00
joylink_zhangsai 598e5e2491 Merge remote-tracking branch 'origin/test-training2' into test 2023-04-14 18:36:42 +08:00
joylink_zhangsai b90345620a 清除报错 2023-04-14 18:27:11 +08:00
tiger_zhou 377d3d989f 数据配置 2023-04-14 17:16:13 +08:00
tiger_zhou cfe6eb91e0 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-14 17:04:04 +08:00
tiger_zhou 4cf212a5a6 语音配置 2023-04-14 17:03:50 +08:00
weizhihong 661c682d85 【增加群组会话service】 2023-04-14 16:45:01 +08:00
weizhihong 0d1f5bf56b 【群组会话实体,仿真获取群组接口】 2023-04-14 16:25:33 +08:00
tiger_zhou 3580f135a0 Merge remote-tracking branch 'origin/test-training2' into test 2023-04-14 15:51:48 +08:00
tiger_zhou c3b161d9ed 共享数据的显示及考试 2023-04-14 15:29:00 +08:00
tiger_zhou 4ee7f99e64 共享数据的显示及考试 2023-04-14 14:30:16 +08:00
tiger_zhou 40069c5354 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-14 14:07:45 +08:00
tiger_zhou 972611128b 共享数据的显示及考试 2023-04-14 14:06:08 +08:00
tiger_zhou 16ff18e738 共享数据的显示及考试 2023-04-14 13:49:41 +08:00
weizhihong 5a0e1051fb 【会话群组基础信息CRUD】 2023-04-14 11:28:50 +08:00
weizhihong 81cfda9d20 【生成实训删除组织筛选】 2023-04-13 18:28:16 +08:00
weizhihong 2de8ff955b 【单操实训共享筛选】 2023-04-13 17:52:29 +08:00
weizhihong f33ac9c2c4 【发布单操实训共享字段添加】 2023-04-13 17:39:53 +08:00
tiger_zhou 593504950d 调整 教学管理-》实训管理查询需要根据orgid 过滤,考试管理实训数量过滤根据orgid 2023-04-13 17:34:52 +08:00
tiger_zhou bd2b96ed6d 调整 教学管理-》实训管理查询需要根据orgid 过滤,考试管理实训数量过滤根据orgid 2023-04-13 17:18:01 +08:00
weizhihong 997a1eac71 【修改生成实训时,对应的项目信息】 2023-04-13 14:49:17 +08:00
weizhihong a66023a068 【修改项目组织时,增加修改已发布生成的实训组织信息】
【检验项目配置编码逻辑修改】
2023-04-12 18:55:18 +08:00
weizhihong 4d5b5ea6c1 【参数配置时增加定值设置】 2023-04-12 15:54:41 +08:00
tiger_zhou 503563ad05 用户实训数据管理/用户考试管理需要添加根据手机号或者用户ID查询 2023-04-12 13:32:39 +08:00
tiger_zhou aea8007a60 调整 2023-04-12 11:17:01 +08:00
tiger_zhou 91985fd241 调整 2023-04-12 10:49:46 +08:00
tiger_zhou 851b259f81 修改添加指令操作的参数类型 2023-04-11 17:53:57 +08:00
tiger_zhou 1ef8a6e41e 修改根据已知数据获取未知数据的问题 2023-04-11 16:32:06 +08:00
weizhihong ca6870ae17 【人员匹配索引修改】 2023-04-11 14:50:22 +08:00
weizhihong dc461b9fce 【修改字符串截取BUG】 2023-04-11 14:12:34 +08:00
weizhihong f38c3bd1ba 【修改语音识别字符匹配结束位置索引】 2023-04-11 14:00:43 +08:00
weizhihong 83c5d6e644 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2023-04-11 13:39:16 +08:00
weizhihong 4c0f6cae44 【删除多余注释、多余引入】 2023-04-11 13:39:09 +08:00
tiger_zhou 3fa0549d72 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-04-11 13:25:37 +08:00
tiger_zhou 7382b9af0b 数据管理 2023-04-11 13:24:56 +08:00
weizhihong f750e8fd9d 【语音识别拼音处理逻辑修改】
【根据语音识别Group索引获取原位置字符串】
2023-04-11 13:24:21 +08:00
tiger_zhou cdd12fd1b8 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/services/voice/discriminate/OperateParseServiceImpl.java
	src/main/java/club/joylink/rtss/simulation/cbtc/discriminate/ExtractRule.java
2023-04-11 13:20:37 +08:00
tiger_zhou 7842e48bc8 数据管理 2023-04-11 13:17:06 +08:00
weizhihong 2890997cdd 【获取解析参数时,索引对应】 2023-04-11 10:42:05 +08:00
weizhihong d967a3c80f 【语音识别处理纠正后的信息】 2023-04-11 10:36:31 +08:00
weizhihong 621cd8befa 【语音识别逻辑修改】 2023-04-10 17:13:16 +08:00
tiger_zhou 53fd77af5c 数据管理 2023-04-10 15:34:42 +08:00
weizhihong f81c160b21 【测试方法】 2023-04-10 15:04:13 +08:00
weizhihong cf592fe9ff Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2023-04-10 15:03:55 +08:00
weizhihong 5ba922c568 【操作指令执行测试类,成员匹配BUG】 2023-04-10 15:03:50 +08:00
tiger_zhou c46b4fd97c 合并 2023-04-10 14:10:53 +08:00
tiger_zhou c7e13aebe9 Merge remote-tracking branch 'origin/test-training2' into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/discriminate/ExtractRule.java
2023-04-10 13:52:29 +08:00
tiger_zhou 14da291331 语音指令 2023-04-10 13:50:08 +08:00
weizhihong 1748f7c42d 【实现简单的提取规则(未对入参做校准处理)】 2023-04-10 13:42:57 +08:00
tiger_zhou 0eda6a435a Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/util/PinYinUtil.java
2023-04-10 13:06:01 +08:00
weizhihong d3bb96d95e 【拼音处理】 2023-04-10 10:51:40 +08:00
weizhihong 35b1287875 【修改参数正则解析逻辑】 2023-04-10 10:25:00 +08:00
weizhihong 26719b4685 【修改语音指令参数的解析逻辑】 2023-04-10 10:11:28 +08:00
tiger_zhou 600f4ebe04 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-07 18:09:59 +08:00
weizhihong e31facba91 【调整语音指令实体参数】 2023-04-07 17:51:18 +08:00
tiger_zhou abde6c0e17 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-07 16:59:05 +08:00
weizhihong 264306b0dc 【语音识别代码调整 v0.0.1】 2023-04-07 16:58:00 +08:00
joylink_zhangsai 6ac172edbd 删除一些无用的东西 2023-04-07 13:24:57 +08:00
tiger_zhou 96444da8d8 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-07 13:16:16 +08:00
tiger_zhou 723de7ce28 还原 语音指令 2023-04-07 13:16:01 +08:00
weizhihong 81f89a6aec 【语音识别处理逻辑流程(初稿)】 2023-04-07 13:06:47 +08:00
tiger_zhou db606a2745 Merge branch 'test-training2' into test 2023-04-06 18:09:48 +08:00
tiger_zhou e63cfbf5ad Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-04 16:38:19 +08:00
weizhihong 78e8f84382 【修复地铁乘客乘降状态不发车BUG】 2023-04-03 15:27:30 +08:00
tiger_zhou e25cfad883 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-04-03 13:36:47 +08:00
tiger_zhou d141fd8e52 语音指令 2023-04-03 13:36:36 +08:00
weizhihong 04d46be14c 【修改修改预选模式、机器人驾驶代码】 2023-03-31 15:10:19 +08:00
tiger_zhou f6dd8e7a42 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-03-31 14:50:46 +08:00
tiger_zhou df93f3d0ce 修改问题:
综合演练中,非管理员的成员主动退出后(直接叉掉),显示成员掉线,再次输入仿真号进不去综合演练,进来需要管理员踢出去才能进来
2023-03-31 13:34:37 +08:00
tiger_zhou 24da4a2e94 语音指令 2023-03-31 11:21:02 +08:00
tiger_zhou d5a43c0af9 语音指令 2023-03-31 10:13:07 +08:00
tiger_zhou a23bf72997 语音指令 2023-03-29 17:40:02 +08:00
tiger_zhou 2445287f8c 语音指令 2023-03-28 15:43:03 +08:00
joylink_zhangsai 01f7105f02 增加:导入学生时创建的账号增加orgId参数 2023-03-28 11:08:31 +08:00
joylink_zhangsai 8ad4877995 修改say生成的PlcGateway配置 2023-03-25 16:42:04 +08:00
joylink_zhangsai 8f7bec9854 透传服务bug修改-by 卫 2023-03-20 14:09:05 +08:00
joylink_zhangsai a0c94047f6 Merge remote-tracking branch 'origin/test-training2' into test 2023-03-20 11:41:21 +08:00
weizhihong 246bfbe92c 【AFC透传服务协议编码修改】 2023-03-20 11:39:01 +08:00
joylink_zhangsai 0a9d878583 Merge remote-tracking branch 'origin/test-training2' into test 2023-03-20 11:11:06 +08:00
weizhihong 273a33dea1 【修改透传协议解析配置】 2023-03-20 11:10:31 +08:00
joylink_zhangsai 5a9b7ea436 Merge remote-tracking branch 'origin/test-training2' into test 2023-03-20 10:15:59 +08:00
weizhihong 60fca3df21 【还原modbus服务响应】 2023-03-20 10:14:28 +08:00
tiger_zhou 05a8045679 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-03-13 09:17:37 +08:00
joylink_zhangsai a571e1b897 修改苏安院实体设备逻辑 2023-03-12 19:36:30 +08:00
joylink_zhangsai c2f3ddc9a0 Merge remote-tracking branch 'origin/test' into test 2023-03-11 22:21:33 +08:00
joylink_zhangsai d4fc3ebbe0 修改苏安院实体设备逻辑 2023-03-11 22:21:21 +08:00
joylink_zhangsai 7c54f0976b 修改苏安院实体设备逻辑 2023-03-11 21:50:28 +08:00
joylink_zhangsai e72837d793 修改苏安院实体设备逻辑 2023-03-11 21:46:07 +08:00
joylink_zhangsai b25bf1d0ee 修改苏安院实体设备逻辑 2023-03-11 21:37:13 +08:00
joylink_zhangsai 587a7bc7cf 修改苏安院实体设备逻辑 2023-03-11 17:55:14 +08:00
joylink_zhangsai f8c3c530ad 修改配置 2023-03-10 09:51:03 +08:00
tiger_zhou 2aea562afc Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-03-08 10:27:10 +08:00
weizhihong 643b63f287 【服务写数据无效情况】 2023-03-08 10:23:25 +08:00
tiger_zhou 152e144f96 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/simulation/cbtc/device/real/afctransfer/AfcTransferServer.java
2023-03-08 09:57:43 +08:00
tiger_zhou c6256b9d13 log 信息 2023-03-08 09:57:10 +08:00
weizhihong 6bf292df47 【AFC 网关解析逻辑处理(网关部署成功后删除)】 2023-03-08 09:45:20 +08:00
walker c1a36a0503 添加AFC modbus消息透传tcp服务 2023-03-06 17:56:13 +08:00
joylink_zhangsai f03143740f Merge remote-tracking branch 'origin/master' into test-training2 2023-03-01 16:54:16 +08:00
joylink_zhangsai cbfe1fbf87 修改仿真设备数据构建bug 2023-03-01 15:58:21 +08:00
weizhihong 4e242417aa 【切换预选模式修改、增加开启ATO操作、大铁列车托管修改行驶至前方站与进路闭塞行车】 2023-02-23 13:27:50 +08:00
joylink_zhangsai c4ee87eccc Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-22 16:55:46 +08:00
joylink_zhangsai 2e27c0410f 修改组织结构树中的用户名称为 昵称(名称) 2023-02-22 16:55:20 +08:00
weizhihong 3b6f476732 【MINIO文件上传问题修改】【列车模式转换死循环问题】 2023-02-22 14:11:01 +08:00
weizhihong d215284d1e 【MINIO文件上传时,增加版本id,需要在MINIO服务器开启版本配置】 2023-02-21 17:32:32 +08:00
joylink_zhangsai 0e8b746f8a 增/改线路功能参数时,将value为空字符串的item移除 2023-02-21 17:17:26 +08:00
weizhihong 37418e84a1 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2023-02-21 15:55:35 +08:00
weizhihong 5a27cc414e 【上传MINIO文件时,逻辑删除原有旧数据】 2023-02-21 15:55:29 +08:00
joylink_zhangsai 1692a20fbd 增加一个跨线路修改线路功能数据的接口 2023-02-21 15:07:37 +08:00
joylink_zhangsai e7b817c2d4 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-20 17:26:46 +08:00
joylink_zhangsai b36376863e 小改动 2023-02-20 17:26:27 +08:00
joylink_zhangsai a5366241ef 增加地图功能模板管理及[使用模板生成地图功能]的功能 2023-02-20 17:25:40 +08:00
weizhihong 5d722f43d9 【修改为单角色直接同意,多角色则一直等待】 2023-02-20 15:59:55 +08:00
weizhihong 2719d30267 【将自动模式转换自动审批延迟10s同意】 2023-02-20 15:46:58 +08:00
weizhihong b95df03c65 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2023-02-20 15:05:41 +08:00
weizhihong b5c6f7a9a2 【综合演练模式转换不再做自动同意操作】 2023-02-20 15:05:35 +08:00
joylink_zhangsai cfd13f863b 机器人驾驶bug修改 2023-02-20 14:46:35 +08:00
tiger_zhou 8728d9ffa0 Merge branch 'test-training2' 2023-02-20 09:27:44 +08:00
tiger_zhou eb81ea59dc 用户登录不显示个人权限 2023-02-20 09:25:48 +08:00
tiger_zhou 94c07b26dc Merge branch 'test-training2' 2023-02-17 18:42:55 +08:00
tiger_zhou 75a1fa43cc 权限时间调整 2023-02-17 18:42:02 +08:00
tiger_zhou 9b12e5adcb Merge remote-tracking branch 'origin/test-training2' 2023-02-17 18:19:03 +08:00
tiger_zhou f074c4db94 权限时间调整 2023-02-17 18:16:59 +08:00
weizhihong 5d3a8905c2 【单操实训增加组织过滤】【项目过滤无效项目】 2023-02-17 17:42:25 +08:00
weizhihong 977834cd4e 【分散自律操作模式切换BUG处理】 2023-02-17 15:34:47 +08:00
weizhihong eac12826d1 【分散自律同意、不同意逻辑处理】 2023-02-17 14:21:52 +08:00
weizhihong aad3a16d5b 【车站控制操作模式BUG处理】 2023-02-17 09:56:45 +08:00
joylink_zhangsai 9f28c2f8ee Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-16 17:30:21 +08:00
joylink_zhangsai ae801cb061 修改机器人驾驶代码使逻辑更清晰,并解决地铁线路站台轨不停车的问题 2023-02-16 17:30:00 +08:00
weizhihong 3cc442b0fa 【车站模式申请消息返回格式修改】 2023-02-16 14:10:18 +08:00
weizhihong 8cfa715e37 【修改实训运行逻辑:只有在场景情况下判断等待时间】 2023-02-16 13:33:14 +08:00
joylink_zhangsai 233b1b1ff2 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-16 11:13:27 +08:00
joylink_zhangsai 33dc36a6af 修改地图功能默认描述;增加批量修改地图功能描述接口 2023-02-16 11:12:03 +08:00
weizhihong e748120a8d 【实训执行逻辑、更新步骤参数修改】 2023-02-15 18:13:53 +08:00
weizhihong 6689da99ee 【区故解延时解锁,增加进路锁闭条件】 2023-02-15 17:09:43 +08:00
joylink_zhangsai cf5b5e8919 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-15 17:08:02 +08:00
tiger_zhou 963d0e0710 考试调整 2023-02-15 16:57:43 +08:00
joylink_zhangsai b409263cf8 修改ATS界面开关门操作,使用更直接的逻辑 2023-02-15 15:26:47 +08:00
joylink_zhangsai a45f0a3295 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-15 14:11:01 +08:00
joylink_zhangsai 7bc7fdeaee 地图功能增加bgUrl返回 2023-02-15 14:10:44 +08:00
tiger_zhou db0ba127ed 试卷场景分数调整 2023-02-15 13:43:16 +08:00
weizhihong be8c515eea 【车站操作模式转换逻辑调整】 2023-02-15 12:55:44 +08:00
joylink_zhangsai 55c93799c2 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-15 11:19:36 +08:00
joylink_zhangsai 2f162fdaaa 地图功能增加背景图片url;修改ATS界面开关门操作以确保成功 2023-02-15 11:19:25 +08:00
weizhihong ddb5f69705 【车站模式操作支持多车站切换】 2023-02-15 11:07:22 +08:00
weizhihong 2d59c54f87 【模式申请增加超过两分钟直接驳回处理】 2023-02-15 10:30:54 +08:00
joylink_zhangsai 5aec3edb8d Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-15 09:54:43 +08:00
joylink_zhangsai a3846f459b 修改列车停站后无法开站台门bug 2023-02-15 09:54:30 +08:00
tiger_zhou 6a0a8477f2 应急ws调整 2023-02-14 17:43:32 +08:00
joylink_zhangsai 6d37169068 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-14 17:33:44 +08:00
joylink_zhangsai 8463e2ff57 ATS的开关门操作增加修改门选择逻辑 2023-02-14 17:33:32 +08:00
tiger_zhou 5cb582f23c 应急ws调整 2023-02-14 14:19:14 +08:00
tiger_zhou 007e479755 应急ws调整 2023-02-14 13:34:06 +08:00
tiger_zhou a0419ab218 应急ws调整 2023-02-14 13:25:38 +08:00
tiger_zhou 8eaf0206d0 考试调整,应急ws调整 2023-02-14 11:29:28 +08:00
joylink_zhangsai 85e678e90f Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-14 11:10:09 +08:00
joylink_zhangsai 4618aa502e 修改测试环境minio配置 2023-02-14 11:09:21 +08:00
weizhihong 47956c3a79 【字符串修改成枚举】 2023-02-14 10:44:12 +08:00
weizhihong 5bdad2aaa7 【增加保存背景时车站的属性】 2023-02-13 17:48:04 +08:00
tiger_zhou e00957e92d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-02-13 16:59:13 +08:00
tiger_zhou 1f6d31649e 应急调度速度显示调整 2023-02-13 16:58:54 +08:00
tiger_zhou 8a50f9a380 应急调度速度显示调整 2023-02-13 16:42:38 +08:00
joylink_zhangsai 7ab99bea9c Merge branch 'test' into test-training2 2023-02-13 15:12:31 +08:00
tiger_zhou 9f8b47147d 修改用户登录前端有时无法获取orgId,
考试调整
2023-02-13 14:36:08 +08:00
joylink_zhangsai a52faffc4f 处理报错 2023-02-13 14:31:07 +08:00
joylink_zhangsai 3aeeba78cf Merge remote-tracking branch 'origin/test' into test 2023-02-13 11:22:29 +08:00
joylink_zhangsai 12ad180057 Merge branch 'test-training2' into test 2023-02-13 10:11:59 +08:00
weizhihong 382d28ca31 【实训道岔定反、单锁解、转动联动验证处理】 2023-02-10 18:26:44 +08:00
joylink_zhangsai 0a817bdb82 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-10 17:09:57 +08:00
joylink_zhangsai 47a9e54e16 仿真基础信息增加联动道岔数据 2023-02-10 17:09:34 +08:00
weizhihong 6791174f2b 【车站分散自律操作模式方式切换处理】【簿册背景保存】 2023-02-10 16:50:13 +08:00
tiger_zhou 4dc1fd6b09 场景考试 2023-02-10 16:06:14 +08:00
tiger_zhou 8b491a0233 场景考试 2023-02-10 15:45:28 +08:00
joylink_zhangsai df4ea3ed59 修改大铁加载列车条件 2023-02-10 14:00:07 +08:00
joylink_zhangsai f668c04919 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-10 11:16:19 +08:00
joylink_zhangsai 265bb3284c 因三维无法维护,故决定将司机操作在ATS界面执行,所以需要[司机不是机器人则操作无效]此类限制;增加单元测试 2023-02-10 11:16:04 +08:00
weizhihong e3d0169bbe 【增加电力工务角色】 2023-02-09 17:36:04 +08:00
weizhihong 4d5bc197fd 【实训修改为场景类型时,清空地图定位】 2023-02-09 16:22:39 +08:00
weizhihong e9c3b3fd57 【车站功能选择切换操作】 2023-02-09 15:21:58 +08:00
weizhihong 5dd0fff5cc 【实训短时间多操作触发处理,实训时间控制】 2023-02-09 14:14:26 +08:00
tiger_zhou 52477be1a1 单操考试调整 2023-02-08 15:58:44 +08:00
tiger_zhou 899c5e2e0f Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-02-08 15:26:03 +08:00
tiger_zhou 661d09ea3f 单操考试调整 2023-02-08 15:16:10 +08:00
joylink_zhangsai ecdb7b9b9f Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-08 15:11:10 +08:00
joylink_zhangsai a33c94a477 修改大铁列车提速后停不准的问题 2023-02-08 15:10:54 +08:00
tiger_zhou 1a1d67bc5c 仿真鉴权数量调整 2023-02-08 14:43:15 +08:00
joylink_zhangsai b13b2e6cbb Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-08 14:10:20 +08:00
joylink_zhangsai 9a11d2839a PSL、IBP操作接口改为仿真指令;班级添加学生增加通过手机号关联功能;大铁列车速度上限改为320km/h 2023-02-08 14:10:09 +08:00
weizhihong 08e68a515c 【引导按钮增加属性 direction】 2023-02-08 14:07:01 +08:00
weizhihong 1fc13f4eb3 【CTC办理进路增加分路不良卡控】 2023-02-08 13:41:24 +08:00
tiger_zhou 6a9a3f9a1b 仿真鉴权数量调整 2023-02-08 13:15:00 +08:00
weizhihong 1cf48486b1 【单操实训结束接口修改】【CTC分路不良修改】 2023-02-08 10:36:29 +08:00
tiger_zhou 3ecdeac6c3 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-02-07 18:07:24 +08:00
tiger_zhou c738dcc6c5 仿真鉴权调整 2023-02-07 18:07:09 +08:00
weizhihong 2ffedfc0a5 【CTC 岔前、定位、反位区段不良操作】 2023-02-07 17:53:52 +08:00
tiger_zhou 1b3fee07af 创建仿真调整 2023-02-07 17:26:03 +08:00
tiger_zhou 296e1fb4f8 仿真鉴权支持数量,考试对单操修改 2023-02-07 16:49:05 +08:00
weizhihong fb6b81c56f 【生成实训创建仿真时,取消权限检查】 2023-02-07 14:52:50 +08:00
weizhihong efb8401693 【簿册背景实训序列化处理】【办理引导进路半闭塞时信号报错】 2023-02-07 14:07:58 +08:00
weizhihong 64a3b33c6c 【处理辅助状态信号机不开灯状态(大铁)】 2023-02-06 09:33:56 +08:00
weizhihong 029e536c81 【大铁进路开信号逻辑修改】 2023-02-03 16:08:30 +08:00
joylink_zhangsai 6e8c08aec7 修改大铁生成进路逻辑 2023-02-03 15:45:34 +08:00
joylink_zhangsai d1635f0c4e 上次提交的补充 2023-02-03 13:46:03 +08:00
joylink_zhangsai e8ccdef987 修改[大铁进路解锁时,有些锁定道岔未解锁]问题 2023-02-03 13:35:17 +08:00
weizhihong 7c7c87cc5e 【大铁线路根据车次查询列车编号】 2023-02-02 16:15:19 +08:00
weizhihong 581def3bb3 【大铁出入口判断进路开放逻辑修改】 2023-02-02 14:05:24 +08:00
weizhihong a3d245346f 【防洪安全上岗签到表添加接口】 2023-02-02 10:16:49 +08:00
joylink_zhangsai fff58f8ec4 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-02-01 17:51:11 +08:00
joylink_zhangsai 7e85189deb 生成的【调度台】线路功能不再具有成员管理菜单 2023-02-01 17:50:56 +08:00
weizhihong 5d08b5bd1e 【行车设备施工登记簿、交接班记录簿(区段站、中间站、外勤助理、调车区长、调度员、车号长)录入查询】 2023-02-01 14:46:40 +08:00
weizhihong 86f8820453 【行车设备施工登记簿信息】 2023-01-31 18:02:36 +08:00
tiger_zhou b4e785284f 试卷生成理论题调整 2023-01-31 14:13:44 +08:00
tiger_zhou 712da01cc3 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-01-31 14:13:19 +08:00
tiger_zhou 68bbde3029 考试规则数量,标签 针对实训线路过滤调整 2023-01-31 10:57:44 +08:00
weizhihong ce21de71ba 【非正常情况接发列车关键环节控制表信息保存、更新、查询操作】 2023-01-31 10:42:15 +08:00
tiger_zhou fc5b8721b7 考试生成试卷,考试规则数量,标签 针对实训线路过滤 2023-01-31 10:11:45 +08:00
tiger_zhou 40875c44db Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-01-31 10:08:18 +08:00
joylink_zhangsai 5337333402 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-30 17:42:15 +08:00
joylink_zhangsai 8d9e571566 修改大铁调车进路生成逻辑 2023-01-30 17:42:01 +08:00
tiger_zhou 9c360f0788 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-01-30 17:21:55 +08:00
tiger_zhou a5691df153 调整考试实训类型类型属性无法找到问题 2023-01-30 11:11:23 +08:00
weizhihong 6f9d9bf5b7 【修改出入口卡控默认值】 2023-01-30 09:40:01 +08:00
joylink_zhangsai 2a9d51d629 Merge remote-tracking branch 'origin/master' 2023-01-29 15:39:03 +08:00
weizhihong 39d7bd76bf 【实训更新步骤是用户角色列表自然排序】 2023-01-18 14:44:01 +08:00
weizhihong 27adab3586 【大铁列车到点上线逻辑修改】 2023-01-18 10:19:36 +08:00
weizhihong 97184b1867 【大铁调度命令背景保存】 2023-01-17 16:43:57 +08:00
joylink_zhangsai a0580a6435 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-17 15:54:33 +08:00
joylink_zhangsai 94e6169138 增加仿真加载草稿运行图接口 2023-01-17 15:54:16 +08:00
weizhihong 327c883c5b 【大铁调度台重置方法】 2023-01-17 14:16:51 +08:00
joylink_zhangsai 456d0d8f1f 修改加载实训时的重置仿真接口 2023-01-17 10:21:41 +08:00
joylink_zhangsai 689ab3155a Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-16 16:09:33 +08:00
joylink_zhangsai 6857404403 地图数据增加可访问客户端集合;大铁重置仿真增加按计划行车(之前认为大铁应自动按计划行车) 2023-01-16 16:09:22 +08:00
weizhihong 929c9a1e05 【大铁实训保存背景BUG】 2023-01-16 16:00:15 +08:00
tiger_zhou 7aabe2822b training2 合并 2023-01-16 10:46:10 +08:00
tiger_zhou f85636942d Merge remote-tracking branch 'origin/test-training2' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/GroupSimulationServiceImpl.java
#	src/main/resources/application.yml
2023-01-16 10:33:52 +08:00
tiger_zhou 10b1a9f125 权限代码调整 2023-01-13 18:17:23 +08:00
tiger_zhou 8d07023419 权限代码调整 2023-01-13 17:47:47 +08:00
tiger_zhou 3a859527d8 权限分发支持 组织,项目,用户创建仿真对组织,项目权限的验证 2023-01-13 17:32:49 +08:00
tiger_zhou 8c10192b57 三方登录调整 2023-01-13 10:36:16 +08:00
tiger_zhou 731bd470e3 支持三方账号权限验证 2023-01-12 18:33:17 +08:00
tiger_zhou f4acd77850 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-01-12 18:32:49 +08:00
tiger_zhou b76aaaac77 对项目权限不验证验证配置 2023-01-11 18:02:14 +08:00
weizhihong e308fb1067 【调整实训设备数目】 2023-01-11 17:59:16 +08:00
tiger_zhou d88ffb7437 添加 对jjjlm,teaching项目权限的过滤取消 2023-01-11 17:38:07 +08:00
joylink_zhangsai 46c5fa05f4 修改试卷数据处理接口 2023-01-11 17:14:31 +08:00
joylink_zhangsai 650625c19f Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-11 16:17:46 +08:00
joylink_zhangsai 4dce82edb8 修改删减组织关联的项目时会删除所有关联关系的bug 2023-01-11 16:17:32 +08:00
tiger_zhou 31c46f8832 实训用户管理,数据管理可分页 2023-01-11 16:09:43 +08:00
weizhihong 2817af5adb 【修改实训生成设置】 2023-01-11 16:04:08 +08:00
tiger_zhou a4eb84d63a 武汉8修改默认角色 2023-01-11 14:38:17 +08:00
joylink_zhangsai 8fb8671300 修改数据处理接口;修改大铁地图功能分组 2023-01-11 10:47:12 +08:00
joylink_zhangsai 90238254ee 修改地图功能默认描述 2023-01-10 18:16:39 +08:00
joylink_zhangsai aa221c9ba2 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-10 17:44:12 +08:00
weizhihong 9cf4039365 【实训反序列化失败捕获】 2023-01-10 17:24:37 +08:00
tiger_zhou 7953f51000 修改权限数据同步结果返回的数据 2023-01-10 17:23:44 +08:00
tiger_zhou 47bb0696a5 权限同步时,清除所有数据 2023-01-10 16:51:28 +08:00
joylink_zhangsai 99b519bf61 修改创建地图功能接口以支持创建时分组 2023-01-10 16:42:57 +08:00
joylink_zhangsai c79221112f 增加地图功能分组接口 2023-01-10 15:42:57 +08:00
weizhihong 050e653cd4 【指定地图ID、规则ID生成实训】 2023-01-10 14:10:07 +08:00
weizhihong 5900b906ca Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2023-01-10 11:13:08 +08:00
weizhihong 24a0a5f0d2 【根据修改的实训规则生成实训接口】 2023-01-10 11:13:03 +08:00
joylink_zhangsai 96a3b9f40e Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-10 09:18:05 +08:00
joylink_zhangsai cb02486a7b 修改一键数据处理接口 2023-01-10 09:17:53 +08:00
weizhihong 4d9343142a 【实训生成属性枚举】 2023-01-09 18:00:50 +08:00
weizhihong 5e207a40f2 【处理实训生成rule中操作参数val】 2023-01-09 16:43:41 +08:00
tiger_zhou fe68e825a5 修改cgy 不需要权限验证,单操查询过滤标签调整 2023-01-09 15:57:26 +08:00
joylink_zhangsai b1195c02ed Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-09 15:03:54 +08:00
joylink_zhangsai 70a95f0813 修改一键数据处理接口 2023-01-09 15:03:39 +08:00
weizhihong 9ce414e3ee 【实训增加控制模式车站信号机筛选】 2023-01-09 13:15:06 +08:00
weizhihong 0cb9f412f2 【实训增加验证参数val】 2023-01-09 10:58:22 +08:00
weizhihong 70b3bbd11e 【根据线路列表生成实训】 2023-01-09 10:32:51 +08:00
weizhihong 643b931bd0 【生成实训打印错误日志】【调整实训设备列表筛选】 2023-01-09 09:50:10 +08:00
weizhihong a1ca799520 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2023-01-06 18:18:07 +08:00
weizhihong 9329c973c6 【根据地图列表生成实训】【生成全部地图实训】 2023-01-06 18:17:42 +08:00
joylink_zhangsai bb4abc24e1 增加一键数据处理接口;修改考试数据处理接口 2023-01-06 18:15:38 +08:00
weizhihong 2e24602bc0 【websocket接收仿真状态BUG】 2023-01-06 14:22:16 +08:00
weizhihong 8ed45050f2 【实训站台关闭背景丢失BUG修复】 2023-01-06 13:40:30 +08:00
weizhihong cd33f4b8df 【websocket消息解析仿真ID逻辑修改】 2023-01-05 17:03:09 +08:00
weizhihong b729f33ce8 【实训道岔列表】 2023-01-05 09:15:31 +08:00
tiger_zhou 8484acceb0 实训单操 添加接口 manage/infos,不然与仿真/infos 接口冲突 2023-01-04 16:45:33 +08:00
weizhihong 258b8199e2 【实训修改背景时,同步修改仿真中实训信息】 2023-01-04 14:33:33 +08:00
weizhihong 3cb7afea89 【场景实训运行时间控制】 2023-01-03 17:46:41 +08:00
weizhihong e32288027b 【实训背景列车反序列化逻辑修改】 2023-01-03 16:11:04 +08:00
joylink_zhangsai 6385e89ce4 修改准备发车时间以处理国赛线路过早发车导致折返状态未更新bug 2023-01-03 16:05:55 +08:00
tiger_zhou e4c7ac5eea Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2023-01-03 14:45:29 +08:00
tiger_zhou 6e47a2920f 实训查询支持标签的模糊匹配 2023-01-03 14:45:14 +08:00
joylink_zhangsai c1facf84f6 Merge remote-tracking branch 'origin/test-training2' into test-training2 2023-01-03 14:08:33 +08:00
joylink_zhangsai a60db73f74 一键生成地图功能增加运行图编制 2023-01-03 14:08:18 +08:00
weizhihong 9364dc4ced 【实训控制权转换增加背景判断】 2022-12-30 16:34:31 +08:00
weizhihong 4faff6bb77 【实训场景编制时,控制权不做自动转换】 2022-12-30 16:22:37 +08:00
weizhihong daadb7ccee 【实训进路自动控背景】 2022-12-30 15:09:22 +08:00
tiger_zhou e079307e4b 创建试卷 对实训标签及数量的查询 2022-12-30 13:24:05 +08:00
joylink_zhangsai 4d58238cfa Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-29 16:33:16 +08:00
joylink_zhangsai 8d5866198d 重新修改三维订阅路径 2022-12-29 16:33:04 +08:00
weizhihong fc2ef5c481 【处理实训场景背景列车信息反序列化移动授权设备BUG】 2022-12-29 16:30:17 +08:00
weizhihong 5f7ff4b07d 【实训进路筛选】 2022-12-29 14:16:37 +08:00
weizhihong 695e48fc37 【实训宁波一人解列车进路背景修改】 2022-12-29 10:20:15 +08:00
weizhihong fd109d60de 【实训进路终端信号机信息】
【地图定位信息】
【实训转中控消息处理】
【实训设备筛选规则】
2022-12-28 17:05:58 +08:00
weizhihong a8677aa483 【站控消息Simulation_Control_Transfer_Result修改为Simulation_ApplyHandle】 2022-12-27 16:43:51 +08:00
weizhihong a77a4ecaed 【大铁车站重启时间使用仿真时间】 2022-12-27 14:23:13 +08:00
weizhihong 0d4d91d9b8 【大铁实训进路筛选】 2022-12-27 13:34:38 +08:00
weizhihong 7cac4046f3 【修改:上电操作时间使用仿真时间】 2022-12-27 11:00:26 +08:00
weizhihong a32c43c66d 【车站简写属性,道岔计轴区段筛选】 2022-12-26 15:52:34 +08:00
joylink_zhangsai 0ab30a3221 修改试卷数据处理逻辑;增加数据处理接口进白名单 2022-12-26 14:39:51 +08:00
tiger_zhou c24c1c6ac7 权限同步调整 2022-12-26 13:34:25 +08:00
joylink_zhangsai 57f6dae0b3 修改试卷数据处理逻辑;修改组织-项目关系数据处理逻辑;重新生成OrgProjectDAO 2022-12-26 11:23:32 +08:00
weizhihong 3569212e57 【修改组织路径】 2022-12-26 11:03:37 +08:00
weizhihong 8fd8ec9f4a 【实训进路筛选规则】 2022-12-26 09:25:13 +08:00
joylink_zhangsai d440e40c15 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-23 15:08:01 +08:00
joylink_zhangsai 1868fe20b6 增加缓存地图数据异常处理 2022-12-23 15:02:20 +08:00
joylink_zhangsai a1f854a91f 苏安院增加信号机和转辙机实体设备配置和逻辑 2022-12-23 10:09:48 +08:00
weizhihong 068df9d1db 【注释信号机的进路条件筛选、空指针异常解决】 2022-12-22 13:06:47 +08:00
weizhihong c2af1f6fea 【地图设备筛选规则修改、信号机车站获取修改】 2022-12-20 18:31:49 +08:00
joylink_zhangsai 2d78ed3d0d Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-20 17:18:27 +08:00
joylink_zhangsai f8db529156 增加加载实体设备逻辑;修改获取实体设备配置的设备code的方式 2022-12-20 17:18:17 +08:00
weizhihong 07ff57162e 【实训信号机设备筛选规则】 2022-12-20 14:48:14 +08:00
joylink_zhangsai 1b88089ace Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-20 14:01:54 +08:00
joylink_zhangsai cca40d0a0f 增加有”实体设备“加载项的地图功能同时只能存在一个仿真逻辑 2022-12-20 14:01:29 +08:00
weizhihong 7821b0cb31 【信号机状态背景保存】 2022-12-19 16:17:41 +08:00
joylink_zhangsai 3161a2bbbc Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-19 15:46:14 +08:00
joylink_zhangsai 15b5653083 新版仿真构建成员时使用既定的id而不是生成;当向仿真中重复添加某一账号的仿真用户时,将原来仿真用户取消扮演 2022-12-19 15:45:43 +08:00
tiger_zhou 04aee988b3 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-12-19 13:16:03 +08:00
tiger_zhou b5afbac0be 权限同步调整 2022-12-19 13:15:48 +08:00
weizhihong 6ffb3c037b 【控制模式转换结果消息返回】 2022-12-19 10:10:08 +08:00
joylink_zhangsai 0548541ff3 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-14 18:22:58 +08:00
joylink_zhangsai 67459ddad8 修改方向杆数据构建bug 2022-12-14 18:22:42 +08:00
joylink_zhangsai 374390696d 增加检查手机号和邮箱是否已注册接口 2022-12-14 17:03:41 +08:00
weizhihong 0d66226280 【车站转换后,发送转换结果】 2022-12-14 16:46:53 +08:00
joylink_zhangsai 5d0a171092 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-14 13:14:10 +08:00
joylink_zhangsai bac43f5efc 修改Dom配置字段名 2022-12-14 13:13:08 +08:00
weizhihong c86d46f062 【实训区段关闭状态背景】 2022-12-14 10:53:10 +08:00
joylink_zhangsai 57a4ce1c5c Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-14 10:21:14 +08:00
joylink_zhangsai ac14903b80 修改账号信息异常提示 2022-12-14 10:20:58 +08:00
weizhihong f74561a760 【实训道岔自动状态记录】 2022-12-14 10:09:00 +08:00
joylink_zhangsai b2be6c27db Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-13 18:21:36 +08:00
joylink_zhangsai 3f974416da 增加新注册接口 2022-12-13 18:21:21 +08:00
weizhihong 2a93d7fa6a 【生成实训中增加subtype属性】 2022-12-13 15:51:54 +08:00
weizhihong 0189a4a7fa 【实训操作属性增加subType】 2022-12-13 15:48:53 +08:00
joylink_zhangsai d609881904 增加仿真监控接口;修改向仿真中添加用户的逻辑 2022-12-13 14:51:46 +08:00
tiger_zhou 5fa3d6706b 权限同步调整 2022-12-13 14:41:34 +08:00
joylink_zhangsai 94d914e8d7 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-13 10:24:04 +08:00
joylink_zhangsai 04f7327dec 修改线路功能是否综合演练字段名 2022-12-13 10:23:46 +08:00
joylink_zhangsai 006af3bb39 修改扫码绑定组织管理员接口 2022-12-12 18:13:28 +08:00
joylink_zhangsai d36618012f 修改考试数据处理逻辑 2022-12-12 17:53:50 +08:00
weizhihong 9a8e43c1f2 【实训元素定位】 2022-12-12 17:37:39 +08:00
tiger_zhou a9aa76685e 权限同步调整 2022-12-12 16:51:29 +08:00
weizhihong 12a7cb5d4d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-12 16:14:45 +08:00
weizhihong 2021702a7d 【实训设备、定位、属性值】 2022-12-12 16:14:36 +08:00
tiger_zhou aacec609a8 权限同步调整 2022-12-12 15:54:09 +08:00
weizhihong 30ef80efa4 【实训定位问题】 2022-12-12 13:39:55 +08:00
joylink_zhangsai 63620317e7 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-12 11:11:43 +08:00
joylink_zhangsai ec7f0d79e7 修改ISCS同步屏蔽门状态逻辑以兼容无屏蔽门的情况 2022-12-12 11:11:32 +08:00
weizhihong 8060290049 【实训增加client字段,增加人工控背景】 2022-12-12 10:58:55 +08:00
xzb b9dddbc5cf iscs v2 2022-12-12 10:26:42 +08:00
xzb 896dde1898 iscs v2 2022-12-12 10:21:22 +08:00
xzb 4a1a90fb76 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-12 10:02:04 +08:00
xzb 1cb123cc96 iscs v2 2022-12-12 10:01:37 +08:00
weizhihong ebabaf133d 【实训定位修改】 2022-12-09 18:22:15 +08:00
joylink_zhangsai b4a7bef3f6 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-09 18:04:48 +08:00
joylink_zhangsai e81fa4548d 解除对Org.projectCode的使用 2022-12-09 18:04:38 +08:00
tiger_zhou d6fbd17c55 教学考试调整 2022-12-09 17:33:30 +08:00
weizhihong 68f31787e4 【生成实训的背景、设备、属性获取】 2022-12-09 17:26:41 +08:00
xzb a1c9d21e02 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-09 15:15:43 +08:00
xzb 54a85c3040 iscs v2 2022-12-09 15:15:18 +08:00
tiger_zhou e1404f92c7 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-12-09 15:13:06 +08:00
tiger_zhou f345ccae07 教学考试调整 2022-12-09 15:12:38 +08:00
xzb 4a95a12fee iscs v2 2022-12-09 13:18:30 +08:00
xzb 89d20afa7f iscs v2 2022-12-09 13:08:41 +08:00
xzb 812058e0d4 iscs v2 2022-12-09 10:01:59 +08:00
xzb 8663b12acc Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-08 17:49:29 +08:00
xzb 11b070112e iscs v2 2022-12-08 17:48:28 +08:00
xzb 6632908b24 iscs v2 2022-12-08 17:41:10 +08:00
xzb d1376b7ec2 iscs v2 2022-12-08 17:33:17 +08:00
xzb 8e3aa9ebb2 iscs v2 2022-12-08 17:32:33 +08:00
xzb a303d773cf iscs v2 2022-12-08 17:31:20 +08:00
xzb e42741d3f3 iscs v2 2022-12-08 17:00:49 +08:00
weizhihong 4a82fe3ccf 【实训设备筛选修改】 2022-12-08 16:31:02 +08:00
joylink_zhangsai 7ef02b4ce4 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-08 16:21:13 +08:00
joylink_zhangsai e875d1160d 组织接口准备换新;项目设备查询接口修改 2022-12-08 16:12:58 +08:00
xzb c601eae73f Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-08 15:44:09 +08:00
xzb 71e2b20935 iscs v2 2022-12-08 15:43:44 +08:00
weizhihong 4be71db66a Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-08 15:33:09 +08:00
weizhihong d5ff5dc681 【实训生成设备筛选】 2022-12-08 15:33:02 +08:00
xzb a3deb1b327 iscs v2 2022-12-08 15:22:54 +08:00
xzb 02d7e7522d iscs v2 2022-12-08 15:02:36 +08:00
xzb 3bfa4472b3 iscs v2 2022-12-08 14:26:44 +08:00
xzb 070dcd41ec Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-08 13:58:50 +08:00
xzb 7e85bc2001 iscs v2 2022-12-08 13:58:27 +08:00
weizhihong f2a0c89213 【实训仿真初始化修改】 2022-12-08 11:27:50 +08:00
xzb 0d19ea6db8 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-08 10:35:57 +08:00
xzb 7ae3aad5bc iscs v2 2022-12-08 10:34:43 +08:00
joylink_zhangsai be68845591 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-08 10:28:22 +08:00
weizhihong 1fbe684487 【实训生成设备筛选、背景生成逻辑修改】 2022-12-08 10:17:59 +08:00
joylink_zhangsai 6a8de64b83 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-08 09:21:42 +08:00
joylink_zhangsai 4cb965ce71 这些文件不是我创建的,不知道为啥会在我这…… 2022-12-08 09:21:34 +08:00
xzb 0ac1c36177 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-07 18:10:24 +08:00
xzb b448ada917 iscs v2 2022-12-07 18:10:06 +08:00
weizhihong 1286130d5a 【增加站台定位】 2022-12-07 18:06:53 +08:00
weizhihong 90ad197305 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-07 17:26:49 +08:00
weizhihong 3c2361af4e 【实训生成定位修改】 2022-12-07 17:26:43 +08:00
tiger_zhou 9904077709 考试定义调整 2022-12-07 17:05:19 +08:00
xzb 6b26675fdd Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-07 17:04:24 +08:00
xzb 40f0837af0 iscs v2 2022-12-07 17:04:06 +08:00
tiger_zhou f82e500572 考试定义调整 2022-12-07 15:41:59 +08:00
tiger_zhou 6e78bfaf4b 权限分发调整 2022-12-07 14:13:54 +08:00
tiger_zhou 539f5dedc4 权限分发调整 2022-12-07 14:00:39 +08:00
tiger_zhou 2d65861512 权限分发调整 2022-12-07 13:51:02 +08:00
tiger_zhou c18565cf21 同步不调用 mapFunction 生成接口,调整数据添加速度 2022-12-07 10:31:21 +08:00
weizhihong cd344bc3f0 【实训背景设置修改】 2022-12-07 10:12:02 +08:00
weizhihong 473446cef0 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-06 17:41:11 +08:00
weizhihong 359d2e0be0 【实训名称重名检验】 2022-12-06 17:41:04 +08:00
joylink_zhangsai f16362af53 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-06 17:34:29 +08:00
joylink_zhangsai f85b964dfa 旧数据处理接口自带清表;DomConfig增加实训类型 2022-12-06 17:34:13 +08:00
tiger_zhou 54c4d8e7b3 发布的单操,场景实训 基本信息接口合并 2022-12-06 16:20:24 +08:00
weizhihong 4976c770d0 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-06 15:44:01 +08:00
weizhihong 9426b1165b 【筛选实训设备修改】 2022-12-06 15:43:47 +08:00
tiger_zhou 13a4163ce3 发布的单操,场景实训 基本信息接口合并 2022-12-06 15:38:16 +08:00
weizhihong 0ab197318f 【修改实训背景状态以及站台设备筛选】 2022-12-06 15:18:02 +08:00
weizhihong bec06b992c Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-06 11:13:16 +08:00
weizhihong 902a39bd0b 【增加实训生成背景、设备选择】 2022-12-06 11:13:10 +08:00
xzb 4d8cc8e409 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-06 11:02:24 +08:00
xzb 0b72c2c16d iscs v2 2022-12-06 11:02:07 +08:00
joylink_zhangsai 38868f2ea7 Exam->PaperComposition;UserExam->PaperUser 2022-12-06 10:50:52 +08:00
joylink_zhangsai 50d028d92a Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-06 10:18:49 +08:00
tiger_zhou 6d42373ba0 rts_paper_user 表删除 org_id 2022-12-06 09:49:35 +08:00
joylink_zhangsai 08e6344ae8 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-06 09:48:31 +08:00
xzb 9af0490766 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-06 09:20:58 +08:00
xzb 73e0a7fa2b iscs v2 2022-12-06 09:20:34 +08:00
weizhihong 735f7a4bc3 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-06 08:58:28 +08:00
weizhihong 47987c9040 【地图设备筛选、背景设置修改】 2022-12-06 08:57:33 +08:00
xzb b297c0d401 iscs v2 2022-12-05 18:02:37 +08:00
xzb 8fd2287dbc iscs v2 2022-12-05 17:17:14 +08:00
xzb 3ff942aaa4 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-12-05 17:05:39 +08:00
xzb 232b44cf06 iscs v2 2022-12-05 17:05:17 +08:00
tiger_zhou d179313877 修改考试蓝图 map_id 不能为空 2022-12-05 17:04:21 +08:00
joylink_zhangsai e3ff068d5c Org->RtsOrgProject 2022-12-05 16:50:27 +08:00
joylink_zhangsai dace38e27c Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-05 15:50:36 +08:00
joylink_zhangsai c059b43500 vrTrain背景保存bug修改;移除vrTrain里的Audio 2022-12-05 15:50:25 +08:00
weizhihong 219267c455 【生成实训规则修改】 2022-12-05 15:48:26 +08:00
joylink_zhangsai 9e7fe0c336 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-05 15:08:15 +08:00
joylink_zhangsai e5aa725dca 修改StorageVirtualRealityTrain;增加一个粗糙的Storage类生成工具 2022-12-05 15:07:56 +08:00
xzb 9f53eb27df iscs v2 2022-12-05 10:30:17 +08:00
joylink_zhangsai bdbee678f9 苏安院屏蔽门监控逻辑修改 2022-12-04 23:20:38 +08:00
joylink_zhangsai d844da103a Merge remote-tracking branch 'origin/test' into test 2022-12-04 19:48:59 +08:00
joylink_zhangsai 4530495274 苏安院屏蔽门监控逻辑 2022-12-04 19:48:49 +08:00
weizhihong 1428cf38f5 【增加实训背景种类】 2022-12-02 18:14:50 +08:00
weizhihong cb12f654a2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-02 16:01:55 +08:00
weizhihong f0b3496ac2 【实训背景保存最终会话信息】 2022-12-02 16:01:46 +08:00
joylink_zhangsai ddaf91647a 修改地铁仿真初始化逻辑 2022-12-02 11:26:52 +08:00
joylink_zhangsai d285b24d66 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-02 10:47:15 +08:00
joylink_zhangsai cd2ddbd106 迁移/common接口;仿真客户端使用前端定义的值 2022-12-02 10:46:59 +08:00
weizhihong c3220b894e 【实训语音识别返回匹配结果消息】 2022-12-02 09:07:20 +08:00
weizhihong c59517194d 【实训文字输入全文匹配校验】 2022-12-01 17:53:16 +08:00
weizhihong 10374c8bbb 【去掉实训中检验前端完成状态的判断】 2022-12-01 17:33:32 +08:00
joylink_zhangsai ce4744f519 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-01 16:42:48 +08:00
joylink_zhangsai 15fa4924a2 修改仿真id生成规则(mapId-userId);为了加快项目重启后进入仿真的速度,重启后缓存所有在线地图数据 2022-12-01 16:42:37 +08:00
tiger_zhou 9823d64553 应急系统日志调整 2022-12-01 14:51:01 +08:00
tiger_zhou 89a1884588 权限同步调整,及应急系统日志调整 2022-12-01 14:48:42 +08:00
tiger_zhou 181ced36b4 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-12-01 14:48:13 +08:00
tiger_zhou c3bd3a330b 权限同步调整,及应急系统日志调整 2022-12-01 14:47:57 +08:00
weizhihong 675b3c5107 【修改实训设备筛选逻辑】 2022-12-01 14:38:11 +08:00
joylink_zhangsai adbfedbff0 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-01 14:19:56 +08:00
joylink_zhangsai f0d68d2f31 增加退出仿真接口;删除仿真邀请消息 2022-12-01 14:19:46 +08:00
tiger_zhou a299c3471f 权限同步调整,及应急系统日志调整 2022-12-01 14:07:46 +08:00
weizhihong 37d9a6d8c8 【修改实训区段筛选条件】 2022-12-01 13:19:00 +08:00
joylink_zhangsai 977029410d Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-01 13:08:53 +08:00
joylink_zhangsai a5f22ad154 仿真用户数据里增加creator字段 2022-12-01 13:08:38 +08:00
weizhihong 54599af87a Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-12-01 10:58:05 +08:00
weizhihong bc02cc9595 【增加区故解、分路不良实训生成】 2022-12-01 10:57:47 +08:00
joylink_zhangsai 993c081dbd MapSystem->RtsMapFunction修改 2022-12-01 10:57:45 +08:00
joylink_zhangsai 13a7f01a77 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-12-01 10:57:10 +08:00
joylink_zhangsai f719603446 将实迹运行图消息订阅路径独立出来;仿真用户增加类型 2022-12-01 10:56:47 +08:00
weizhihong e83a3d2525 【修改属性与实训属性一致】 2022-12-01 09:51:23 +08:00
weizhihong 4fec906849 【道岔定反位背景】 2022-11-30 16:22:20 +08:00
weizhihong 1753c0dd12 【实训规则地图ID修改为仿真类型】 2022-11-30 16:06:21 +08:00
joylink_zhangsai 45882142b3 增加MapSystem->RtsMapFunction数据转化接口 2022-11-30 15:43:01 +08:00
weizhihong 27a4dbd5b2 【进路列表筛选】 2022-11-30 14:48:24 +08:00
joylink_zhangsai 9871e37f81 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-30 14:01:29 +08:00
joylink_zhangsai 59cb703042 将“管理员”销毁仿真的接口从之前的清理仿真接口里独立出来,清理仿真接口仅用于仿真创建者退出时销毁仿真用 2022-11-30 14:01:21 +08:00
weizhihong e2ff7e2b5d 【重算实训地图定位】 2022-11-30 13:35:03 +08:00
weizhihong 59ddb040ff 【根据实训规则生成实训,实训场景连续两步为机器人不执行BUG】 2022-11-30 13:18:39 +08:00
weizhihong cf44dc3ad2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-11-30 10:35:51 +08:00
weizhihong 066c4133fc 【会话判断修改】 2022-11-30 10:35:45 +08:00
joylink_zhangsai 3974e96c99 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-30 10:25:43 +08:00
joylink_zhangsai bc160fdf35 暂时取消加入仿真的综合演练仿真检查 2022-11-30 10:25:17 +08:00
weizhihong 2da9680c6f 【修改创建会话逻辑】 2022-11-29 16:59:13 +08:00
joylink_zhangsai 078a49471e 加载背景时,仿真的运行图已加载才发布运行图重载事件 2022-11-29 14:11:38 +08:00
joylink_zhangsai 2e6c06c0cc 修改按计划行车请求方法(上次改错了) 2022-11-29 13:56:13 +08:00
joylink_zhangsai 6338ccce21 修改按计划行车请求方法 2022-11-29 13:52:04 +08:00
joylink_zhangsai c176030f8e Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-29 10:35:36 +08:00
joylink_zhangsai 8e1bf07869 修改Dom配置;修改地图功能生成的Dom配置 2022-11-29 10:35:18 +08:00
weizhihong 0d2ad18c2a 【学员机登录逻辑修改】 2022-11-28 18:27:56 +08:00
weizhihong c2c663f483 【通过ID获取系统功能信息】 2022-11-28 16:16:42 +08:00
joylink_zhangsai f77404029b Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-28 14:56:36 +08:00
joylink_zhangsai 44a77be43a 大铁仿真创建后自动按计划行车;增加大铁按计划行车逻辑 2022-11-28 14:56:25 +08:00
tiger_zhou e628916d52 应急系统测试调整 2022-11-28 14:55:02 +08:00
tiger_zhou a2ee2e1858 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-11-28 14:10:36 +08:00
tiger_zhou 6bbda91f08 应急系统测试调整 2022-11-28 14:10:15 +08:00
joylink_zhangsai 1a9c156379 增加两个Dom配置 2022-11-28 11:28:42 +08:00
weizhihong 6552caaec2 【查询有效的组织信息】 2022-11-28 11:00:47 +08:00
weizhihong 753ad674f4 【取消用户列表条数限制】 2022-11-28 10:46:33 +08:00
weizhihong 9ac0ad8f44 【实训查询所有信息列表】 2022-11-28 10:23:14 +08:00
tiger_zhou 2598afe378 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-11-28 10:16:47 +08:00
tiger_zhou 7c0ab9af83 考试管理接口 2022-11-28 10:16:32 +08:00
weizhihong d1255c931d 【修改项目信息查询】 2022-11-28 10:04:53 +08:00
weizhihong 6a1b8b73f3 【根据项目Code获取项目信息】 2022-11-28 09:49:38 +08:00
weizhihong 9ccbce9bea 【绑定组织bug】 2022-11-28 09:00:07 +08:00
joylink_zhangsai 73f72282f6 修改组织试卷查询逻辑 2022-11-25 16:15:34 +08:00
weizhihong 2c360a2c00 【项目设置增加地图ID、功能ID】 2022-11-24 17:23:53 +08:00
weizhihong 8c86917bf2 【查询用户列表数目限制、实训运行状态标识】 2022-11-24 15:13:02 +08:00
weizhihong bc5c79bcb4 【账号存储电话属性】 2022-11-24 13:35:22 +08:00
weizhihong bd69d749b4 【实训详情缺少client问题】 2022-11-23 17:15:12 +08:00
weizhihong 31688227ed 【创建仿真时,保存功能ID】
【根据地图ID与功能ID获取仿真】
【组织用户管理接口】
【实训增加client字段】
2022-11-23 16:50:31 +08:00
weizhihong 47f9385fa7 【重置方法修改DELETE方式】 2022-11-22 15:59:23 +08:00
weizhihong 3f1a6fb508 【修改websocket传输数据大小限制,修改为1M】 2022-11-22 15:21:49 +08:00
tiger_zhou 730bf6670d 权限显示全部数据 2022-11-22 11:10:21 +08:00
thesai 381d495cae Merge remote-tracking branch 'origin/master-huawei' into master-huawei 2022-11-21 20:27:39 +08:00
thesai 33cfae86be 修改苏安院实体IBP盘逻辑 2022-11-21 20:27:24 +08:00
walker 61b2ffcb03 修改调度大赛权限校验 2022-11-21 18:19:54 +08:00
thesai 2143f8b302 增加苏安院实体IBP盘逻辑 2022-11-21 11:22:40 +08:00
weizhihong e04600a2d6 【实训暂停死循环处理】 2022-11-21 09:03:37 +08:00
weizhihong e8b2b0117e 【步骤ID类型修改】 2022-11-18 15:49:11 +08:00
weizhihong e9eed02897 【实训删除全前端操作限制】 2022-11-18 14:11:31 +08:00
weizhihong da4cd76c2a 【实训加载时,增加指令时间控制;实训加载时过滤不必要指令】 2022-11-18 13:51:42 +08:00
weizhihong 9e1448b053 【处理步骤ID】 2022-11-17 16:09:01 +08:00
weizhihong db55b8b832 【删除步骤ID生成操作】 2022-11-15 16:13:16 +08:00
weizhihong 6d11859981 【修改实训操作属性】 2022-11-15 13:54:27 +08:00
weizhihong fc950dbd57 【实训保存背景时加载列车,修改生成联锁数据报错问题】 2022-11-15 09:49:16 +08:00
weizhihong 55abfd21b2 【实训草稿存档功能】 2022-11-14 18:07:59 +08:00
tiger_zhou 26d8683e76 武汉8号线合并test 代码调整 2022-11-10 13:24:31 +08:00
tiger_zhou 894ce10b40 Merge branch 'test' into test-training2-zhouyin
# Conflicts:
#	pom.xml
#	src/main/java/club/joylink/rtss/services/iscs/interactive/IscsInteractiveService.java
#	src/main/java/club/joylink/rtss/services/voice/huawei/HuaweiVoiceServiceImpl.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/operation/Operation.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/vo/TrainInfo.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/message/SimulationSubscribeTopic.java
#	src/main/java/club/joylink/rtss/vo/client/factory/SocketMessageFactory.java
#	src/main/resources/application.yml
2022-11-10 11:27:44 +08:00
tiger_zhou c5b680b8eb 武汉8号线 2022-11-10 11:06:07 +08:00
tiger_zhou 3cd2f52f38 武汉8号线 2022-11-10 10:28:07 +08:00
weizhihong a5a0b3f105 【实训完成后评分统计】 2022-11-09 10:02:11 +08:00
joylink_zhangsai e379a0a95f 增加订阅设备状态时发送所有设备状态逻辑 2022-11-08 10:16:52 +08:00
joylink_zhangsai b4f7b305b6 新版仿真恢复大客流任务加载逻辑 2022-11-07 18:01:04 +08:00
tiger_zhou 380bc6df65 用户权限同步调整,北交大登录按照通用方式 2022-11-07 17:11:50 +08:00
joylink_zhangsai f132220891 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-07 17:08:59 +08:00
joylink_zhangsai 8092557b56 增加ws路径;增加Dom参数 2022-11-07 17:08:43 +08:00
tiger_zhou 502db59fdc 用户权限同步调整 2022-11-04 11:00:05 +08:00
tiger_zhou b415133f5e 用户权限同步调整 2022-11-04 10:56:16 +08:00
joylink_zhangsai 6eecb0e6bc Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-03 17:38:46 +08:00
joylink_zhangsai 4cff884c4b 增加生成大客流线路功能接口 2022-11-03 17:38:33 +08:00
tiger_zhou 741494e965 用户权限同步调整 2022-11-03 16:46:59 +08:00
joylink_zhangsai f56eb47d53 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-03 16:17:17 +08:00
joylink_zhangsai a2b3e9f282 增加生成应急调度线路功能逻辑;前端配置增加大客流 2022-11-03 16:15:52 +08:00
tiger_zhou 4a6454d6ae Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/simulation/cbtc/SimulationServiceImpl.java
2022-11-03 15:50:13 +08:00
tiger_zhou 76d9ce5339 用户权限同步 2022-11-03 15:48:13 +08:00
joylink_zhangsai c0c2e81ebf 增加仿真工作参数变更后发送ws消息逻辑; 2022-11-03 15:37:17 +08:00
weizhihong 19775a11ce 【删除多余jar】 2022-11-02 17:03:06 +08:00
joylink_zhangsai 001e343459 大铁生成子系统增加综合演练和实训设计 2022-11-02 15:58:35 +08:00
joylink_zhangsai 28ff6dd8d9 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-11-02 13:44:59 +08:00
joylink_zhangsai 329a36ef48 增加通过地图功能id创建仿真的接口 2022-11-02 13:44:43 +08:00
tiger_zhou 539c41ba85 客户端权限列表 2022-11-01 10:42:38 +08:00
joylink_zhangsai 5a197b5e90 修改仿真不加载运行图bug 2022-10-31 15:54:42 +08:00
joylink_zhangsai ddfa763746 地图子系统改线路功能 2022-10-31 14:31:56 +08:00
joylink_zhangsai 784918e8f1 消除报错 2022-10-31 13:58:22 +08:00
joylink_zhangsai 617e72bfb0 消除报错 2022-10-31 13:50:37 +08:00
joylink_zhangsai a0c8c424be Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-31 13:41:39 +08:00
joylink_zhangsai 6d55b7fd2d 地图子系统Dom配置增加实训设计 2022-10-31 13:41:14 +08:00
weizhihong 06089d5e24 【删除操作websocket提示】
【实训步骤全部为前端操作时,交于前端执行,后端只判断步骤状态】
2022-10-31 13:40:39 +08:00
tiger_zhou 9e26790cf8 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-28 16:50:28 +08:00
tiger_zhou fe4190deb7 试卷支持线路 2022-10-28 16:50:14 +08:00
weizhihong 8e2d2e6a01 【修改实训发布轨迹表名】 2022-10-28 16:46:11 +08:00
tiger_zhou e1d431ecb6 试卷生成代码调整(支持线路) 2022-10-28 16:01:53 +08:00
tiger_zhou aedab56c37 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-28 15:59:04 +08:00
tiger_zhou 507c8fc83f 试卷生成代码调整(支持线路) 2022-10-28 15:58:50 +08:00
weizhihong f226d2eb76 【实训规则测试类】 2022-10-28 15:16:27 +08:00
weizhihong 8eab737a64 【实训规则生成实训逻辑】 2022-10-28 15:14:29 +08:00
tiger_zhou fddaddb699 试卷生成代码调整 2022-10-28 13:47:44 +08:00
tiger_zhou 93c32f9d32 试卷生成代码调整 2022-10-28 13:34:18 +08:00
tiger_zhou d16e4275c0 试卷生成代码调整 2022-10-28 13:31:53 +08:00
tiger_zhou 69f81d56a9 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-28 13:25:58 +08:00
tiger_zhou f3960db9b0 试卷生成代码调整 2022-10-28 13:25:38 +08:00
weizhihong ac6e8b212e 【实训生成成员规则】 2022-10-28 13:17:24 +08:00
weizhihong 9938671184 【调整实训参数类型】 2022-10-28 13:05:20 +08:00
tiger_zhou 0589157cc7 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-28 11:24:22 +08:00
tiger_zhou 2ef33927ea 试卷生成代码调整 2022-10-28 11:24:09 +08:00
weizhihong bb9d407a8e 【增加实训角色获取规则】 2022-10-28 11:16:19 +08:00
tiger_zhou 6561c722c0 题库导入 标签分类为空字符串问题 2022-10-28 10:48:58 +08:00
tiger_zhou 5e2889e2ce 题库导入 标签分类为空字符串问题 2022-10-28 10:48:23 +08:00
tiger_zhou 0a1381b63d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-28 10:38:24 +08:00
tiger_zhou 1b71490dd1 试卷规则修改 2022-10-28 10:38:11 +08:00
weizhihong c97528bcec 【实训属性名称修改】 2022-10-28 09:44:30 +08:00
tiger_zhou 9733dac257 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-28 09:09:40 +08:00
tiger_zhou d4c7cbf1e8 权限分发代码调整 2022-10-28 09:09:20 +08:00
joylink_zhangsai 60d126cb28 修改注释 2022-10-27 18:10:40 +08:00
joylink_zhangsai 999f6dd971 增加实训反射调用方法 2022-10-27 18:09:31 +08:00
weizhihong 2302913a7a 【实训规则增加子系统、客户端】 2022-10-27 17:32:38 +08:00
tiger_zhou bf9199ef37 题库更改错误文字 2022-10-27 17:28:32 +08:00
weizhihong 7b208af820 【修改实训,增加子系统、客户端字段】 2022-10-27 17:12:14 +08:00
joylink_zhangsai 27e9d0b48e 增加项目JJJLM 2022-10-27 16:08:44 +08:00
tiger_zhou 00b504f7b3 试卷规则分类只支持一个 2022-10-27 15:37:49 +08:00
tiger_zhou 987dbbe43c Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-27 14:42:58 +08:00
tiger_zhou 6eca4a5b5b 题库标签最多只支持一个,试卷重复问题 2022-10-27 14:42:40 +08:00
weizhihong cb66ac91c0 【实训规则修改】 2022-10-26 16:06:22 +08:00
tiger_zhou e8d0207e49 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-26 15:55:09 +08:00
tiger_zhou ebf3377cc1 用户权限修改status数据类型,用户权限查询过滤,试卷标签筛选从 or 变更为 and 2022-10-26 15:54:56 +08:00
weizhihong f847b306f4 【步骤增加仿真操作属性】
【修改实训运行逻辑】
2022-10-26 14:18:24 +08:00
tiger_zhou d05ce9ccef 权限分发,查询调整 2022-10-26 14:07:59 +08:00
tiger_zhou 4a8f71ad1e 新(支持前端多个权限)权限分发,目前接口不支持二次分发 2022-10-26 10:49:00 +08:00
joylink_zhangsai 4252c56961 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-26 09:34:00 +08:00
joylink_zhangsai 6e6e3f7114 增加第三方账户配置接口;修改地图数据导入bug 2022-10-26 09:33:47 +08:00
weizhihong 746cea77b4 【生成实训规则实体】 2022-10-25 15:17:52 +08:00
weizhihong 7442082a7a 【空指针BUG】 2022-10-25 14:01:25 +08:00
weizhihong 6a7d89bfe5 【修改表名】 2022-10-25 13:31:42 +08:00
xiazengbin ec09da1efc permission 2022-10-25 13:12:15 +08:00
xiazengbin 150e4dc1b5 permission 2022-10-25 12:37:30 +08:00
joylink_zhangsai 9114da604b 仿真信息接口增加仿真工作参数;地图复制接口修改 2022-10-25 10:46:13 +08:00
joylink_zhangsai 0f506ce2ad Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-25 09:19:35 +08:00
joylink_zhangsai 6627018a02 注释掉大客流的监听器(行调工作站按计划行车报错) 2022-10-25 09:19:16 +08:00
tiger_zhou a3d0545da1 试卷筛选出现没有选择类型的题目 2022-10-24 17:57:56 +08:00
joylink_zhangsai 1e3475bb62 修改导入/导出接口 2022-10-24 17:02:32 +08:00
tiger_zhou 6fcbf24d13 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-24 16:45:02 +08:00
tiger_zhou c8a77c9034 权限功能提供列表接口 2022-10-24 16:44:48 +08:00
weizhihong c2c31ce3b3 【地图数据所属项目为空时,处理默认项目】 2022-10-24 15:36:10 +08:00
weizhihong b0330e85cf 【登录时,处理用户项目列表】 2022-10-24 14:45:56 +08:00
tiger_zhou 616d8898b4 权限功能注释不必要的接口 2022-10-24 13:52:41 +08:00
tiger_zhou c856280724 答题试卷可以重复答题,并且修改的时候返回上次答题的答案 2022-10-24 10:18:00 +08:00
tiger_zhou 7880ced128 答题试卷可以重复答题,并且修改的时候返回上次答题的答案 2022-10-24 10:12:46 +08:00
tiger_zhou 231171b6c8 用户权限支持查看已很配领取的权限,答题试卷在创建的时候及有开始时间 2022-10-21 17:14:56 +08:00
tiger_zhou e398d0c364 用户权限禁用接口调整 2022-10-21 14:31:53 +08:00
tiger_zhou 16276f80f7 用户权限禁用接口调整 2022-10-21 14:30:52 +08:00
tiger_zhou 78e91eb573 权限查询支持昵称及功能列表,用户权限禁用接口调整 2022-10-21 14:30:20 +08:00
tiger_zhou f0a420311c Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-21 11:03:09 +08:00
tiger_zhou 688654d7d4 语音识别调整 2022-10-21 11:02:55 +08:00
weizhihong d94039c8bb 【MINIO删除对象方法】 2022-10-21 09:43:15 +08:00
tiger_zhou 6b6fd85cc6 权限功能调整 2022-10-20 18:03:12 +08:00
tiger_zhou e52ffe07a8 权限功能调整 2022-10-20 18:01:02 +08:00
tiger_zhou 4f0a10bb6d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-20 17:27:10 +08:00
tiger_zhou 17fb69073e 权限功能调整 2022-10-20 17:26:54 +08:00
tiger_zhou b5c186aa13 权限功能调整 2022-10-20 15:23:20 +08:00
joylink_zhangsai 47ec3e5ecc Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-20 15:12:16 +08:00
joylink_zhangsai 1ae745b377 增加新的根据用户信息查询地图接口 2022-10-20 15:12:00 +08:00
tiger_zhou b838e4dd3c 应急预警调整 2022-10-20 14:50:45 +08:00
tiger_zhou 1101841879 权限功能调整 2022-10-20 14:25:52 +08:00
tiger_zhou 8d74d09d80 权限功能调整 2022-10-20 13:52:00 +08:00
tiger_zhou d142179cb7 权限功能调整 2022-10-20 13:45:09 +08:00
tiger_zhou 81c4db28a7 权限功能调整 2022-10-20 13:39:05 +08:00
tiger_zhou ad319c094e 权限功能调整 2022-10-20 13:37:12 +08:00
tiger_zhou 0b04b23537 权限功能调整及权限主体禁用功能(未完成) 2022-10-20 13:33:58 +08:00
tiger_zhou f9b02894e0 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-20 09:54:07 +08:00
tiger_zhou 484ff18eed 理论试题管理代码调整支持清空 2022-10-20 09:52:36 +08:00
tiger_zhou 1f63bd48e2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-20 09:27:18 +08:00
xzb a20a57b5c0 修改试卷定义时间判断 2022-10-20 09:24:31 +08:00
xzb d29a869c26 permission 2022-10-19 17:47:42 +08:00
xzb 4b43640085 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-19 17:07:34 +08:00
xzb 677f9ab163 permission 2022-10-19 17:07:16 +08:00
weizhihong 5ad0bec6ba Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-10-19 16:49:36 +08:00
weizhihong 73f73a426e 【删除登录信息中所有的组织信息】 2022-10-19 16:49:29 +08:00
xzb 315e956927 permission 2022-10-19 16:46:36 +08:00
tiger_zhou d37b10f207 应急系统添加速度及调整 2022-10-19 16:06:13 +08:00
tiger_zhou e14286f329 应急系统添加速度及调整 2022-10-19 15:59:51 +08:00
xzb 074f49a2a9 permission 2022-10-19 15:59:19 +08:00
xzb 3c4a678db0 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-19 15:59:00 +08:00
xzb 9c12891135 permission 2022-10-19 15:58:36 +08:00
tiger_zhou 4201b1165d 应急系统添加速度及调整 2022-10-19 15:53:41 +08:00
tiger_zhou 1b7e46d5c7 权限主体 2022-10-19 15:49:36 +08:00
joylink_zhangsai e9e45d5cb6 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-19 15:41:03 +08:00
joylink_zhangsai 72b4ac8fd5 修改生成子系统逻辑 2022-10-19 15:40:39 +08:00
xzb 6135e912f2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-19 15:02:50 +08:00
xzb 9a0d0d2980 permission 2022-10-19 15:02:33 +08:00
tiger_zhou 66ac5d7b02 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-19 14:00:51 +08:00
tiger_zhou 1680097d72 新权限分发及题库代码调整 2022-10-19 14:00:07 +08:00
xzb ebe85d7c26 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-19 13:55:30 +08:00
xzb 7de63057a3 permission 2022-10-19 13:55:13 +08:00
tiger_zhou d454a2a51c 新权限分发代码调整 2022-10-19 13:39:25 +08:00
tiger_zhou 4c1ce8e593 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/entity/permission/PermissionDistribute.java
	src/main/java/club/joylink/rtss/entity/permission/PermissionDistributeExample.java
	src/main/resources/mybatis/mapper/permission/PermissionSubjectDAO.xml
2022-10-19 13:35:37 +08:00
joylink_zhangsai ef389ca8f4 导入导出增加运行图交路数据 2022-10-19 13:34:23 +08:00
tiger_zhou c2dbbbb715 应急系统添加速度及调整 2022-10-19 13:25:25 +08:00
joylink_zhangsai 5a3179df5a 修改新仿真创建接口参数;修改生成子系统接口(未完) 2022-10-19 11:16:22 +08:00
xzb b7a25fb070 permission 2022-10-19 11:09:44 +08:00
xzb 3eae7d7672 permission 2022-10-19 10:06:03 +08:00
xzb ec4509d7ef permission 2022-10-19 10:04:21 +08:00
xzb 6c36d6f753 permission 2022-10-19 09:54:56 +08:00
xzb 54c73004d9 permission 2022-10-19 09:49:38 +08:00
weizhihong d0d517450f Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-10-19 08:53:09 +08:00
weizhihong afc62e8f4e 【修改顶级组织ID获取逻辑】 2022-10-19 08:53:03 +08:00
xzb f81041afa1 permission 2022-10-18 17:45:34 +08:00
xzb 0d758f8ca5 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-18 17:41:20 +08:00
xzb 14ad0dfce5 permission 2022-10-18 17:40:56 +08:00
weizhihong 853dd2fe35 【修改查询班级时,获取组织逻辑】 2022-10-18 15:27:26 +08:00
joylink_zhangsai a652d06bb6 Merge remote-tracking branch 'origin/test-training2' into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/services/draftData/DraftMapDisStationService.java
2022-10-18 14:21:23 +08:00
joylink_zhangsai 3a5fbb16e9 增加生成子系统的接口;增加仿真客户端类型; 2022-10-18 14:19:40 +08:00
xzb df6e9fd578 permission 2022-10-18 13:50:29 +08:00
xzb 0a752feb47 permission 2022-10-18 13:19:15 +08:00
xzb 24dd1cead9 permission 2022-10-18 13:08:19 +08:00
xzb b40ccfe775 permission 2022-10-18 10:29:05 +08:00
xzb 013b58f6bd page 2022-10-18 09:52:42 +08:00
xzb fe9333fbb5 permission 2022-10-18 09:43:55 +08:00
xzb a912a25c51 permission 2022-10-18 09:38:54 +08:00
tiger_zhou c8a8bdc6ee 新权限分发领取功能 2022-10-18 09:27:16 +08:00
xzb 0e34851966 paper 2022-10-17 17:07:42 +08:00
xzb 5310fc7819 paper 2022-10-17 16:28:46 +08:00
xzb 522d446516 paper 2022-10-17 16:13:16 +08:00
xzb 44e1c38a74 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-17 16:04:33 +08:00
xzb d869ce06da paper 2022-10-17 16:04:16 +08:00
weizhihong 933a73d131 【去除项目前端唯一索引】 2022-10-17 15:01:41 +08:00
joylink_zhangsai 761d7e353b Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-17 14:52:45 +08:00
joylink_zhangsai 5c06c0105b 增加查询地图车站列表接口;修改仿真成员设备查找逻辑bug; 2022-10-17 14:52:34 +08:00
xzb 158d436a61 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-17 14:45:17 +08:00
xzb 4f1029f5b6 paper 2022-10-17 14:45:01 +08:00
xzb 3b944a63db paper 2022-10-17 14:43:28 +08:00
weizhihong 7547b6b14b 【选择组织修改登录信息】 2022-10-17 14:23:57 +08:00
tiger_zhou bc0969e6e5 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-17 14:19:31 +08:00
tiger_zhou c68978cd1b 理论试题管理代码调整 2022-10-17 14:19:13 +08:00
xzb 47388d250e Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-17 14:18:26 +08:00
xzb c9e16545d4 paper 2022-10-17 14:17:27 +08:00
tiger_zhou 1910f7a1c7 理论试题管理代码调整 2022-10-17 14:02:05 +08:00
tiger_zhou 6f404ceb88 理论试题管理代码调整 2022-10-17 13:20:45 +08:00
tiger_zhou 5f08745963 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-17 08:54:41 +08:00
xzb b3ecb6c1d2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-14 17:51:41 +08:00
xzb 7a0b9eb2de paper 2022-10-14 17:51:05 +08:00
tiger_zhou b8cf53b572 理论试题管理代码调整 2022-10-14 17:05:50 +08:00
tiger_zhou b3e770f6fa Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-14 16:45:05 +08:00
tiger_zhou 0c0cf91f2b 理论试题管理代码调整,查询标签支持单一的类型 2022-10-14 16:44:48 +08:00
xzb 3cbe689658 paper 2022-10-14 16:44:24 +08:00
xzb 500eb26183 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-14 16:34:02 +08:00
xzb 7159663aec permission 2022-10-14 16:33:30 +08:00
tiger_zhou 016f6c8c48 理论试题管理代码调整 2022-10-14 16:26:19 +08:00
tiger_zhou 6f42bfbe9c 理论试题管理代码调整 2022-10-14 16:10:24 +08:00
tiger_zhou f2293c35f2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-14 16:08:22 +08:00
tiger_zhou 8d1c1c6c09 理论试题管理代码调整及添加数量获取方法 2022-10-14 16:08:00 +08:00
joylink_zhangsai 9e0026e622 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-14 14:59:21 +08:00
joylink_zhangsai f847b2e4d6 Merge remote-tracking branch 'origin/test-training2' into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/Simulation.java
2022-10-14 14:58:30 +08:00
tiger_zhou d099cbccf1 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-14 14:58:21 +08:00
joylink_zhangsai b50d1ead24 新仿真结构完善中 2022-10-14 14:57:30 +08:00
tiger_zhou c2dcc93b91 权限功能管理相关管理代码调整 2022-10-14 14:57:22 +08:00
weizhihong 6f17d72983 【查询教师列表、增加教师信息】 2022-10-14 14:55:52 +08:00
xzb d9828671c7 permission 2022-10-14 14:25:02 +08:00
xzb e577e255a9 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-14 13:33:42 +08:00
xzb ab117af819 paper permission 2022-10-14 13:33:09 +08:00
tiger_zhou 5a60700246 功能权限在删除的时候检测rts_permission_system_ability 表中是否有对应的数据如果没有就删除数据 2022-10-14 13:26:43 +08:00
tiger_zhou b3d131ff56 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-14 13:25:24 +08:00
tiger_zhou 685b3ec4fa 理论试题管理代码调整,支持查询分页标签检索 2022-10-14 13:25:07 +08:00
tiger_zhou f3925f8cdb 理论试题管理代码调整,支持查询分页标签检索 2022-10-14 13:24:52 +08:00
xzb b8d1d81ac9 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-14 11:03:41 +08:00
xzb 2153363e48 paper permission 2022-10-14 11:03:21 +08:00
tiger_zhou 6da5f3a5ac Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-14 10:25:56 +08:00
tiger_zhou 80307e835d 理论试题管理代码调整,支持乱序预览及测试答题 2022-10-14 10:25:40 +08:00
xzb 27f95fdc96 permission 2022-10-14 09:34:35 +08:00
xzb 6fa2a1b105 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-13 17:49:13 +08:00
xzb de0bb265d8 permission 2022-10-13 17:48:52 +08:00
tiger_zhou 676ee99043 功能管理相关管理代码调整 2022-10-13 17:38:19 +08:00
tiger_zhou 603cd9d0e8 功能管理相关管理 2022-10-13 17:37:16 +08:00
weizhihong 76066aa2dd 【编码修改为模糊查询】 2022-10-13 17:22:13 +08:00
weizhihong 54241ee9a1 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-10-13 16:46:09 +08:00
weizhihong 78fadf8721 【默认组织逻辑】 2022-10-13 16:45:59 +08:00
xzb e54db545cf Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-13 16:38:09 +08:00
xzb 5b61c9bef6 permission 2022-10-13 16:37:46 +08:00
tiger_zhou 123dc43dc3 理论试题管理代码调整 2022-10-13 15:33:37 +08:00
xzb 2955125f76 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-13 15:07:21 +08:00
xzb 106c16aedb permission 2022-10-13 15:07:03 +08:00
tiger_zhou e82b8dc3d2 Merge remote-tracking branch 'origin/test-training2-zhouyin' into test-training2 2022-10-13 15:01:17 +08:00
tiger_zhou 70a2ff5fa8 理论试题管理代码调整 2022-10-13 15:00:52 +08:00
xzb 87d3fa57cb permission 2022-10-13 14:58:41 +08:00
xzb 8d3dc02b82 permission 2022-10-13 14:48:21 +08:00
xzb 7c5551f891 permission 2022-10-13 14:44:25 +08:00
xzb 92c25f77fd Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-13 14:22:39 +08:00
xzb 4977bc2e1d permission 2022-10-13 14:22:23 +08:00
tiger_zhou 7b491cf237 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-13 13:23:41 +08:00
tiger_zhou 5ebf8c63f5 理论试题管理代码调整 2022-10-13 13:23:29 +08:00
xzb 1611282abb paper 2022-10-13 11:26:32 +08:00
tiger_zhou 31dc5c283a 理论试题管理代码调整,合并管理接口 2022-10-13 11:15:46 +08:00
xzb b94f1c5a03 new permission 2022-10-13 11:15:04 +08:00
xzb dde2fb93c1 new permission 2022-10-13 10:05:36 +08:00
xzb 0eb6059f79 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-13 09:32:46 +08:00
xzb 3127ceaea1 new permission 2022-10-13 09:32:24 +08:00
weizhihong c7c46228bc Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-10-12 18:08:13 +08:00
weizhihong 1089d2d410 【项目信息编辑】 2022-10-12 18:08:07 +08:00
xzb dcf41945aa paper 2022-10-12 17:52:18 +08:00
xzb d64117292a paper 2022-10-12 17:44:11 +08:00
xzb fabaff59fb Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-12 17:27:02 +08:00
weizhihong 9d070b43d5 【登录角色列表设置】 2022-10-12 17:21:06 +08:00
weizhihong 02e8ce4d9e 【解决登录时获取项目列表BUG】 2022-10-12 17:18:25 +08:00
weizhihong d3ad9c958f 【登录选择组织列表逻辑,文件名称模糊搜索】 2022-10-12 17:06:57 +08:00
tiger_zhou ab9275384b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-12 16:54:25 +08:00
tiger_zhou 3de220bc62 理论试题管理修改表明添加“rts_”前缀 2022-10-12 16:52:53 +08:00
weizhihong 8c9c9eb0c0 【项目快捷创建组织接口】 2022-10-12 15:49:26 +08:00
weizhihong 1973bf3f24 【查询项目关联组织时,过滤多余字段】 2022-10-12 14:24:02 +08:00
weizhihong ee8ad73e87 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-10-12 14:12:07 +08:00
weizhihong 2745d4950b 【项目增加默认组织字段,去除前端选择项目字段】 2022-10-12 14:11:58 +08:00
tiger_zhou 5376d3deb5 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-12 14:10:26 +08:00
tiger_zhou e84b9ad0dc 应急预警系统-语音指令功能 2022-10-12 14:08:53 +08:00
xzb 89830befb4 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-12 10:41:21 +08:00
xzb 25fcd4e000 paper 2022-10-12 10:41:01 +08:00
joylink_zhangsai 820ea94b26 Merge remote-tracking branch 'origin/test-training2' into test-training2
# Conflicts:
#	src/main/resources/application.yml
2022-10-11 13:08:26 +08:00
joylink_zhangsai a7b09745c3 新仿真结构完善中 2022-10-11 13:06:51 +08:00
tiger_zhou 8693449f85 理论试题管理代码调整 2022-10-11 10:03:39 +08:00
weizhihong dfdf038d7e 【MINIO资源是否存在接口】 2022-10-11 09:53:30 +08:00
tiger_zhou 2112334492 理论试题管理代码调整 2022-10-11 09:19:38 +08:00
tiger_zhou 1e379c7e93 监管仿真接口 2022-10-11 09:18:14 +08:00
tiger_zhou 3bf5996bee Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-11 08:48:05 +08:00
weizhihong 53e90f652c 【MINIO连接程序替换http->https】 2022-10-10 17:04:01 +08:00
tiger_zhou 9e8ad48284 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-10 15:39:03 +08:00
joylink_zhangsai b82edd37b3 map_system_new建表sql 2022-10-10 13:26:36 +08:00
joylink_zhangsai 3264befe0a Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-10-10 13:22:31 +08:00
joylink_zhangsai 821c31c446 仿真结构调整 2022-10-10 13:22:18 +08:00
weizhihong 13d2ac11dc 【minio链接修改为https】 2022-10-10 10:56:08 +08:00
xzb 122badc463 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-10 10:26:43 +08:00
xzb 575c58c739 paper 2022-10-10 10:26:13 +08:00
tiger_zhou 543584828e mybatis 查询数据封装对象支持"驼峰"规范 2022-10-10 09:28:09 +08:00
tiger_zhou 5bb5c07031 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-10 08:52:08 +08:00
weizhihong 271e44e9b2 【本地配置修改为http】 2022-10-09 18:30:32 +08:00
weizhihong 4509440175 【配置文件提交】 2022-10-09 18:21:01 +08:00
xzb ceadaccb3b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-09 18:03:48 +08:00
xzb be1dc7de2e paper 2022-10-09 18:03:24 +08:00
tiger_zhou 1e18878c67 已发布实训添加查询维度(名称,地图,类型,标签及组织) 2022-10-09 16:09:12 +08:00
joylink_zhangsai 0b266b2284 修改信号机开放主信号判断逻辑以兼容国赛场景 2022-10-09 15:45:02 +08:00
weizhihong 16b035d43b 【设备管理中项目Code修改为前端指定】 2022-10-09 15:14:12 +08:00
joylink_zhangsai 7112697216 修改剧本运行bug 2022-10-09 15:09:17 +08:00
tiger_zhou 75c0965797 理论试题管理代码调整 2022-10-09 13:51:28 +08:00
xzb 23b169bb3b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-09 13:34:55 +08:00
xzb 7c9e57cd16 paper 2022-10-09 13:34:28 +08:00
weizhihong 1cdef28ea3 【MINIO获取下载地址】 2022-10-09 13:27:11 +08:00
xzb df77cfcc24 paper 2022-10-09 13:24:24 +08:00
xzb 12f91ba58c paper 2022-10-09 13:21:38 +08:00
xzb 7da9d7cd36 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-09 13:12:45 +08:00
xzb 41ae0d9c14 paper 2022-10-09 13:12:24 +08:00
joylink_zhangsai 11d4f7b154 修改Pis循环逻辑bug 2022-10-09 13:06:20 +08:00
tiger_zhou 7a385e3b9f 理论试题管理代码调整 2022-10-09 13:04:49 +08:00
xzb 04f217b7bf Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-09 11:28:46 +08:00
xzb d442e8cc3f paper 2022-10-09 11:28:22 +08:00
tiger_zhou df5ddc40bc 理论试题管理sql脚本调整 2022-10-09 11:26:38 +08:00
tiger_zhou 4a450b40e7 理论试题管理代码调整 2022-10-09 11:25:51 +08:00
tiger_zhou 153fed2ef2 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-09 11:23:41 +08:00
xzb 53ba942a1f paper 2022-10-09 11:08:46 +08:00
xzb be881f5694 paper 2022-10-09 10:57:30 +08:00
tiger_zhou d648a44369 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-10-09 08:43:56 +08:00
joylink_zhangsai 3bf3ddab97 修改大铁实训生成bug; 2022-10-08 18:34:04 +08:00
joylink_zhangsai 703dd34635 修改大铁实训生成bug;生成课程考试时,如果无实训,则不生成课程与考试 2022-10-08 17:33:35 +08:00
xzb 70a8cfae9f paper 2022-10-08 15:22:26 +08:00
xzb 276801b849 paper 2022-10-08 14:48:36 +08:00
xzb 6c9c214570 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-08 14:03:45 +08:00
xzb cb6bf51096 paper 2022-10-08 14:03:19 +08:00
weizhihong bf7d53e563 【登录时默认客户端处理】 2022-10-08 13:05:51 +08:00
xzb 21b1c6da99 调度命令 2022-10-08 11:14:12 +08:00
xzb c915b0605e Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-10-08 11:10:04 +08:00
xzb a148888e8e 调度命令、试卷 2022-10-08 11:09:39 +08:00
weizhihong eb06ff4bac 【组织绑定项目编辑问题】 2022-10-08 10:11:59 +08:00
weizhihong ea47f926be 【获取项目结构列表;登录机构接口调整】 2022-09-30 18:29:33 +08:00
xzb 051eaf4776 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-30 17:39:54 +08:00
xzb 5795139ad9 调度命令、试卷 2022-09-30 17:39:32 +08:00
joylink_zhangsai 689a6f433a 修改实训生成bug;修正加载实训时的角色选择逻辑 2022-09-30 17:32:24 +08:00
tiger_zhou 111b1f0de5 语音识别,合成重构调整 2022-09-30 16:48:02 +08:00
joylink_zhangsai 15780897a6 针对大铁线路修改排列/取消进路实训的生成逻辑 2022-09-30 16:28:53 +08:00
weizhihong 005c0ff34b 【路径修改】 2022-09-30 16:06:21 +08:00
weizhihong 7defb78dfa 【minio预处理路径接口】 2022-09-30 15:33:55 +08:00
tiger_zhou 0e2d8d9028 语音识别,合成重构 调整 2022-09-30 15:26:48 +08:00
weizhihong 1dd77a87b9 【MINIO上传的文件信息保存】 2022-09-30 14:57:34 +08:00
weizhihong aadd300cb8 【MINIO上传文件信息保存接口,登录选组织信息操作】 2022-09-30 14:26:18 +08:00
joylink_zhangsai b83f3eaee2 语音文件增加保存到本地逻辑(线下部署使用) 2022-09-30 13:36:59 +08:00
xzb f97b92e6f8 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-30 13:15:29 +08:00
xzb ee3e67046f 调度命令 2022-09-30 13:15:02 +08:00
weizhihong 92adde9c93 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-09-30 09:32:11 +08:00
weizhihong 84b542daa0 【增加非空判断,增加组织名称】 2022-09-30 09:32:05 +08:00
tiger_zhou 1db89def39 语音识别,合成重构 调整 2022-09-30 09:24:41 +08:00
weizhihong e590b1b06d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-09-29 18:12:33 +08:00
weizhihong 01aad063c9 【组织、项目关联关系;登录获取项目的组织信息;选择登录组织】 2022-09-29 18:12:27 +08:00
xzb 080c29da23 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-29 17:58:10 +08:00
xzb 95b0ba6fd4 调度命令 2022-09-29 17:57:47 +08:00
tiger_zhou 2ad5ff7e8b 语音识别,合成重构 调整 2022-09-29 17:51:21 +08:00
tiger_zhou 480553625e Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-29 17:48:07 +08:00
tiger_zhou 21928877d8 语音识别,合成重构, 2022-09-29 17:47:48 +08:00
xzb 9b94c39826 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-29 17:36:33 +08:00
xzb 5c647108a7 paper composition rule 2022-09-29 17:36:05 +08:00
joylink_zhangsai 88434943e2 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-09-29 16:50:34 +08:00
joylink_zhangsai 55f0856010 删除无用消息类型 2022-09-29 16:50:15 +08:00
weizhihong c6abb97709 【添加项目View BUG】 2022-09-29 16:42:28 +08:00
tiger_zhou db0222843f Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-29 16:34:14 +08:00
weizhihong 794a86e690 【组织实体对象】 2022-09-29 16:32:53 +08:00
weizhihong 9e70e4d223 【登录时组织信息】 2022-09-29 16:31:52 +08:00
weizhihong fde7baef6d 【空指针问题解决】 2022-09-29 16:30:33 +08:00
weizhihong e82075281c 【增加项目信息】 2022-09-29 16:29:23 +08:00
weizhihong a6470891a4 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-09-29 16:22:55 +08:00
weizhihong 5a7092360a 【增加顶级组织ID方法】 2022-09-29 16:22:46 +08:00
tiger_zhou 4f138401db Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-29 15:57:05 +08:00
joylink_zhangsai 435758678c 注释闸机状态代码 2022-09-29 15:10:42 +08:00
joylink_zhangsai 23d116c060 删除废代码 2022-09-29 15:08:40 +08:00
xzb a6778a0a58 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-29 14:46:06 +08:00
xzb b2adc808e3 paper 2022-09-29 14:45:41 +08:00
joylink_zhangsai 8ab5cf63f8 修改iscs消息发布的路径选择bug 2022-09-29 14:09:40 +08:00
weizhihong c40ce1e2dd 【 项目查询增加名称、code筛选参数】 2022-09-29 10:26:35 +08:00
tiger_zhou 9dc4a55d17 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-29 09:00:18 +08:00
xzb 80b3106cfa Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-28 18:02:21 +08:00
xzb 5b8e0049e4 paper 2022-09-28 18:01:55 +08:00
joylink_zhangsai d1f6e14f42 增加从仿真中获取iscs状态逻辑;增加闸机设备 2022-09-28 17:44:26 +08:00
weizhihong d6f7618ba9 【项目查询列表全数据查询】 2022-09-28 17:36:36 +08:00
weizhihong 7b2e488882 [项目修改BUG] 2022-09-28 17:26:48 +08:00
weizhihong bf4bad87b1 【项目描述字段调整】 2022-09-28 16:42:11 +08:00
xzb ac5c1ed33d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-28 16:34:09 +08:00
xzb 65f46b48d4 paper 2022-09-28 16:33:52 +08:00
weizhihong 63f23cf14e Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-09-28 16:32:58 +08:00
weizhihong bfbfcf4b3e 【项目结构调整,MINIO增加客户端管理服务类,项目project表结构变更sql】 2022-09-28 16:32:52 +08:00
xzb 29d9d76e7d paper company id 2022-09-28 15:36:48 +08:00
xzb 69014b0c71 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-28 14:49:45 +08:00
xzb b2086a4c81 paper 2022-09-28 14:49:24 +08:00
tiger_zhou 87de6cb800 语音识别,合成重构 2022-09-28 13:57:32 +08:00
weizhihong 42eaa75d65 【minio工具类增加全路径查询文件,修改返回值类型】 2022-09-28 13:37:10 +08:00
weizhihong 2e44fce9f4 【项目信息编辑属性修改】 2022-09-28 09:58:56 +08:00
weizhihong cb6b6e6516 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-09-28 09:42:07 +08:00
weizhihong 6637a945fa 【minio 上传文件】 2022-09-28 09:42:01 +08:00
joylink_zhangsai f5f6188ff5 修改PIS发布消息bug 2022-09-28 09:05:38 +08:00
xzb 4301c32b49 paper 2022-09-27 18:01:48 +08:00
xzb 91e23d36ae paper 2022-09-27 17:59:16 +08:00
tiger_zhou 6d2faad0ae 理论试题管理代码调整 2022-09-27 15:33:47 +08:00
tiger_zhou f28d92f793 Merge remote-tracking branch 'origin/test-training2-zhouyin' into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/dao/paper/PaperQuestionDAO.java
#	src/main/java/club/joylink/rtss/entity/paper/question/PaperQuestion.java
2022-09-27 15:29:35 +08:00
tiger_zhou 66bf5f7549 理论试题管理代码调整 2022-09-27 15:28:57 +08:00
xzb 9fe24f7230 paper 2022-09-27 15:27:03 +08:00
xzb 7ae3346ad7 paper 2022-09-27 15:13:21 +08:00
tiger_zhou ff172cf784 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-27 15:12:22 +08:00
xzb 7b6ab5608e paper 2022-09-27 15:11:03 +08:00
tiger_zhou 9930d5b754 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-27 15:10:00 +08:00
xzb 6fcf7ca003 paper 2022-09-27 14:54:41 +08:00
xzb 1af3786341 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-27 14:53:29 +08:00
tiger_zhou cbc12523bc 理论试题管理代码调整 2022-09-27 14:51:30 +08:00
tiger_zhou b5497d4cd3 理论试题管理代码调整 2022-09-27 14:47:26 +08:00
tiger_zhou 77ffde8c08 理论试题管理代码调整 2022-09-27 14:44:48 +08:00
tiger_zhou 207246c5b2 理论试题管理代码调整 2022-09-27 14:42:55 +08:00
xzb c90d5d2394 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-27 14:22:10 +08:00
xzb 7c3ca92216 paper 2022-09-27 14:21:41 +08:00
tiger_zhou 9cbe835f2b Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-09-27 14:21:11 +08:00
tiger_zhou 3489df9245 理论试题管理代码调整 2022-09-27 14:20:29 +08:00
joylink_zhangsai 1441e973f1 Pis发布信息不再直接转语音;修改查询进路路径逻辑以排除掉空列表;修改沙盘订阅路径 2022-09-27 10:22:42 +08:00
joylink_zhangsai dce23dbff7 地图数据处理接口增加对地图逻辑数据的处理 2022-09-27 09:14:40 +08:00
xzb 30386dc5f6 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-26 18:06:18 +08:00
xzb f12ceb3fce paper 2022-09-26 18:06:02 +08:00
weizhihong 40678cbc72 【清空步骤时,清空最后运行背景】 2022-09-26 13:21:03 +08:00
tiger_zhou d8079d98f2 理论试题管理代码调整 2022-09-26 13:03:34 +08:00
weizhihong e6721d69ac 【项目前端设置请求修改】 2022-09-26 11:19:30 +08:00
weizhihong f2ab1f945d 【项目前端配置中增加图标连接信息】 2022-09-26 10:11:11 +08:00
tiger_zhou 35fd58eb1d Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-09-26 09:57:05 +08:00
tiger_zhou 293588d6cf 修改 project code 参数 2022-09-26 09:56:33 +08:00
weizhihong 17e3268667 【增加项目缓存读取、删除】 2022-09-26 09:52:05 +08:00
tiger_zhou bfa9b06475 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/MapElement.java
	src/main/java/club/joylink/rtss/simulation/cbtc/data/status/OnboardPisStatus.java
	src/main/java/club/joylink/rtss/simulation/cbtc/pis/PisLogicLoop.java
	src/main/java/club/joylink/rtss/websocket/WebsocketConfig.java
	src/main/java/club/joylink/rtss/websocket/interceptor/VSimpleInterceptor.java
2022-09-26 09:50:34 +08:00
tiger_zhou 77f02453f4 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-26 09:44:37 +08:00
tiger_zhou ad8e8963c6 正式环境 ws config 对象属性 ISysUserService 造成循环依赖 添加lazy注解 2022-09-26 09:42:13 +08:00
xzb f3e409d430 dis cmd注释 2022-09-26 09:16:37 +08:00
xzb f48d48f121 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-23 18:01:31 +08:00
xzb a4865e667a paper 2022-09-23 18:01:07 +08:00
tiger_zhou 6ff6eeffec 理论试题管理代码调整 2022-09-23 17:31:22 +08:00
weizhihong c1f81a6fdf 【创建仿真时,项目为空默认处理;调度台设备为空处理;】 2022-09-23 17:14:39 +08:00
weizhihong 6178310259 【去除sql文件中的编码设置】 2022-09-23 17:01:24 +08:00
weizhihong b580ca0313 【sql文件说明】 2022-09-23 16:58:25 +08:00
weizhihong b666ac0bd7 【将項目前端配置与后端配置分离,处理重新处理表结构】 2022-09-23 16:48:48 +08:00
tiger_zhou 1ecd05be32 理论试题管理代码调整 2022-09-23 16:19:21 +08:00
joylink_zhangsai 6a53fbd5a7 PA增加定时播放功能、PIS发布信息修改站台PIS文字 2022-09-23 15:13:31 +08:00
weizhihong 5524b4c043 【增加获取项目前端配置接口】 2022-09-23 14:01:26 +08:00
weizhihong 76f86bcc96 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/controller/competition/question/QuestionBankController2.java
2022-09-23 13:28:36 +08:00
weizhihong f482aa32aa 【项目配置信息修改,枚举相关修改为string】 2022-09-23 13:25:15 +08:00
tiger_zhou 0b8a0ca0d6 理论试题管理代码调整 2022-09-23 13:02:06 +08:00
tiger_zhou f8efdbc965 理论试题管理代码调整 2022-09-22 17:43:12 +08:00
tiger_zhou a6ccd7dc81 理论试题管理代码调整 2022-09-22 17:27:05 +08:00
tiger_zhou 8536894aaa Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-22 17:26:35 +08:00
xzb 4d04c643ae Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-22 17:25:29 +08:00
xzb 979ea72d52 paper 2022-09-22 17:25:12 +08:00
weizhihong 23f2494de7 【项目配置相关、实训操作参数对比】 2022-09-22 16:55:51 +08:00
tiger_zhou 48afcf791e 理论试题管理代码调整 2022-09-22 16:24:39 +08:00
tiger_zhou 8831a0515f 理论试题管理代码调整 2022-09-22 14:38:01 +08:00
tiger_zhou 2d2d0fc459 理论试题管理 2022-09-22 14:23:21 +08:00
weizhihong 3a2803bb5e 【项目配置管理接口】 2022-09-22 13:36:03 +08:00
xzb e854308724 调度命令 2022-09-22 10:13:55 +08:00
xzb c68142f798 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-21 17:39:31 +08:00
xzb 93f871da54 调度命令 2022-09-21 17:38:21 +08:00
tiger_zhou 226d5d62b1 理论试题管理 2022-09-21 17:26:58 +08:00
joylink_zhangsai 6d45e197c2 修改列车信息中的终点站更新逻辑;修改站台PIS的时间计算逻辑 2022-09-21 13:35:19 +08:00
joylink_zhangsai b57f1977b0 修改PIS/PA ws消息发送bug 2022-09-20 18:17:09 +08:00
joylink_zhangsai 905eda42c4 修改小bug 2022-09-20 18:17:03 +08:00
joylink_zhangsai c76b9cc104 修改PIS/PA ws消息发送bug 2022-09-20 18:15:02 +08:00
joylink_zhangsai d819e8a190 修改小bug 2022-09-20 17:25:23 +08:00
tiger_zhou 542c7da98e Merge remote-tracking branch 'origin/test' into test-training2 2022-09-20 16:53:21 +08:00
tiger_zhou 9b5c3b2dbc Merge branch 'test' into test-training2-zhouyin
# Conflicts:
#	src/main/java/club/joylink/rtss/constants/MapPrdTypeEnum.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/NewAtsTrainLoadService.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/TrainPositionService.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/SimulationLifeCycleServiceImpl.java
#	src/main/java/club/joylink/rtss/vo/client/factory/SocketMessageFactory.java
#	src/main/java/club/joylink/rtss/vo/ws/TrainPosition.java
#	src/main/java/club/joylink/rtss/websocket/WebSocketController.java
#	src/main/java/club/joylink/rtss/websocket/WebsocketConfig.java
#	src/main/java/club/joylink/rtss/websocket/client/StompClientManager.java
2022-09-20 16:48:27 +08:00
tiger_zhou de0b411191 1 2022-09-20 16:41:34 +08:00
joylink_zhangsai ffd71ef83c PA/PIS功能 2022-09-20 16:29:01 +08:00
xzb 8b7f9ef947 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-19 18:09:44 +08:00
xzb 7f8b0394b6 调度命令 2022-09-19 18:09:26 +08:00
weizhihong 5a640d7b98 【当全部清除后,再次添加步骤时问题】 2022-09-19 15:49:07 +08:00
weizhihong 722532cf0f Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-09-19 15:08:27 +08:00
weizhihong da0d5d6953 【保存步骤时,处理已经删除的打分规则】 2022-09-19 15:08:08 +08:00
xzb 4015a5f2fd 通过地图逻辑数据存储调度台数据 2022-09-19 15:05:58 +08:00
joylink_zhangsai a0b83e8749 Merge remote-tracking branch 'origin/test' into test 2022-09-19 09:16:00 +08:00
xzb 9c14994eec Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-16 17:03:25 +08:00
xzb bb5fabbec0 调度命令-转发 2022-09-16 17:03:05 +08:00
tiger_zhou 37948d68fe 武汉8号线列车位置显示功能调整 2022-09-16 16:24:24 +08:00
tiger_zhou 361675fb9f 武汉8号线列车位置显示功能调整 2022-09-16 16:10:44 +08:00
weizhihong 7bc5c11e5d 【删除实训仿真暂停操作】 2022-09-16 15:57:36 +08:00
weizhihong 8d3d31c94f 【车站实训模式说明修改】 2022-09-16 13:51:13 +08:00
xzb 1741d5ed12 实训草稿发布优化 2022-09-16 10:24:47 +08:00
xzb 6293a2a54b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-15 17:40:43 +08:00
xzb 1e9d953c3b 调度命令-调度台调度 2022-09-15 17:40:28 +08:00
weizhihong cc023f94fd 【实训结束时,获取分值bug】 2022-09-15 16:47:10 +08:00
xzb 07a476bcfe 调度命令-调度台调度 2022-09-15 16:13:37 +08:00
tiger_zhou 1bcc1063ed 武汉8号线列车位置显示功能调整 2022-09-15 15:47:10 +08:00
xzb 7b912b5027 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-15 15:13:15 +08:00
xzb a5b0fde841 调度命令-地图添加调度台 2022-09-15 15:12:59 +08:00
weizhihong d544413f50 【实训操作保存时,生成操作ID】 2022-09-15 15:10:00 +08:00
xzb f0bbb332c0 调度命令-地图添加调度台;实训添加发布轨迹追踪; 2022-09-15 14:59:47 +08:00
xzb e236c51863 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-15 14:14:36 +08:00
xzb 97d2dab3af 调度命令-地图添加调度台;实训添加发布轨迹追踪; 2022-09-15 14:14:11 +08:00
weizhihong a13daf7c23 【修复实训第一次开始时背景消失BUG】 2022-09-15 13:53:06 +08:00
tiger_zhou 6741341601 武汉8号线列车位置显示功能调整 2022-09-15 13:48:05 +08:00
joylink_zhangsai a3f29142f8 重置密码、找回密码功能 2022-09-15 13:23:33 +08:00
weizhihong 1ab2452c70 【状态类型为枚举时,判断做处理】 2022-09-15 10:52:30 +08:00
weizhihong 48a28cb7c4 【修改状态判定,解决列车触发条件不生效问题】 2022-09-15 09:09:52 +08:00
weizhihong 1e94f3ae5a 【用户无角色结束实训操作】 2022-09-14 16:11:53 +08:00
xzb 10f9ebc161 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-14 15:44:39 +08:00
xzb cc73a5448f 调度命令 2022-09-14 15:43:38 +08:00
weizhihong a86c734f44 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Section.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Signal.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Switch.java
2022-09-14 14:55:15 +08:00
weizhihong 442f2e436b 【增加进路、区段、信号机、相关枚举描述属性字段;实训返回枚举描述信息】 2022-09-14 14:49:07 +08:00
tiger_zhou b863f2c87d 武汉8号线列车位置支持订阅返回消息,用户名密码的支持 2022-09-14 14:41:05 +08:00
xzb 4c5225e19d Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-14 14:32:33 +08:00
xzb d1e9c258f0 调度命令 2022-09-14 14:32:16 +08:00
walker_sheng 6f3744f98b 调整部分设备状态注解 2022-09-14 14:31:38 +08:00
weizhihong 9e29a8f360 【修改火车设备状态属性选择】 2022-09-14 10:53:07 +08:00
xzb 8abff77bad 调度命令-回执 2022-09-14 10:28:28 +08:00
xzb e26221f723 调度命令-消息推送 2022-09-14 09:54:29 +08:00
xzb 5d83ababdc 调度命令-代签 2022-09-13 18:11:22 +08:00
xzb bf821d9ff8 调度命令-受令单位超时60秒未签收处理 2022-09-13 15:56:15 +08:00
joylink_zhangsai 144f6fef4a Merge remote-tracking branch 'origin/test' into test 2022-09-13 15:39:31 +08:00
joylink_zhangsai 3f7cb3645e WS路径统一 2022-09-13 15:39:03 +08:00
xzb fa140c96f4 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-13 10:20:07 +08:00
xzb 6d05ce3d00 调度命令-调度命令操作接口(仅用于生成smart-doc) 2022-09-13 10:19:47 +08:00
xzb 379281a8a8 调度命令-接口注释完善 2022-09-13 10:18:43 +08:00
tiger_zhou 53c6aac14c 武汉8号线列车位置显示功能调整 2022-09-09 16:42:54 +08:00
tiger_zhou 114be10e1b 武汉8号线列车位置显示功能调整 2022-09-09 16:16:25 +08:00
weizhihong 952e8ea345 【调整实训提示消息结构】 2022-09-09 15:15:27 +08:00
tiger_zhou b425e5b36b 武汉8号线列车位置显示功能调整 2022-09-09 13:45:04 +08:00
tiger_zhou ed45ab1c71 Merge branch 'test-zhouyin' into test 2022-09-09 13:40:42 +08:00
tiger_zhou e24bfbcafe 武汉8号线列车位置显示功能调整 2022-09-09 13:40:25 +08:00
tiger_zhou 88c0ac23b0 Merge branch 'test-zhouyin' into test 2022-09-09 13:33:49 +08:00
tiger_zhou c6c26ff40a 武汉8号线列车位置显示功能调整 2022-09-09 13:33:29 +08:00
joylink_zhangsai d57a288ae0 进路首区段占用时联锁等级只能到引导级 2022-09-09 11:03:33 +08:00
tiger_zhou 37063e02ed Merge remote-tracking branch 'origin/test' into test 2022-09-09 10:17:58 +08:00
tiger_zhou 4d0205f578 同步站细功能 2022-09-09 10:17:26 +08:00
weizhihong f2ab803993 【刷新仿真时,会话信息转VO问题出错】 2022-09-09 10:15:37 +08:00
weizhihong d815c99f0f 【大铁实训语音校验逻辑修改】 2022-09-09 10:07:09 +08:00
joylink_zhangsai b75dbe6b3d Merge remote-tracking branch 'origin/master-huawei' into test 2022-09-09 09:20:29 +08:00
xzb 81698a389f 调度命令 2022-09-09 09:03:30 +08:00
tiger_zhou eaf30840a1 武汉8号线列车位置显示功能调整 2022-09-09 08:51:33 +08:00
thesai 52625cce1d 红河财经现场部署 2022-09-08 23:23:10 +08:00
xzb dbe7f90f3e Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-08 18:14:59 +08:00
xzb 94bd30b06b 调度命令 2022-09-08 18:14:42 +08:00
tiger_zhou 5d66e5ae09 武汉8号线列车位置显示功能调整 2022-09-08 18:04:05 +08:00
weizhihong 04b7a35a6b 【步骤为空时,保存出错】 2022-09-08 17:32:48 +08:00
tiger_zhou a13eaceeee 武汉8号线列车位置显示功能调整 2022-09-08 17:09:31 +08:00
tiger_zhou 1363355e8f 武汉8号线列车位置显示功能调整,调整菜单 2022-09-08 15:36:26 +08:00
xzb 8ff182e6e7 调度命令 2022-09-08 15:15:24 +08:00
xzb c9538a39be 调度命令 2022-09-08 15:14:23 +08:00
tiger_zhou 45ac716355 武汉8号线列车位置显示功能调整 2022-09-08 13:44:55 +08:00
tiger_zhou 9565b2f31a 武汉8号线列车位置显示功能调整 2022-09-08 13:13:59 +08:00
xzb de2a86f34f 调度命令 2022-09-08 11:09:12 +08:00
xzb 507459e233 调度命令 2022-09-08 10:32:46 +08:00
xzb 0dcb7dc9b3 调度命令 2022-09-08 09:46:19 +08:00
tiger_zhou 0194749610 武汉8号线列车位置显示功能 2022-09-07 18:35:17 +08:00
tiger_zhou d3aea82953 武汉8号线列车位置显示功能 2022-09-07 18:30:19 +08:00
tiger_zhou 5916cd765e 武汉8号线列车位置显示功能 2022-09-07 18:12:32 +08:00
xzb f2d285f022 调度命令 2022-09-07 18:06:57 +08:00
xzb 6a05030c7a Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-07 17:43:06 +08:00
xzb 3387034a66 调度命令 2022-09-07 17:42:33 +08:00
tiger_zhou caf12a6cee 武汉8号线列车位置显示功能 2022-09-07 17:20:12 +08:00
tiger_zhou b42794e45b Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-09-07 17:19:13 +08:00
tiger_zhou 4df36e6ccf 武汉8号线列车位置显示功能 2022-09-07 17:17:35 +08:00
tiger_zhou 67be44750a 武汉8号线列车位置显示功能 2022-09-07 17:15:54 +08:00
tiger_zhou 41fe8bba1c 武汉8号线列车位置显示功能 2022-09-07 16:39:55 +08:00
weizhihong faeef7a0ea 【实训重新开始时状态未初始化问题】 2022-09-07 15:04:17 +08:00
weizhihong 1308e569c1 【指标计算逻辑】 2022-09-07 14:10:10 +08:00
xzb c80828e388 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-07 14:02:19 +08:00
xzb f9eb48625f 调度命令 2022-09-07 14:01:06 +08:00
weizhihong 101956f8d6 【修改指标属性类型】 2022-09-07 10:48:28 +08:00
weizhihong 9b8080d5f3 【实训指标计算加入操作参数】 2022-09-07 10:41:06 +08:00
weizhihong cc7d57a511 【指标操作对应,创建指标操作类,指标统计类型】 2022-09-07 10:28:19 +08:00
tiger_zhou 753c314292 武汉8号线列车位置显示功能 2022-09-07 10:01:58 +08:00
tiger_zhou 7065625895 Merge branch 'test' into test-training2-zhouyin 2022-09-07 08:58:05 +08:00
tiger_zhou 6a3c4ad645 武汉8号线列车位置显示功能 2022-09-07 08:57:34 +08:00
xzb a7ff59fc91 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-06 18:03:11 +08:00
xzb 52ac4d1d63 调度命令 2022-09-06 18:02:56 +08:00
weizhihong eb84b0cf15 【实训指标计算】 2022-09-06 17:10:09 +08:00
xzb e9cc4510b4 调度命令 2022-09-06 16:59:28 +08:00
xzb 8ac5de29eb Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-05 18:19:55 +08:00
xzb 335590cd0c 调度命令 2022-09-05 18:19:34 +08:00
weizhihong 6a76691b2c 【实训消息修改为事件触发、增加指标计算流程事件】 2022-09-05 16:53:28 +08:00
tiger_zhou 786e0e58a9 车务管理终端功能代码调整 2022-09-05 15:32:16 +08:00
tiger_zhou 67938c6597 武汉8号线区段添加公里标属性 2022-09-05 15:13:37 +08:00
xzb a20441b1ec Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-05 13:06:43 +08:00
xzb 9d0677cf51 实训草稿发布重命名 2022-09-05 13:06:22 +08:00
tiger_zhou fbdbd33e49 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-09-05 12:27:55 +08:00
tiger_zhou 5c4dc62ac8 车务管理终端功能代码调整 2022-09-05 12:25:30 +08:00
xzb a1a6d69d8f 大铁调度命令-select 2022-09-05 11:18:01 +08:00
xzb 43898ba1f2 大铁调度命令-receiversManager 2022-09-05 09:24:12 +08:00
xzb 9c3b6487cd 大铁调度命令 2022-09-02 18:05:08 +08:00
xzb 71d735a7cb Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-09-02 18:04:45 +08:00
weizhihong b0ed14c484 【区段故障类型反序列化问题】 2022-09-02 17:29:03 +08:00
weizhihong 84955a996b 【草稿同名检验、发布同名检验】 2022-09-02 16:48:43 +08:00
weizhihong 2486637175 【个人草稿添加时重名判断】 2022-09-02 15:59:05 +08:00
weizhihong 8d195c5367 【前端重复点击时、后端报错问题】 2022-09-02 11:10:22 +08:00
tiger_zhou 7411b52328 Merge branch 'test-training2-zhouyin' into test-training2 2022-09-02 09:31:59 +08:00
tiger_zhou 98742d923a 车务管理终端功能代码调整 2022-09-02 09:31:19 +08:00
weizhihong 8e6060eaa2 【优化实训加载速度,结束后直接获取下一步】 2022-09-01 18:39:33 +08:00
xzb 6922e2630e 大铁调度命令数据流转实现 2022-09-01 18:09:38 +08:00
tiger_zhou 5e4d85443d 车务管理终端功能代码调整 2022-09-01 18:03:06 +08:00
tiger_zhou efb101d281 车务管理终端功能代码调整 2022-09-01 17:31:38 +08:00
tiger_zhou 9d1677128f Merge branch 'test-zhouyin' into test-training2-zhouyin 2022-09-01 14:00:03 +08:00
tiger_zhou 4d991d82ab Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-09-01 13:58:23 +08:00
tiger_zhou e646435e04 车务管理终端功能代码调整及计划支持股道,出入口与站细不一致的支持 2022-09-01 13:57:43 +08:00
xzb e643b7df9f 大铁调度命令数据流转实现 2022-09-01 10:39:49 +08:00
weizhihong 11095aa217 【保存实训最后运行状态】 2022-08-31 17:10:32 +08:00
weizhihong da9355b9a7 【优化实训运行、增加步骤定位信息字段】 2022-08-31 16:53:34 +08:00
weizhihong d55d038c06 【结束实训返回分数、保存步骤时保存人员信息、重新开始时重置仿真状态】 2022-08-31 13:34:03 +08:00
weizhihong ea3667a80d 【再次加载实训没有背景BUG、判断完成条件BUG】 2022-08-31 11:03:20 +08:00
weizhihong 4ce9d4b885 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/services/training2/Training2Service.java
2022-08-31 10:49:30 +08:00
weizhihong cc4463ef5f 【修改步骤、操作运行状态】 2022-08-31 10:44:29 +08:00
joylink_zhangsai ff0827c811 实训评分规则数据及逻辑 2022-08-30 17:41:21 +08:00
xzb 05ec596d1d 添加实训相关sql建表脚本 2022-08-30 16:04:54 +08:00
xzb bed5a7aa69 Training2DraftService优化 2022-08-30 14:31:20 +08:00
xzb 9a3cc981de Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-30 14:22:42 +08:00
xzb a2d5c6b007 Training2DraftService优化 2022-08-30 14:21:35 +08:00
weizhihong 4ddf7b99d5 【增加实训无背景加载判断】 2022-08-30 14:21:11 +08:00
weizhihong 15a5cdf6c9 【实训再开始时,重新加载背景】 2022-08-30 13:40:35 +08:00
weizhihong db4a3f10c8 【结束实训时,不存在实训BUG】 2022-08-30 13:18:19 +08:00
weizhihong 9e42a4ce68 Merge branch 'test' into test-training2 2022-08-29 18:15:02 +08:00
xzb 75f7d95285 Station 实训相关注解 2022-08-29 16:52:17 +08:00
xzb 8aaf7c6d34 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-29 15:57:24 +08:00
xzb 3221f12f37 ExpConditionMaterialSrcAnno 添加属性name 2022-08-29 15:57:04 +08:00
weizhihong 0f0cf18e13 【操作中增加运行状态】 2022-08-29 14:42:49 +08:00
weizhihong a3ed402eba 【增加步骤执行状态】 2022-08-29 13:38:52 +08:00
tiger_zhou a45f64d71c 车务管理终端功能代码调整 2022-08-29 13:34:48 +08:00
weizhihong 90d4acbdb5 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-08-29 10:37:21 +08:00
weizhihong 5b9423cf8e 【前端调用完成步骤中的操作】 2022-08-29 10:37:04 +08:00
joylink_zhangsai 68726b9939 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-29 10:32:41 +08:00
joylink_zhangsai 3b486e9016 实训评分规则数据结构和使用逻辑修改 2022-08-29 10:32:29 +08:00
weizhihong 8c3293ae68 【保存步骤时保存背景】 2022-08-29 10:29:56 +08:00
weizhihong 7a58ec24ab Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-08-29 10:23:51 +08:00
weizhihong 1e15bb8ee3 【修改步骤并保存仿真背景】 2022-08-29 10:23:45 +08:00
xzb f6ba06871b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-29 10:22:23 +08:00
xzb 1c58b60417 实训添加字段final_scenes_json 2022-08-29 10:22:05 +08:00
tiger_zhou feb4b1532c 车务管理终端功能代码调整 2022-08-29 09:56:18 +08:00
weizhihong 12dc16c0b5 【修改实训加载BUG】 2022-08-29 09:37:59 +08:00
joylink_zhangsai a94b1ac3b0 实训评分规则使用逻辑 2022-08-26 17:10:32 +08:00
weizhihong 7669f34480 【修改客户端属性名称】 2022-08-26 15:48:53 +08:00
weizhihong b1ab8e8bef 【客户端操作参数类型修改】 2022-08-26 13:57:04 +08:00
xzb 410deb28e3 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-26 11:30:37 +08:00
xzb b0be1b4293 实训相关接口请求字段添加校验 2022-08-26 11:30:25 +08:00
weizhihong 46668187d1 【增加客户端操作参数】 2022-08-26 10:59:10 +08:00
weizhihong ccea35cbc4 【无背景时加载BUG】 2022-08-26 10:14:34 +08:00
weizhihong 88fe625fc9 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-08-26 10:12:45 +08:00
weizhihong e8df5e8ee6 【编辑车站条件属性注解】 2022-08-26 10:12:39 +08:00
joylink_zhangsai eb1e3f35a1 实训评分规则定义 2022-08-26 10:00:01 +08:00
joylink_zhangsai 5349361450 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-26 09:51:46 +08:00
xzb 09699c5c09 Section 添加ExpConditionMaterialAnno 2022-08-26 09:42:16 +08:00
xzb 590aa51529 Route 添加ExpConditionMaterialAnno 2022-08-26 09:36:44 +08:00
xzb 1f9875b7fb ExpConditionMaterialAnno完善注释 2022-08-26 09:17:08 +08:00
joylink_zhangsai f06bfa9e4e Merge remote-tracking branch 'origin/test-training2' into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Station.java
2022-08-25 17:50:45 +08:00
joylink_zhangsai ba1dfb77a2 Merge remote-tracking branch 'origin/test' into test-training2
# Conflicts:
#	pom.xml
2022-08-25 17:35:15 +08:00
xzb 622ac0338e Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-25 17:03:04 +08:00
xzb a9bf1832bf 实训草稿条件表达式中“条件”的获取优化 2022-08-25 17:02:48 +08:00
weizhihong de3c493c42 【实训属性条件注解增加】 2022-08-25 16:54:57 +08:00
joylink_zhangsai 308c9c1754 Merge remote-tracking branch 'origin/test' into test 2022-08-25 16:51:10 +08:00
joylink_zhangsai fc1f4c5511 修改调车进路生成逻辑;增加长调车进路生成逻辑 2022-08-25 16:50:56 +08:00
tiger_zhou d541f85aee 车务管理终端功能代码调整 2022-08-25 16:24:01 +08:00
xzb 653bf208b0 实训草稿条件表达式中“条件”的获取优化 2022-08-25 16:21:52 +08:00
xzb 02468a10b0 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-25 15:52:29 +08:00
xzb aaf852db59 实训草稿条件表达式中“条件”的获取 2022-08-25 15:52:00 +08:00
tiger_zhou 9d1a8c2fa5 车务管理终端功能代码调整及径路更新,提交功能 2022-08-25 15:26:16 +08:00
weizhihong a3e9d7faf0 【修改表达式数据格式】 2022-08-25 14:22:47 +08:00
tiger_zhou 37a8451173 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zhouyin 2022-08-25 08:56:56 +08:00
joylink_zhangsai 33217b868f 大铁生成子系统增加综合演练 2022-08-24 18:35:19 +08:00
tiger_zhou d8eb3dd50f 车务管理终端功能代码调整 2022-08-24 18:03:46 +08:00
weizhihong 36def8ce7a 【仿真加载实训】 2022-08-24 16:39:45 +08:00
xzb b1a5415720 实训草稿分页查询添加过滤条件mapId 2022-08-24 16:07:33 +08:00
xzb a784fc278b routepath 筛选异常时打印 2022-08-24 15:56:21 +08:00
joylink_zhangsai 7f870d52ce Merge remote-tracking branch 'origin/test' into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/operation/Operation.java
2022-08-24 15:26:18 +08:00
joylink_zhangsai b4470f92c9 修改大铁调车进路生成逻辑 2022-08-24 13:57:14 +08:00
joylink_zhangsai 0e4f0b7b83 增加武汉项目 2022-08-24 11:14:10 +08:00
tiger_zhou ab8f0d3556 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zhouyin 2022-08-24 09:07:31 +08:00
xzb 41c7130489 已发布实训管理 2022-08-23 16:22:42 +08:00
xzb dd9996a895 实训草稿保存、保存草稿地图定位;已发布实训根据mapId获取、根据已发布实训id或实训完整信息 2022-08-23 13:20:18 +08:00
joylink_zhangsai 0ef764591a 修改大铁子系统生成名称 2022-08-23 11:25:23 +08:00
joylink_zhangsai 0433273f35 修改停稳倒计时实现逻辑 2022-08-23 10:04:17 +08:00
xzb 5d4bb2a63d PageQueryVO.pageNum添加注释 2022-08-23 09:37:19 +08:00
tiger_zhou 6e862173b8 车务管理终端功能代码调整 2022-08-22 16:36:23 +08:00
weizhihong aa1f8021c3 【实训参演角色设置】 2022-08-22 16:00:39 +08:00
weizhihong f27e2dab8a 【实训运行逻辑修改,增加单操时角色的默认选定】 2022-08-22 14:55:09 +08:00
xzb c687f0a322 删除获取所有实训草稿信息的接口 2022-08-22 13:07:01 +08:00
xzb fd43bbcc30 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-xzb1 2022-08-22 12:16:09 +08:00
xzb a831d0cccf 添加实训修改背景接口 2022-08-22 12:15:47 +08:00
weizhihong 74317a0744 【单操角色设置】 2022-08-22 10:45:13 +08:00
weizhihong f9276e2632 【实训步骤对象】 2022-08-22 09:08:35 +08:00
tiger_zhou bd45e46e80 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zhouyin
 Conflicts:
	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/operation/Operation.java
2022-08-19 17:53:03 +08:00
tiger_zhou 59b92ea0c3 车务管理终端功能 2022-08-19 17:50:38 +08:00
weizhihong b6fd23d036 【实训步骤、操作基本流程逻辑】 2022-08-19 14:53:41 +08:00
weizhihong 8243193972 【实训预览操作】 2022-08-18 16:03:43 +08:00
xzb 51d1a2f665 已发布实训管理接口-删除实训 2022-08-18 14:43:40 +08:00
xzb 281b1acdf3 已发布实训管理接口实现 2022-08-18 14:08:11 +08:00
xzb c7047614ca 已发布实训管理接口定义 2022-08-18 10:45:59 +08:00
xzb b50142cdd4 实训草稿发布业务 2022-08-17 18:05:56 +08:00
xzb f2fcd2f6ea 实训发布表生成的实体、dao、xml 2022-08-17 16:29:18 +08:00
xzb b9222c262f 实训草稿分页获取,更新草稿分更新基础信息和更新大字段信息 2022-08-17 15:24:56 +08:00
joylink_zhangsai d510fb990b 区段增加停稳倒计时逻辑及状态 2022-08-17 13:24:09 +08:00
joylink_zhangsai 7a0ae0426b 修改操作计数逻辑;区段数据增加停稳倒计时显示位置 2022-08-17 13:23:10 +08:00
xzb e57bf757ac 注掉华为voice 2022-08-17 11:21:34 +08:00
joylink_zhangsai 6ff50fa08c 增加引导总锁后办理引导直接开放信号及取消引导总锁后关闭信号逻辑;修改驾驶操作越引导无效bug 2022-08-17 10:33:21 +08:00
xzb cc2e07d24a 获取当前用户的某个实训草稿的所有信息 2022-08-17 10:29:36 +08:00
xiazengbin 39549dd426 training2 2022-08-17 09:07:46 +08:00
xiazengbin fbe1b0b891 实训草稿基本操作 2022-08-16 18:03:51 +08:00
joylink_zhangsai aaa7e414bc 车站中增加计数器;仿真Members和Users改为有序Map 2022-08-16 17:10:02 +08:00
weizhihong ed441f7b06 【步骤成员ID】 2022-08-16 16:55:51 +08:00
weizhihong 11b124efc6 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java
#	src/main/java/club/joylink/rtss/services/training2/Training2DraftService.java
2022-08-16 16:12:27 +08:00
weizhihong f4457f737b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2
# Conflicts:
#	src/main/java/club/joylink/rtss/controller/training2/TrainingV2Controller.java
#	src/main/java/club/joylink/rtss/services/training2/Training2DraftService.java
2022-08-16 16:10:18 +08:00
xiazengbin 54868de8c2 创建实训草稿 2022-08-16 16:07:18 +08:00
weizhihong 07454c3a0b 【实训步骤编辑、查询】 2022-08-16 15:52:31 +08:00
xiazengbin 8440643eab training2 2022-08-16 15:42:49 +08:00
xiazengbin 3ba7fa5916 training2 2022-08-16 14:54:15 +08:00
xiazengbin f4c7f29df1 training2 table 2022-08-16 14:32:37 +08:00
xiazengbin 459d2caf23 training2 2022-08-16 13:57:40 +08:00
xiazengbin 77c10de68d draft training2 数据库定义相关 2022-08-16 13:55:18 +08:00
joylink_zhangsai f9f9c998ec 修改注解 2022-08-16 13:25:30 +08:00
joylink_zhangsai d98fdd15cb 删除实训数据中的operaJson;增加Valuable新实现 2022-08-16 13:20:10 +08:00
joylink_zhangsai cee7197c70 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-16 11:10:06 +08:00
joylink_zhangsai 45e5ad302b 新实训数据结构修改中 2022-08-16 11:09:52 +08:00
weizhihong b1606676e2 【新增消息类型语音、文字】 2022-08-16 10:43:20 +08:00
weizhihong 8bf5a4b807 Merge branch 'test' into test-training2 2022-08-16 10:28:46 +08:00
joylink_zhangsai 1e69db5a5e 新实训数据结构修改中 2022-08-15 17:47:02 +08:00
tiger_zhou f3df206427 修改:添加车辆停靠车站时,车门关闭后向前行驶一点的问题,因为车头偏移小于目标偏移(设定) 2022-08-15 17:19:01 +08:00
weizhihong 33203131b2 【增加Train_Drive命令,后续切换完成后,将Train_Trust删除】 2022-08-15 15:05:20 +08:00
weizhihong e5db5e02f4 【切换为RM模式后,再次切换AM死循环问题】 2022-08-15 14:04:05 +08:00
joylink_zhangsai 73a1ad2e3d 新实训数据结构修改中 2022-08-15 10:58:45 +08:00
weizhihong 35236a831a 【回库折返轨判断】 2022-08-15 10:33:46 +08:00
joylink_zhangsai 18d9d72347 新实训数据结构修改中 2022-08-15 09:33:34 +08:00
joylink_zhangsai 8e1e491fca Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-12 16:45:12 +08:00
joylink_zhangsai d600df6381 新实训数据结构修改中 2022-08-12 16:45:02 +08:00
joylink_zhangsai ad6fd2ac37 Merge remote-tracking branch 'origin/test' into test 2022-08-12 15:48:07 +08:00
joylink_zhangsai ebdcd4362c 信号按钮增加有无计数器字段 2022-08-12 15:47:43 +08:00
weizhihong bc5f414193 【文字输入会话枚举类型BUG】 2022-08-12 15:28:15 +08:00
tiger_zhou c4c803428c 进路延期取消的时候,不能手动取消进路 2022-08-12 14:24:20 +08:00
weizhihong 9cbfb97d98 【会话文件上传后增加返回结果】 2022-08-12 13:53:33 +08:00
tiger_zhou ad180a4355 列车进路延时解锁时间180S,调车进路延时解锁为30S 2022-08-12 13:46:02 +08:00
weizhihong 2ba34056dc 【删除多余代码】 2022-08-12 13:33:27 +08:00
weizhihong e865770a4b Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-08-12 13:27:22 +08:00
weizhihong 3dcc6b5a66 【语音操作改为Base64上传】 2022-08-12 13:27:17 +08:00
xiazengbin 8c1dee2202 组合进路-通过进路信号 2022-08-12 13:07:44 +08:00
xiazengbin fbcf1e645e merge 2022-08-12 11:31:35 +08:00
xiazengbin 4fe596c803 组合进路 2022-08-12 11:11:49 +08:00
joylink_zhangsai e3fc0efeaf 新实训数据结构修改中 2022-08-12 11:04:00 +08:00
joylink_zhangsai cc2c667e40 修改大铁通过进路生成的信号显示 2022-08-12 11:00:37 +08:00
joylink_zhangsai 782788e0e9 修改大铁通过进路生成的信号显示 2022-08-12 10:58:35 +08:00
joylink_zhangsai 0580471208 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-12 10:40:59 +08:00
joylink_zhangsai 7dad6b1419 部分地图数据删除showConditions字段 2022-08-12 10:40:42 +08:00
weizhihong 4f9a12e7a7 Merge branch 'test-training2' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2 2022-08-12 10:20:23 +08:00
weizhihong dc0982bc97 【电话操作】 2022-08-12 10:20:18 +08:00
joylink_zhangsai 6170ebc3f5 Merge remote-tracking branch 'origin/test' into test 2022-08-12 09:52:23 +08:00
joylink_zhangsai 8dcfce7354 增加<故障通知>信号按钮类型 2022-08-12 09:52:08 +08:00
joylink_zhangsai 7b9fba8412 Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-12 09:50:28 +08:00
joylink_zhangsai 9c1e2cfc9d 增加<故障通知>信号按钮类型 2022-08-12 09:50:17 +08:00
weizhihong 5fd42ccf40 【电话会话操作、聊天会话操作】 2022-08-12 09:45:02 +08:00
tiger_zhou f08f1e37ca Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zhouyin 2022-08-12 09:38:23 +08:00
tiger_zhou 214a4ae7d0 列车进路延时解锁时间180S,调车进路延时解锁为30S 2022-08-12 09:37:56 +08:00
xiazengbin 112ab6cbab 每次开始触发办理进路时设置开放信号显示 2022-08-11 17:56:34 +08:00
weizhihong 9a9171766b 【会话语音输入、文字输入操作】 2022-08-11 14:11:25 +08:00
weizhihong efcdeaf26d Merge remote-tracking branch 'remotes/origin/test' into test-training2 2022-08-11 13:50:31 +08:00
weizhihong a95076aac1 【分路不良状态问题】 2022-08-11 13:05:15 +08:00
joylink_zhangsai 6a194ce09c Merge remote-tracking branch 'origin/test-training2' into test-training2 2022-08-11 11:27:38 +08:00
joylink_zhangsai d6b327f8cc 新实训增加<表达式>数据结构、实训数据增加运行图id、评分规则增加仿真成员信息 2022-08-11 11:27:24 +08:00
xiazengbin 4073382b85 3.233 2022-08-11 11:20:13 +08:00
xiazengbin f0fc1fed80 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server.git into test-xzbsignal 2022-08-11 11:09:35 +08:00
xiazengbin 5476db3db3 signal 2022-08-11 09:19:10 +08:00
weizhihong c2394f3eb9 【重置时,分路不良状态改成false】 2022-08-11 09:12:51 +08:00
weizhihong a809059e4a Merge remote-tracking branch 'remotes/origin/test' into test-training2 2022-08-11 08:50:59 +08:00
weizhihong b25d0ab80d 【会话操作枚举】 2022-08-11 08:50:27 +08:00
weizhihong 54d617f77b Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-08-11 08:48:46 +08:00
weizhihong f754e6d07f 【行驶至前方站、进路闭塞行驶,合并入驾驶操作中】 2022-08-11 08:48:40 +08:00
joylink_zhangsai 0c824032c4 Merge remote-tracking branch 'origin/test' into test-training2 2022-08-10 15:21:36 +08:00
joylink_zhangsai 26c5be81b0 Merge remote-tracking branch 'origin/test' into test 2022-08-10 15:21:07 +08:00
joylink_zhangsai 5326a53baa 草稿进路更新功能增加<离去区段占用与信号对应关系> 2022-08-10 15:20:55 +08:00
weizhihong 1e4071d79c 【去除角色司机限制】 2022-08-10 13:37:47 +08:00
weizhihong a5640fb52b 【删除越红灯行驶、越引导信号行驶、限速、驾驶至、大铁发车、停车操作】 2022-08-10 13:07:57 +08:00
joylink_zhangsai fb68e92e4d Merge remote-tracking branch 'origin/test' into test-training2 2022-08-10 10:03:44 +08:00
joylink_zhangsai f42923f100 修改大铁引导进路筛选逻辑 2022-08-10 09:52:50 +08:00
joylink_zhangsai 1f3b7c65d2 修改大铁引导进路筛选逻辑 2022-08-10 09:20:51 +08:00
tiger_zhou 8b58757942 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-training2-zhouyin 2022-08-10 08:50:37 +08:00
joylink_zhangsai a90973fa2c Merge remote-tracking branch 'origin/test' into test 2022-08-09 17:28:02 +08:00
tiger_zhou 50bb136082 Merge branch 'test-zhouyin' into test-training2 2022-08-09 17:21:32 +08:00
tiger_zhou 8131728783 修改操作类型的属性调整 2022-08-09 17:20:00 +08:00
joylink_zhangsai f0ca9e9c77 Revert "Revert "增加大铁发车进路信号受离去区段占用影响逻辑与数据""
This reverts commit 4654dc4b71.
2022-08-09 17:10:00 +08:00
joylink_zhangsai 6ba11083eb 修改新实训数据结构 2022-08-09 13:49:16 +08:00
joylink_zhangsai 17fbc6ae51 定义新实训数据结构 2022-08-09 10:27:22 +08:00
tiger_zhou 71dadb5468 修改操作类型的属性调整 2022-08-09 10:00:36 +08:00
tiger_zhou c89a2ba5e4 修改操作类型的属性 2022-08-09 09:46:20 +08:00
weizhihong b2d7404f96 【行驶至操作】 2022-08-05 17:21:17 +08:00
weizhihong 162eedbcfd 【指令修改为操作】 2022-08-05 16:56:13 +08:00
walker_sheng b892606e76 修改local数据库配置 2022-08-05 16:13:26 +08:00
weizhihong 26f96fed02 【剧本信息保存实体修改】 2022-08-04 16:49:51 +08:00
weizhihong bf22dac447 【保存剧本时,保存进路序列、占线板、路票、红色通行证、绿色通行证】
【股道区段用sectionCode】
【剧本会话动作删除】
2022-08-04 11:28:20 +08:00
joylink_zhangsai 4654dc4b71 Revert "增加大铁发车进路信号受离去区段占用影响逻辑与数据"
This reverts commit d294dfafe8.
2022-08-04 10:11:48 +08:00
joylink_zhangsai 7d9d14086a 修改生成大铁通过进路的逻辑 2022-08-03 16:38:23 +08:00
joylink_zhangsai d294dfafe8 增加大铁发车进路信号受离去区段占用影响逻辑与数据 2022-08-03 13:50:25 +08:00
joylink_zhangsai 1f3173f393 会话接通消息中增加会话创建人id 2022-08-03 11:10:02 +08:00
xiazengbin adace3d7e5 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server.git into test-xzb 2022-08-02 14:44:24 +08:00
xiazengbin 03b6cc1b20 添加段长 2022-08-02 14:44:14 +08:00
joylink_zhangsai b9701a13ce Merge remote-tracking branch 'origin/test' into test 2022-08-02 13:05:26 +08:00
joylink_zhangsai 4dcf64d9ff 大铁引导总锁失表道岔,可办理引导进路 2022-08-02 13:05:16 +08:00
weizhihong 97a8e522e7 【修改系统时间BUG修改】 2022-08-02 10:34:09 +08:00
weizhihong c0dd13e3dd 【修改进路信息时,保存进路类型】 2022-08-02 09:42:59 +08:00
weizhihong 25a4c8911f 【接发箭头占用逻辑注释】 2022-08-01 17:27:27 +08:00
weizhihong b159fb3ce2 【联锁接发车灯状态逻辑】 2022-08-01 17:19:40 +08:00
xiazengbin b471ba466b Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server.git into test-xzb 2022-08-01 17:12:40 +08:00
xiazengbin c22c5b2691 fault offline 2022-08-01 17:12:32 +08:00
weizhihong c1c734a17e 【进路类型保存】【站台轨分路不良状态BUG处理】 2022-08-01 16:42:41 +08:00
joylink_zhangsai 889e415ddd 修改大铁通过进路生成逻辑 2022-08-01 16:04:18 +08:00
joylink_zhangsai 9a757c4a7f 添加哈盈达大铁项目;机器人驾驶不再重复切手动位 2022-08-01 15:20:56 +08:00
joylink_zhangsai 33c89b1792 引导总锁状态不再禁止引导进路办理 2022-08-01 14:31:47 +08:00
xiazengbin 9ec80abc27 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server.git into test-xzb 2022-08-01 13:41:29 +08:00
xiazengbin 0c71476026 脱线停车 2022-08-01 13:41:19 +08:00
joylink_zhangsai 45a4d6f5eb 修改bug 2022-08-01 13:19:21 +08:00
joylink_zhangsai c56fbcf757 Merge remote-tracking branch 'origin/test' into test 2022-08-01 13:09:56 +08:00
joylink_zhangsai 156d876c73 修改驾驶操作限速不生效bug 2022-08-01 13:09:23 +08:00
xiazengbin 9b2411ed24 脱线故障停车 2022-08-01 13:02:25 +08:00
xiazengbin ce2b3a8d7c Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server.git into test-xzb 2022-07-29 18:04:24 +08:00
xiazengbin e66a0c204a 列车脱线 2022-07-29 17:49:29 +08:00
joylink_zhangsai 76652f4a4f 剧本不记录除驾驶、停车、换端外的所有列车驾驶相关操作 2022-07-29 16:51:41 +08:00
joylink_zhangsai c862318813 自动驾驶忽略所有调车信号机 2022-07-29 15:29:57 +08:00
joylink_zhangsai c98ff6035a 地图数据的表示状态增加switchCodes字段 2022-07-29 15:25:30 +08:00
weizhihong 2b2c251854 【区段占用,结束会话操作修改】 2022-07-29 11:13:24 +08:00
weizhihong 03760bffd3 【剧本会话参与者先挂电话后,会话不能结束BUG】 2022-07-28 17:28:24 +08:00
tiger_zhou e540f54392 剧本司机变更不返回记录到剧本中调整 2022-07-28 14:48:27 +08:00
weizhihong a4cfc79a30 【运行方向接发车灯不占用标识】 2022-07-28 13:34:06 +08:00
tiger_zhou 3b9d822f80 剧本司机变更不返回记录到剧本中 2022-07-28 11:55:31 +08:00
weizhihong 8e5a49628d 【如果会话中全部为机器人,则直接完成】 2022-07-28 10:55:09 +08:00
weizhihong 84b591ae9d 【在连续动作是机器人的情况下,如果音频播放完成,则动作立即结束】 2022-07-28 10:16:38 +08:00
thesai 38828b23e7 机器人驾驶、停车操作小改动 2022-07-27 23:02:40 +08:00
thesai 7075deb417 驾驶操作小改动 2022-07-27 22:43:19 +08:00
thesai 4eaa82ff7a 机器人驾驶和停车功能完善 2022-07-27 22:30:35 +08:00
joylink_zhangsai 76f10fd230 Merge remote-tracking branch 'origin/test' into test 2022-07-27 18:59:26 +08:00
joylink_zhangsai 280f4edd78 驾驶和停车操作 2022-07-27 18:58:17 +08:00
weizhihong 80301e670d 【移动运行方向至CI联锁文件夹】【移动行车日志至CTC文件夹】【增加进路是否调车进路属性】 2022-07-27 18:42:41 +08:00
weizhihong 06e8e2d5ac Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-27 15:28:38 +08:00
weizhihong dd770b496b 【修改剧本执行时,无参数空指针BUG】 2022-07-27 15:28:28 +08:00
walker_sheng eee106a1c9 Merge remote-tracking branch 'origin/test' into test 2022-07-27 14:55:04 +08:00
walker_sheng 7d53a5b138 修改剧本语音判断匹配率 2022-07-27 14:54:45 +08:00
weizhihong fe7c8c324f Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-27 14:49:42 +08:00
weizhihong 24517a1895 【行车日志反序列化BUG】 2022-07-27 14:49:26 +08:00
walker_sheng 9ca26dcb00 百度语音接口错误码处理 2022-07-27 13:49:15 +08:00
xiazengbin a7a047390d 添加配置:对信号机封锁操作,是否影响信号显示 2022-07-27 10:36:16 +08:00
joylink_zhangsai 266463eb4c 道岔钩锁操作联动 2022-07-26 15:28:52 +08:00
joylink_zhangsai fc353a5fad 取消剧本删除动作条件 2022-07-26 15:08:24 +08:00
joylink_zhangsai 8471bd9d6e Merge remote-tracking branch 'origin/test' into test 2022-07-26 13:22:28 +08:00
joylink_zhangsai f1fc7012d9 增加线路配置[区故解是否只能解锁故障锁闭区段];修改列车托管操作参数和逻辑 2022-07-26 13:22:10 +08:00
weizhihong 65aa127296 行车日志列车上线bug 2022-07-26 12:56:52 +08:00
weizhihong 2d9e5f2cea 【状态修改】 2022-07-26 12:24:56 +08:00
weizhihong 6ddc46f09d 【还原非通讯车占用逻辑】【行车日志添加列车时,判断是否已经上线,上线的不添加】 2022-07-26 12:23:22 +08:00
weizhihong 608631ff41 【设备管理员加车站属性】 2022-07-26 10:59:00 +08:00
weizhihong 6e60f7c5af 【修改加载剧本无行车日志BUG】 2022-07-26 10:02:43 +08:00
weizhihong f6514cb7f1 角色名称置空 2022-07-26 09:42:52 +08:00
weizhihong e3532ea8b4 【设备管理员】 2022-07-26 09:35:20 +08:00
joylink_zhangsai 15d7ebd7f1 Merge remote-tracking branch 'origin/test' into test 2022-07-25 18:09:08 +08:00
joylink_zhangsai d6ff1c12f5 增加修改仿真时间接口;增加故障锁闭设置与取消 2022-07-25 18:08:54 +08:00
weizhihong 3404870ec7 【增加大铁角色默认列表】 2022-07-25 18:04:58 +08:00
weizhihong 808a87edb7 增加角色【站长、信号员、客运员、扳道员、引导员、工务工】 2022-07-25 16:30:19 +08:00
weizhihong 75f5c2b592 【剧本反序列化BUG】 2022-07-25 15:24:06 +08:00
weizhihong ee5be65ad5 【修复反序列化CTC信息BUG】 2022-07-25 13:54:17 +08:00
weizhihong 8afd9b286f 【调度运行计划非空判断】 2022-07-25 09:29:21 +08:00
weizhihong 5fdcfc5fd7 【CTC信息剧本没有反序列化非空判断】 2022-07-25 09:25:50 +08:00
weizhihong 7ae2e6fa6a Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-22 19:46:45 +08:00
weizhihong dcec7e339c 【剧本中出入口状态、行车日志信息保存】 2022-07-22 19:46:39 +08:00
joylink_zhangsai 073ad21844 Merge remote-tracking branch 'origin/test' into test 2022-07-22 16:31:34 +08:00
joylink_zhangsai 66995d5606 自动驾驶逻辑基于实体设备 2022-07-22 16:30:45 +08:00
joylink_zhangsai 66d21c1778 大铁增加点灯灭灯操作;大铁不执行根据信号机模式自动切换点灯灭灯状态逻辑;修改部分列车运行指令的寻路逻辑;修改停车指令结束条件;修改大铁自动驾驶寻路逻辑 2022-07-22 16:20:52 +08:00
weizhihong 0e3939b8f6 【闭塞后发车,列车占用显示异常解决】 2022-07-22 11:22:20 +08:00
joylink_zhangsai ba0c05eb64 大铁进路人解进路去掉需要接近锁闭的条件 2022-07-22 09:49:35 +08:00
joylink_zhangsai ad797fe758 大铁无计划车停站30s 2022-07-22 09:13:01 +08:00
joylink_zhangsai 5f4c20f20a Merge remote-tracking branch 'origin/test' into test 2022-07-21 17:46:55 +08:00
joylink_zhangsai afbb57d1a8 增加大铁列车自动驾驶逻辑;将大铁不需要的仿真任务去除 2022-07-21 17:46:47 +08:00
weizhihong ad904b95c9 【保存剧本时,栈溢出问题解决】 2022-07-21 17:36:20 +08:00
weizhihong 8e70759161 【大铁行驶过程中,检查是否还可以向前行驶】 2022-07-21 09:48:26 +08:00
joylink_zhangsai 8dcba7a311 Merge remote-tracking branch 'origin/test' into test 2022-07-20 14:10:52 +08:00
joylink_zhangsai 53c86eaba4 修改大铁进路自动触发逻辑 2022-07-20 14:07:48 +08:00
weizhihong 15e5b28c68 【道岔分路不良设置】
【删除多余属性】
2022-07-20 14:04:26 +08:00
weizhihong 43036bc6a5 【修改加车逻辑,删除多余代码】 2022-07-20 09:39:12 +08:00
weizhihong 21f02c218b 【行车日志变化后,回调占线板方法】 2022-07-19 17:12:12 +08:00
joylink_zhangsai 8b02960200 修改进路序列和股道视图以车站为单位重新生成 2022-07-19 17:01:10 +08:00
joylink_zhangsai 9d3dddb099 Merge remote-tracking branch 'origin/test' into test 2022-07-19 16:42:54 +08:00
joylink_zhangsai e8a187d4bd 增加获取百度token接口;标记删除的阶段计划对应的进路序列和股道视图删除 2022-07-19 16:40:27 +08:00
weizhihong 18a18c78a7 【自动计划时间前5分钟增加列车】 2022-07-19 14:03:13 +08:00
weizhihong bab45540de 【接发车口方向类型修改为字符串】 2022-07-19 13:40:05 +08:00
weizhihong 6440a36356 【始发计划下发后,自动接车】 2022-07-19 13:28:20 +08:00
joylink_zhangsai 2aefb71fed 修改大铁调车进路生成逻辑 2022-07-19 10:45:52 +08:00
weizhihong 84daf2379f 【去除运行日志初始消息,改为接口拉取】 2022-07-18 18:19:24 +08:00
joylink_zhangsai 987cb20325 修改地图功能配置的默认值 2022-07-18 16:40:41 +08:00
joylink_zhangsai c2d04f684c 大铁:非常站控取消进路的自动触发逻辑;地图绘制增加配置,可配置线路是否有CTC/TDCS系统 2022-07-18 16:34:21 +08:00
weizhihong 32ae4fc71b 【CTC发送初始化消息去除synchronized关键字】 2022-07-18 16:00:11 +08:00
weizhihong edb9f46753 【行车日志变化后回调占线板】 2022-07-18 15:01:14 +08:00
weizhihong 953e1fa6a3 注释 2022-07-18 14:23:43 +08:00
weizhihong 9e2022addd Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-18 14:21:36 +08:00
weizhihong c794758d09 【行车日志删除标识操作】
【行车计划同一车次限制】
2022-07-18 14:21:30 +08:00
joylink_zhangsai 8245b2f2e8 增加信号按钮类型枚举 2022-07-18 13:46:40 +08:00
joylink_zhangsai e13d00e75b Merge remote-tracking branch 'origin/test' into test 2022-07-18 13:19:19 +08:00
joylink_zhangsai 57ef0ec497 大铁线路,有CTC系统的默认自律控制 2022-07-18 13:19:00 +08:00
weizhihong febb565223 【运行股道与基本径路不一致修改BUG】 2022-07-18 10:40:36 +08:00
weizhihong 6addd6d286 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-18 10:21:13 +08:00
weizhihong f10a51493e 【总辅助抬起后,指示灯无效BUG】 2022-07-18 10:21:06 +08:00
joylink_zhangsai a77da3cd84 修改进路序列路径筛选逻辑 2022-07-18 09:48:16 +08:00
joylink_zhangsai 4f0044be9c 修改进路序列查找进路逻辑 2022-07-15 18:16:06 +08:00
joylink_zhangsai e683c3eb05 Merge remote-tracking branch 'origin/test' into test 2022-07-15 16:28:47 +08:00
joylink_zhangsai e2cf5c630e 增加长兴技术学院项目 2022-07-15 16:28:33 +08:00
weizhihong d5ab7eee4b 【辅助办理进路BUG】 2022-07-15 10:42:14 +08:00
joylink_zhangsai 53b7af2431 修改sql 2022-07-14 18:16:44 +08:00
joylink_zhangsai d4f0b78154 Revert "修改:用户在实训平台能看到公开的课程、考试及自己所属组织下的课程、考试数据"
This reverts commit c4144e5f80.
2022-07-14 18:11:40 +08:00
joylink_zhangsai abdf784bd9 Merge remote-tracking branch 'origin/test' into test 2022-07-14 18:02:28 +08:00
joylink_zhangsai 6f316da19b 修改实训平台的课程、考试查询结果 2022-07-14 18:02:14 +08:00
weizhihong 7f799ce302 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-14 17:22:53 +08:00
weizhihong 930638a0c6 【接发辅助限制条件、辅助状态下改变方向流程、修改辅助灯状态刷新逻辑】 2022-07-14 17:22:36 +08:00
joylink_zhangsai 1015f4217f 增加:创建考试时记录组织 2022-07-14 17:21:35 +08:00
joylink_zhangsai 35277606e8 增加返回值字段 2022-07-14 17:13:20 +08:00
joylink_zhangsai 87d93692e4 修改扫码登录bug 2022-07-14 16:26:51 +08:00
joylink_zhangsai c4144e5f80 修改:用户在实训平台能看到公开的课程、考试及自己所属组织下的课程、考试数据 2022-07-14 16:22:25 +08:00
joylink_zhangsai c6868d4e0a Merge remote-tracking branch 'origin/test' into test 2022-07-14 15:16:31 +08:00
weizhihong 9fe7bb8222 【改方、辅助状态限制】 2022-07-14 15:12:24 +08:00
joylink_zhangsai 9a2ffe1274 修改教学管理相关接口的考试、课程、评价规则的创建和查询逻辑 2022-07-14 14:59:31 +08:00
weizhihong 87f04ddb3e 【行车日志超限消息处理】 2022-07-14 13:40:25 +08:00
weizhihong 54a44f18e6 【行车日志新增运行计划时,班次BUG】 2022-07-14 13:15:34 +08:00
joylink_zhangsai e1f1d8bc5e Merge remote-tracking branch 'origin/test' into test 2022-07-14 10:16:29 +08:00
joylink_zhangsai 8b7f989a01 修改:mapFunctionConfig给默认值 2022-07-14 10:16:08 +08:00
weizhihong 6e40df6868 【总辅助验证条件增加】 2022-07-14 09:53:26 +08:00
weizhihong 11252f4f48 【辅助操作】 2022-07-13 17:48:51 +08:00
joylink_zhangsai 01c00e6bce 限制:修改组织名称不能和已有名称重复 2022-07-13 16:36:28 +08:00
joylink_zhangsai 7e5920dd4a Merge remote-tracking branch 'origin/test' into test 2022-07-13 16:28:55 +08:00
joylink_zhangsai 7ae3b64223 修改创建组织时限制关联项目不能重复bug 2022-07-13 16:28:38 +08:00
weizhihong d7f2b1a3fc 【行车日志计划时间返回格式修改】
【行车计划增加参数验证】
【运行方向接发辅助准备状态处理】
2022-07-13 16:01:17 +08:00
joylink_zhangsai c93f80ba57 通用教学。修改组织和项目为多对多关系(之前一对多);修改由前一条引发的问题 2022-07-13 15:38:21 +08:00
joylink_zhangsai e1f390fb6c Merge remote-tracking branch 'origin/test' into test 2022-07-12 18:06:16 +08:00
joylink_zhangsai 49c5e27e98 增加通用教学项目、增加地图功能配置 2022-07-12 18:06:00 +08:00
weizhihong 5e29e187a5 【接辅助后续操作修改】 2022-07-12 17:10:59 +08:00
weizhihong f335e07750 【行车日志设置任务】
【行车日志修改股道一致状态BUG】
2022-07-12 13:51:19 +08:00
joylink_zhangsai d120fd12cc 修改进路序列小bug 2022-07-12 09:57:24 +08:00
weizhihong 18bdc532b1 【行车日志修改实际时间操作】 2022-07-11 17:42:30 +08:00
weizhihong eb1e384654 【将运行计划发布修改为接收】 2022-07-11 15:40:44 +08:00
weizhihong 22d59b217f 【列车行驶时区段占用状态BUG】
【计划下发计划信息版本过滤】
2022-07-11 14:55:28 +08:00
joylink_zhangsai c18ab99632 修改车务终端发送计划后有重复进路序列的bug 2022-07-11 10:15:39 +08:00
joylink_zhangsai 0d1161c334 Merge remote-tracking branch 'origin/test' into test 2022-07-08 17:30:15 +08:00
joylink_zhangsai dca02becfc 修改股道视图删除数据bug 2022-07-08 17:29:57 +08:00
weizhihong f8a8f5cc75 【超限等级设置、设置任务】 2022-07-08 17:01:26 +08:00
joylink_zhangsai a8a5a4c884 Merge remote-tracking branch 'origin/test' into test 2022-07-08 16:39:48 +08:00
joylink_zhangsai 1d968dabc5 修改股道视图数据发送bug 2022-07-08 16:34:54 +08:00
joylink_zhangsai f8a67b7182 发送调度命令增加参数校验 2022-07-08 16:26:23 +08:00
weizhihong 93345cccf2 【增加设置始发、终到、列车类型、运行类型、到达超限、出发超限】 2022-07-08 15:39:41 +08:00
weizhihong 5e5d10dd85 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-08 11:30:17 +08:00
weizhihong 66e8758888 【行车计划任务返回消息】
【行车计划电力设置】
2022-07-08 11:30:10 +08:00
joylink_zhangsai 2bdaaa2eb6 Merge remote-tracking branch 'origin/test' into test 2022-07-08 11:16:44 +08:00
joylink_zhangsai 4c7f0e896b 小改动 2022-07-08 11:16:17 +08:00
weizhihong 0f06dce035 【调度台修改实际时间下发后,未变更的行车日志实际时间变化】
【增加计划下发非空判断】
2022-07-07 17:18:56 +08:00
joylink_zhangsai db198ad99d Merge remote-tracking branch 'origin/test' into test 2022-07-07 15:30:31 +08:00
joylink_zhangsai 8f2a5d2ccf 大铁调度命令 2022-07-07 15:29:11 +08:00
joylink_zhangsai a137fa9c2f 地图数据增加画面显示配置 2022-07-07 15:28:48 +08:00
joylink_zhangsai 475f732121 增加百度语音识别接口实现 2022-07-07 15:26:34 +08:00
weizhihong 5a61a1f193 【行车日志后端增加保存计划信息、运行任务、设置军用、设置超限、设置重点列车、设置删除标识、设置进出口不一致、设置股道与计划不一致】 2022-07-07 15:22:45 +08:00
weizhihong 755da88a69 【运行计划列车类型】
【运行计划设置默认到达时间】
【运行计划增加完成标识、是否生效标识】
2022-07-07 13:20:14 +08:00
weizhihong 6c1c90bc81 【增加红闪限制条件】 2022-07-06 18:02:29 +08:00
weizhihong 2bb21db602 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-07-06 17:15:10 +08:00
weizhihong fed97fa2a6 【大铁发车行驶至目标地区时,判断是否可以继续行驶】
【行车日志初始化BUG修复】
【行车计划修改日期报错修改】
2022-07-06 17:15:04 +08:00
joylink_zhangsai 3a9513cf21 Merge remote-tracking branch 'origin/test' into test 2022-07-06 16:10:43 +08:00
weizhihong 40e94ba1a8 【初始化异常问题】 2022-07-06 16:10:06 +08:00
joylink_zhangsai 7d129e7ba1 路票传递流程 2022-07-06 16:02:49 +08:00
weizhihong 3af7395bf0 【初始化时,将所有数据清空】 2022-07-06 15:44:00 +08:00
weizhihong 5c32173ea7 【修改股道后,再恢复时数据,下发计划不触发问题】 2022-07-06 15:16:44 +08:00
weizhihong ef20e5201e 【车务终端发送计划】
【修改运行方向、股道】
2022-07-06 14:40:20 +08:00
weizhihong 0261d606d7 【车务管理终端数据结构修改】 2022-07-05 11:32:31 +08:00
joylink_zhangsai 984d1f03b8 修改语音通话自动回复逻辑 2022-07-05 11:17:16 +08:00
weizhihong e02768821c 【大铁非通信车区段占用处理】 2022-07-05 11:09:17 +08:00
weizhihong 89926b72ee 【闭塞到达、出发时间置空】 2022-07-04 17:36:17 +08:00
weizhihong 9d47efa2ee 【发预增加时间】
【取消到达、出发时,将实际时间修改为计划时间】
【取消闭塞】
2022-07-04 16:47:04 +08:00
weizhihong 4134522daf 【增加行车日志红闪字段】 2022-07-04 15:41:07 +08:00
weizhihong 69a3cc8eaa 【运行计划时间修改】
【连通错办提示等】
2022-07-04 11:14:09 +08:00
joylink_zhangsai 2e42eeea75 修改IBP盘bug 2022-07-04 09:56:04 +08:00
weizhihong ca3c30ebf5 【增加股道错办、超限不规范提醒接口】 2022-07-01 19:02:16 +08:00
joylink_zhangsai 3f2188ea88 Merge remote-tracking branch 'origin/test' into test 2022-07-01 17:50:57 +08:00
joylink_zhangsai 0e33fd4953 修改CTC进路防错办逻辑 2022-07-01 17:50:47 +08:00
weizhihong c2fa922103 【修改、新增计划时调用占线板方法】 2022-07-01 17:16:06 +08:00
joylink_zhangsai 92135e2717 CTC进路防错办 2022-07-01 16:55:28 +08:00
joylink_zhangsai ba33bc6449 调度命令发令人改为名称 2022-07-01 16:42:44 +08:00
joylink_zhangsai 69401d16c0 添加行车计划新增后生成对应进路序列和股道视图的接口 2022-07-01 16:31:50 +08:00
joylink_zhangsai 00976c99d2 修改行车日志数据更新循环逻辑bug 2022-07-01 15:33:27 +08:00
joylink_zhangsai a482910e33 Merge remote-tracking branch 'origin/test' into test 2022-07-01 14:52:25 +08:00
joylink_zhangsai 71283bf2fa 修改股道视图消息bug 2022-07-01 14:52:18 +08:00
weizhihong 8d3a64c2de 【增加运行中的运行组信息】 2022-07-01 14:15:01 +08:00
joylink_zhangsai 383aa6edd1 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/build/SimulationBuilder.java
2022-07-01 09:31:38 +08:00
joylink_zhangsai 17231d1549 股道视图消息改为只发送变化的 2022-07-01 09:28:13 +08:00
weizhihong 56389d00b0 【下发计划删除时发送多余问题】 2022-06-30 17:24:55 +08:00
weizhihong 20339c9237 【新增计划先发布再删除,车务端阶段计划无变化操作】
【初始化邻站同意等内容不能初始化问题】
2022-06-30 16:49:14 +08:00
weizhihong bc5207b6a7 【新增计划先发布再删除,车务端阶段计划无变化操作】
【初始化邻站同意等内容不能初始化问题】
2022-06-30 16:48:39 +08:00
joylink_zhangsai 280cafcf13 为了加快仿真创建,去掉遍历所有功能轨构建进路路径的逻辑 2022-06-30 16:31:21 +08:00
weizhihong 04a0a4b582 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-30 15:49:56 +08:00
weizhihong 5ffb796055 【发送预告BUG】
【初始化运行计划】
【去除地铁运行计划】
2022-06-30 15:48:44 +08:00
joylink_zhangsai c369b355fd 修改调度命令反序列化问题 2022-06-30 15:19:42 +08:00
joylink_zhangsai 155401847b Merge remote-tracking branch 'origin/test' into test 2022-06-30 14:43:08 +08:00
joylink_zhangsai c4f7f391a6 行车簿册小bug 2022-06-30 14:42:58 +08:00
walker_sheng c1616093a1 修改local-test配置 2022-06-30 14:00:25 +08:00
weizhihong 70c4c99e6d 【方向为空时处理】 2022-06-29 17:45:05 +08:00
weizhihong 2af2d43a3b Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-29 17:38:20 +08:00
weizhihong c693b8dfcc 【调整行车日志创建逻辑】
【修改没有删除BUG】
2022-06-29 17:37:12 +08:00
walker_sheng 93664a6a27 添加local-test 2022-06-29 17:09:32 +08:00
joylink_zhangsai 77cdd3fd29 消除报错 2022-06-29 16:21:37 +08:00
joylink_zhangsai 9c27f24b7f 小改动 2022-06-29 16:19:19 +08:00
joylink_zhangsai e6d762e3cb Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/runplan/CtcStationRunPlanLogService.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/CTC/CTCLogicLoop.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/CTC/data/CtcRepository.java
2022-06-29 16:15:03 +08:00
weizhihong 9bee01f79c 【计划下发先修改为定时发送】 2022-06-29 15:35:32 +08:00
weizhihong b1307659ee 【取消定时运行计划下发消息】 2022-06-29 15:19:31 +08:00
weizhihong 767e87cf39 【增加运行计划时,判断班次字段】 2022-06-29 15:08:41 +08:00
weizhihong 1c4f3aff7a 【计划时间转字符串】 2022-06-29 15:07:56 +08:00
weizhihong ceacdf8abe 【消息数据类型】 2022-06-29 13:55:54 +08:00
weizhihong 28ad692056 【计划全量发布】 2022-06-29 13:06:53 +08:00
weizhihong 436fa36ac8 【删除多余消息类型以及代码】
【增加获取所有调度台运行计划接口】
2022-06-29 13:03:41 +08:00
joylink_zhangsai 536035c201 大铁路票相关功能 2022-06-29 10:14:16 +08:00
weizhihong 2d2c3d27b0 【更新计划以及空指针判断】 2022-06-28 16:28:57 +08:00
weizhihong fc4524efb6 【车站向调度台申请股道】
【调度台确认申请信息】
2022-06-28 16:16:25 +08:00
weizhihong 6f7e27a13a 【修改计划时间类型】 2022-06-28 11:33:39 +08:00
weizhihong 0c47af0ec5 【阶段计划版本控制】 2022-06-28 10:54:35 +08:00
weizhihong 6692a29b0b Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-28 10:35:49 +08:00
weizhihong 2c267ebd0c 【计划阶段消息结构变更】 2022-06-28 10:35:41 +08:00
joylink_zhangsai 78d458099e 消除报错 2022-06-28 10:07:26 +08:00
joylink_zhangsai 8369503753 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/runplan/CtcStationRunPlanLogService.java
#	src/main/java/club/joylink/rtss/simulation/cbtc/Simulation.java
2022-06-28 10:05:58 +08:00
joylink_zhangsai a9019b55b4 增加调度命令和行车簿册相关功能 2022-06-28 10:04:23 +08:00
weizhihong 1909f79101 【阶段计划消息发送BUG修复】 2022-06-28 09:49:51 +08:00
weizhihong 1fd327136f 【修改阶段计划列表实体结构】 2022-06-28 08:41:19 +08:00
weizhihong de3435cfd9 【调度台运行日志信息操作】
【运行日志签收】
【运行日志重置功能】
2022-06-27 16:58:26 +08:00
thesai 54e73fffe4 Merge remote-tracking branch 'origin/test' into test 2022-06-26 10:48:09 +08:00
thesai 94e3f38c79 云南财经IBP盘 2022-06-26 10:47:51 +08:00
weizhihong 5ca8aa366c 【增加操作枚举】 2022-06-24 18:47:17 +08:00
weizhihong bf636ea51c Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-24 18:35:04 +08:00
weizhihong d3a810b63a 【调度台运行计划编辑信息变化】
【调度台发送消息功能】
【调度台下发计划】
【调度台签收计划】
2022-06-24 18:34:58 +08:00
joylink_zhangsai e3f3d8c097 修改进路序列id生成方式;增加调度命令操作(未完) 2022-06-24 18:17:48 +08:00
joylink_zhangsai 493309b909 Merge remote-tracking branch 'origin/test' into test 2022-06-24 13:52:09 +08:00
joylink_zhangsai a4546fdb2a 修改成工业增加统计相关接口bug 2022-06-24 13:52:02 +08:00
weizhihong 09c021f7c2 【增加运行计划计划时间】 2022-06-24 09:09:36 +08:00
joylink_zhangsai d600123fe5 为成工业增加统计相关接口;修改CTC生成进路序列逻辑以避免无法进入仿真 2022-06-24 08:48:46 +08:00
weizhihong f0e036c5b0 【集中站运行计划新增、删除、发布、签收操作】 2022-06-23 18:10:27 +08:00
weizhihong 87b108bf7c 【车务管理端消息发送BUG】 2022-06-23 17:05:59 +08:00
weizhihong 526b0972c9 【去除多余代码】 2022-06-23 15:43:00 +08:00
weizhihong 5525b8413e 【车务管理终端消息发送BUG】 2022-06-23 14:32:50 +08:00
weizhihong 19c42e44d0 【根据运行图手册中CTC基本结构图将数据修改为车站为单位数据】 2022-06-23 14:20:26 +08:00
weizhihong ea928cb0e7 【车务管理终端去除区段参数,减少前端改动量】 2022-06-23 13:12:23 +08:00
weizhihong f0cd5023dd 【增加行车区间实体类】
【行车计划增加“班别(车组)”字段,同车次问题】
【增加车务管理端版本等信息,修改方法信息,需要前端协助修改】
【增加调度台操作区间段行车计划方法、下发阶段计划后端功能】
2022-06-23 11:40:31 +08:00
weizhihong 49b6899df3 【修改行车日志实际时间】 2022-06-21 16:55:24 +08:00
weizhihong 56aefb9db4 【增加股道实体类】
【移动部分实体类】
2022-06-21 10:15:32 +08:00
joylink_zhangsai 76d9a0efbd Merge remote-tracking branch 'origin/test' into test 2022-06-20 18:01:16 +08:00
joylink_zhangsai eedf7198e2 系统账号表增加source(账号来源)字段;为成工业增加统计相关接口;增加众合-陕铁院项目 2022-06-20 18:01:03 +08:00
weizhihong 48721b53f8 【行车日志同意时填入时间修改】
【行车日志重置时,到达时间重置】
2022-06-20 17:00:28 +08:00
joylink_zhangsai 635cc04815 去掉综合演练权限需要至少3个的限制 2022-06-20 16:51:20 +08:00
joylink_zhangsai 9e23151199 Merge remote-tracking branch 'origin/test' into test 2022-06-17 13:04:40 +08:00
joylink_zhangsai 704b93887c 进路序列小bug 2022-06-17 13:04:30 +08:00
weizhihong b2f464b606 【空指针判断】 2022-06-17 10:53:06 +08:00
weizhihong 1ca1b5372b 【运行日志参数修改】 2022-06-17 10:40:32 +08:00
weizhihong 3e16b48761 【行车日志任务状态修改】 2022-06-17 10:17:50 +08:00
joylink_zhangsai 2991922eb7 大铁CTC接发车功能 2022-06-16 18:54:27 +08:00
weizhihong 44a1d09e20 【车务管理终端默认股道设置】 2022-06-16 18:30:45 +08:00
weizhihong bc1b146edb 【车务管理端消息主题调整】 2022-06-16 18:20:02 +08:00
weizhihong 8460cd425e 【运行方向改方后不能变回BUG】 2022-06-16 18:11:26 +08:00
weizhihong c9d58dd14e 【大铁运行方向进路办理状态判断】 2022-06-16 16:40:57 +08:00
weizhihong 89a73519c5 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-16 10:40:32 +08:00
weizhihong c6a005c31f 【车务管理端生效区的生效至车站】 2022-06-16 10:40:25 +08:00
joylink_zhangsai 99633887fd Merge remote-tracking branch 'origin/test' into test 2022-06-15 18:52:02 +08:00
joylink_zhangsai afc3f4077b 大铁CTC股道视图消息发送调整 2022-06-15 18:51:47 +08:00
weizhihong 7890dc9b70 【车务管理端运行计划发送逻辑】(存在问题) 2022-06-15 18:37:01 +08:00
weizhihong 07e700f064 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-15 16:28:41 +08:00
weizhihong 9859cb096e 【优化行车日志websocket消息发送】 2022-06-15 16:28:21 +08:00
joylink_zhangsai e9d834c533 大铁CTC股道视图恢复中 2022-06-15 16:24:46 +08:00
weizhihong f653eff7f3 【修改仿真修改时间】 2022-06-15 14:37:22 +08:00
weizhihong b885859f87 【运行计划发送消息(正在整改)】 2022-06-15 13:36:45 +08:00
joylink_zhangsai 34f8a0883e Merge remote-tracking branch 'origin/test' into test 2022-06-15 10:47:53 +08:00
joylink_zhangsai acaded09ac 大铁CTC股道视图恢复中 2022-06-15 10:47:39 +08:00
weizhihong bd74f7fb1d 【修改行车计划发送数据】 2022-06-15 10:47:03 +08:00
weizhihong b4a5b3b6aa 【运行计划军用等属性】
【办理进路序列时空指针异常】
2022-06-15 10:21:57 +08:00
weizhihong c2f0ee2116 【运行计划默认股道】
【运行计划进路序列车站】
2022-06-15 09:35:03 +08:00
weizhihong febf1c1db5 【运行计划逻辑BUG修改】 2022-06-15 09:24:40 +08:00
weizhihong 6bfb45f109 【运行方向初始化处理】 2022-06-15 09:12:26 +08:00
thesai 8499b22642 CTC股道视图恢复中 2022-06-15 00:29:36 +08:00
weizhihong 6175a33da4 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-14 18:44:06 +08:00
weizhihong 44b0a74252 【增加获取接进路的方向信息二级判断】 2022-06-14 18:44:00 +08:00
joylink_zhangsai 8eab5d3642 大铁CTC股道视图恢复中 2022-06-14 18:39:55 +08:00
weizhihong b394f91dbc 【修改运行方向默认上下行】 2022-06-14 18:16:32 +08:00
weizhihong d9a74a13e3 【运行计划股道初始化】 2022-06-14 17:59:26 +08:00
weizhihong 2ad4b32d6c 【还原修改发布时间】
【修改邻站同意指令】
2022-06-14 17:45:38 +08:00
weizhihong 2ce2300d80 【运行计划默认股道信息】 2022-06-14 17:37:33 +08:00
weizhihong 050b128240 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-14 17:36:44 +08:00
weizhihong 73c472691f Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/runplan/CtcStationRunPlanLogService.java
2022-06-14 17:36:35 +08:00
joylink_zhangsai 6c0ce1c9c2 行车日志的预告和同意指令移动到行车日志的操作处理里面 2022-06-14 17:23:41 +08:00
weizhihong b15ec376fe 【删除多余代码】
【增加车务管理端清空操作】
2022-06-14 17:13:07 +08:00
joylink_zhangsai 82a99ff099 增加进路序列根据行车日志的变更而变更的方法 2022-06-14 17:07:38 +08:00
weizhihong cfd8454328 【CTC行车计划非空判断】
【车务管理终端版本】
2022-06-14 15:36:28 +08:00
weizhihong c170a48d0c Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-06-14 14:37:20 +08:00
weizhihong 358b5f1906 【修改车次增加列车停靠条件】
【增加列车任务列表】
2022-06-14 14:37:13 +08:00
joylink_zhangsai 48333926a9 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/CTC/CTCLogicLoop.java
2022-06-14 14:16:19 +08:00
joylink_zhangsai 0f2dc88ae9 大铁CTC暂时提交 2022-06-14 14:15:24 +08:00
weizhihong 1b6644632f 【运行方向默认信息处理】 2022-06-14 14:07:02 +08:00
weizhihong 99678ccc1d 【将CTC所有消息发送移到CTCLogicLoop】
【增加调度台、邻站消息发送类型】
2022-06-14 10:47:24 +08:00
joylink_zhangsai e80633570b Merge remote-tracking branch 'origin/test' into test 2022-06-14 10:06:19 +08:00
weizhihong 8ef0eafd69 【大铁行驶区段占用BUG修复】
【车务管理终端后端修改、移除、发布功能逻辑】
2022-06-13 18:16:33 +08:00
joylink_zhangsai 204fd468d4 Revert "西铁院屏蔽门"
This reverts commit ebfb324072.
2022-06-13 17:36:51 +08:00
joylink_zhangsai 371a8c2608 Revert "西铁院屏蔽门"
This reverts commit d57c2f6c58.
2022-06-13 17:36:46 +08:00
joylink_zhangsai d57c2f6c58 西铁院屏蔽门 2022-06-13 17:24:06 +08:00
joylink_zhangsai ebfb324072 西铁院屏蔽门 2022-06-13 16:58:46 +08:00
joylink_zhangsai 90a6f2c916 大铁CTC暂时提交 2022-06-10 18:20:03 +08:00
weizhihong a3552bc08f 【修改行车日志发送消息BUG】 2022-06-10 16:49:31 +08:00
weizhihong 76edacdb92 【编辑区运行计划增加、修改、删除操作】 2022-06-10 15:02:20 +08:00
joylink_zhangsai c7a7d7175f Merge remote-tracking branch 'origin/test' into test 2022-06-10 11:25:53 +08:00
weizhihong 2472a9029c 【修改股道后不发消息BUG】 2022-06-10 11:23:46 +08:00
joylink_zhangsai b1b1d961e3 修改创建IBP元素的逻辑 2022-06-10 10:48:05 +08:00
weizhihong 789d3690f4 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/CTC/CTCLogicLoop.java
2022-06-10 10:37:52 +08:00
weizhihong 8975ce6839 【编辑区运行计划逻辑】
【删除部分代码】
2022-06-10 10:36:39 +08:00
joylink_zhangsai 3bf75ea1ff Merge remote-tracking branch 'origin/test' into test 2022-06-10 09:45:51 +08:00
joylink_zhangsai 4b3d22fd47 红河财经IBP盘; 2022-06-10 09:45:31 +08:00
thesai c53b36a88e CTC进路序列暂时提交 2022-06-10 07:30:33 +08:00
weizhihong 945a076455 【编辑区行车日志添加】
【行车日志发布到仿真】
2022-06-09 17:16:28 +08:00
weizhihong 89c718eb4e 【运行方向增加name属性】
【运行计划构造逻辑重写】
【运行计划修改后,消息发送变化属性(未优化)】
【删除部分无用代码】
2022-06-09 14:51:13 +08:00
joylink_zhangsai 96e2b20103 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/vo/client/project/hhcj/HhcjIbpConfigVO.java
2022-06-09 09:42:34 +08:00
joylink_zhangsai f4f3f677f9 红河财经IBP盘;实体IBP盘与虚拟IBP盘交互逻辑修改(zjd的实体IBP盘逻辑相应修改) 2022-06-09 09:41:10 +08:00
weizhihong 8ab7b56869 【批量修改行车日志功能】
【PLC信号板按钮、指示灯网关地址配置】
2022-06-08 14:04:23 +08:00
weizhihong 11070c6aa4 【大铁CTC线路名称】 2022-06-08 13:25:17 +08:00
joylink_zhangsai a951c621d2 红河财经IBP盘 2022-06-07 18:30:28 +08:00
joylink_zhangsai cfdb174e07 Merge remote-tracking branch 'origin/test' into test 2022-06-07 16:47:22 +08:00
joylink_zhangsai ff5288586d 添加红河财经IBP盘内容 2022-06-07 16:47:09 +08:00
weizhihong 9b27527d87 【暂注释生成进路信息】 2022-06-07 13:36:44 +08:00
weizhihong db11e2a356 【CTC修改股道、时间、邻站、删除日志、增加计划(未做校验以及关联操作)】 2022-06-07 11:28:37 +08:00
joylink_zhangsai ba0d97b298 暂时注掉报错内容 2022-06-06 18:59:42 +08:00
joylink_zhangsai 9b54fb9f78 修改限制一个人只能创建一个仿真的逻辑 2022-06-06 17:41:26 +08:00
weizhihong b55a7d78e2 【列车车次唯一,现地铁计划中只取一组信息即可】 2022-06-06 11:10:19 +08:00
weizhihong 8775e8df54 【实体类非空判断】 2022-06-06 08:10:25 +08:00
joylink_zhangsai 8ffb5efa59 添加进路序列生成逻辑 2022-06-02 18:07:56 +08:00
weizhihong 867a59ecbd 【CTC运行计划日志socket发送、实体构造逻辑】 2022-06-02 17:49:15 +08:00
joylink_zhangsai c2239a1a68 消除报错 2022-06-02 13:49:39 +08:00
joylink_zhangsai 22a85e3293 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/CTC/data/CtcRepository.java
#	src/main/java/club/joylink/rtss/vo/client/factory/SocketMessageFactory.java
2022-06-02 13:42:03 +08:00
joylink_zhangsai af07eb1872 增加大铁CTC订阅路径;CTC功能重写 2022-06-02 13:39:32 +08:00
weizhihong 162f535fd2 【CTC行车日志参数修改】 2022-06-02 13:05:16 +08:00
weizhihong 1c65414658 【CTC行车日志webSocket数据结构修改】 2022-06-02 13:01:47 +08:00
weizhihong 30036b0f76 【ctc运行计划websocket消息发送】 2022-06-02 10:41:54 +08:00
weizhihong 0e0f7e3eaa 【CTC行车计划WebSocket操作】 2022-06-01 18:47:48 +08:00
weizhihong 3746b8e101 【CTC行车日志列表查询、修改股道接口】 2022-06-01 16:35:20 +08:00
weizhihong a11be60b3f 【行车日志逻辑修改】 2022-06-01 15:19:51 +08:00
weizhihong 352bcb8dff 【行车日志数据结构构建】 2022-05-31 18:52:09 +08:00
joylink_zhangsai 0915c26c19 Merge remote-tracking branch 'origin/test' into test 2022-05-31 15:56:56 +08:00
joylink_zhangsai 9ae79dbe53 改bug 2022-05-31 15:56:06 +08:00
weizhihong e761513688 【CTC 行车日志实体修改】 2022-05-31 10:37:40 +08:00
weizhihong c36e0eaf9c 【CTC行车日志数据结构】 2022-05-31 10:08:31 +08:00
weizhihong 6ca9d1feb4 【CTC车站运行计划实体】 2022-05-31 09:46:56 +08:00
joylink_zhangsai fd6eb2d874 增加仿真销毁日志 2022-05-30 17:39:46 +08:00
thesai daec9c8aaf Merge remote-tracking branch 'origin/test' 2022-05-29 20:20:25 +08:00
joylink_zhangsai e39dd0a539 语音识别改为百度 2022-05-27 11:25:07 +08:00
joylink_zhangsai 8a52efacdf 修改越引导信号指令逻辑(忽略大铁的调车信号机) 2022-05-26 18:28:30 +08:00
weizhihong 9cbd1057d9 【列字段不匹配问题】 2022-05-26 17:12:41 +08:00
weizhihong d4c3fe1ba1 【大铁运行方向草稿实体相对方向编码字段(后续删除)】 2022-05-26 17:07:14 +08:00
weizhihong 82ca6e8a9e 【大铁运行方向表字段操作sql】 2022-05-26 16:43:02 +08:00
weizhihong 98bd96a756 【大铁运行方向:相对运行编码修改为相对车站、方向】
【仿真初始化时对运行方向处理】
2022-05-26 15:39:31 +08:00
weizhihong a007c12b50 【大铁删除列车条件注释】 2022-05-26 14:40:10 +08:00
weizhihong 2a3f937fdb 【大铁删除列车】
【大铁发车、停车时判断列车是否在线】
2022-05-26 13:57:36 +08:00
weizhihong f4583000ea 【调车进路办理后信号不开放问题】 2022-05-26 10:28:09 +08:00
weizhihong 436c59fa4c 【发车BUG修复】 2022-05-26 09:03:27 +08:00
weizhihong b7d02e741a 【发车步骤修改】 2022-05-26 09:01:52 +08:00
weizhihong 5495ad8637 【列车行驶时,区段占用判断】
【增加区段相对位置判断】
2022-05-25 18:44:00 +08:00
joylink_zhangsai adba252b96 Merge remote-tracking branch 'origin/test' into test 2022-05-25 13:05:36 +08:00
joylink_zhangsai c937230ed5 去掉一个token只记录一个ws连接的限制 2022-05-25 13:05:20 +08:00
weizhihong 57ca561d79 【列车发车在进路区段上时不前进异常】
【引导进路匹配逻辑修改】
2022-05-25 10:46:24 +08:00
weizhihong 7b320c0a2e 【引导进路检查】 2022-05-24 18:31:09 +08:00
weizhihong 0a0de5829b 【停车】
【进路不连续处理】
2022-05-24 18:05:03 +08:00
weizhihong 936396e8f9 【办理引导时,进路不连续问题异常】 2022-05-24 17:27:56 +08:00
weizhihong d8314d385b 【修改列车行驶至,占用额外区段问题】
【引导进路问题修改】
【列车上下行与前端传入校验】
2022-05-24 17:17:03 +08:00
joylink_zhangsai bd58435a06 进路增加类型(大铁);WS心跳改回30s 2022-05-24 16:34:54 +08:00
joylink_zhangsai 5a03ce0f71 Merge remote-tracking branch 'origin/test' into test 2022-05-23 20:31:42 +08:00
joylink_zhangsai 214bcaece3 ws订阅加锁;提前发车、进路交人工控、进路交自动控实训生成bug修改 2022-05-23 20:31:25 +08:00
weizhihong 4642bbb3b7 【车站运行方向修改为数据设置,后续删除多余代码】
【修改列车车次】
【列车停止行驶】
【输入车次自动识别上下行】
2022-05-23 18:24:48 +08:00
joylink_zhangsai 94ddfb04b7 修改,调车进路信号为白色 2022-05-23 18:06:49 +08:00
joylink_zhangsai aebe6edf15 Merge remote-tracking branch 'origin/test' into test 2022-05-23 17:34:27 +08:00
joylink_zhangsai e2b4c5e660 限制一个用户同时只能存在一个已创建的仿真 2022-05-23 17:34:16 +08:00
weizhihong 95e4dfb337 【区段分路不良】标识修改 2022-05-23 08:48:01 +08:00
weizhihong fdc05a4fa7 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-05-20 19:05:07 +08:00
weizhihong 84730c2a23 【分路不良状态逻辑判断】 2022-05-20 19:04:59 +08:00
joylink_zhangsai 1eb35ab1e7 修改<取消所有订阅>事件的发送时机 2022-05-20 18:36:52 +08:00
joylink_zhangsai 67f61cb9de 大铁进路临时限制自动重开信号;引导信号仅在进路始端区段占用时才计时 2022-05-20 15:30:49 +08:00
joylink_zhangsai 210c85dd41 Merge remote-tracking branch 'origin/test' into test 2022-05-20 14:40:28 +08:00
joylink_zhangsai 139b4de64d 修改webSocket订阅规则,一个token只记录一个连接,重复连接会导致之前的连接记录被移除 2022-05-20 14:40:19 +08:00
weizhihong 9b438904a9 【分路不良问题修改、半自动办理进路信号灯不开放问题】 2022-05-20 11:28:53 +08:00
weizhihong 4b095b6d92 【删除多余代码】 2022-05-19 17:03:51 +08:00
weizhihong f654df112d 【上电逻辑修改、分路不良逻辑修改】 2022-05-19 09:56:38 +08:00
weizhihong 756d658b20 【大铁的上电解锁操作】 2022-05-18 15:37:45 +08:00
weizhihong bfb50c52a9 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-05-18 15:07:02 +08:00
weizhihong f8ebf7e691 【区段分路不良操作】 2022-05-18 15:06:56 +08:00
joylink_zhangsai 6d14c2d3f5 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/operation/handler/StationOperateHandler.java
2022-05-18 13:39:47 +08:00
joylink_zhangsai d04d8dd4b4 查询存在仿真接口增加筛选功能 2022-05-18 13:38:00 +08:00
weizhihong 015438cfad 【大铁发车经过岔道关联的区段】 2022-05-18 08:30:06 +08:00
weizhihong 4e3fe4e149 【大铁非常站控后台功能】 2022-05-17 16:31:18 +08:00
weizhihong 83bd55d67f 【大铁增加车次、右键发车功能】 2022-05-16 14:51:42 +08:00
joylink_zhangsai 193097dc55 进路办理检查中加入道岔引导总锁 2022-05-12 08:49:46 +08:00
joylink_zhangsai 76fe31d729 车站上的引导总锁状态 2022-05-11 16:40:12 +08:00
joylink_zhangsai 379baf50d0 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/ATS/operation/handler/StationDirectionOperateHandler.java
2022-05-11 14:58:08 +08:00
joylink_zhangsai edd040c2e4 引导总锁、解除引导总锁 2022-05-11 14:57:19 +08:00
weizhihong 179edb07d0 【事故按下状态删除】 2022-05-11 14:13:23 +08:00
joylink_zhangsai 0ffee9e292 Merge remote-tracking branch 'origin/test' into test 2022-05-11 13:19:29 +08:00
weizhihong 6122643c1f 【发车方向逻辑】 2022-05-10 17:54:05 +08:00
weizhihong 31dd4220f3 【发车方向逻辑BUG】 2022-05-10 17:52:31 +08:00
weizhihong a7e4ec2fd2 【删除多余代码】 2022-05-10 15:54:45 +08:00
weizhihong 0ea10f07f8 【运行方向接发状态逻辑修改】 2022-05-10 15:49:48 +08:00
joylink_zhangsai a646deaaca 增加大铁通过信号机的信号显示控制逻辑;恢复机器人驾驶看信号的逻辑 2022-05-10 15:44:17 +08:00
weizhihong 9e4375364b 【增加车站筛选,减小筛选范围】 2022-05-10 10:51:27 +08:00
weizhihong 39ac31901f 【运行方向箭头亮灯逻辑问题修复】 2022-05-10 10:03:23 +08:00
joylink_zhangsai d4b8a99f50 增加生成通过进路逻辑(大铁);修改进路办理条件检查及办理流程以兼容通过进路 2022-05-09 17:01:58 +08:00
weizhihong cd66dc8056 【地图删除操作,清理运行方向草稿数据】 2022-05-09 15:06:03 +08:00
weizhihong 1c10b6abcc Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-05-09 11:17:01 +08:00
weizhihong 9815515f93 【事故按钮操作】
【半自动闭塞复原逻辑修改】
【自动闭塞接发车灯逻辑修改】
2022-05-09 11:16:54 +08:00
joylink_zhangsai cd1307318e 进路延时解锁会导致信号机降至关闭级 2022-05-07 13:17:47 +08:00
joylink_zhangsai cdf2552bde Merge remote-tracking branch 'origin/test' into test 2022-05-07 10:32:42 +08:00
joylink_zhangsai e80a93729c 修改引导、引导总锁逻辑 2022-05-07 10:32:32 +08:00
weizhihong a168017970 【增加地图数据异常判断】 2022-05-07 09:50:08 +08:00
weizhihong b213ddc9ac 【准备状态修改】
【发车灯逻辑判断修改】
2022-05-06 18:10:49 +08:00
weizhihong c09bed0506 【改方取消停车验证】 2022-05-06 17:33:05 +08:00
weizhihong dc3f74d8fb 【半自动闭塞闭塞BUG处理】 2022-05-06 16:54:01 +08:00
weizhihong f6439fbd83 【半闭塞、自动闭塞接发车灯逻辑跳转】 2022-05-06 16:15:30 +08:00
weizhihong 489a6930da 【半自动点灯、复原操作】 2022-05-06 09:57:40 +08:00
weizhihong 2cffbf1d56 【双红操作、列车经过判断】 2022-05-05 19:02:09 +08:00
weizhihong 0e950db851 【半自动操作:事故按钮、闭塞、复原操作】(未测试) 2022-05-05 18:14:01 +08:00
joylink_zhangsai e63664b6d2 Merge remote-tracking branch 'origin/test' into test 2022-05-05 16:37:17 +08:00
joylink_zhangsai 9136e3e19e 增加<是大铁线路?>联锁生成配置 2022-05-05 16:37:05 +08:00
joylink_zhangsai 0a7c4b2533 大铁生成进路逻辑(增加调车进路生成逻辑) 2022-05-05 16:04:05 +08:00
weizhihong f835731df5 【半自动闭塞、复原逻辑代码】 2022-05-05 10:52:50 +08:00
joylink_zhangsai d1837c50ec Merge remote-tracking branch 'origin/test' into test 2022-04-29 18:56:58 +08:00
joylink_zhangsai f156844f6a 大铁生成进路逻辑(未完) 2022-04-29 18:56:47 +08:00
weizhihong 0ed54505bc 【增加辅助按钮、辅助灯操作】
【删除多余代码】
2022-04-29 11:24:23 +08:00
weizhihong bd59012519 【消息体增加运行方向状态】 2022-04-28 18:17:49 +08:00
weizhihong c56e657ecf 【接发辅助灯状态逻辑重写】
【辅助按钮操作(逻辑未完成)】
2022-04-28 17:01:01 +08:00
joylink_zhangsai 765d830bed Merge remote-tracking branch 'origin/test' into test 2022-04-28 15:29:11 +08:00
joylink_zhangsai c04cfd0e08 大铁生成列车进路逻辑 2022-04-28 15:28:58 +08:00
weizhihong 63c9b08515 【接发灯状态判断修改】
【发布地图时,运行方向数据回填问题修复】
2022-04-28 14:29:44 +08:00
weizhihong a735fbbbeb 【修改新建草稿地图BUG】 2022-04-28 10:28:35 +08:00
weizhihong ad19c56331 【列车运行方向逻辑重构】 2022-04-27 17:08:19 +08:00
joylink_zhangsai 5b6f5ab8df 修改小bug 2022-04-27 14:17:51 +08:00
joylink_zhangsai 933b9f7bb6 删掉无用的文件 2022-04-26 15:11:38 +08:00
joylink_zhangsai 912c6b8612 Merge remote-tracking branch 'origin/test' into test 2022-04-26 14:20:14 +08:00
joylink_zhangsai 75fc0d0915 大铁线路2增加进路路径生成逻辑(因为没有站间运行等级和交路数据) 2022-04-26 14:19:55 +08:00
weizhihong 4d12f520d1 【改方时列车换端操作】 2022-04-25 10:15:41 +08:00
weizhihong f83fbf0002 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-04-24 16:54:16 +08:00
joylink_zhangsai af36dd547d 大铁CTC去掉ATS进路触发功能;修改CTC股道视图计划生成逻辑 2022-04-24 16:54:11 +08:00
weizhihong 53cb44174c 【改方BUG修复,空指针判断】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-24 16:49:27 +08:00
joylink_zhangsai 67ac1683c4 Merge remote-tracking branch 'origin/test' into test 2022-04-24 15:20:20 +08:00
joylink_zhangsai 318ccb915e 修改大铁CTC流程 2022-04-24 15:20:11 +08:00
weizhihong 4f697b19fc 【去除车站判断逻辑】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-24 14:23:28 +08:00
joylink_zhangsai d95dbe982f 修改大铁CTC流程 2022-04-24 13:49:44 +08:00
weizhihong 3d59d32db7 【指示灯逻辑】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-24 13:45:08 +08:00
weizhihong 25413f0f58 Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test 2022-04-24 13:03:03 +08:00
weizhihong ce25b8458d 【草稿发布功能修改】
【仿真数据加载逻辑修改】

Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-24 13:02:08 +08:00
joylink_zhangsai 19befb0909 修改大铁CTCbug 2022-04-24 11:12:37 +08:00
joylink_zhangsai 5e437a9751 Merge remote-tracking branch 'origin/test' into test 2022-04-22 19:27:52 +08:00
joylink_zhangsai 7cda8ad471 大铁CTC逻辑 2022-04-22 19:27:46 +08:00
weizhihong 9d7a9422d0 【指示灯状态逻辑】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-22 19:27:33 +08:00
weizhihong 8abe421380 【改方按钮状态修改】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-22 17:49:40 +08:00
weizhihong b5bd2b4035 【去除多余操作指令,多余代码】
【修改点灯操作与按钮亮灯操作一致】

Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-22 17:24:19 +08:00
weizhihong 83b92094c5 【增加邻站进路办理】
【修改指示灯状态不变化BUG】

Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-22 15:37:51 +08:00
weizhihong 739ac78060 【邻站办理发车进路】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-22 13:53:49 +08:00
weizhihong d8425c80a5 Merge remote-tracking branch 'origin/test' into test 2022-04-22 13:51:32 +08:00
joylink_zhangsai 0c1e5f2268 大铁CTC逻辑(未完) 2022-04-22 13:47:39 +08:00
weizhihong cbc42825f8 【修改改方逻辑问题】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-22 10:05:01 +08:00
weizhihong fedf7b2e3f 【处理区间灯关联区间信息】
【仿真信息加载时,加入指示灯、按钮逻辑数据】
【增加指示灯、按钮状态变化消息实体】
【修改车站关联指示灯、按钮为空问题】
【增加指示灯类型过滤,减少循环】

Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-21 18:11:50 +08:00
weizhihong abe24e0079 【刷新指示灯信息】BUG修复
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-21 12:15:48 +08:00
weizhihong 17edb388d8 【修改车站获取指示灯列表BUG】
【增加按钮枚举类型】
【指示灯、按钮初始化类型筛选】

Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-21 11:06:11 +08:00
joylink_zhangsai 4cbb439634 消除大铁CTC线路仿真数据错误提示 2022-04-21 10:35:36 +08:00
joylink_zhangsai 3500e6a2fe 修改大铁进路数据(临时)处理接口 2022-04-21 09:23:13 +08:00
joylink_zhangsai 453c8a3eaa 修改进路构建逻辑 2022-04-20 18:47:21 +08:00
joylink_zhangsai e26821c0eb Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/build/InterlockBuilder2.java
2022-04-20 18:20:49 +08:00
joylink_zhangsai a5f787c0f4 大铁进路生成逻辑修改;大铁CTC(未完) 2022-04-20 18:16:50 +08:00
weizhihong 1f85d75588 删除多余代码,修改【指示灯、按钮】初始化逻辑
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-20 16:37:07 +08:00
weizhihong 4a3e4d985a 【指示灯、操作按钮】初始化
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-20 15:31:45 +08:00
weizhihong 81c9ceb2aa 【指示灯信息】查询列表问题修复
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-20 11:10:13 +08:00
weizhihong 923db614cd 【指示灯、按钮】管理接口BUG修复
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-20 10:52:11 +08:00
weizhihong 2a14147c6a 【指示灯、按钮关联关系】管理接口
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-20 10:25:05 +08:00
joylink_zhangsai 61ba7c0e3d 运行图不检查有CTC系统(大铁)的线路的出入库交路 2022-04-19 17:47:35 +08:00
joylink_zhangsai b65610a349 创建用户交路时根据地图配置决定检不检查线路基础数据 2022-04-19 16:59:35 +08:00
joylink_zhangsai abfd140ae9 Merge remote-tracking branch 'origin/test' into test 2022-04-19 15:58:16 +08:00
joylink_zhangsai e34852eb65 大铁进路路径生成逻辑修改 2022-04-19 15:58:00 +08:00
weizhihong 5c4bdf41dc 修改【指示灯关联实体类】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-19 15:40:41 +08:00
weizhihong 23f738cbc1 增加【按钮与站台关联、指示灯与进路关联】
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-19 15:08:40 +08:00
weizhihong 56b099f39f 大铁【改方操作】【接发指示灯】功能
Signed-off-by: weizhihong <weizhihong@joylink.club>
2022-04-19 13:48:27 +08:00
joylink_zhangsai b808c220a8 教学统计 2022-04-18 19:01:54 +08:00
joylink_zhangsai 6f0aa02eb6 大铁CTC(未完) 2022-04-18 14:48:20 +08:00
joylink_zhangsai c65998e861 Merge remote-tracking branch 'origin/test' into dev 2022-04-18 14:35:46 +08:00
joylink_zhangsai cb561da228 学生考试成绩曲线接口 2022-04-15 18:52:22 +08:00
joylink_zhangsai 48d3d6fb1d 大铁CTC 2022-04-15 18:51:26 +08:00
joylink_zhangsai 682beda268 处理大铁无ZC的问题:车站关联的zc没有用到,所以车站不再关联zc 2022-04-15 10:23:14 +08:00
joylink_zhangsai 78796a7009 修改佛山线运行图导入逻辑;修改ats准备发车时的逻辑 2022-03-31 10:22:20 +08:00
joylink_zhangsai 5c3a88d2aa 联动道岔、计轴关联道岔解锁逻辑修改 2022-03-30 17:32:19 +08:00
joylink_zhangsai 3aed0adf9d 修改EB距离计算逻辑 2022-03-30 15:59:13 +08:00
joylink_zhangsai cfe37d824a 修改速度释放的逻辑;修改办理进路时检查延续保护道岔占用的逻辑 2022-03-29 16:51:08 +08:00
joylink_zhangsai 0e1a8da2d5 修改默认运行级别为ITC的线路加载出库列车的逻辑,使列车状态正确 2022-03-29 13:59:41 +08:00
joylink_zhangsai c5e40e047c 修改佛山线运行图导入逻辑(调试车与运营车在不同的轨道折返); 2022-03-28 14:57:40 +08:00
joylink_zhangsai 5d897e4925 修改佛山线运行图导入逻辑;修改无应答器线路itc移动授权更新逻辑 2022-03-25 18:44:06 +08:00
thesai 9f881edc6c 暂时提交 2022-01-24 23:24:55 +08:00
thesai 4e07a65b6a pa/pis系统消息类型作为操作参数 2022-01-19 14:36:13 +08:00
thesai 2e06dd9031 pis系统设备默认状态改为"正常" 2022-01-19 13:39:07 +08:00
thesai 3b9de34033 补充pa/pis系统设备状态 2022-01-18 17:44:41 +08:00
thesai c9a504621b pa/pis系统功能 2022-01-18 15:54:29 +08:00
thesai 3afac3edd7 添加sql文件 2022-01-17 14:45:10 +08:00
thesai 46dec55ba0 增加pa/pis系统数据接口;增加pa/pis系统交互逻辑(未完) 2022-01-17 14:34:51 +08:00
thesai a3648eb642 项目域名查询时,未配置的域名不再尝试返回Default项目配置 2022-01-07 14:19:56 +08:00
thesai 9b781d3c12 Merge branch 'test' into dev 2022-01-05 17:16:15 +08:00
thesai 2de4d9b089 修改二维码url分割符;非测试/正式环境不生成二维码url;补充controller注释 2022-01-05 17:16:01 +08:00
sheng af23df2ea5 修改服务和回调域名 2022-01-05 14:10:41 +08:00
thesai d0813d027d 二维码生成带Project;项目域名配置里增加资源域名 2021-12-31 10:35:21 +08:00
thesai 7b4fad4939 修改查询运行中列车接口为仅查询【正线上的列车】 2021-12-30 16:49:10 +08:00
thesai 791a3d3fdf 增加构建考试规则后对总分的校验 2021-12-28 15:49:44 +08:00
thesai ed00c8aa7f Merge remote-tracking branch 'origin/test' into dev 2021-12-28 11:50:17 +08:00
thesai c00fbd22b3 删除数据处理接口,改用SQL处理数据 2021-12-28 11:49:37 +08:00
thesai 89f6f5ad4d 增加校验考试规则接口;增加重新生成系统考试规则接口;增加生成实训后自动校验考试并重新生成系统考试规则逻辑 2021-12-28 11:38:45 +08:00
sheng cfe232769d 修改三维课程对象转换赋值bug 2021-12-27 09:12:04 +08:00
sheng 48a3b8c6cf 修改三维课程管理接口逻辑 2021-12-24 10:58:27 +08:00
sheng 5babfecb4c 添加三维课程相关管理接口 2021-12-24 10:43:55 +08:00
thesai 421d5c36c0 Merge remote-tracking branch 'origin/test' into dev 2021-12-23 17:48:16 +08:00
thesai 2c4e631b64 生成实训后检查考试规则是否符合要求;增加更改考试规则的接口 2021-12-23 17:45:06 +08:00
joylink_zhangsai 06cdf717b1 列车运行bug修改 2021-12-15 18:17:00 +08:00
joylink_zhangsai 31bf05101c 修改区段道岔失表时道岔区段占用显示异常的问题;修改区段故障的应用和修复逻辑的表述 2021-12-15 14:39:30 +08:00
joylink_zhangsai d0a380156e Merge remote-tracking branch 'origin/test' into dev 2021-12-15 11:30:36 +08:00
joylink_zhangsai 9da6d14211 加载列车时,如果在站间,增加设置列车的到达、离站信息 2021-12-15 11:30:17 +08:00
Jade bb851f3309 转换轨发车时间 2021-12-15 09:30:47 +08:00
joylink_zhangsai d16909dd2c Merge remote-tracking branch 'origin/test' into dev 2021-12-14 17:47:14 +08:00
Jade 7047768aa9 屏蔽门故障只对非CTC进路有效 2021-12-14 17:42:08 +08:00
joylink_zhangsai 4d14cd19fd 【站台折返策略不生效】逻辑补全 2021-12-14 17:33:55 +08:00
Jade 8c7b9f6f89 isUpdateTripPlanByServiceNumber 2021-12-14 16:23:09 +08:00
joylink_zhangsai 4442223dfc 修改站台折返策略处理逻辑 2021-12-14 16:11:56 +08:00
joylink_zhangsai 82253f1832 Merge remote-tracking branch 'origin/test' into dev 2021-12-14 15:02:52 +08:00
joylink_zhangsai f27b86b502 添加线路配置 2021-12-14 15:02:36 +08:00
Jade 17cade484f Merge remote-tracking branch 'origin/test' into test 2021-12-13 17:31:51 +08:00
Jade 11d9c2c421 车辆段逻辑 2021-12-13 17:31:44 +08:00
joylink_zhangsai 61fdd4941d 统一列车target更新逻辑 2021-12-13 17:29:14 +08:00
joylink_zhangsai be92513d93 Merge remote-tracking branch 'origin/test' into dev 2021-12-13 11:22:11 +08:00
joylink_zhangsai b8687f8d40 修改机器人驾驶识别信号机bug 2021-12-13 11:21:59 +08:00
Jade 6b7a36aeed 车辆段逻辑 2021-12-13 11:02:48 +08:00
joylink_zhangsai 690acdba5f 列车状态信息增加预选模式 2021-12-13 10:38:05 +08:00
joylink_zhangsai 46acce3f6b 处理福州线列车在二十一站左侧折返轨停车会导致提前更换车次问题;机器人驾驶增加识别信号机功能;处理车辆段的列车以备用车方式加载到正线上时因ctc移动授权丢失引起的问题; 2021-12-10 11:20:05 +08:00
joylink_zhangsai 306e91296a 运行图检查修改:当前后两车次分别是入库、出库时,无需前者的尾与后者的首相同 2021-12-10 10:03:51 +08:00
joylink_zhangsai 7dab924ae2 增加苏安院项目 2021-12-09 17:01:00 +08:00
joylink_zhangsai f681f3a20f Merge remote-tracking branch 'origin/test' into dev 2021-12-09 16:33:36 +08:00
joylink_zhangsai f8b2636355 延续保护区段允许选择逻辑区段 2021-12-09 16:33:19 +08:00
Jade 52821e1200 回库逻辑,加载备用车 2021-12-09 15:25:05 +08:00
xiazengbin c6aa328d1d Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server.git into test2-xzb-1 2021-12-09 14:39:29 +08:00
xiazengbin 3ebab8ed31 优化车辆段路径搜索 2021-12-09 14:29:24 +08:00
joylink_zhangsai fd40f9de78 Merge remote-tracking branch 'origin/test' into dev 2021-12-09 13:25:44 +08:00
joylink_zhangsai 3577f7331b 增加【列车到达速度上限后牵引力与阻力持平】逻辑 2021-12-09 13:18:34 +08:00
Jade 0a52d4d029 显示配置-车次窗车头翻转 2021-12-09 10:28:13 +08:00
Jade 7f2b12dd9f Merge remote-tracking branch 'origin/test2' into test 2021-12-09 09:13:11 +08:00
Jade 42e0d734f7 Merge remote-tracking branch 'origin/test' into test
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/MapConfig.java
2021-12-09 09:12:47 +08:00
Jade ce26b80e6a 车辆段 逻辑完善 2021-12-08 17:55:07 +08:00
joylink_zhangsai edd6279e63 Merge branch 'test' into dev 2021-12-08 17:06:34 +08:00
joylink_zhangsai e6f6421e50 Merge branch 'test' into test2 2021-12-08 17:06:08 +08:00
joylink_zhangsai d60703a4cf Merge branch 'dev' into test2
# Conflicts:
#	src/main/java/club/joylink/rtss/simulation/cbtc/data/map/MapConfig.java
2021-12-08 17:05:45 +08:00
joylink_zhangsai d557113276 修改【使用增加计划功能增加计划时,可能出现既是入库计划又是折返计划情况】的bug 2021-12-08 17:05:03 +08:00
Jade c5eba208ff Merge remote-tracking branch 'origin/test2' into test2 2021-12-08 15:46:29 +08:00
Jade 1bf100f117 车辆段 出库逻辑 2021-12-08 15:46:03 +08:00
joylink_zhangsai d9454dced0 Merge remote-tracking branch 'origin/test2' into test2 2021-12-08 15:41:23 +08:00
joylink_zhangsai 6372892cdb 修改重设车次号逻辑的位置以覆盖生成单条计划的情况 2021-12-08 15:41:11 +08:00
joylink_zhangsai 15f9f69428 增加线路配置【运行图中车次号唯一】(影响生成计划的车次号)与相应逻辑 2021-12-08 15:40:43 +08:00
joylink_zhangsai 13a11337dd 修改重设车次号逻辑的位置以覆盖生成单条计划的情况 2021-12-08 15:31:13 +08:00
joylink_zhangsai 2ee752a73c Merge remote-tracking branch 'origin/test' into dev 2021-12-08 15:01:40 +08:00
joylink_zhangsai 7fcf48be35 增加线路配置【运行图中车次号唯一】(影响生成计划的车次号)与相应逻辑 2021-12-08 15:01:17 +08:00
Jade 88e5fa6abb 车辆段 派班计划生成调整 2021-12-08 13:05:44 +08:00
joylink_zhangsai bed44dc77f Merge remote-tracking branch 'origin/test2' into test2 2021-12-08 11:01:14 +08:00
joylink_zhangsai 58cf6af8c7 修改ATS逻辑:【计划车到转换轨准备回库时自动转人工车】【有车辆段时回库列车不消失】 2021-12-08 11:01:06 +08:00
Jade 2cad9aea15 车辆段fix 2021-12-08 10:57:35 +08:00
Jade 549e1ef058 车辆段排列进路逻辑 2021-12-08 10:36:11 +08:00
Jade 4755d9a137 车辆段逻辑优化 2021-12-07 17:53:53 +08:00
Jade 087a603bc0 Merge remote-tracking branch 'origin/test2' into test2 2021-12-07 15:50:24 +08:00
Jade 645bfee559 车辆段逻辑 2021-12-07 15:50:10 +08:00
joylink_zhangsai bc2451cc18 Merge remote-tracking branch 'origin/test2' into test2 2021-12-07 15:47:53 +08:00
joylink_zhangsai 2e09968362 修改ZC默认关联的区段筛选bug 2021-12-07 15:47:41 +08:00
xiazengbin cae20aba53 车辆段加载route path 添加过滤 2021-12-07 15:26:50 +08:00
Jade 2433e7d813 车辆段逻辑 2021-12-07 11:27:48 +08:00
Jade bac67b2ebf Merge remote-tracking branch 'origin/test2' into test2 2021-12-07 09:46:03 +08:00
xiazengbin 09b0f92614 优化loadDepotInOutRoutePath 2021-12-07 09:43:15 +08:00
xiazengbin 578d1fd44a 优化loadDepotInOutRoutePath 2021-12-07 09:38:44 +08:00
Jade a834811cab Merge remote-tracking branch 'origin/test2' into test2 2021-12-07 09:24:25 +08:00
xiazengbin b9a550a6a5 优化loadDepotInOutRoutePath 2021-12-07 09:12:32 +08:00
thesai b9dbb891ce Merge remote-tracking branch 'origin/test' into test 2021-12-06 21:17:19 +08:00
xiazengbin 76876c6818 Merge remote-tracking branch 'origin/test2' into test2-xzb 2021-12-06 18:18:45 +08:00
xiazengbin eb56128954 SimulationBuilder.build中实现加载车辆段route path 2021-12-06 18:06:01 +08:00
Jade 7254a02356 车辆段逻辑 2021-12-06 16:15:12 +08:00
joylink_zhangsai dbc3a62b7f Merge branch 'dev' into test2 2021-12-06 16:00:15 +08:00
joylink_zhangsai ac1e32082c 【线路的ZC只有一个】且【ZC没有设置关联区段】时,自动关联全线计轴区段(以前是物理区段);修改【区段有ZC在工作】的判定为【所属计轴区段有ZC在工作】 2021-12-06 15:52:14 +08:00
joylink_zhangsai f5c711da90 修改岔心所在计轴区段预复位成功后,预复位状态未清除的bug 2021-12-06 13:22:48 +08:00
joylink_zhangsai 2258062e9a 列车经过【ARB】【进路锁闭】的区段之后,取消进路锁闭 2021-12-06 10:31:53 +08:00
Jade 05e0eedb34 列车加载到车辆段 2021-12-03 17:58:56 +08:00
joylink_zhangsai d27df770d6 Merge remote-tracking branch 'origin/test' into dev 2021-12-02 13:00:20 +08:00
joylink_zhangsai 09d423a3f4 重启令解实训,背景给车站设置站控;列车经过【ARB】【进路锁闭】的区段之后,取消进路锁闭 2021-12-02 12:59:54 +08:00
Jade be7e4f7a83 门选零位不给牵引力 2021-12-02 10:25:07 +08:00
joylink_zhangsai a7acb9929d Merge remote-tracking branch 'origin/test' into dev 2021-12-01 18:29:49 +08:00
joylink_zhangsai b054137647 生成实训时,用所属集中站过滤车辆段区段 2021-12-01 18:29:33 +08:00
Jade 2db15a49a4 岔心计轴故障逻辑 2021-12-01 18:28:10 +08:00
joylink_zhangsai 6fafb601d8 修改生成实训时,过滤车辆段区段的逻辑;区段状态增加remain 2021-12-01 14:09:44 +08:00
joylink_zhangsai 00ac703598 ci增加更新道岔预复位状态逻辑(因道岔计轴区段计轴故障预复位恢复后道岔的预复位状态没有清除掉);增加【进路内区段有占用时,强解进路区段,延时解锁】;进路联锁条件不满足而延时解锁的道岔失表判定条件修改 2021-12-01 13:07:32 +08:00
joylink_zhangsai 5ea4b7af3e 项目域名管理接口修改;生成区段实训时,如果所属计轴区段属于车辆段,跳过 2021-11-30 16:28:53 +08:00
Jade a5f30e905d 区段 岔心 2021-11-30 14:29:01 +08:00
Jade d916dc162e 计轴受扰 岔心状态 2021-11-30 10:29:59 +08:00
Jade 63db1a8564 南京二 实训问题处理 岔心占用 2021-11-30 09:46:17 +08:00
joylink_zhangsai a3d3f86518 Merge remote-tracking branch 'origin/test' into dev 2021-11-29 17:30:50 +08:00
joylink_zhangsai 6c5da045f7 连锁重启操作交出车站控制权 2021-11-29 17:30:30 +08:00
joylink_zhangsai 9839992d0c Merge branch 'master-huawei' into dev 2021-11-29 17:30:00 +08:00
Jade 8c59338df7 南京二 实训问题处理 2021-11-29 17:09:17 +08:00
Jade dfcb558cf3 Merge remote-tracking branch 'origin/test' into test 2021-11-29 16:35:11 +08:00
Jade 4705b55aba 南京二 实训问题处理 2021-11-29 16:34:03 +08:00
joylink_zhangsai aaf7582086 增加扬工院项目 2021-11-29 13:38:31 +08:00
thesai 3eea6a5851 Merge branch 'master-huawei' into test 2021-11-26 13:35:29 +08:00
thesai fc6683c075 修改道岔故障(可恢复)枚举 2021-11-26 09:32:12 +08:00
thesai bc2d84dfd0 Merge remote-tracking branch 'origin/test' into test 2021-11-26 09:25:58 +08:00
thesai b7ea3007da 修改可恢复失表故障为1次恢复 2021-11-26 09:25:46 +08:00
Jade cbd092b3c6 南京二 实训问题处理 岔心 2021-11-25 17:47:41 +08:00
thesai b97969ab47 Merge remote-tracking branch 'origin/test' into test 2021-11-25 17:19:50 +08:00
thesai 53726f14fc 补全DeviceFault的注解 2021-11-25 17:19:40 +08:00
Jade a9dfb2424a 南京二 实训问题处理 2021-11-25 14:53:57 +08:00
Jade 18533b2fbc 南京二 实训问题处理 - 替代信号机 2021-11-25 14:28:38 +08:00
thesai 5ac9c9ca41 Merge remote-tracking branch 'origin/test' into master-huawei 2021-11-25 12:10:47 +08:00
thesai 247da90858 Merge remote-tracking branch 'origin/test' into master-huawei 2021-11-19 21:01:54 +08:00
thesai cfc33cc649 Merge remote-tracking branch 'origin/test' into master-huawei 2021-11-18 18:59:52 +08:00
thesai 65572dd3b0 Merge branch 'test' into master-huawei 2021-11-13 20:48:03 +08:00
Jade 028d0b0bb4 Merge remote-tracking branch 'origin/test' into master-huawei 2021-11-04 18:17:14 +08:00
walker-sheng a64c161845 Merge branch 'test' into master-huawei 2021-10-27 18:06:47 +08:00
joylink_zhangsai aacca91bb8 Merge remote-tracking branch 'origin/test' into master-huawei 2021-10-26 18:46:42 +08:00
joylink_zhangsai ba091b3edf Merge remote-tracking branch 'origin/test' into master-huawei 2021-09-28 18:32:11 +08:00
walker-sheng 8bb4617a5f 添加无logo项目枚举 2021-09-14 14:20:22 +08:00
joylink_zhangsai d703a3e128 Merge remote-tracking branch 'origin/test' 2021-04-12 19:07:23 +08:00
joylink_zhangsai 9656fdb80e Merge remote-tracking branch 'origin/test' 2021-04-12 18:50:08 +08:00
joylink_zhangsai 7fad4fd3ae Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/club/joylink/rtss/wechat/MiniProgramAccessTokenManager.java
#	src/main/java/club/joylink/rtss/wechat/MiniProgramServiceImpl.java
2020-12-31 18:21:41 +08:00
walker-sheng 9426e4ddeb 修改微信服务获取token接口调用 2020-12-30 14:38:51 +08:00
walker-sheng 4628dc3fcb 修改小程序access_token获取 2020-12-29 18:37:29 +08:00
1634 changed files with 522772 additions and 45778 deletions

View File

@ -0,0 +1,32 @@
name: 公网服务发布
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
schedule:
- cron: '30 3 * * 1' # 每周一的凌晨3:30
jobs:
Docker-Build-Push:
runs-on: joylink-local233
steps:
- name: 发布到正式环境1
uses: https://gitea.joylink.club/appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.PUB1_DOMAIN_SSH_HOST }}
port: ${{ secrets.PUB1_DOMAIN_SSH_PORT }}
username: ${{ secrets.PUB1_DOMAIN_SSH_USER }}
password: ${{ secrets.PUB1_DOMAIN_SSH_PASSWORD }}
script: |
docker rm -f rt-sim-training-service || echo "rt-sim-training-service not exist"
docker pull gitea.joylink.club/joylink/rt-sim-training-service:latest
docker run --name rt-sim-training-service -it -u root --restart=always -d -e APP_ENV=prd -p 9000:9000 -p 19000:19000 -v /usr/local/joylink/logs/rtss:/usr/local/joylink/logs/rtss gitea.joylink.club/joylink/rt-sim-training-service:latest
- name: 发布到正式环境2
uses: https://gitea.joylink.club/appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.PUB2_DOMAIN_SSH_HOST }}
port: ${{ secrets.PUB2_DOMAIN_SSH_PORT }}
username: ${{ secrets.PUB2_DOMAIN_SSH_USER }}
password: ${{ secrets.PUB2_DOMAIN_SSH_PASSWORD }}
script: |
docker rm -f rt-sim-training-service || echo "rt-sim-training-service not exist"
docker pull gitea.joylink.club/joylink/rt-sim-training-service:latest
docker run --name rt-sim-training-service -it -u root --restart=always -d -e APP_ENV=prd -p 9000:9000 -p 19000:19000 -v /usr/local/joylink/logs/rtss:/usr/local/joylink/logs/rtss gitea.joylink.club/joylink/rt-sim-training-service:latest

View File

@ -0,0 +1,61 @@
name: CI
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
push:
branches:
- local-test
jobs:
Docker-Build:
runs-on: joylink-local233
steps:
- name: 检出代码
uses: https://gitea.joylink.club/actions/checkout@v4
with:
submodules: recursive
- name: 设置java环境
uses: https://gitea.joylink.club/actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
cache: 'maven'
cache-dependency-path: './pom.xml'
- name: 设置Maven环境
uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
with:
maven-version: 3.8.8
- name: 构建
run: |
mvn -Dmaven.test.skip=true clean package
- name: 设置 Docker
uses: https://gitea.joylink.club/actions/local-setup-docker-cli-action@v0.1.1
- name: 设置 Docker Buildx
uses: https://gitea.joylink.club/actions/local-setup-buildx-action@v0.1.3
- name: docker登录gitea.joylink.club
uses: https://gitea.joylink.club/docker/login-action@v3
with:
registry: gitea.joylink.club
username: shengxuqiang
password: ${{ secrets.SHENGXUQIANG_PASSWORD }}
- name: Docker Build and push
uses: https://gitea.joylink.club/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
gitea.joylink.club/joylink/rt-sim-training-service:local-test
- name: 发布到本地测试环境
uses: https://gitea.joylink.club/appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.LOCAL_233_SSH_HOST }}
port: ${{ secrets.LOCAL_233_SSH_PORT }}
username: ${{ secrets.LOCAL_233_SSH_USER }}
password: ${{ secrets.LOCAL_233_SSH_PASSWORD }}
script: |
docker rm -f rt-sim-training-service || echo "rt-sim-training-service not exist"
docker pull gitea.joylink.club/joylink/rt-sim-training-service:local-test
docker run --name rt-sim-training-service --restart=always --network net --ip 192.168.53.3 -d -e APP_ENV=local-test -p 9000:9000 -p 19000:19000 -v /usr/local/joylink/logs/rtss:/usr/local/joylink/logs/rtss gitea.joylink.club/joylink/rt-sim-training-service:local-test
# - name: 清理tag为none的镜像
# run: |
# docker rmi $(docker images --filter "dangling=true" -q --no-trunc) 2>/dev/null || echo "No dangling images to remove"

View File

@ -0,0 +1,61 @@
name: 版本发布docker构建并上传
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
release:
types: [ published ]
jobs:
Docker-Build-Push:
runs-on: joylink-local233
steps:
- name: 检出代码
uses: https://gitea.joylink.club/actions/checkout@v4
with:
submodules: recursive
- name: 设置java环境
uses: https://gitea.joylink.club/actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
cache: 'maven'
cache-dependency-path: './pom.xml'
- name: 设置Maven环境
uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
with:
maven-version: 3.8.8
- name: 构建
run: |
mvn -Dmaven.test.skip=true clean package
- name: 设置 Docker
uses: https://gitea.joylink.club/actions/local-setup-docker-cli-action@v0.1.1
- name: 设置 Docker Buildx
uses: https://gitea.joylink.club/actions/local-setup-buildx-action@v0.1.3
- name: docker登录gitea.joylink.club
uses: https://gitea.joylink.club/docker/login-action@v3
with:
registry: gitea.joylink.club
username: shengxuqiang
password: ${{ secrets.SHENGXUQIANG_PASSWORD }}
- name: Docker Build and push
uses: https://gitea.joylink.club/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
gitea.joylink.club/joylink/rt-sim-training-service:${{ github.event.release.tag_name }}
gitea.joylink.club/joylink/rt-sim-training-service:latest
# - name: 清理tag为none的镜像
# run: |
# docker rmi $(docker images --filter "dangling=true" -q --no-trunc) 2>/dev/null || echo "No dangling images to remove"
# - name: 发布到本地测试环境
# uses: https://gitea.joylink.club/appleboy/ssh-action@v1.0.3
# with:
# host: ${{ secrets.LOCAL_233_SSH_HOST }}
# port: ${{ secrets.LOCAL_233_SSH_PORT }}
# username: ${{ secrets.LOCAL_233_SSH_USER }}
# password: ${{ secrets.LOCAL_233_SSH_PASSWORD }}
# script: |
# docker rm -f rt-sim-training-service || echo "rt-sim-training-service not exist"
# docker pull gitea.joylink.club/joylink/rt-sim-training-service:latest
# docker run --name rt-sim-training-service --restart=always --network net --ip 192.168.53.3 -d -e APP_ENV=prd -p 9000:9000 -p 19000:19000 -v /usr/local/joylink/logs/rtss:/usr/local/joylink/logs/rtss gitea.joylink.club/joylink/rt-sim-training-service:latest

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "rt-sim-training-message"]
path = rt-sim-training-message
url = http://120.46.212.6:3000/joylink/rt-sim-training-message.git

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM azul/zulu-openjdk-alpine:11
ADD target/rtss-0.0.1-SNAPSHOT.jar rtss-service.jar
ENV APP_ENV=prd
EXPOSE 9000 19000/tcp
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
CMD java -jar -Dfile.encoding=UTF-8 -Dspring.profiles.active=$APP_ENV /rtss-service.jar

10
Dockerfile-local-test Normal file
View File

@ -0,0 +1,10 @@
FROM openjdk:11
ADD target/rtss-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 9000 19000/tcp
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
CMD java -jar -Dfile.encoding=UTF-8 -Dspring.profiles.active=local-test /app.jar

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# CI、CD说明
- 分支主要为developlocal-testmaster
- 本地233服务器部署方式为push到local-test分支即可触发
- 公网服务器发布方式:
1. push到master虽然可以用别的分支但不建议
2. 在版本发布处发布新版本触发构建docker镜像
3. 待docker镜像构建完成后点击Actions中CD_pub_deploy.yaml进入第一个任务点击重新运行所有任务进行服务发布

Binary file not shown.

2
mvnw vendored
View File

@ -161,7 +161,7 @@ fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# traverses directory structure from process work directory to filesystem root
# traverses directory structure from mean work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {

396
pom.xml
View File

@ -1,178 +1,252 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.5.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>club.joylink</groupId>
<artifactId>rtss</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>rtss</name>
<description> Rail transit simulation system</description>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.5.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>club.joylink</groupId>
<artifactId>rtss</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>rtss</name>
<description>Rail transit simulation system</description>
<properties>
<java.version>11</java.version>
<pagehelper.version>4.1.1</pagehelper.version>
</properties>
<properties>
<java.version>11</java.version>
<pagehelper.version>4.1.1</pagehelper.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>
<!-- javax.validation -->
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<!-- javax.validation -->
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<!--spring切面aop依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!--spring切面aop依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</dependency>
<dependency>
<groupId>com.digitalpetri.modbus</groupId>
<artifactId>modbus-codec</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</dependency>
<dependency>
<groupId>com.digitalpetri.modbus</groupId>
<artifactId>modbus-codec</artifactId>
<version>1.1.1</version>
</dependency>
<!-- 硬件检测依赖 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core-java11</artifactId>
<version>5.7.5</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.wechatpay-apiv3</groupId>
<artifactId>wechatpay-apache-httpclient</artifactId>
<version>0.2.1</version>
</dependency>
<!-- 硬件检测依赖 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core-java11</artifactId>
<version>5.7.5</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.wechatpay-apiv3</groupId>
<artifactId>wechatpay-apache-httpclient</artifactId>
<version>0.2.1</version>
</dependency>
<dependency>
<groupId>com.huawei.sis</groupId>
<artifactId>huaweicloud-java-sdk-sis</artifactId>
<version>1.3.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/huaweicloud-java-sdk-sis-1.3.2.jar</systemPath>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.huawei.sis</groupId>-->
<!-- <artifactId>huaweicloud-java-sdk-sis</artifactId>-->
<!-- <version>1.3.2</version>-->
<!-- <scope>system</scope>-->
<!-- <systemPath>${project.basedir}/libs/huaweicloud-java-sdk-sis-1.3.2.jar</systemPath>-->
<!-- </dependency>-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
</dependency>
<dependency>
<groupId>com.huawei.apigateway</groupId>
<artifactId>java-sdk-core</artifactId>
<version>3.0.12</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/java-sdk-core-3.0.12.jar</systemPath>
</dependency>
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>8.4.4</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.14.2</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.0</version>
</dependency>
<!-- <dependency>
<groupId>org.springframework.retry</groupId>
<artifactId>spring-retry</artifactId>
</dependency>-->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.3</version>
</dependency>
<dependency>
<groupId>com.belerweb</groupId>
<artifactId>pinyin4j</artifactId>
<version>2.5.0</version>
</dependency>
<!-- iscs -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.23.1</version>
</dependency>
<dependency>
<groupId>com.hubspot.jackson</groupId>
<artifactId>jackson-datatype-protobuf</artifactId>
<version>0.9.12</version>
</dependency>
<!-- <dependency>
<groupId>com.chenlb.mmseg4j</groupId>
<artifactId>mmseg4j-core</artifactId>
<version>1.10.0</version>
</dependency>-->
<!-- <dependency>
<groupId>org.ansj</groupId>
<artifactId>ansj_seg</artifactId>
<version>5.1.6</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
</dependency>-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
<!-- <dependency>
<groupId>info.debatty</groupId>
<artifactId>java-string-similarity</artifactId>
<version>2.0.0</version>
</dependency>-->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.3</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.10.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
<plugin>
<groupId>com.github.shalousun</groupId>
<artifactId>smart-doc-maven-plugin</artifactId>
<version>2.1.9</version>
<configuration>
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
<configFile>./src/main/resources/smart-doc.json</configFile>
<!--smart-doc实现自动分析依赖树加载第三方依赖的源码如果一些框架依赖库加载不到导致报错这时请使用excludes排除掉-->
<!-- <excludes>-->
<!-- &lt;!&ndash;格式为groupId:artifactId;参考如下&ndash;&gt;-->
<!-- <exclude>com.alibaba:fastjson</exclude>-->
<!-- </excludes>-->
<!-- &lt;!&ndash;自1.0.8版本开始插件提供includes支持,配置了includes后插件会按照用户配置加载而不是自动加载因此使用时需要注意&ndash;&gt;-->
<!-- &lt;!&ndash;smart-doc能自动分析依赖树加载所有依赖源码原则上会影响文档构建效率因此你可以使用includes来让插件加载你配置的组件&ndash;&gt;-->
<!-- <includes>-->
<!-- &lt;!&ndash;格式为groupId:artifactId;参考如下&ndash;&gt;-->
<!-- <include>com.alibaba:fastjson</include>-->
<!-- </includes>-->
</configuration>
<executions>
<execution>
<!--如果不需要在执行编译时启动smart-doc则将phase注释掉-->
<!-- <phase>compile</phase>-->
<goals>
<!--smart-doc提供了html、openapi、markdown等goal可按需配置-->
<goal>html</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
<plugin>
<groupId>com.github.shalousun</groupId>
<artifactId>smart-doc-maven-plugin</artifactId>
<version>2.1.9</version>
<configuration>
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
<configFile>./src/main/resources/smart-doc.json</configFile>
<!--smart-doc实现自动分析依赖树加载第三方依赖的源码如果一些框架依赖库加载不到导致报错这时请使用excludes排除掉-->
<!-- <excludes>-->
<!-- &lt;!&ndash;格式为groupId:artifactId;参考如下&ndash;&gt;-->
<!-- <exclude>com.alibaba:fastjson</exclude>-->
<!-- </excludes>-->
<!-- &lt;!&ndash;自1.0.8版本开始插件提供includes支持,配置了includes后插件会按照用户配置加载而不是自动加载因此使用时需要注意&ndash;&gt;-->
<!-- &lt;!&ndash;smart-doc能自动分析依赖树加载所有依赖源码原则上会影响文档构建效率因此你可以使用includes来让插件加载你配置的组件&ndash;&gt;-->
<!-- <includes>-->
<!-- &lt;!&ndash;格式为groupId:artifactId;参考如下&ndash;&gt;-->
<!-- <include>com.alibaba:fastjson</include>-->
<!-- </includes>-->
</configuration>
<executions>
<execution>
<!--如果不需要在执行编译时启动smart-doc则将phase注释掉-->
<!-- <phase>compile</phase>-->
<goals>
<!--smart-doc提供了html、openapi、markdown等goal可按需配置-->
<goal>html</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>aliyun-central</id>
<url>https://maven.aliyun.com/repository/central</url>
</repository>
<repository>
<id>aliyun-snapshots</id>
<url>https://maven.aliyun.com/repository/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-central</id>
<url>https://maven.aliyun.com/repository/central</url>
</pluginRepository>
</pluginRepositories>
</project>

@ -0,0 +1 @@
Subproject commit 5dd7fdb3d568c829356fa59b746b559d17da49b8

View File

@ -1,19 +0,0 @@
CREATE TABLE `docu_document_draft` (
`id` bigint NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL COMMENT '标题',
`content` longtext NOT NULL COMMENT '内容',
`create_user_id` bigint NOT NULL COMMENT '创建用户',
`create_time` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `docu_document` (
`id` bigint NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL COMMENT '标题',
`content` longtext NOT NULL COMMENT '内容',
`publish_user_id` bigint NOT NULL COMMENT '发布用户',
`publish_time` datetime NOT NULL COMMENT '发布时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@ -1,20 +0,0 @@
CREATE TABLE `file` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`file_name` varchar(255) NOT NULL,
`file_path` varchar(255) NOT NULL,
`file_type` varchar(255) NOT NULL,
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
`creator` bigint(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
CREATE TABLE `file_binding` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`file_id` bigint(20) NOT NULL,
`map_id` bigint(20) NOT NULL,
`device_types` varchar(255) DEFAULT NULL,
`device_ids` varchar(10000) DEFAULT NULL,
`creator` bigint(20) NOT NULL,
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

View File

@ -1,5 +0,0 @@
ALTER TABLE `permission_distribute`
ADD COLUMN `creator_id` bigint NULL AFTER `from_user_permission_id`;
alter table user_permission
add create_time datetime default current_timestamp not null;

View File

@ -1,3 +0,0 @@
ALTER TABLE `draft_map_parking_time`
CHANGE COLUMN `section_parking_time` `section_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '区段code' AFTER `station_code`,
ADD COLUMN `parking_time` int NOT NULL COMMENT '停站时间' AFTER `section_code`;

View File

@ -1,3 +0,0 @@
ALTER TABLE `run_plan_load`
ADD COLUMN `load_rule` varchar(32) NULL DEFAULT 'EVERY_DAY' AFTER `load_time`;

View File

@ -1,19 +0,0 @@
ALTER TABLE `sys_user` RENAME `sys_account`;
ALTER TABLE `sys_user_login` RENAME `sys_account_login`;
ALTER TABLE `sys_account`
ADD COLUMN `type` varchar(2) NOT NULL DEFAULT 1 COMMENT '账号类型1-个人账户2-企业账户' AFTER `account`;
ALTER TABLE `sys_account`
DROP COLUMN `offline`;
ALTER TABLE `sys_account`
MODIFY COLUMN `account` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账户' AFTER `id`;
ALTER TABLE `sys_account`
MODIFY COLUMN `type` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '1' COMMENT '账号类型1-个人账户2-企业账户3-企业账户下子账户' AFTER `account`;
ALTER TABLE `sys_account`
ADD COLUMN `parent_account` varchar(32) NULL COMMENT '父企业账户account,当为企业子账户时不能为空' AFTER `account`;

View File

@ -1,3 +0,0 @@
ALTER TABLE `user_simulation_stats`
ADD COLUMN `end_time` datetime NOT NULL DEFAULT '1970-01-01 01:01:01' ON UPDATE CURRENT_TIMESTAMP AFTER `fake`;

View File

@ -1,3 +0,0 @@
ALTER TABLE `map_data`
ADD COLUMN `note` varchar(255) NULL COMMENT '备注' AFTER `version`;

View File

@ -1,35 +0,0 @@
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for model_2d_draft
-- ----------------------------
DROP TABLE IF EXISTS `model_2d_draft`;
CREATE TABLE `model_2d_draft` (
`id` bigint(20) NOT NULL,
`code` varchar(32) NOT NULL COMMENT '编号',
`name` varchar(32) NOT NULL COMMENT '模型名称',
`json_data` mediumtext COMMENT '模型数据',
`create_user_id` bigint(20) NOT NULL,
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
`update_user_id` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for model_2d
-- ----------------------------
DROP TABLE IF EXISTS `model_2d`;
CREATE TABLE `model_2d` (
`id` bigint(20) NOT NULL,
`code` varchar(32) NOT NULL COMMENT '编号(唯一)',
`name` varchar(32) NOT NULL COMMENT '模型名称',
`json_data` mediumtext NOT NULL COMMENT '模型数据',
`version` int(11) NOT NULL COMMENT '版本',
`state` varchar(2) NOT NULL COMMENT '状态',
`create_user_id` bigint(20) NOT NULL,
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
`update_user_id` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@ -1,21 +0,0 @@
ALTER TABLE `user_simulation_stats`
DROP COLUMN `map_prd_id`,
MODIFY COLUMN `role` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户角色' AFTER `prd_type`,
MODIFY COLUMN `end_time` datetime NOT NULL DEFAULT now() ON UPDATE CURRENT_TIMESTAMP COMMENT '结束时间' AFTER `role`,
MODIFY COLUMN `duration` int(11) NOT NULL COMMENT '有效时长' AFTER `end_time`,
ADD COLUMN `start_time` datetime NOT NULL DEFAULT now() ON UPDATE CURRENT_TIMESTAMP COMMENT '开始时间' AFTER `role`;
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for sys_third_account_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_third_account_config`;
CREATE TABLE `sys_third_account_config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`account` varchar(32) NOT NULL COMMENT '第三方账户账号',
`interface_config` text COMMENT '接口信息配置',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

View File

@ -1,14 +0,0 @@
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for circuitry_draft
-- ----------------------------
DROP TABLE IF EXISTS `circuitry_draft`;
CREATE TABLE `circuitry_draft` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL COMMENT '名称',
`draw_data` mediumtext COMMENT '绘图数据',
`create_user_id` bigint(20) NOT NULL,
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

View File

@ -1,10 +0,0 @@
CREATE TABLE `draft_map_route_overrun` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`map_id` bigint(20) NOT NULL,
`code` varchar(255) NOT NULL,
`section_code` varchar(255) NOT NULL,
`ci_switch` varchar(255) DEFAULT NULL,
`switch_code` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

View File

@ -3,15 +3,18 @@ package club.joylink.rtss;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@EnableScheduling
@MapperScan(basePackages= {"club.joylink.rtss.dao"})
@EnableCaching
@MapperScan(basePackages = {"club.joylink.rtss.dao","club.joylink.rtss.iscs.dao"})
//@EnableRetry
public class RtssApplication {
public static void main(String[] args) {
SpringApplication.run(RtssApplication.class, args);
}
public static void main(String[] args) {
SpringApplication.run(RtssApplication.class, args);
}
}

View File

@ -0,0 +1,41 @@
package club.joylink.rtss.aop;
import club.joylink.rtss.services.cgy.CgyStatsService;
import club.joylink.rtss.simulation.cbtc.SimulationService;
import club.joylink.rtss.vo.client.cgy.CgyThirdPartyLoginInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;
@Aspect
@Slf4j
@Component
public class CgyViewAspect {
private CgyStatsService cgyStatsService;
private RestTemplate restTemplate;
private SimulationService simulationService;
@Autowired
public CgyViewAspect(CgyStatsService cgyStatsService, RestTemplate restTemplate,
SimulationService simulationService) {
this.cgyStatsService = cgyStatsService;
this.restTemplate = restTemplate;
this.simulationService = simulationService;
}
/**
* 成工院第三方登录接口被调用后加一个浏览量并同步给虚仿平台
*/
@AfterReturning(value = "execution(public * club.joylink.rtss.controller.LoginController.cgyThirdPartyLogin(..))")
public void addViewCount(JoinPoint joinPoint) {
Object arg = joinPoint.getArgs()[0];
CgyThirdPartyLoginInfoVO loginInfoVO = (CgyThirdPartyLoginInfoVO) arg;
cgyStatsService.updateView(loginInfoVO.getAppId());
}
}

View File

@ -0,0 +1,32 @@
package club.joylink.rtss.bo.cgy;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
/**
* 成工院虚仿平台对接统计数据
*/
@Getter
@Setter
@RequiredArgsConstructor
public class CgyStatsBO {
private final String appId;
private final String appSecret;
private final Long FunctionId;
//统计数据是否发生变化
private AtomicBoolean change;
//浏览量
private AtomicLong view;
//实训人次
private AtomicLong visitor;
//实训人数
private final Set<Long> userSet = new HashSet<>();
//实训时长/s
private AtomicLong duration;
}

View File

@ -0,0 +1,101 @@
package club.joylink.rtss.bo.race;
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
import club.joylink.rtss.vo.race.RaceApplication;
import club.joylink.rtss.vo.race.RaceApplication.ResultNode;
import club.joylink.rtss.vo.race.RaceApplication.ResultNode.Builder;
import club.joylink.rtss.vo.race.RaceTask;
import club.joylink.rtss.vo.race.RaceTask.RacePaperSingleModuleGroupTask;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskChildVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskChildVO.ChildNodeType;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import lombok.Data;
@Data
public class RaceContent {
private long userId;
private long paperId;
private int moduleId;
/**
* 训练使用到的任务树
*/
private RaceTask.RacePaperSingleModuleGroupTask taskTree;
/**
* 训练结果
*/
private RaceApplication.RacePracticeResult.Builder result;
/**
* 结果节点映射仅为了通过ID找节点
*/
private Map<Long, Builder> resultNodeMap = new HashMap<>();
public RaceContent(long userId, long paperId, int moduleId,
RacePaperSingleModuleGroupTask taskTree) {
this.userId = userId;
this.paperId = paperId;
this.moduleId = moduleId;
this.taskTree = taskTree;
this.result = RaceApplication.RacePracticeResult.newBuilder();
result.setCustomModuleId(taskTree.getCustomModuleId());
Builder rootNode = ResultNode.newBuilder();
buildResultNodeTree(taskTree.getChildList(), rootNode);
result.addAllNode(rootNode.getChildList());
// for (RaceTaskChildVO childVO : taskTree.getChildList()) {
// Builder nodeBuilder = result.addNodeBuilder();
// nodeBuilder.setName(childVO.getName());
// nodeBuilder.setType(childVO.getNodeType());
// nodeBuilder.setSceneId(childVO.getSceneId());
// //构建任务映射
// if (ChildNodeType.TASK == childVO.getNodeType()) {
// resultNodeMap.put(childVO.getId(), nodeBuilder);
// }
// //递归
// buildResultNodeTree(childVO, nodeBuilder);
// }
}
public Builder getResultNode(long taskId) {
Builder builder = resultNodeMap.get(taskId);
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertNotNull(builder,
String.format("任务[%d]不存在", taskId));
return builder;
}
private void buildResultNodeTree(List<RaceTaskChildVO> children, Builder parentNode) {
for (RaceTaskChildVO childVO : children) {
//构建对应的结果Node
Builder nodeBuilder = parentNode.addChildBuilder();
nodeBuilder.setName(childVO.getName());
nodeBuilder.setType(childVO.getNodeType());
nodeBuilder.setSceneId(childVO.getSceneId());
//构建任务映射
if (ChildNodeType.TASK == childVO.getNodeType()) {
resultNodeMap.put(childVO.getId(), nodeBuilder);
}
//递归
buildResultNodeTree(childVO.getChildrenList(), nodeBuilder);
}
}
// private void buildResultNodeTree(RaceTaskChildVO children, Builder parentNode) {
// for (RaceTaskChildVO childVO : children.getChildrenList()) {
// //构建对应的结果Node
// Builder nodeBuilder = parentNode.addChildBuilder();
// nodeBuilder.setName(childVO.getName());
// nodeBuilder.setType(childVO.getNodeType());
// nodeBuilder.setSceneId(childVO.getSceneId());
// //构建任务映射
// if (ChildNodeType.TASK == childVO.getNodeType()) {
// resultNodeMap.put(childVO.getId(), nodeBuilder);
// }
// //递归
// buildResultNodeTree(childVO, nodeBuilder);
// }
// }
}

View File

@ -0,0 +1,31 @@
package club.joylink.rtss.configuration;
import club.joylink.rtss.entity.project.Project;
import org.springframework.cache.interceptor.KeyGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.lang.reflect.Method;
import java.util.Arrays;
@Configuration
public class CacheConfig {
@Bean("projectKeyGenerator")
public KeyGenerator projectKeyGenerator() {
return new KeyGenerator() {
@Override
public Object generate(Object o, Method method, Object... objects) {
String name = method.getName();
String cacheKey = null;
if ("queryLoginProjectByCode".equals(name)) {
String code = String.valueOf(objects[0]);
cacheKey = Project.isDefault(code) ? Project.DEFAULT_PROJECT_CODE : code;
} else {
cacheKey = Arrays.asList(objects).toString();
}
return String.format("%s[%s]", name, cacheKey);
}
};
}
}

View File

@ -6,6 +6,7 @@ import com.fasterxml.jackson.datatype.jsr310.deser.LocalTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalTimeSerializer;
import com.hubspot.jackson.datatype.protobuf.ProtobufModule;
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@ -17,36 +18,40 @@ import java.time.format.DateTimeFormatter;
@Configuration
public class LocalDateTimeSerializerConfig {
/**
* Date格式化字符串
*/
private static final String DATE_FORMAT = "yyyy-MM-dd";
/**
* DateTime格式化字符串
*/
private static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
/**
* Time格式化字符串
*/
private static final String TIME_FORMAT = "HH:mm:ss";
@Bean
public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer() {
return builder -> {
builder.serializerByType(LocalDateTime.class,
new LocalDateTimeSerializer(DateTimeFormatter.ofPattern(DATETIME_FORMAT)));
builder.deserializerByType(LocalDateTime.class,
new LocalDateTimeDeserializer(DateTimeFormatter.ofPattern(DATETIME_FORMAT)));
/**
* Date格式化字符串
*/
private static final String DATE_FORMAT = "yyyy-MM-dd";
/**
* DateTime格式化字符串
*/
private static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
/**
* Time格式化字符串
*/
private static final String TIME_FORMAT = "HH:mm:ss";
builder.serializerByType(LocalDate.class,
new LocalDateSerializer(DateTimeFormatter.ofPattern(DATE_FORMAT)));
builder.deserializerByType(LocalDate.class,
new LocalDateDeserializer(DateTimeFormatter.ofPattern(DATE_FORMAT)));
@Bean
public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer() {
return builder -> {
builder.modulesToInstall(ProtobufModule.class);
builder.failOnUnknownProperties(false);
builder.serializerByType(LocalDateTime.class,
new LocalDateTimeSerializer(DateTimeFormatter.ofPattern(DATETIME_FORMAT)));
builder.deserializerByType(LocalDateTime.class,
new LocalDateTimeDeserializer(DateTimeFormatter.ofPattern(DATETIME_FORMAT)));
builder.serializerByType(LocalTime.class,
new LocalTimeSerializer(DateTimeFormatter.ofPattern(TIME_FORMAT)));
builder.deserializerByType(LocalTime.class,
new LocalTimeDeserializer(DateTimeFormatter.ofPattern(TIME_FORMAT)));
};
}
builder.serializerByType(LocalDate.class,
new LocalDateSerializer(DateTimeFormatter.ofPattern(DATE_FORMAT)));
builder.deserializerByType(LocalDate.class,
new LocalDateDeserializer(DateTimeFormatter.ofPattern(DATE_FORMAT)));
builder.serializerByType(LocalTime.class,
new LocalTimeSerializer(DateTimeFormatter.ofPattern(TIME_FORMAT)));
builder.deserializerByType(LocalTime.class,
new LocalTimeDeserializer(DateTimeFormatter.ofPattern(TIME_FORMAT)));
};
}
}

View File

@ -0,0 +1,36 @@
package club.joylink.rtss.configuration;
import io.minio.MinioClient;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import javax.annotation.PostConstruct;
@Setter
@Getter
@Configuration
public class MinioClientConfig {
@Value("${minio.endpoint}")
private String endpoint;
@Value("${minio.accessKey}")
private String accessKey;
@Value("${minio.secretKey}")
private String secretKey;
@Value("${minio.bucket}")
private String bucket;
@Value("${minio.replaceHttps}")
private Boolean replaceHttps;
private MinioClient minioClient;
@PostConstruct
private void init() {
this.minioClient = MinioClient.builder().endpoint(endpoint).credentials(accessKey, secretKey).build();
}
}

View File

@ -61,4 +61,33 @@ public class TaskExecutorConfiguration {
return taskExecutor;
}
/**
* 新实训监控
*/
@Bean("trainingV2Executor")
public TaskExecutor trainExecutor(Environment env) {
ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
taskExecutor.setThreadNamePrefix("ns-training-v2-executor-");
taskExecutor.setCorePoolSize(2);
taskExecutor.setMaxPoolSize(2);
taskExecutor.setQueueCapacity(100);
taskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
taskExecutor.initialize();
return taskExecutor;
}
/**
* 语音识别业务处理线程
*/
@Bean("voiceDiscriminateExecutor")
public TaskExecutor voiceDiscriminateExecutor(Environment env) {
ThreadPoolTaskExecutor taskExecutor = new ThreadPoolTaskExecutor();
taskExecutor.setThreadNamePrefix("ns-voice-discriminate-executor-");
taskExecutor.setCorePoolSize(2);
taskExecutor.setMaxPoolSize(2);
taskExecutor.setQueueCapacity(100);
taskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
taskExecutor.initialize();
return taskExecutor;
}
}

View File

@ -14,59 +14,72 @@ import java.util.List;
@Configuration
public class WebConfig implements WebMvcConfigurer {
@Autowired
private AuthenticateInterceptor authenticateInterceptor;
@Autowired
private AuthenticateInterceptor authenticateInterceptor;
@Autowired
private LicenseInterceptor licenseInterceptor;
@Autowired
private LicenseInterceptor licenseInterceptor;
@Override
public void addInterceptors(InterceptorRegistry registry) {
List<String> licenseWhiteList = new ArrayList<>();
licenseWhiteList.add("/api/license/validate");
licenseWhiteList.add("/api/license/local");
licenseWhiteList.add("/api/licensing/**");
registry.addInterceptor(licenseInterceptor).excludePathPatterns(licenseWhiteList);
List<String> whiteList = new ArrayList<>();
whiteList.add("/doc/**");
whiteList.add("/api/login/**");
whiteList.add("/api/wxpat/**");
whiteList.add("/api/sms/**");
whiteList.add("/api/register/**");
whiteList.add("/api/userinfo/**");
whiteList.add("/api/wechatpay/receive");
whiteList.add("/api/alipay/receive");
whiteList.add("/api/applet/**");
whiteList.add("/api/wxauth/**");
whiteList.add("/api/distribute/permission");
whiteList.add("/api/v1/jointTraining/permission");
whiteList.add("/api/jointTraining/permission");
whiteList.add("/api/user/bind/wm");
// 运行图工具
whiteList.add("/api/rpTools/**");
whiteList.add("/api/license/validate");
whiteList.add("/api/license/local");
// 微信回调接口
whiteList.add("/api/wechatPay/receive");
// 成都工业留言板
whiteList.add("/api/learn/cgy/message/create");
whiteList.add("/api/learn/cgy/{messageId}/comment");
whiteList.add("/api/learn/{postId}/message/pagedQuery/postId");
whiteList.add("GET /api/learn/{messageId}/comment");
whiteList.add("/api/learn/cgy/updateMessageTime");
// 成都工业使用记录
whiteList.add("/api/cgy/**");
//项目域名查询
whiteList.add("/api/projectServer/project/{project}");
whiteList.add("/test/simulation/**");
whiteList.add("/api/test/**");
registry.addInterceptor(authenticateInterceptor).excludePathPatterns(whiteList);
}
@Override
public void addInterceptors(InterceptorRegistry registry) {
List<String> licenseWhiteList = new ArrayList<>();
licenseWhiteList.add("/api/license/validate");
licenseWhiteList.add("/api/license/local");
licenseWhiteList.add("/api/licensing/**");
licenseWhiteList.add("/api/project/viewSetting/simple/all");
licenseWhiteList.add("/api/project/viewSetting/project/{project}");
registry.addInterceptor(licenseInterceptor).excludePathPatterns(licenseWhiteList);
List<String> whiteList = new ArrayList<>();
whiteList.add("/doc/**");
whiteList.add("/api/login/**");
whiteList.add("/api/wxpat/**");
whiteList.add("/api/sms/**");
whiteList.add("/api/register/**");
whiteList.add("/api/userinfo/**");
whiteList.add("/api/wechatpay/receive");
whiteList.add("/api/alipay/receive");
whiteList.add("/api/applet/**");
whiteList.add("/api/wxauth/**");
whiteList.add("/api/distribute/permission");
whiteList.add("/api/v1/jointTraining/permission");
whiteList.add("/api/jointTraining/permission");
whiteList.add("/api/user/bind/wm");
// 运行图工具
whiteList.add("/api/rpTools/**");
whiteList.add("/api/license/validate");
whiteList.add("/api/license/local");
// 微信回调接口
whiteList.add("/api/wechatPay/receive");
// 成都工业留言板
whiteList.add("/api/learn/cgy/message/create");
whiteList.add("/api/learn/cgy/{messageId}/comment");
whiteList.add("/api/learn/{postId}/message/pagedQuery/postId");
whiteList.add("GET /api/learn/{messageId}/comment");
whiteList.add("/api/learn/cgy/updateMessageTime");
// 成都工业使用记录
whiteList.add("/api/cgy/**");
//项目域名查询
whiteList.add("/api/projectServer/project/{project}");
whiteList.add("/test/simulation/**");
whiteList.add("/api/test/**");
whiteList.add("/api/project/viewSetting/simple/all");
whiteList.add("/api/project/viewSetting/project/{project}");
//旧数据处理
whiteList.add("/api/org/oldData/handle");
whiteList.add("/api/mapFunction/oldDataHandle");
whiteList.add("/api/v2/paper/composition/oldData/handle");
whiteList.add("/api/user/sync");
whiteList.add("/dataHandle");
//modbus测试
whiteList.add("/api/test/modbus/writeCoil");
@Override
public void addFormatters(FormatterRegistry registry) {
registry.addConverter(new LocalDateConverter());
WebMvcConfigurer.super.addFormatters(registry);
}
registry.addInterceptor(authenticateInterceptor).excludePathPatterns(whiteList);
}
@Override
public void addFormatters(FormatterRegistry registry) {
registry.addConverter(new LocalDateConverter());
WebMvcConfigurer.super.addFormatters(registry);
}
}

View File

@ -11,4 +11,5 @@ import org.springframework.stereotype.Component;
@Setter
public class ModbusTcpConfig {
private int port;
private int afcTransferPort;
}

View File

@ -1,10 +1,14 @@
package club.joylink.rtss.configuration.configProp;
import com.google.common.collect.Lists;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Objects;
@Component
@ConfigurationProperties(prefix="common")
@Getter

View File

@ -6,19 +6,12 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix="wechat")
@ConfigurationProperties(prefix = "wechat")
@Getter
@Setter
public class WeChatConfig {
private String domainUri;
private String appId;
private String appSecret;
private String wxApiUrl;
private String wmBaseUrl;
private String spAppId;
@ -33,65 +26,22 @@ public class WeChatConfig {
private String spApp3Secret;
/** 微信模块基础url */
private String wxModuleUrl;
/**
* 微信小程序配置
*/
private WeChatMiniProgramConfig mini;
public String getWxApiUrl(String redirect, String state) {
return String.format(wxApiUrl, redirect, state);
}
public String getWmLoginUrl(String state) {
return String.format(wmBaseUrl, "login", state);
}
public String getWmBindUrl(Long userId) {
return String.format(wmBaseUrl, "bind", userId);
public String getWmBindUrl(String state) {
return String.format(wmBaseUrl, "bind", state);
}
public String getPermissionDistributeUrl(String state) {
return String.format(wmBaseUrl, "distribute", state);
}
public String getWmJointRoomUrl(String state) {
return String.format(wmBaseUrl, "joint", state);
}
public String getWmSimulationUrl(String state) {
return String.format(wmBaseUrl, "simulation", state);
}
/**
* 获取页面access_token的url
* @return
*/
public String getPageAccessTokenUrl(String code) {
return new StringBuilder(this.domainUri)
.append("/sns/oauth2/access_token?appid=").append(this.appId)
.append("&secret=").append(this.appSecret)
.append("&code=").append(code)
.append("&grant_type=authorization_code").toString();
}
public String getJsAccessTokenUrl(String jsCode) {
return new StringBuilder(this.domainUri)
.append("/sns/oauth2/jscode2session?appid=").append(this.spAppId)
.append("&secret=").append(this.spAppSecret)
.append("&js_code=").append(jsCode)
.append("&grant_type=authorization_code").toString();
}
public String getUserInfoUrl(String access_token, String openid) {
return new StringBuilder(this.domainUri)
.append("/sns/userinfo?access_token=").append(access_token)
.append("&openid=").append(openid)
.append("&lang=zh_CN").toString();
}
public String getCode2SessionUrl(String wmCode) {
return new StringBuilder(this.domainUri)
.append("/sns/jscode2session?appid=").append(spAppId)
@ -116,20 +66,7 @@ public class WeChatConfig {
.append("&grant_type=authorization_code").toString();
}
public String getWxModuleBatchGetUserInfoUrl() {
return this.wxModuleUrl + "/api/user/batchget";
}
/**
* 获取微信服务模块打标签url
* @return
*/
public String getWxApiTagUrl() {
return this.wxModuleUrl+"/api/user/tagging";
}
public String getMsgSecCheckUrl() {
return this.wxModuleUrl + "/api/wm/msgSecCheck";
public String getOrgBindCode(String state) {
return String.format(wmBaseUrl, "company", state);
}
}

View File

@ -8,11 +8,13 @@ public interface BusinessConsts {
* 状态 1-启用/有效
*/
String STATUS_USE = "1";
int STATUS_USE_INT = 1;
/**
* 状态 0-禁用/无效
*/
String STATUS_NOT_USE = "0";
int STATUS_NOT_USE_INT = 0;
/**
* 验证码有效期: 单位 分钟
@ -817,4 +819,12 @@ public interface BusinessConsts {
/** 关闭自动调度 */
REGULATION_OFF,
}
/**
* 数据库数据逻辑删除标识
*/
enum DBLogicDelete{
NORMAL,
DELETE,
}
}

View File

@ -2,6 +2,7 @@ package club.joylink.rtss.constants;
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
import lombok.Getter;
import org.springframework.util.StringUtils;
/**
* 客户端枚举
@ -32,17 +33,22 @@ public enum Client {
/**
* 根据客户端id查询客户端对象
*
* @param clientId
* @return
*/
public static Client getByIdAndSecret(String clientId, String secret) {
// 传入为空时设置默认客户端
if (StringUtils.isEmpty(clientId) && StringUtils.isEmpty(secret)) {
return Client.Joylink;
}
Client[] values = Client.values();
for (Client value : values) {
if(value.getId().equals(clientId)
&& value.getSecret().equals(secret)) {
if (value.getId().equals(clientId)
&& value.getSecret().equals(secret)) {
return value;
}
}
throw BusinessExceptionAssertEnum.INVALID_CLIENT.exception(String.format("未找到id为[%s]的客户端",clientId));
throw BusinessExceptionAssertEnum.INVALID_CLIENT.exception(String.format("未找到id为[%s]的客户端", clientId));
}
}

View File

@ -0,0 +1,20 @@
package club.joylink.rtss.constants;
/**
* 方向标签枚举
*/
public enum DirectionLabelEnum {
X,
XF,
XD,
XN,
XW,
XWN,
S,
SF,
SD,
SDN,
SH,
SHN,
NO;
}

View File

@ -0,0 +1,6 @@
package club.joylink.rtss.constants;
public enum IscsSystem {
PA,
PIS,
}

View File

@ -4,24 +4,32 @@ import lombok.Getter;
@Getter
public enum MapPrdTypeEnum {
LOCAL("01", "ATS现地工作站"),
CENTER("02", "ATS行调工作站"),
JOINT("03", "综合演练云平台"),
DRIVER("04", "司机模拟驾驶系统"),
SCHEDULING("05", "派班工作站"),
ISCS("06", "ISCS工作站"),
BIG_SCREEN("07", "大屏工作站"),
RUN_PLAN_MAKE("08", "运行图编制工作站"),
DEPOT_IL("09", "车辆段联锁工作站"),
LOCAL("01", "ATS现地工作站", "车站"),
CENTER("02", "ATS行调工作站", "调度台"),
JOINT("03", "综合演练云平台", "综合演练云平台"),
DRIVER("04", "司机模拟驾驶系统", null),
SCHEDULING("05", "派班工作站", null),
ISCS("06", "ISCS工作站", null),
BIG_SCREEN("07", "大屏工作站", null),
RUN_PLAN_MAKE("08", "运行图编制工作站", null),
DEPOT_IL("09", "车辆段联锁工作站", null),
YJDDZH("10", "应急调度指挥系统", null),
// CTC("10", "CTC工作站")
;
private String code;
private String msg;
MapPrdTypeEnum(String code, String msg) {
/**
* 大铁子系统名称
*/
private String railName;
MapPrdTypeEnum(String code, String msg, String railName) {
this.code = code;
this.msg = msg;
this.railName = railName;
}
public static MapPrdTypeEnum getMapPrdTypeEnumByCode(String code) {

View File

@ -6,6 +6,8 @@ package club.joylink.rtss.constants;
public enum Project {
/** 自己项目 */
DEFAULT,
/** 无logo */
NOLOGO,
/** 西铁院项目 */
XTY,
/** 南铁院项目 */
@ -36,12 +38,34 @@ public enum Project {
ZZWWTEST,
/** 中航锐创(第三方教学合作,第三方登录) */
RICHOR,
/** 中航锐创(实训室,连设备,设备登录) */
/** 中航锐创(义乌现场)(实训室,连设备,设备登录) */
RICHOR_JOINT,
/** 上饶沙盘 */
/** 中航-上饶沙盘 */
SR_SANDBOX,
/** 江西工贸 */
/** 中航-江西工贸 */
JXGM,
/** 扬工院 */
RICHOR_YGY,
/** 苏安院 */
SAY,
/** 测试 */
TEST,
/** 中航-云南红河财经IBP盘项目 */
RICHOR_HHCJ,
/** 众合-陕铁院 */
UNITTEC_STY,
/** 通用教学 */
TEACHING,
/** 长兴技术学院 */
RICHOR_CXJS,
/** 哈盈达-铁路 */
HYD_RAILWAY,
/** 武汉8号线 */
// WH,
/** 武汉8号线 应急调度指挥系统*/
YJDDZH,
/** 京津冀职业技能发展联盟 */
JJJLM,
;
public static boolean isDefault(Project project) {

View File

@ -0,0 +1,11 @@
package club.joylink.rtss.constants;
public interface ProjectCode {
String THAILAND_SANDBOX = "THAILAND_SANDBOX";
String SR_SANDBOX = "SR_SANDBOX";
String NGY_SAND_TABLE = "NGY_SAND_TABLE";
String CDGXY = "CDGXY";
String CGY = "CGY";
}

View File

@ -1,9 +1,8 @@
package club.joylink.rtss.constants;
import lombok.Getter;
import java.util.Arrays;
import java.util.List;
import lombok.Getter;
/**
* 项目设备类型
@ -11,77 +10,139 @@ import java.util.List;
@Getter
public enum ProjectDeviceType {
/* -----------plc device start---------- */
/** 区段 */
SECTION,
/** 道岔 */
SWITCH,
/** 信号机 */
SIGNAL,
/** 屏蔽门控制柜 */
PSC,
/** 屏蔽门 */
PSD,
/** 端头控制盒(屏蔽门控制盒) */
PSL,
/** IBP盘 */
IBP,
/** PLC网关 */
PLC_GATEWAY,
/** 单元控制器 */
DCU,
/** UDP下位机 */
UDP_LOW,
/** UDP客户端 */
UDP_CLIENT,
/** 列车 */
TRAIN,
/* -----------plc device end---------- */
/* -----------plc device start---------- */
/**
* 区段
*/
SECTION,
/**
* 道岔
*/
SWITCH,
/**
* 信号机
*/
SIGNAL,
/**
* 屏蔽门控制柜
*/
PSC,
/**
* 屏蔽门
*/
PSD,
/**
* 端头控制盒屏蔽门控制盒
*/
PSL,
/**
* IBP盘
*/
IBP,
/**
* PLC网关
*/
PLC_GATEWAY,
/**
* 单元控制器
*/
DCU,
/**
* UDP下位机
*/
UDP_LOW,
/**
* UDP客户端
*/
UDP_CLIENT,
/**
* 列车
*/
TRAIN,
/* -----------plc device end---------- */
/* -----------client device start---------- */
/** 教员机instructor machine */
IM,
/** 调度工作站control workstation */
CW,
/** 现地工作站local workstation */
LW,
/** 联锁工作站interlock workstation */
ILW,
/** 虚拟综合后备盘(Integrated Back-Up Panel) */
VR_IBP,
/** 大屏工作站large screen workstation */
LSW,
/** 列车驾驶终端 */
DRIVE,
/** 虚拟站台屏蔽门终端 */
VR_PSD,
/** 现地综合监控 */
ISCS_LW,
/** 中心综合监控 */
ISCS_CW,
/** 车辆段终端 */
DEPOT,
/** 虚拟CCTV */
CCTV,
/** 虚拟电子沙盘 */
SANDBOX,
/** 派班工作站 */
SCHEDULING,
/* -----------client device end---------- */
;
/* -----------client device start---------- */
/**
* 教员机instructor machine
*/
IM,
/**
* 调度工作站control workstation
*/
CW,
/**
* 现地工作站local workstation
*/
LW,
/**
* 联锁工作站interlock workstation
*/
ILW,
/**
* 虚拟综合后备盘(Integrated Back-Up Panel)
*/
VR_IBP,
/**
* 大屏工作站large screen workstation
*/
LSW,
/**
* 列车驾驶终端
*/
DRIVE,
/**
* 虚拟站台屏蔽门终端
*/
VR_PSD,
/**
* 现地综合监控
*/
ISCS_LW,
/**
* 中心综合监控
*/
ISCS_CW,
/**
* 车辆段终端
*/
DEPOT,
/**
* 虚拟CCTV
*/
CCTV,
/**
* 虚拟电子沙盘
*/
SANDBOX,
/**
* 派班工作站
*/
SCHEDULING,
public static List<ProjectDeviceType> PlcDeviceList() {
return Arrays.asList(PLC_GATEWAY,
PSC,
PSD,
PSL,
IBP,
SECTION,
SWITCH,
SIGNAL,
DCU,
UDP_LOW,
UDP_CLIENT,
TRAIN);
}
PIS_STAND,
PIS_TRAIN,
PIS,
TMS,
/* -----------client device end---------- */
/* -----------Other start---------- */
/**
* 沙盘运行计划
*/
SAND_TABLE_RUN_PLAN;
public static List<ProjectDeviceType> PlcDeviceList() {
return Arrays.asList(PLC_GATEWAY,
PSC,
PSD,
PSL,
IBP,
SECTION,
SWITCH,
SIGNAL,
DCU,
UDP_LOW,
UDP_CLIENT,
TRAIN,
SAND_TABLE_RUN_PLAN);
}
}

View File

@ -0,0 +1,133 @@
package club.joylink.rtss.constants;
/**
* 项目
*/
public enum ProjectEnum {
/**
* 自己项目
*/
DEFAULT,
/**
* 无logo
*/
NOLOGO,
/**
* 西铁院项目
*/
XTY,
/**
* 南铁院项目
*/
NTY,
/**
* 南铁院云端定制项目
*/
NTYC,
/**
* 南铁院本地定制项目
*/
NTYL,
/**
* 西安地铁运营公司项目
*/
XADT,
/**
* 苏州电子信息学院项目
*/
SDY,
/**
* 贵州装备职业学院项目
*/
GZB,
/**
* 哈尔滨项目
*/
HEB,
/**
* 行调竞赛实训系统
*/
DRTS,
/**
* 北京交通大学项目客流量科研
*/
BJD,
/**
* 成都工业职业技术学院
*/
CGY,
/**
* 微机联锁
*/
WJLS,
/**
* 郑州共赢
*/
ZZWW,
/**
* 郑州共赢测试
*/
ZZWWTEST,
/**
* 中航锐创第三方教学合作,第三方登录
*/
RICHOR,
/**
* 中航锐创义乌现场实训室连设备设备登录
*/
RICHOR_JOINT,
/**
* 中航-上饶沙盘
*/
SR_SANDBOX,
/**
* 中航-江西工贸
*/
JXGM,
/**
* 扬工院
*/
RICHOR_YGY,
/**
* 苏安院
*/
SAY,
/**
* 测试
*/
TEST,
/**
* 中航-云南红河财经IBP盘项目
*/
RICHOR_HHCJ,
/**
* 众合-陕铁院
*/
UNITTEC_STY,
/**
* 通用教学
*/
TEACHING,
/**
* 长兴技术学院
*/
RICHOR_CXJS,
/**
* 哈盈达-铁路
*/
HYD_RAILWAY,
/** 武汉8号线 */
// WH,
/**
* 武汉8号线 应急调度指挥系统
*/
YJDDZH;
public static boolean isDefault(ProjectEnum project) {
return DEFAULT.equals(project);
}
public static boolean isLoginWithCreateSimulation(ProjectEnum project) {
return ProjectEnum.DRTS.equals(project) || ProjectEnum.BJD.equals(project) || ProjectEnum.WJLS.equals(project);
}
}

View File

@ -0,0 +1,5 @@
package club.joylink.rtss.constants;
public interface ServicePath {
String MAIN = "https://joylink.club/jlcloud";
}

View File

@ -46,6 +46,19 @@ public enum SystemEnv {
return false;
}
public static boolean isTestEnv(String name) {
SystemEnv[] envs = SystemEnv.values();
for (SystemEnv env : envs) {
if(Objects.equals(env.getName(), name)) {
if(Test.equals(env)) {
return true;
}
break;
}
}
return false;
}
public static boolean isDevEnv(String name) {
SystemEnv[] envs = SystemEnv.values();
for (SystemEnv env : envs) {

View File

@ -17,11 +17,13 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*组织成员管理接口
* 组织成员管理接口
* 这些接口逐渐废弃新接口加在这里{@link club.joylink.rtss.controller.org.OrgController}
*/
@RestController
@RequestMapping("/api/company")
public class OrgController {
@Deprecated(since = "2022.12.08", forRemoval = true)
public class CompanyController {
@Autowired
private IOrgUserService iOrgUserService;
@ -39,87 +41,87 @@ public class OrgController {
private IOrgExamService iOrgExamService;
/**
*创建顶级组织
* 创建顶级组织
*/
@PostMapping
public CompanyVO create(@RequestBody @Validated CompanyVO company, @RequestAttribute(AuthenticateInterceptor.LOGIN_USER_KEY) AccountVO user) {
return iOrgService.createTopOrg(company, user);
public OrgVO create(@RequestBody @Validated TopOrgCreateVO topOrgCreateVO, @RequestAttribute(AuthenticateInterceptor.LOGIN_USER_KEY) AccountVO user) {
return iOrgService.createTopOrg(topOrgCreateVO, user);
}
/**
*获取公司列表
* 获取公司列表
*/
@GetMapping
public List<CompanyVO> queryAll() {
public List<OrgVO> queryAll() {
return iOrgService.queryAllTopOrg();
}
/**
*分页获取公司列表
* 分页获取公司列表
*/
@GetMapping("paging")
public PageVO<CompanyVO> pagingQueryAll(OrgQueryVO queryVO) {
public PageVO<OrgVO> pagingQueryAll(OrgQueryVO queryVO) {
return iOrgService.pagedQueryAllTopOrg(queryVO);
}
/**
*查询公司信息
* 查询公司信息
*/
@GetMapping("{id}")
public CompanyVO get(@PathVariable Long id) {
public OrgVO get(@PathVariable Long id) {
return iOrgService.get(id);
}
/**
*更新公司信息
* 更新公司信息
*/
@PutMapping("{id}")
public CompanyVO updateCompany(@PathVariable Long id, @RequestBody @Validated CompanyVO company, @RequestAttribute AccountVO user) {
public OrgVO updateCompany(@PathVariable Long id, @RequestBody @Validated OrgVO company, @RequestAttribute AccountVO user) {
return iOrgService.updateOrg(id, company, user);
}
/**
*微信小程用户绑定为单位管理员
* 微信小程用户绑定为单位管理员
*/
@PutMapping(path = "/bind/company")
public CompanyVO userScanCodeBindCompany(Long userId, Long companyId) {
public OrgVO userScanCodeBindCompany(Long userId, Long companyId) {
return iOrgUserService.userScanCodeBindCompanyManager(userId, companyId);
}
/**
*添加部门信息
* 添加部门信息
*/
@PostMapping(path = "/dept")
public DepartmentVO createDepart(@RequestBody @Validated DepartmentVO departmentVO) {
return iOrgUserService.createDepart(departmentVO);
public OrgVO createDepart(@RequestBody @Validated OrgVO orgVO) {
return iOrgUserService.createDepart(orgVO);
}
/**
*获取单位所有部门
* 获取单位所有部门
*/
@GetMapping(path = "{companyId}/dept")
public List<DepartmentVO> queryCompanyDepart(@PathVariable Long companyId) {
public List<OrgVO> queryCompanyDepart(@PathVariable Long companyId) {
return iOrgUserService.getCompanyAllDepart(companyId);
}
/**
*获取部门及其子树
* 获取部门及其子树
*/
@GetMapping(path = "{companyId}/dept/{deptId}/tree")
public DepartmentVO queryDepartTree(@PathVariable Long deptId, @PathVariable Long companyId) {
public OrgVO queryDepartTree(@PathVariable Long deptId, @PathVariable Long companyId) {
return iOrgUserService.getDepartTree(companyId, deptId);
}
/**
*获取部门及其子部门
* 获取部门及其子部门
*/
@GetMapping(path = "{companyId}/dept/{deptId}")
public List<DepartmentVO> queryDepart(@PathVariable Long deptId, @PathVariable Long companyId) {
public List<OrgVO> queryDepart(@PathVariable Long deptId, @PathVariable Long companyId) {
return iOrgUserService.getDepartAndChild(companyId, deptId);
}
/**
*删除部门信息
* 删除部门信息
*/
@DeleteMapping("/dept/{deptId}")
public void deleteDepart(@PathVariable Long deptId) {
@ -127,23 +129,23 @@ public class OrgController {
}
/**
*查询部门信息
* 查询部门信息
*/
@GetMapping("/dept/{deptId}")
public DepartmentVO getDepart(@PathVariable Long deptId) {
return iOrgUserService.getDepartById(deptId);
public OrgVO queryDepart(@PathVariable Long deptId) {
return iOrgUserService.queryDepartById(deptId);
}
/**
*更新部门信息
* 更新部门信息
*/
@PutMapping("/dept/{id}")
public void updateDepartInfo(@PathVariable Long id, @RequestBody @Validated DepartmentVO departmentVO) {
iOrgUserService.updateDepartInfo(id, departmentVO);
public void updateDepartInfo(@PathVariable Long id, @RequestBody @Validated OrgVO orgVO) {
iOrgUserService.updateDepartInfo(id, orgVO);
}
/**
*添加单位成员关系信息
* 添加单位成员关系信息
*/
@PostMapping("refUserInfo")
public void addCompanyUserInfo(@RequestAttribute AccountVO user, @RequestBody UserDepartRelVO userDepartRelVO) {
@ -151,7 +153,7 @@ public class OrgController {
}
/**
*更新单位成员关系信息
* 更新单位成员关系信息
*/
@PutMapping("refUserInfo")
public void updateCompanyUserInfo(@RequestAttribute AccountVO user, @RequestBody UserDepartRelVO userDepartRelVO) {
@ -159,7 +161,7 @@ public class OrgController {
}
/**
*取消单位的部门成员关系
* 取消单位的部门成员关系
*/
@DeleteMapping("departUserInfo")
public void deleteCompanyUserInfo(@RequestAttribute AccountVO user, @RequestBody @Validated UserDepartRelVO userDepartRelVO) {
@ -167,7 +169,7 @@ public class OrgController {
}
/**
*分页获取班级学生信息
* 分页获取班级学生信息
*/
@GetMapping("/dept/{clsId}/departUserInfo")
public PageVO<OrgUserVO> getCompanyUserInfo(@RequestAttribute AccountVO user, @PathVariable Integer clsId, CompanyUserQueryVO companyUserQueryVO) {
@ -175,7 +177,7 @@ public class OrgController {
}
/**
*导入单位成员信息
* 导入单位成员信息
*/
@PostMapping("{clsId}/departUserInfo/import")
public void importCompanyUserInfo(@RequestAttribute AccountVO user, @PathVariable Long clsId, @RequestBody List<ImportOrgUserVO> importOrgUsers) {
@ -183,7 +185,7 @@ public class OrgController {
}
/**
*获取单位用户的部门信息
* 获取单位用户的部门信息
*/
@GetMapping("{companyId}/userDeparts")
public List<OrgUserVO> getUserCompanyDeparts(@RequestAttribute AccountVO user, @PathVariable Integer companyId) {
@ -191,7 +193,7 @@ public class OrgController {
}
/**
*查询自己给该组织班级排的课
* 查询自己给该组织班级排的课
*/
@GetMapping("/orgLesson/{orgId}/list")
public List<LessonVO> queryOrgLessonICreated(@PathVariable Long orgId, @RequestAttribute AccountVO user) {
@ -199,7 +201,7 @@ public class OrgController {
}
/**
*修改班级-课程关系
* 修改班级-课程关系
*/
@PutMapping("/orgLesson/{clsId}/update")
public void updateOrgLesson(@PathVariable Long clsId, @RequestBody List<Long> lessonIds, @RequestAttribute LoginUserInfoVO loginInfo) {
@ -207,7 +209,7 @@ public class OrgController {
}
/**
*给班级添加学生
* 给班级添加学生
*/
@PostMapping("/orgUser/{clsId}/addStudent")
public void addStudent(@PathVariable Long clsId, @RequestBody ImportOrgUserVO importVO, @RequestAttribute AccountVO user) {
@ -215,7 +217,7 @@ public class OrgController {
}
/**
*创建班级
* 创建班级
*/
@PostMapping("/org/cls/create")
public void createCls(@RequestBody NonTopOrgCreateVO createVO, @RequestAttribute LoginUserInfoVO loginInfo) {
@ -223,23 +225,23 @@ public class OrgController {
}
/**
*分页查询当前登录项目所属组织下的班级
* 分页查询当前登录用户所属组织下的班级
*/
@GetMapping("/paged/cls")
public PageVO<DepartmentVO> pagedQuerySelfCls(OrgQueryVO queryVO, @RequestAttribute LoginUserInfoVO loginInfo) {
public PageVO<OrgVO> pagedQuerySelfCls(OrgQueryVO queryVO, @RequestAttribute LoginUserInfoVO loginInfo) {
return iOrgService.pagedQueryCls(queryVO, loginInfo);
}
/**
*查询当前登录项目所属组织下的班级
* 查询当前登录项目所属组织下的班级
*/
@GetMapping("/list/cls")
public List<DepartmentVO> queryCls(OrgQueryVO queryVO, @RequestAttribute LoginUserInfoVO loginInfo) {
public List<OrgVO> queryCls(OrgQueryVO queryVO, @RequestAttribute LoginUserInfoVO loginInfo) {
return iOrgService.queryCls(queryVO, loginInfo);
}
/**
*创建评价规则
* 创建评价规则
*/
@PostMapping("/orgScoringRule")
public void createScoringRule(@RequestBody OrgScoringRuleVO orgScoringRuleVO, @RequestAttribute LoginUserInfoVO loginInfo) {
@ -247,7 +249,7 @@ public class OrgController {
}
/**
*更新评价规则
* 更新评价规则
*/
@PutMapping("/orgScoringRule")
public void UpdateScoringRule(@RequestBody OrgScoringRuleVO orgScoringRuleVO, @RequestAttribute AccountVO user) {
@ -255,7 +257,7 @@ public class OrgController {
}
/**
*查询自己创建的评价规则基础信息
* 查询自己创建的评价规则基础信息
*/
@GetMapping("/orgScoringRule/basicInfo/self/paged")
public PageVO<OrgScoringRuleVO> queryOrgScoringRuleBasicInfo(OrgScoringRuleQueryVO queryVO, @RequestAttribute AccountVO user) {
@ -263,7 +265,7 @@ public class OrgController {
}
/**
*查询自己创建的指定评价规则详细信息
* 查询自己创建的指定评价规则详细信息
*/
@GetMapping("/orgScoringRule/details/self/{orgId}/{schoolYear}/{term}")
public OrgScoringRuleVO queryOrgScoringRuleDetails(@PathVariable Long orgId, @PathVariable String schoolYear,
@ -272,24 +274,24 @@ public class OrgController {
}
/**
*查询指定评价规则详细信息
* 查询指定评价规则详细信息
*/
@GetMapping("/orgScoringRule/details/self/{ruleId}")
public OrgScoringRuleVO queryOrgScoringRuleDetails(@PathVariable Long ruleId) {
return iOrgScoringRuleService.getOrgScoringRuleDetails(ruleId);
}
/**
*获取评价规则的评分结果
*/
@GetMapping("/orgScoringRule/score/{orgId}/{schoolYear}/{term}")
public List<OrgScoringResultVO> score(@PathVariable Long orgId, @PathVariable String schoolYear,
@PathVariable Integer term, @RequestAttribute LoginUserInfoVO loginInfo) {
return iOrgScoringRuleService.score(orgId, schoolYear, term, loginInfo);
}
// /**
// * 获取评价规则的评分结果
// */
// @GetMapping("/orgScoringRule/score/{orgId}/{schoolYear}/{term}")
// public List<OrgScoringResultVO> score(@PathVariable Long orgId, @PathVariable String schoolYear,
// @PathVariable Integer term, @RequestAttribute LoginUserInfoVO loginInfo) {
// return iOrgScoringRuleService.score(orgId, schoolYear, term, loginInfo);
// }
/**
*删除评分规则
* 删除评分规则
*/
@DeleteMapping("/orgScoringRule/details/self/{ruleId}")
public void deleteScoringRule(@PathVariable Long ruleId, @RequestAttribute AccountVO user) {
@ -297,15 +299,15 @@ public class OrgController {
}
/**
*查询规则能够应用到的组织
* 查询规则能够应用到的组织
*/
@GetMapping("/orgScoringRule/{ruleId}/canApplyTo")
public List<DepartmentVO> queryRuleCanApplyTo(@PathVariable Long ruleId, @RequestAttribute AccountVO user) {
public List<OrgVO> queryRuleCanApplyTo(@PathVariable Long ruleId, @RequestAttribute AccountVO user) {
return iOrgScoringRuleService.queryRuleCanApplyTo(ruleId, user);
}
/**
*将评价规则应用到
* 将评价规则应用到
*/
@PostMapping("/orgScoringRule/{ruleId}/apply")
public void applyOrgScoringRule(@PathVariable Long ruleId, @RequestBody List<Long> orgIds) {
@ -313,7 +315,7 @@ public class OrgController {
}
/**
*给班级安排考试
* 给班级安排考试
*/
@PostMapping("/orgExam/{clsId}")
public void createOrgExam(@PathVariable Long clsId, @RequestBody List<Long> examIds, @RequestAttribute AccountVO user) {
@ -321,7 +323,7 @@ public class OrgController {
}
/**
*查询班级安排的考试id
* 查询班级安排的考试id
*/
@GetMapping("/orgExam/{clsId}/list")
public List<String> queryOrgExam(@PathVariable Long clsId, @RequestAttribute AccountVO user) {
@ -329,7 +331,7 @@ public class OrgController {
}
/**
*管理员查看组织树
* 管理员查看组织树
*/
@Role(RoleEnum.Admin)
@GetMapping("/orgTree/{orgId}")
@ -338,11 +340,34 @@ public class OrgController {
}
/**
*获取学生实训使用时长
* 获取学生实训使用时长
*/
@GetMapping("/usage/students")
public List<StudentsUsageStatisticsVO> statisticUsage(@Validated UsageQueryVO queryVO) {
return iOrgUserService.statisticUsage(queryVO);
}
/**
* 获取绑定组织二维码
*/
@GetMapping("/{orgId}/qrCode")
public String getBindQrCode(@PathVariable Long orgId, @RequestAttribute LoginUserInfoVO loginInfo) {
return iOrgService.getBindQrCode(orgId, loginInfo.getProject());
}
/**
* 查询班级教师接口
*/
@GetMapping("/dept/{clsId}/teachers")
public PageVO<OrgUserVO> clsTeacherList(@PathVariable Integer clsId, CompanyUserQueryVO companyUserQueryVO) {
return iOrgUserService.clsTeacherList(clsId, companyUserQueryVO);
}
/**
* 添加教师接口
*/
@PostMapping("/dept/{clsId}/addTeacher")
public void addTeacher(@PathVariable Long clsId, @RequestBody ImportOrgUserVO importVO, @RequestAttribute AccountVO user) {
iOrgUserService.addTeacher(clsId, importVO, user);
}
}

View File

@ -1,6 +1,5 @@
package club.joylink.rtss.controller;
import club.joylink.rtss.constants.Project;
import club.joylink.rtss.services.ILearnService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageQueryVO;
@ -18,7 +17,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*学习吧接口
* 学习吧接口
*/
@RestController
@RequestMapping(path = "/api/learn")
@ -28,7 +27,7 @@ public class LearnController {
private ILearnService iLearnService;
/**
*分页查询留言板列表
* 分页查询留言板列表
*/
@GetMapping(path = "/post")
public PageVO<LearnPostVO> queryPagedPost(LearnPostPagedQueryVO queryVO) {
@ -36,15 +35,15 @@ public class LearnController {
}
/**
*查询项目留言板
* 查询项目留言板
*/
@GetMapping("/{project}/post")
public LearnPostVO queryPost(@PathVariable Project project) {
public LearnPostVO queryPost(@PathVariable String project) {
return iLearnService.queryPost(project);
}
/**
*新建帖子
* 新建帖子
*/
@PostMapping(path = "/post")
public Long createPost(@RequestBody @Validated LearnPostCreateVO createVO, @RequestAttribute AccountVO user) {
@ -52,7 +51,7 @@ public class LearnController {
}
/**
*编辑留言板基础信息
* 编辑留言板基础信息
*/
@PutMapping("/{postId}")
public void updatePost(@PathVariable Long postId, @RequestBody @Validated LearnPostUpdateVO updateVO,
@ -61,7 +60,7 @@ public class LearnController {
}
/**
*获取帖子信息
* 获取帖子信息
*/
@GetMapping(path = "/{postId}")
public LearnPostVO getPostInfo(@PathVariable Long postId) {
@ -69,7 +68,7 @@ public class LearnController {
}
/**
*赞贴
* 赞贴
*/
@PostMapping(path = "/post/{postId}/like")
public void likePost(@PathVariable Long postId, @RequestAttribute AccountVO user) {
@ -77,7 +76,7 @@ public class LearnController {
}
/**
*踩贴
* 踩贴
*/
@PostMapping(path = "/post/{postId}/unlike")
public void unlikePost(@PathVariable Long postId, @RequestAttribute AccountVO user) {
@ -85,7 +84,7 @@ public class LearnController {
}
/**
*置顶-管理员操作
* 置顶-管理员操作
*/
@PutMapping(path = "/{postId}/top")
public void top(@PathVariable Long postId, @RequestAttribute AccountVO user) {
@ -93,7 +92,7 @@ public class LearnController {
}
/**
*删除帖子-管理员操作
* 删除帖子-管理员操作
*/
@DeleteMapping(path = "/{postId}")
public void deletePost(@PathVariable Long postId, @RequestAttribute AccountVO user) {
@ -103,7 +102,7 @@ public class LearnController {
//--------------------------------- 留言 ---------------------------------
/**
*留言
* 留言
*/
@PostMapping("/message/create")
public long createMessage(@RequestBody @Validated LearnMessageCreateVO messageCreateVO, @RequestAttribute AccountVO user) {
@ -111,7 +110,7 @@ public class LearnController {
}
/**
*成工院留言
* 成工院留言
*/
@PostMapping("/cgy/message/create")
public long cgyCreateMessage(@RequestBody @Validated LearnMessageCreateVO messageCreateVO) {
@ -119,7 +118,7 @@ public class LearnController {
}
/**
*分页查询留言
* 分页查询留言
*/
@GetMapping("/{postId}/message/pagedQuery/postId")
public PageVO<LearnMessageVO> pagedQueryMessageByPostId(@PathVariable Long postId, LearnMessagePagedQueryVO queryVO) {
@ -127,15 +126,15 @@ public class LearnController {
}
/**
*根据项目分页查询留言
* 根据项目分页查询留言
*/
@GetMapping("/{project}/message/pagedQuery/project")
public PageVO<LearnMessageVO> pagedQueryMessageByProject(@PathVariable Project project, LearnMessagePagedQueryVO queryVO) {
public PageVO<LearnMessageVO> pagedQueryMessageByProject(@PathVariable String project, LearnMessagePagedQueryVO queryVO) {
return iLearnService.pagedQueryMessageByProject(project, queryVO);
}
/**
*删除留言管理员
* 删除留言管理员
*/
@DeleteMapping("/{messageId}/deleteMessage/admin")
public void adminDeleteMessage(@PathVariable Long messageId, @RequestAttribute AccountVO user) {
@ -143,7 +142,7 @@ public class LearnController {
}
/**
*删除留言用户删自己的
* 删除留言用户删自己的
*/
@DeleteMapping("/{messageId}/deleteMessage/user")
public void userDeleteMessage(@PathVariable Long messageId, @RequestAttribute AccountVO user) {
@ -165,7 +164,7 @@ public class LearnController {
//----------------------------------------- 评论 -----------------------------------------
/**
*分页查询留言评论列表
* 分页查询留言评论列表
*/
@GetMapping(path = "/{messageId}/comment")
public PageVO<LearnCommentVO> queryPagedComment(@PathVariable Long messageId, PageQueryVO queryVO) {
@ -173,7 +172,7 @@ public class LearnController {
}
/**
*查询留言回复列表
* 查询留言回复列表
*/
@GetMapping(path = "/{messageId}/list")
public List<LearnCommentVO> queryCommentList(@PathVariable Long messageId) {
@ -181,7 +180,7 @@ public class LearnController {
}
/**
*评论
* 评论
*/
@PostMapping(path = "/{messageId}/comment")
public void comment(@PathVariable Long messageId,
@ -191,7 +190,7 @@ public class LearnController {
}
/**
*成工院评论
* 成工院评论
*/
@PostMapping(path = "/cgy/{messageId}/comment")
public void cygComment(@PathVariable Long messageId,
@ -200,7 +199,7 @@ public class LearnController {
}
/**
*回复
* 回复
*/
@PostMapping(path = "/{messageId}/{commentId}/comment")
public void comment(@PathVariable Long messageId, @PathVariable Long commentId,
@ -210,7 +209,7 @@ public class LearnController {
}
/**
*赞回复
* 赞回复
*/
@PostMapping(path = "/comment/{commentId}/like")
public void likeComment(@PathVariable Long commentId, @RequestAttribute AccountVO user) {
@ -218,7 +217,7 @@ public class LearnController {
}
/**
*踩回复
* 踩回复
*/
@PostMapping(path = "/comment/{commentId}/unlike")
public void unlikeComment(@PathVariable Long commentId, @RequestAttribute AccountVO user) {
@ -226,7 +225,7 @@ public class LearnController {
}
/**
*取消置顶-管理员操作
* 取消置顶-管理员操作
*/
@PutMapping(path = "/{postId}/unTop")
public void unTop(@PathVariable Long postId, @RequestAttribute AccountVO user) {
@ -234,7 +233,7 @@ public class LearnController {
}
/**
*删除评论-管理员操作
* 删除评论-管理员操作
*/
@DeleteMapping(path = "/{commentId}/deleteComment/admin")
public void adminDeleteComment(@PathVariable Long commentId, @RequestAttribute AccountVO user) {
@ -242,7 +241,7 @@ public class LearnController {
}
/**
*删除评论-用户操作
* 删除评论-用户操作
*/
@DeleteMapping(path = "/{commentId}/deleteComment/user")
public void userDeleteComment(@PathVariable Long commentId, @RequestAttribute AccountVO user) {
@ -250,8 +249,9 @@ public class LearnController {
}
//----------------------------------------- 改数据 -----------------------------------------
/**
*管理员修改留言数据
* 管理员修改留言数据
*/
@PutMapping(path = "/admin/update/message")
public void adminUpdateMessage(LearnMessageUpdateVO messageUpdateVO) {
@ -259,7 +259,7 @@ public class LearnController {
}
/**
*管理员修改评论数据
* 管理员修改评论数据
*/
@PutMapping(path = "/admin/update/comment")
public void adminUpdateComment(LearnCommentUpdateVO commentUpdateVO) {
@ -267,7 +267,7 @@ public class LearnController {
}
/**
*成工院留言时间打散
* 成工院留言时间打散
*/
@PutMapping(path = "/cgy/updateMessageTime")
public void cgyUpdateMessageTime() {

View File

@ -1,131 +1,154 @@
package club.joylink.rtss.controller;
import club.joylink.rtss.constants.Project;
import club.joylink.rtss.exception.BaseException;
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
import club.joylink.rtss.services.auth.IAuthenticateService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.LoginStatusVO;
import club.joylink.rtss.vo.client.LoginUserVO;
import club.joylink.rtss.vo.client.cgy.CgyThirdPartyLoginInfoVO;
import club.joylink.rtss.vo.client.validGroup.LoginInfoCheck;
import club.joylink.rtss.vo.client.validGroup.ThirdLoginInfoCheck;
import javax.validation.constraints.NotBlank;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotBlank;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/api/login")
public class LoginController {
@Autowired
private IAuthenticateService iAuthenticateService;
@Autowired
private IAuthenticateService iAuthenticateService;
@PostMapping(path = "/third")
public String thirdPartyLogin(@RequestBody @Validated(ThirdLoginInfoCheck.class) LoginUserVO loginInfo) {
return this.iAuthenticateService.thirdPartyLogin(loginInfo);
}
@PostMapping("/cgy/third")
public String cgyThirdPartyLogin(@RequestBody @Validated CgyThirdPartyLoginInfoVO loginInfo) {
return this.iAuthenticateService.cgyThirdPartyLogin(loginInfo);
}
/**
*获取微信小程序登陆二维码
*/
@GetMapping(path = "/wmurl")
public LoginStatusVO getWmLoginUrl(@NotBlank String clientId, @NotBlank String secret,
Project project, @RequestParam(required = false) String deviceCode) {
return this.iAuthenticateService.getWmLoginUrl(clientId, secret, project, deviceCode);
}
@PostMapping(path = "/third")
public String thirdPartyLogin(
@RequestBody @Validated(ThirdLoginInfoCheck.class) LoginUserVO loginInfo) {
return this.iAuthenticateService.thirdPartyLogin(loginInfo);
}
/**
*用户微信小程序扫登陆二维码
*/
@GetMapping(path = "/scan/wmLoginUrl")
public AccountVO scanWmLoginQrCode(String code, String state) {
return this.iAuthenticateService.scanWmLoginQrCode(code, state);
/**
* 获取微信小程序登陆二维码
*/
@GetMapping(path = "/wmurl")
public LoginStatusVO getWmLoginUrl(@NotBlank String clientId, @NotBlank String secret,
String project, @RequestParam(required = false) String deviceCode) {
try {
return this.iAuthenticateService.getWmLoginUrl(clientId, secret, project, deviceCode);
} catch (BaseException e) {
throw e;
} catch (Exception e) {
throw BusinessExceptionAssertEnum.SYSTEM_EXCEPTION.exception("获取登录二维码失败");
}
}
/**
*微信小程序确认登陆接口
*/
@PostMapping(path = "/wm")
public void wmConfirmLogin(String code, String state) {
this.iAuthenticateService.wmConfirmClientLogin(code, state);
}
/**
* 用户微信小程序扫登陆二维码
*/
@GetMapping(path = "/scan/wmLoginUrl")
public AccountVO scanWmLoginQrCode(String code, String state) {
return this.iAuthenticateService.scanWmLoginQrCode(code, state);
}
@PostMapping()
public String loginWithPwd(@RequestBody @Validated(LoginInfoCheck.class) LoginUserVO loginUser) {
return iAuthenticateService.loginWithPwd(loginUser);
}
/**
* 微信小程序确认登陆接口
*/
@PostMapping(path = "/wm")
public void wmConfirmLogin(String code, String state) {
this.iAuthenticateService.wmConfirmClientLogin(code, state);
}
@GetMapping("/preLogout")
public void preLogout(String token) {
this.iAuthenticateService.preLogout(token);
}
@PostMapping()
public String loginWithPwd(@RequestBody @Validated(LoginInfoCheck.class) LoginUserVO loginUser) {
return iAuthenticateService.loginWithPwd(loginUser);
}
@GetMapping(path="/logout")
public void logout(String token) {
this.iAuthenticateService.logout(token);
}
@GetMapping("/preLogout")
public void preLogout(String token) {
this.iAuthenticateService.preLogout(token);
}
@GetMapping(path="/checkStatus")
public LoginStatusVO checkStatus(@NotBlank String sessionId) {
return iAuthenticateService.checkStatus(sessionId);
}
@GetMapping(path = "/logout")
public void logout(String token) {
this.iAuthenticateService.logout(token);
}
/**
* 获取用户信息 - 通过token
* @param token
* @return
*/
@GetMapping(path = "/getUserInfo")
public AccountVO getUserInfo(String token) {
LoginUserInfoVO loginUserInfoVO = this.iAuthenticateService.getLoginUserInfoByToken(token);
return loginUserInfoVO.getAccountVO();
}
@GetMapping(path = "/checkStatus")
public LoginStatusVO checkStatus(@NotBlank String sessionId) {
return iAuthenticateService.checkStatus(sessionId);
}
/**
* 获取用户登录信息包含登录的项目/客户端等
* @param token
* @return
*/
@GetMapping("/loginUserInfo")
public LoginUserInfoVO getLoginUserInfo(String token) {
return this.iAuthenticateService.getLoginUserInfoByToken(token);
}
/**
* 获取用户信息 - 通过token
*
* @param token
* @return
*/
@GetMapping(path = "/getUserInfo")
public AccountVO getUserInfo(String token) {
LoginUserInfoVO loginUserInfoVO = this.iAuthenticateService.getLoginUserInfoByToken(token);
return loginUserInfoVO.getAccountVO();
}
/**
*<玖琏科技>微信小程序code换取token
*/
@GetMapping(path = "/wm/token")
public String getTokenByWmCode(String code) {
return this.iAuthenticateService.getTokenByWmCode(code);
}
/**
* 获取用户登录信息包含登录的项目/客户端等
*
* @param token
* @return
*/
@GetMapping("/loginUserInfo")
public LoginUserInfoVO getLoginUserInfo(String token) {
return this.iAuthenticateService.getLoginUserInfoByToken(token);
}
/**
* 到那儿了小程序code换token
* @param code
* @return
*/
@GetMapping(path = "/wm2/token")
public String getTokenByWmCode2(String code) {
return this.iAuthenticateService.getTokenByWmCode2(code);
}
/**
* <玖琏科技>微信小程序code换取token
*/
@GetMapping(path = "/wm/token")
public String getTokenByWmCode(String code) {
return this.iAuthenticateService.getTokenByWmCode(code);
}
/**
* 郑州共赢小程序code换token
* @param code
* @return
*/
@GetMapping(path = "/wm/zzww/token")
public String getTokenByWmCode3(String code) {
return this.iAuthenticateService.getTokenByWmCode3(code);
}
/**
* 到那儿了小程序code换token
*
* @param code
* @return
*/
@GetMapping(path = "/wm2/token")
public String getTokenByWmCode2(String code) {
return this.iAuthenticateService.getTokenByWmCode2(code);
}
/**
*token是否过期
*/
@GetMapping(path = "/{token}/isExpired")
public boolean isTokenExpired(@PathVariable String token) {
return this.iAuthenticateService.isTokenExpired(token);
}
/**
* 郑州共赢小程序code换token
*
* @param code
* @return
*/
@GetMapping(path = "/wm/zzww/token")
public String getTokenByWmCode3(String code) {
return this.iAuthenticateService.getTokenByWmCode3(code);
}
/**
* token是否过期
*/
@GetMapping(path = "/{token}/isExpired")
public boolean isTokenExpired(@PathVariable String token) {
return this.iAuthenticateService.isTokenExpired(token);
}
}

View File

@ -2,9 +2,12 @@ package club.joylink.rtss.controller;
import club.joylink.rtss.services.draftData.DraftMapDataHandleService;
import club.joylink.rtss.services.publishData.PublishMapDataHandler;
import java.util.LinkedHashMap;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@ -16,23 +19,40 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/api/mapData/handle")
public class MapDataHandleController {
@Autowired
private DraftMapDataHandleService draftMapDataHandleService;
@Autowired
private PublishMapDataHandler publishMapDataHandler;
@Autowired
private DraftMapDataHandleService draftMapDataHandleService;
@Autowired
private PublishMapDataHandler publishMapDataHandler;
@PutMapping("")
public void dataHandle() {
this.publishMapDataHandler.dataHandle();
}
@PutMapping("")
public void dataHandle() {
this.publishMapDataHandler.dataHandle();
}
@PutMapping("/xian3")
public void overlapSetHandle() {
this.publishMapDataHandler.xian3Handle();
}
@PutMapping("/xian3")
public void overlapSetHandle() {
this.publishMapDataHandler.xian3Handle();
}
@PutMapping("/signalSd")
public void signalShowDirection() {
this.publishMapDataHandler.signalShowDirection();
}
@PutMapping("/signalSd")
public void signalShowDirection() {
this.publishMapDataHandler.signalShowDirection();
}
/**
* 批量修改线路数据和ISCS的车站名
*/
@PutMapping("/{mapId}/stationName/mapAndIscs")
public void changeStationName(@PathVariable long mapId,
@RequestBody LinkedHashMap<String, String> nameMap) {
this.publishMapDataHandler.changeStationName(mapId, nameMap);
}
/**
* 批量修改线路区段长度
*/
@PutMapping("/{mapId}/{multiple}/sectionLen")
public void updateSectionLen(@PathVariable long mapId, @PathVariable int multiple) {
publishMapDataHandler.updateSectionLen(mapId, multiple);
}
}

View File

@ -0,0 +1,60 @@
package club.joylink.rtss.controller;
import club.joylink.rtss.entity.minio.MinioFileInfo;
import club.joylink.rtss.services.MinioService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.minio.MinioFilePageVO;
import io.minio.http.Method;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* minio 相关管理
*/
@RestController
@RequestMapping("/api/minio")
public class MinioController {
@Autowired
private MinioService minioService;
@GetMapping("/checkIsExist")
public boolean checkFileIsExist(String directory, String fileName) {
return minioService.checkFileIsExist(directory, fileName);
}
@GetMapping("/preSignedUrl")
public String getPreSignedObjectUrl(String directory, String fileName, Method method) {
return minioService.preSignedObjectUrl(directory, fileName, method);
}
@GetMapping("/downloadUrl")
public String downloadUrl(String directory, String fileName) {
return minioService.downloadObjectUrl(directory, fileName);
}
@DeleteMapping("/removeObject")
public void removeObject(String directory, String fileName) {
minioService.removeMinioObject(directory, fileName);
}
@PostMapping("/file/save")
public void saveFile(@RequestAttribute AccountVO user, @RequestBody MinioFileInfo fileInfo) {
minioService.saveFileInfo(user, fileInfo);
}
@GetMapping("/file/list")
public PageVO<MinioFileInfo> queryFileInfo(MinioFilePageVO pageVO) {
return minioService.queryFileInfoList(pageVO);
}
@PutMapping("/file/update")
public void update(@RequestBody MinioFileInfo fileInfo) {
minioService.update(fileInfo);
}
@DeleteMapping("/file/del/{id}")
public void delete(@PathVariable Long id) {
minioService.delete(id);
}
}

View File

@ -1,9 +1,10 @@
package club.joylink.rtss.controller;
import club.joylink.rtss.constants.Project;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.AuthenticateInterceptor;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.exception.BaseException;
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
import club.joylink.rtss.services.project.ServerService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
@ -13,6 +14,9 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* 项目域名管理接口
*/
@Slf4j
@RestController
@RequestMapping("/api/projectServer")
@ -22,8 +26,14 @@ public class ProjectServerController {
private ServerService serverService;
@GetMapping("/project/{project}")
public ProjectServerVO getByProject(@PathVariable Project project) {
return this.serverService.getByProject(project);
public ProjectServerVO getByProject(@PathVariable String project) {
try {
return this.serverService.getByProject(project);
} catch (BaseException e) {
throw e;
} catch (Exception e) {
throw BusinessExceptionAssertEnum.SYSTEM_EXCEPTION.exception(e);
}
}
@Role(RoleEnum.SuperAdmin)
@ -47,4 +57,10 @@ public class ProjectServerController {
this.serverService.update(id, vo, accountVO);
}
@Role(RoleEnum.SuperAdmin)
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
this.serverService.delete(id);
}
}

View File

@ -1,39 +0,0 @@
package club.joylink.rtss.controller;
import club.joylink.rtss.services.IVoiceCommandService;
import club.joylink.rtss.simulation.cbtc.command.VoiceCommandBO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* 语音指令接口
*/
@RestController
@RequestMapping("/api/voiceCommand")
public class VoiceCommandController {
@Autowired
private IVoiceCommandService iVoiceCommandService;
/**
* 添加语音指令
* @param command
*/
@PostMapping("")
public void create(VoiceCommandBO command) {
iVoiceCommandService.create(command);
}
/**
* 查询所有语音指令
* @return
*/
@GetMapping("")
public List<VoiceCommandBO> getAll() {
return iVoiceCommandService.getAll();
}
}

View File

@ -5,6 +5,7 @@ import club.joylink.rtss.exception.PayException;
import club.joylink.rtss.simulation.cbtc.exception.SimulationException;
import club.joylink.rtss.vo.CommonJsonResponse;
import club.joylink.rtss.vo.ResponseConsts;
import com.google.protobuf.AbstractMessageLite;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.MethodParameter;
import org.springframework.http.MediaType;
@ -25,67 +26,79 @@ import java.util.List;
@Slf4j
public class CommonResponseBody implements ResponseBodyAdvice {
@Override
public boolean supports(MethodParameter returnType, Class converterType) {
return returnType.getMethod() != null && !returnType.getMethod().getReturnType().getSimpleName().equals("CommonJsonResponse");
@Override
public boolean supports(MethodParameter returnType, Class converterType) {
return returnType.getMethod() != null && !returnType.getMethod().getReturnType().getSimpleName().equals("CommonJsonResponse");
}
@Override
public Object beforeBodyWrite(Object body, MethodParameter returnType, MediaType selectedContentType,
Class selectedConverterType, ServerHttpRequest request, ServerHttpResponse response) {
//byte[]
if (body instanceof byte[]) {
response.getHeaders().setContentType(MediaType.APPLICATION_OCTET_STREAM);
return body;
}
//byte[]
/*if(body instanceof AbstractMessageLite){
response.getHeaders().setContentType(MediaType.APPLICATION_OCTET_STREAM);
final AbstractMessageLite proto = (AbstractMessageLite) body;
return proto.toByteArray();
}*/
if (body instanceof CommonJsonResponse) {
return body;
}
if (request.getURI().getPath().startsWith("/swagger")) {
return body;
}
if (request.getURI().getPath().equals("/api/userinfo/ifRegisted")) {
return body;
}
if (request.getURI().getPath().equals("/api/userinfo/identity")) {
return body;
}
CommonJsonResponse commonJsonResponse = CommonJsonResponse.newSuccessResponse(body);
if (returnType.getMethod().getReturnType().equals(String.class) || body instanceof String) {
return commonJsonResponse.toJSONString();
}
return commonJsonResponse;
}
@ExceptionHandler({PayException.class})
@ResponseStatus
public CommonJsonResponse handleException(PayException e) {
log.error("【支付异常】", e);
return CommonJsonResponse.newErrorResponse();
}
@ExceptionHandler({Exception.class})
@ResponseBody
public CommonJsonResponse handleException(Exception e) {
if (e instanceof MethodArgumentNotValidException) {
// 参数验证异常处理
MethodArgumentNotValidException validException = (MethodArgumentNotValidException) e;
List<ObjectError> errorList = validException.getBindingResult().getAllErrors();
StringBuffer sb = new StringBuffer();
errorList.forEach(error ->
sb.append(error.getDefaultMessage()).append(";"));
log.error("【参数校验异常】{}", e);
return CommonJsonResponse.newErrorResponse(ResponseConsts.VALIDATE_ERROR.getCode(), sb.toString());
}
if (e instanceof BusinessException) {
club.joylink.rtss.exception.BusinessException be = (club.joylink.rtss.exception.BusinessException) e;
log.error("【业务异常】{}", e);
return CommonJsonResponse.newErrorResponse(be.getCode(), be.getVoMessage());
} else if (e instanceof MissingServletRequestParameterException) {
log.error("【接口参数异常】", e);
return CommonJsonResponse.newErrorResponse(ResponseConsts.VALIDATE_ERROR.getCode(), "接口参数异常");
} else if (e instanceof SimulationException) {
club.joylink.rtss.simulation.cbtc.exception.SimulationException simulationException = (club.joylink.rtss.simulation.cbtc.exception.SimulationException) e;
log.error("【仿真系统异常】{}", e);
return CommonJsonResponse.newErrorResponse(simulationException.getCode(), simulationException.getMessage());
}
@Override
public Object beforeBodyWrite(Object body, MethodParameter returnType, MediaType selectedContentType,
Class selectedConverterType, ServerHttpRequest request, ServerHttpResponse response) {
if(body instanceof CommonJsonResponse) {
return body;
}
if(request.getURI().getPath().startsWith("/swagger")) {
return body;
}
if (request.getURI().getPath().equals("/api/userinfo/ifRegisted")) {
return body;
}
if (request.getURI().getPath().equals("/api/userinfo/identity")) {
return body;
}
CommonJsonResponse commonJsonResponse = CommonJsonResponse.newSuccessResponse(body);
if(returnType.getMethod().getReturnType().equals(String.class) || body instanceof String) {
return commonJsonResponse.toJSONString();
}
return commonJsonResponse;
}
@ExceptionHandler({PayException.class})
@ResponseStatus
public CommonJsonResponse handleException(PayException e) {
log.error("【支付异常】", e);
return CommonJsonResponse.newErrorResponse();
}
@ExceptionHandler({Exception.class})
@ResponseBody
public CommonJsonResponse handleException(Exception e) {
if(e instanceof MethodArgumentNotValidException) {
// 参数验证异常处理
MethodArgumentNotValidException validException = (MethodArgumentNotValidException) e;
List<ObjectError> errorList = validException.getBindingResult().getAllErrors();
StringBuffer sb = new StringBuffer();
errorList.forEach(error ->
sb.append(error.getDefaultMessage()).append(";"));
log.error("【参数校验异常】{}", e);
return CommonJsonResponse.newErrorResponse(ResponseConsts.VALIDATE_ERROR.getCode(), sb.toString());
} if(e instanceof BusinessException) {
club.joylink.rtss.exception.BusinessException be = (club.joylink.rtss.exception.BusinessException) e;
log.error("【业务异常】{}", e);
return CommonJsonResponse.newErrorResponse(be.getCode(), be.getVoMessage());
} else if(e instanceof MissingServletRequestParameterException) {
log.error("【接口参数异常】", e);
return CommonJsonResponse.newErrorResponse(ResponseConsts.VALIDATE_ERROR.getCode(), "接口参数异常");
} else if (e instanceof SimulationException) {
club.joylink.rtss.simulation.cbtc.exception.SimulationException simulationException = (club.joylink.rtss.simulation.cbtc.exception.SimulationException) e;
log.error("【仿真系统异常】{}", e);
return CommonJsonResponse.newErrorResponse(simulationException.getCode(), simulationException.getMessage());
}
log.error("【系统异常】{}", e);
return CommonJsonResponse.newErrorResponse();
}
log.error("【系统异常】{}", e);
return CommonJsonResponse.newErrorResponse();
}
}

View File

@ -25,12 +25,12 @@ public class LicenseInterceptor implements HandlerInterceptor {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
// if (SystemEnv.isLocalEnv(otherConfig.getEnv())) {
if (SystemEnv.isLocalEnv(otherConfig.getEnv())) {
// log.debug(String.format("本地部署许可证验证"));
// LicenseVO license = this.licenseService.getLicense();
// BusinessExceptionAssertEnum.LICENSE_EXPIRED.assertNotTrue(license.isExpire(), "本地license已过期");
LicenseVO license = this.licenseService.getLicense();
BusinessExceptionAssertEnum.LICENSE_EXPIRED.assertNotTrue(license.isExpire(), "本地license已过期");
// log.debug("本地许可证有效");
// }
}
return true;
}
}

View File

@ -0,0 +1,71 @@
package club.joylink.rtss.controller.alarm;
import club.joylink.rtss.entity.AlarmTips;
import club.joylink.rtss.services.alarm.AlarmTipsService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.alarm.AlarmQueryVO;
import club.joylink.rtss.vo.alarm.AlarmTipsCreateVO;
import club.joylink.rtss.vo.client.PageQueryVO;
import club.joylink.rtss.vo.client.PageVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 报警提示信息配置管理
*/
@RestController
@RequestMapping("/api/alarm")
public class AlarmTipsController {
@Autowired
private AlarmTipsService alarmTipsService;
/**
* 创建提示信息
*/
@PostMapping("")
public void create(@RequestBody AlarmTipsCreateVO alarmTipsCreateVO, @RequestAttribute AccountVO user) {
alarmTipsService.create(alarmTipsCreateVO, user.getId());
}
/**
* 单条查询
*/
@GetMapping("")
public AlarmTips get(AlarmQueryVO queryVO) {
return alarmTipsService.get(queryVO);
}
/**
* 列表查询
*/
@GetMapping("/list")
public List<AlarmTips> list() {
return alarmTipsService.list();
}
/**
* 分页查询
*/
@GetMapping("/page")
public PageVO<AlarmTips> page(PageQueryVO queryVO) {
return alarmTipsService.page(queryVO);
}
/**
* 更新
*/
@PutMapping("/{id}")
public void update(@PathVariable Long id, @RequestBody AlarmTipsCreateVO createVO, @RequestAttribute AccountVO user) {
alarmTipsService.update(id, createVO, user.getId());
}
/**
* 删除
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
alarmTipsService.delete(id);
}
}

View File

@ -0,0 +1,86 @@
package club.joylink.rtss.controller.audio;
import club.joylink.rtss.services.audio.AudioResourcesService;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.audio.AudioResourcesQueryVO;
import club.joylink.rtss.vo.client.audio.AudioResourcesVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 音频资源管理
*/
@RestController
@RequestMapping("/api/audioResources")
public class AudioResourcesController {
@Autowired
private AudioResourcesService audioResourcesService;
/**
* 创建
*/
@PostMapping()
public void create(@RequestBody @Validated(value = AudioResourcesVO.Create.class) AudioResourcesVO vo) {
audioResourcesService.create(vo);
}
/**
* 生成资源
*/
@PostMapping("/generate")
public void generate(@RequestBody @Validated(value = AudioResourcesVO.Generate.class) AudioResourcesVO vo) {
audioResourcesService.generate(vo);
}
/**
* 查询所有
*/
@GetMapping("/list")
public List<AudioResourcesVO> getList() {
return audioResourcesService.getList();
}
/**
* 查询一个
*/
@GetMapping("/{id}")
public AudioResourcesVO getById(@PathVariable Long id) {
return audioResourcesService.getById(id);
}
/**
* 批量查询
*/
@GetMapping("/list/ids")
public List<AudioResourcesVO> getList(@RequestBody List<Long> ids) {
return audioResourcesService.getList(ids);
}
/**
* 分页查询
*/
@GetMapping("/paged")
public PageVO<AudioResourcesVO> pagedQuery(AudioResourcesQueryVO queryVO) {
return audioResourcesService.pagedQuery(queryVO);
}
/**
* 删除
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
audioResourcesService.delete(id);
}
/**
* 更新
*/
@PutMapping("/{id}")
public void update(@PathVariable Long id, @RequestBody AudioResourcesVO vo) {
audioResourcesService.update(id, vo);
}
}

View File

@ -12,8 +12,8 @@ import javax.validation.constraints.PositiveOrZero;
/**
* 竞赛用户点赞
*/
@RestController
@RequestMapping(path = "/api/v1/likes")
//@RestController
//@RequestMapping(path = "/api/v1/likes")
public class CompetitionUserLikesController {
@Autowired

View File

@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*出题规则
* 出题规则
*/
@RestController
@RequestMapping("/api/questionsRule")
@ -23,18 +23,18 @@ public class RaceQuestionsRuleController {
private IRaceQuestionsRuleService iRaceQuestionsRuleService;
/**
*添加规则
* 添加规则
*/
@PostMapping
public TheoryQuestionsRuleVO create(@RequestBody @Validated TheoryQuestionsRuleVO ruleVO,
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY) LoginUserInfoVO loginUserInfoVO) {
ruleVO.setProjectCode(loginUserInfoVO.getProject().name());
ruleVO.setProjectCode(loginUserInfoVO.getProject());
TheoryQuestionsRuleVO vo = this.iRaceQuestionsRuleService.create(ruleVO);
return vo;
}
/**
*获取规则列表
* 获取规则列表
*/
@GetMapping
public List<TheoryQuestionsRuleVO> queryAll() {
@ -43,17 +43,18 @@ public class RaceQuestionsRuleController {
}
/**
*分页获取规则列表
* 分页获取规则列表
*/
@GetMapping("paging")
public PageVO<TheoryQuestionsRuleVO> pagingQueryRules(TheoryQuestionRuleQueryVO queryVO, @RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY) LoginUserInfoVO loginInfo) {
queryVO.setProjectCode(loginInfo.getProject().name());
public PageVO<TheoryQuestionsRuleVO> pagingQueryRules(TheoryQuestionRuleQueryVO queryVO
, @RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY) LoginUserInfoVO loginInfo) {
queryVO.setProjectCode(loginInfo.getProject());
PageVO<TheoryQuestionsRuleVO> list = this.iRaceQuestionsRuleService.pagingQueryRules(queryVO);
return list;
}
/**
*删除规则
* 删除规则
*/
@DeleteMapping("{id}")
public void delete(@PathVariable Integer id) {
@ -61,7 +62,7 @@ public class RaceQuestionsRuleController {
}
/**
*查询规则内容
* 查询规则内容
*/
@GetMapping("{id}")
public TheoryQuestionsRuleVO get(@PathVariable Integer id) {
@ -69,7 +70,7 @@ public class RaceQuestionsRuleController {
}
/**
*更改规则内容
* 更改规则内容
*/
@PutMapping("{id}")
public TheoryQuestionsRuleVO get(@PathVariable Integer id, @RequestBody @Validated TheoryQuestionsRuleVO ruleVO) {

View File

@ -1,7 +1,6 @@
package club.joylink.rtss.controller.competition.question;
import club.joylink.rtss.constants.Project;
import club.joylink.rtss.services.completition.question.IQuestionBankService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
@ -18,7 +17,7 @@ import java.util.List;
/**
*题库管理接口
* 题库管理接口
*/
@RestController
@RequestMapping(path = "/api/questionBank")
@ -28,25 +27,25 @@ public class QuestionBankController {
private IQuestionBankService iQuestionBankService;
/**
*分页查询题目
* 分页查询题目
*/
@GetMapping(path = "/questions/paging")
public PageVO<QuestionVO> pagingQueryQuestions(@RequestAttribute LoginUserInfoVO loginInfo, QuestionQueryVO queryVO) {
queryVO.setProjectCode(loginInfo.getProject().name());
queryVO.setProjectCode(loginInfo.getProject());
return iQuestionBankService.pagingQueryQuestions(queryVO);
}
/**
*查询题目列表
* 查询题目列表
*/
@GetMapping(path = "/questions")
public List<QuestionVO> queryQuestions(@RequestAttribute LoginUserInfoVO loginInfo,QuestionQueryVO queryVO) {
queryVO.setProjectCode(loginInfo.getProject().name());
public List<QuestionVO> queryQuestions(@RequestAttribute LoginUserInfoVO loginInfo, QuestionQueryVO queryVO) {
queryVO.setProjectCode(loginInfo.getProject());
return iQuestionBankService.queryQuestions(queryVO);
}
/**
*获取题目信息
* 获取题目信息
*/
@GetMapping(path = "/questions/{questionId}")
public QuestionVO getQuestion(@PathVariable Long questionId) {
@ -54,36 +53,36 @@ public class QuestionBankController {
}
/**
*添加题目
* 添加题目
*/
@PostMapping(path = "/questions")
public void addQuestion(@Validated @RequestBody QuestionVO questionVO,@RequestAttribute LoginUserInfoVO loginInfo,
public void addQuestion(@Validated @RequestBody QuestionVO questionVO, @RequestAttribute LoginUserInfoVO loginInfo,
@RequestAttribute AccountVO user) {
questionVO.setProjectCode(loginInfo.getProject().name());
questionVO.setProjectCode(loginInfo.getProject());
iQuestionBankService.addQuestion(questionVO, user);
}
/**
*导入项目或单位试题库
* 导入项目或单位试题库
*/
@PostMapping(path = "/questions/import")
public void importProjectQuestion(@Validated @RequestBody List<QuestionVO> questions, @RequestAttribute LoginUserInfoVO loginInfo,
@RequestAttribute AccountVO user, @RequestParam(required = false, name = "id") Long companyId) {
iQuestionBankService.importProjectQuestion(questions, loginInfo.getProject().name(), companyId,user);
iQuestionBankService.importProjectQuestion(questions, loginInfo.getProject(), companyId, user);
}
/**
*更新题目
* 更新题目
*/
@PutMapping(path = "/questions/{questionId}")
public void updateQuestion(@PathVariable Long questionId, @RequestAttribute LoginUserInfoVO loginInfo,@RequestBody QuestionVO questionVO) {
questionVO.setProjectCode(loginInfo.getProject().name());
public void updateQuestion(@PathVariable Long questionId, @RequestAttribute LoginUserInfoVO loginInfo, @RequestBody QuestionVO questionVO) {
questionVO.setProjectCode(loginInfo.getProject());
iQuestionBankService.updateQuestion(questionId, questionVO);
}
/**
*删除题目
* 删除题目
*/
@DeleteMapping(path = "/questions/{questionId}")
public void deleteQuestion(@PathVariable Long questionId) {
@ -91,7 +90,7 @@ public class QuestionBankController {
}
/**
*根据题目查询选项
* 根据题目查询选项
*/
@GetMapping(path = "/questions/{questionId}/options")
public List<QuestionOptionVO> getOptionsByQuestionId(@PathVariable Long questionId) {
@ -99,22 +98,20 @@ public class QuestionBankController {
}
/**
*根据题型获取题目数量
* 根据题型获取题目数量
*/
@GetMapping(path = "/number")
public Integer getNumberUnderKnowledgeAndType(@RequestAttribute LoginUserInfoVO loginInfo, String type, Long companyId) {
return iQuestionBankService.getNumberWithType(type, loginInfo.getProject().name(), companyId);
return iQuestionBankService.getNumberWithType(type, loginInfo.getProject(), companyId);
}
/**
*获取题型数量
* 获取题型数量
*/
@GetMapping(path = "/type/number")
public List<TheoryQuestionCountVO> getNumberUnderKnowledgeAndType(@RequestAttribute LoginUserInfoVO loginInfo, @RequestParam(required = false) Long companyId) {
String projectCode = Project.isDefault(loginInfo.getProject()) ? null : loginInfo.getProject().name();
return iQuestionBankService.countNumByType(projectCode, companyId);
return iQuestionBankService.countNumByType(loginInfo.getProject(), companyId);
}
}

View File

@ -768,4 +768,10 @@ public class DraftMapController {
public void deleteOperationDefinition(@PathVariable Long mapId, @PathVariable String code){
iDraftMapService.deleteOperationDefinition(mapId, code);
}
//临时接口
@PostMapping("/handle/ctc/{id}")
public void handle(@PathVariable Long id) {
iDraftMapService.handle(id);
}
}

View File

@ -0,0 +1,70 @@
package club.joylink.rtss.controller.draft;
import club.joylink.rtss.services.draftData.DraftMapDisStationService;
import club.joylink.rtss.vo.client.PageQueryVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.map.logic.MapDisStationNewVO;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图 调度台 接口
* <p>
* 接口中路径参数id mapId
*/
@RestController
@RequestMapping("/api/draftMap/{id}/disStation")
@Slf4j
public class DraftMapDisStationController {
@Autowired
private DraftMapDisStationService draftMapDisStationService;
/**
* 创建调度台逻辑数据
*/
@PostMapping
public void create(@RequestBody MapDisStationNewVO disStationNewVO){
this.draftMapDisStationService.create(disStationNewVO);
}
/**
* 更新调度台业务
*/
@PutMapping
public void update(@RequestBody MapDisStationNewVO vo){
this.draftMapDisStationService.update(vo);
}
/**
* 删除调度台业务
*/
@DeleteMapping("/{code}")
public void delete(@PathVariable("id") Long mapId,@PathVariable("code") String code){
this.draftMapDisStationService.delete(mapId,code);
}
/**
* 分页获取调度台
*/
@PostMapping("/page")
public PageVO<MapDisStationNewVO> findByPage(@PathVariable("id") Long mapId, @RequestBody FindByPageReq req){
return this.draftMapDisStationService.findByPage(mapId,req);
}
/**
* 列表查询所有调度台
*/
@GetMapping("/list")
public List<MapDisStationNewVO> listQuery(@PathVariable long id) {
return draftMapDisStationService.listQuery(id);
}
@Data
public static class FindByPageReq extends PageQueryVO{
/**
* 是否降序true-降序false-升序默认值为true;
*/
private Boolean desc = true;
}
}

View File

@ -10,6 +10,9 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图延续保护接口
*/
@RestController
@RequestMapping("/api/draftMap/{id}/overlap")
@Slf4j

View File

@ -9,6 +9,9 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图超限区段接口
*/
@RestController
@RequestMapping("/api/draftMap/{id}/overrun")
public class DraftMapOverrunController {

View File

@ -8,6 +8,9 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图停站时间接口
*/
@RestController
@RequestMapping("/api/draftMap/{mapId}/parkTime")
@Slf4j

View File

@ -10,6 +10,9 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图进路接口
*/
@RestController
@RequestMapping("/api/draftMap/{id}/route")
@Slf4j
@ -23,6 +26,11 @@ public class DraftMapRouteController {
return this.draftMapRouteService.createRailwayRoute(id, routeNewVO);
}
@PostMapping("/railway/generate")
public List<MapRouteNewVO> generateRailwayRoute(@PathVariable Long id) {
return this.draftMapRouteService.generateRailwayRoute(id);
}
@GetMapping("/paging")
public PageVO<MapRouteNewVO> pagingQuery(@PathVariable Long id, MapRouteQueryVO queryVO) {
return this.draftMapRouteService.pagingQuery(id, queryVO);

View File

@ -8,6 +8,9 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图运行等级接口
*/
@RestController
@RequestMapping("/api/draftMap/{mapId}/runLevel")
@Slf4j

View File

@ -11,6 +11,9 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 草稿地图信号机接近区段接口
*/
@RestController
@RequestMapping("/api/draftMap/{id}/signalApproachSection")
@Slf4j

View File

@ -0,0 +1,67 @@
package club.joylink.rtss.controller.draft;
import club.joylink.rtss.entity.DraftMapStationDirection;
import club.joylink.rtss.services.draftData.IDraftMapStationDirectionService;
import club.joylink.rtss.vo.client.PageQueryVO;
import club.joylink.rtss.vo.client.PageVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
* 草稿地图车站方向接口
*/
@RestController
@RequestMapping("/api/station/direction")
@Slf4j
public class DraftMapStationDirectionController {
@Autowired
private IDraftMapStationDirectionService draftMapStationDirectionLabelService;
/**
* 查询地图下车站 方向的逻辑数据列表
*
* @param mapId 地图ID
* @param code Code
* @param labelEnum 方向类型
* @return 数据列表
*/
@GetMapping(path = "/list/{mapId}")
public PageVO<DraftMapStationDirection> stationLabelList(@PathVariable Long mapId, String code
, String labelEnum, PageQueryVO queryVO) {
return draftMapStationDirectionLabelService.stationLabelList(mapId, code, labelEnum, queryVO);
}
/**
* 根据ID查询地图下车站 方向的逻辑数据
*
* @param id 关系Id
* @return 关系实体
*/
@GetMapping(path = "/{id}")
public DraftMapStationDirection queryStationLabel(@PathVariable Long id) {
return draftMapStationDirectionLabelService.queryStationLabel(id);
}
/**
* 保存关联关系信息
*
* @param mapId 地图信息
* @param vo 关联关系
* @return 处理结果
*/
@PostMapping(path = "/save/{mapId}")
public String saveStationLabel(@PathVariable Long mapId, @RequestBody DraftMapStationDirection vo) {
return draftMapStationDirectionLabelService.saveStationLabel(mapId, vo);
}
/**
* 删除车站 方向的逻辑数据
*
* @param id 主键
*/
@DeleteMapping(path = "/delete/{id}")
public void deleteStationLabel(@PathVariable Long id) {
draftMapStationDirectionLabelService.deleteStationLabel(id);
}
}

View File

@ -0,0 +1,84 @@
package club.joylink.rtss.controller.iscs;
import club.joylink.rtss.services.iscs.IscsDeviceService;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.iscs.device.IscsDeviceQueryVO;
import club.joylink.rtss.vo.client.iscs.device.IscsDeviceVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* ISCS设备管理
*/
@RestController
@RequestMapping("/api/iscsDevice")
public class IscsDeviceController {
@Autowired
private IscsDeviceService iscsDeviceService;
/**
* 创建
*/
@PostMapping()
public void create(@RequestBody IscsDeviceVO vo) {
iscsDeviceService.create(vo);
}
/**
* 批量创建
*/
@PostMapping("/create/batch")
public void batchCreate(@RequestBody List<IscsDeviceVO> vos) {
iscsDeviceService.batchCreate(vos);
}
/**
* 获取所有
*/
@GetMapping("/all")
public List<IscsDeviceVO> getAll() {
return iscsDeviceService.getAll();
}
/**
* 获取一条
*/
@GetMapping("/{id}")
public IscsDeviceVO getById(@PathVariable Long id) {
return iscsDeviceService.getById(id);
}
/**
* 根据mapId获取list
*/
@GetMapping("/list/mapId/{mapId}")
public List<IscsDeviceVO> getListByMapId(@PathVariable Long mapId) {
return iscsDeviceService.getListByMapId(mapId);
}
/**
* 条件查询
*/
@GetMapping("/list/criteria")
public List<IscsDeviceVO> criteriaQuery(IscsDeviceQueryVO queryVO) {
return iscsDeviceService.criteriaQuery(queryVO);
}
/**
* 分页查询
*/
@GetMapping("/paged")
public PageVO<IscsDeviceVO> pagedQuery(IscsDeviceQueryVO queryVO) {
return iscsDeviceService.pagedQuery(queryVO);
}
/**
* 删除
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
iscsDeviceService.delete(id);
}
}

View File

@ -0,0 +1,89 @@
package club.joylink.rtss.controller.iscs;
import club.joylink.rtss.services.iscs.IscsSystemResourcesService;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.iscs.systemRes.IscsSystemResourcesQueryVO;
import club.joylink.rtss.vo.client.iscs.systemRes.IscsSystemResourcesVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* ISCS系统资源管理
*/
@RestController
@RequestMapping("/api/systemRes")
public class IscsSystemResourcesController {
@Autowired
private IscsSystemResourcesService iscsSystemResourcesService;
/**
* 创建
*/
@PostMapping()
public void create(@RequestBody IscsSystemResourcesVO vo) {
iscsSystemResourcesService.create(vo);
}
/**
* 批量创建
*/
@PostMapping("/create/batch")
public void create(@RequestBody List<IscsSystemResourcesVO> vos) {
iscsSystemResourcesService.batchCreate(vos);
}
@PostMapping("/generate/{mapId}/{type}")
public void generate(@PathVariable long mapId, @PathVariable int type) {
iscsSystemResourcesService.generate(mapId, type);
}
/**
* 获取所有
*/
@GetMapping("/all")
public List<IscsSystemResourcesVO> getAll() {
return iscsSystemResourcesService.getAll();
}
/**
* 获取一条
*/
@GetMapping("/{id}")
public IscsSystemResourcesVO getById(@PathVariable Long id) {
return iscsSystemResourcesService.getById(id);
}
/**
* 连同资源获取一条
*/
@GetMapping("/{id}/resources")
public IscsSystemResourcesVO getByIdWithResources(@PathVariable Long id) {
return iscsSystemResourcesService.getByIdWithResources(id);
}
/**
* 条件查询
*/
@GetMapping("/list/criteria")
public List<IscsSystemResourcesVO> criteriaQuery(IscsSystemResourcesQueryVO queryVO) {
return iscsSystemResourcesService.criteriaQuery(queryVO);
}
/**
* 分页查询
*/
@GetMapping("/paged")
public PageVO<IscsSystemResourcesVO> pagedQuery(IscsSystemResourcesQueryVO queryVO) {
return iscsSystemResourcesService.pagedQuery(queryVO);
}
/**
* 删除
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
iscsSystemResourcesService.delete(id);
}
}

View File

@ -0,0 +1,29 @@
package club.joylink.rtss.controller.org;
import club.joylink.rtss.services.org.IOrgService;
import club.joylink.rtss.vo.client.org.OrgVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* 组织相关数据管理
*/
@RestController
@RequestMapping("/api/org")
public class OrgController {
@Autowired
private IOrgService iOrgService;
/**
* 列表查询该组织下的所有班级
*/
@GetMapping("/{topOrgId}/cls/list")
public List<OrgVO> listQueryCls(@PathVariable long topOrgId) {
return iOrgService.listQueryCls(topOrgId);
}
}

View File

@ -0,0 +1,98 @@
package club.joylink.rtss.controller.org;
import club.joylink.rtss.constants.Project;
import club.joylink.rtss.dao.OrgDAO;
import club.joylink.rtss.dao.OrgProjectDAO;
import club.joylink.rtss.dao.project.ProjectDAO;
import club.joylink.rtss.entity.Org;
import club.joylink.rtss.entity.OrgExample;
import club.joylink.rtss.entity.OrgProject;
import club.joylink.rtss.services.org.IOrgProjectService;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.org.OrgProjectVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;
import static club.joylink.rtss.controller.advice.AuthenticateInterceptor.LOGIN_INFO_KEY;
/**
* 组织-项目关系管理接口
*/
@Slf4j
@RestController
@RequestMapping("/api/orgProject")
public class OrgProjectController {
@Autowired
private IOrgProjectService orgProjectService;
/**
* 用户登录时要选择的组织列表(目前先查询顶级组织)
*/
@GetMapping("list")
public List<OrgProjectVO> queryOrgList(@RequestAttribute LoginUserInfoVO loginInfo) {
return orgProjectService.queryOrgProjectListByProjectAndUid(loginInfo.getProjectInfo(), loginInfo.getAccountVO().getId());
}
/**
* 选择登入组织(目前先查询顶级组织)
*/
@PutMapping("signIn/{orgId}")
public void signInOrg(@PathVariable Long orgId, @RequestAttribute(name = LOGIN_INFO_KEY) LoginUserInfoVO loginInfo) {
orgProjectService.signInOrg(orgId, loginInfo);
}
@Autowired
private OrgProjectDAO orgProjectDAO;
@Autowired
private OrgDAO orgDAO;
@Autowired
ProjectDAO projectDAO;
/**
* 旧数据处理用完删除
*/
@Transactional(rollbackFor = Exception.class)
@PostMapping("/oldData/handle")
public void oldDataHandle() {
orgProjectDAO.deleteByExample(null);
//查询项目和组织数据
Map<String, club.joylink.rtss.entity.project.Project> projectMap = projectDAO.selectByExample(null).stream()
.collect(Collectors.toMap(club.joylink.rtss.entity.project.Project::getCode, Function.identity()));
OrgExample orgExample = new OrgExample();
orgExample.clear();
orgExample.createCriteria().andStatusEqualTo("1").andParentIdIsNull();
Map<String, Org> orgMap = orgDAO.selectByExample(orgExample).stream()
.collect(Collectors.toMap(Org::getProjectCode, Function.identity()));
OrgProject orgProject = new OrgProject();
orgProject.setCreateTime(LocalDateTime.now());
orgProject.setCreatorId(1L);
for (Map.Entry<String, club.joylink.rtss.entity.project.Project> entry : projectMap.entrySet()) {
String projectCode = entry.getKey();
club.joylink.rtss.entity.project.Project project = entry.getValue();
//建立项目-组织关系
Org org = orgMap.get(projectCode);
if (org == null) {
org = orgMap.get(Project.DEFAULT.name());
}
orgProject.setId(null);
orgProject.setProjectCode(projectCode);
orgProject.setOrgId(org.getId());
log.info(orgProject.getOrgId() + "-" + orgProject.getProjectCode());
orgProjectDAO.insert(orgProject);
//修改项目默认组织
project.setDefaultOrg(org.getId());
projectDAO.updateByPrimaryKey(project);
}
}
}

View File

@ -0,0 +1,54 @@
package club.joylink.rtss.controller.org;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.org.OrgUserManageService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.org.OrgUserParam;
import club.joylink.rtss.vo.org.OrgUserQueryParam;
import club.joylink.rtss.vo.org.OrgUserRoleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 组织-用户-管理列表
*/
@RestController
@RequestMapping("/api/manage")
public class OrgUserManageController {
@Autowired
private OrgUserManageService orgUserManageService;
/**
* 修改角色关系时查询用户列表
*/
@Role({RoleEnum.Admin, RoleEnum.SuperAdmin})
@GetMapping(path = "/user/list")
public List<AccountVO> queryUserList(OrgUserQueryParam param) {
return orgUserManageService.queryUserList(param);
}
/**
* 绑定用户角色
*/
@Role({RoleEnum.Admin, RoleEnum.SuperAdmin})
@PostMapping("/bind/org")
public void bindOrgUserRole(@RequestBody OrgUserParam param) {
orgUserManageService.bindOrgUserRole(param);
}
/**
* 根据用户查询用户角色列表
*
* @param uid 用户ID
* @return 角色列表
*/
@Role({RoleEnum.Admin, RoleEnum.SuperAdmin})
@GetMapping("/{uid}/roles")
public List<OrgUserRoleVO> queryUserRoleList(@PathVariable Long uid){
return orgUserManageService.queryUserRoleList(uid);
}
}

View File

@ -0,0 +1,135 @@
package club.joylink.rtss.controller.paper;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.paper.PagerQuestionService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.pager.question.PagerLableQueryVO;
import club.joylink.rtss.vo.client.pager.question.PaperQuestionVO;
import club.joylink.rtss.vo.client.pager.question.QuestionQueryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.Collection;
import java.util.List;
/**
* 题库管理接口
*/
@RestController
@RequestMapping(path = "/api/question")
public class PagerQuestionBankController {
@Autowired
private PagerQuestionService questionBankService;
/**
* 管理查询题库
*/
@Role(value = RoleEnum.SuperAdmin)
@GetMapping(path = "/paging")
public PageVO<PaperQuestionVO> pagingQueryQuestions(QuestionQueryVO queryVO) {
queryVO.setOrgId(queryVO.getOrgId());
return questionBankService.pagingQueryQuestions(queryVO,true);
}
/**
* 分页查询题目
*/
@GetMapping(path = "/org/paging")
public PageVO<PaperQuestionVO> pagingQueryQuestions(@RequestAttribute LoginUserInfoVO loginInfo, QuestionQueryVO queryVO) {
queryVO.setOrgId(loginInfo.getTopOrgId());
return questionBankService.pagingQueryQuestions(queryVO,false);
}
/**
* 查询题目列表
*/
@GetMapping(path = "/org")
public List<PaperQuestionVO> queryQuestions(@RequestAttribute LoginUserInfoVO loginInfo, QuestionQueryVO queryVO) {
queryVO.setOrgId(loginInfo.getTopOrgId());
return questionBankService.queryQuestions(queryVO,false);
}
/**
* 获取题目信息或预览
*/
@GetMapping(path = "/org/{questionId}")
public PaperQuestionVO getQuestion(@PathVariable Long questionId,@RequestParam(name = "random",defaultValue = "false") boolean random) {
return questionBankService.getQuestion(questionId, false,random);
}
@PostMapping(path = "/org/test/answer/{questionId}")
public boolean testAnswer(@PathVariable Long questionId,@RequestBody List<Integer> answers){
return this.questionBankService.answer(questionId,answers);
}
/**
* 添加题目
*/
@PostMapping(path = "/org")
public void addQuestion(@Validated @RequestBody PaperQuestionVO questionVO, @RequestAttribute LoginUserInfoVO loginInfo) {
questionVO.setOrgId(loginInfo.getTopOrgId());
questionBankService.saveOrUpdate(questionVO, loginInfo.getAccountVO());
}
/**
* 导入项目或单位试题库
*/
@PostMapping(path = "/org/import")
public void importProjectQuestion(@Validated @RequestBody List<PaperQuestionVO> questions, @RequestAttribute LoginUserInfoVO loginInfo) {
questionBankService.importProjectQuestion(questions, loginInfo.getTopOrgId(), loginInfo.getAccountVO());
}
@GetMapping(path="/org/clear")
public void clearAllForOrg(@RequestAttribute LoginUserInfoVO loginInfo){
this.questionBankService.clearAllForOrgId(loginInfo);
}
/**
* 根据companyId 查询所有的标签
*
*/
@GetMapping(path = "/org/label")
public Collection<String> findAllLable(@RequestAttribute LoginUserInfoVO loginInfo,@RequestParam(name="type",required = false) String type) {
return this.questionBankService.findAllLable(loginInfo.getTopOrgId() ,type);
}
/**
* 根据标签查询所有的题型
*
*/
@PostMapping(path = "/org/label/question")
public List<PaperQuestionVO> findByLable(@RequestAttribute LoginUserInfoVO loginInfo, @RequestBody PagerLableQueryVO queryVO) {
return this.questionBankService.queryQuestionsForRaceLable(loginInfo.getTopOrgId(),queryVO);
}
/**
* 更新题目
*
*/
@PutMapping(path = "/org/{questionId}")
public void updateQuestion(@PathVariable Long questionId, @RequestAttribute LoginUserInfoVO loginInfo, @RequestBody PaperQuestionVO questionVO, @RequestAttribute AccountVO user) {
questionVO.setId(questionId);
questionVO.setOrgId(loginInfo.getTopOrgId());
questionBankService.saveOrUpdate(questionVO, user);
}
/**
* 删除题目
*/
@DeleteMapping(path = "/org")
public void deleteQuestion(@RequestBody List<Long> questionId) {
questionBankService.deleteQuestion(questionId);
}
}

View File

@ -0,0 +1,161 @@
package club.joylink.rtss.controller.paper;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.paper.PaperCompositionService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.paper.CreatePaperCompositionRspVo;
import club.joylink.rtss.vo.paper.FindPaperCompositionByAccountReqVo;
import club.joylink.rtss.vo.paper.FindPaperCompositionPageReqVo;
import club.joylink.rtss.vo.paper.PaperCompositionWithRuleVo;
import club.joylink.rtss.vo.paper.PaperCompositionWithRuleVo.CreatorBasic;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 试卷蓝图业务接口
* <p>
* 试卷蓝图状态解释<br> 编辑中-可以修改删除;封存-不可以修改删除可以用来生成试卷可以状态迁移编辑中和已使用已使用-已经被用来生成过试卷不可以修改删除状态也不能改变
*/
@Slf4j
@RestController
@RequestMapping("/api/v2/paper/composition")
public class PaperCompositionController {
@Autowired
private PaperCompositionService compositionService;
/**
* 数据管理查询
*
* @param req
* @return
*/
@Role(value = RoleEnum.SuperAdmin)
@PostMapping(path = "/manage/paging")
public PageVO<PaperCompositionWithRuleVo> findPaperCompositionForPage(
@RequestBody FindPaperCompositionPageReqVo req) {
return this.compositionService.findPaperCompositionByPage(req);
}
/**
* 创建试卷蓝图包括规则定义 参数 tags 只支持单个
*
* @param orgId 组织id
*/
@PostMapping("/{orgId}")
public CreatePaperCompositionRspVo createPaperCompositionWithRuleForOrg(
@PathVariable("orgId") Long orgId, @RequestBody PaperCompositionWithRuleVo req,
@RequestAttribute AccountVO user) {
req.setOrgId(orgId);
return this.compositionService.createPaperCompositionWithRule(req, user);
}
/**
* 更新试卷蓝图包括规则定义 参数 tags 只支持单个
*/
@PutMapping
public void updatePaperCompositionWithRule(@RequestBody PaperCompositionWithRuleVo req,
@RequestAttribute AccountVO user) {
this.compositionService.updatePaperCompositionWithRule(req, user);
}
/**
* 将编辑好的试卷蓝图封存
*/
@PutMapping("/{pcId}/lock")
public void lockPaperComposition(@PathVariable("pcId") Long pcId,
@RequestAttribute AccountVO user) {
compositionService.lockPaperComposition(pcId, user);
}
/**
* 将封存的试卷蓝图设置失效
*/
@PutMapping("/{pcId}/invalid")
public void invalidPaperComposition(@PathVariable("pcId") Long pcId,
@RequestAttribute AccountVO user) {
compositionService.unlockPaperComposition(pcId, user);
}
/**
* 删除试卷蓝图(只能删除处于编辑状态的)
*
* @param pcId 试卷蓝图id
*/
@DeleteMapping("/{pcId}")
public void deletePaperComposition(@PathVariable("pcId") Long pcId,
@RequestAttribute AccountVO user) {
compositionService.deletePaperComposition(pcId, user);
}
/**
* 根据(组织id线路id试卷蓝图名称简介)分页查找试卷蓝图
*/
@PostMapping("/find/page")
public PageVO<PaperCompositionWithRuleVo> findPaperCompositionByPage(
@RequestBody FindPaperCompositionPageReqVo req) {
return this.compositionService.findPaperCompositionByPage(req);
}
/**
* 查询试卷的创建者的信息
*/
@PostMapping("/list/creatorInfo")
public List<CreatorBasic> queryCreatorList(@RequestBody FindPaperCompositionPageReqVo req) {
return compositionService.queryCreatorList(req);
}
/**
* 根据mapId查询蓝图的基本信息
*
* @return
*/
@PostMapping("/find/list")
public List<PaperCompositionWithRuleVo> findPaperCompositionByList(
@RequestBody FindPaperCompositionPageReqVo req) {
return this.compositionService.findPaperCompositionList(req);
}
/**
* 根据试卷蓝图名称简介分页查找某个组织的试卷蓝图
*/
@PostMapping("/find/page/for/{orgId}")
public PageVO<PaperCompositionWithRuleVo> findPaperCompositionForOrgByPage(
@PathVariable("orgId") Long orgId, @RequestBody FindPaperCompositionPageReqVo req) {
req.setOrgId(orgId);
return this.compositionService.findPaperCompositionByPage(req);
}
/**
* 根据账户分页查找试卷蓝图
*/
@PostMapping("/find/page/by/account")
public PageVO<PaperCompositionWithRuleVo> findAccountPaperCompositionByPage(
@RequestBody FindPaperCompositionByAccountReqVo req) {
return this.compositionService.findPaperCompositionByPageForAccount(req);
}
/**
* 获取试卷完整的蓝图包括规则
*
* @param pcId 试卷蓝图id
*/
@GetMapping("/{pcId}")
public PaperCompositionWithRuleVo findPaperComposition(@PathVariable("pcId") Long pcId,
@RequestAttribute AccountVO user) {
return this.compositionService.findPaperComposition(pcId, user);
}
}

View File

@ -0,0 +1,136 @@
package club.joylink.rtss.controller.paper;
import club.joylink.rtss.services.paper.*;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.paper.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Collection;
import java.util.List;
/**
* 用户试卷
*/
@Slf4j
@RestController
@RequestMapping("/api/v2/paper")
public class PaperUserController {
@Autowired
private PaperUserService paperUserService;
@Autowired
private PaperUserCreateService paperUserCreateService;
@Autowired
private PaperUserLoadQuestionService paperUserLoadQuestionService;
@Autowired
private PaperUserSubmitAnswerService paperUserSubmitAnswerService;
@Autowired
private PaperUserFindPageService paperUserFindPageService;
/**
* 根据试卷蓝图生成用户的试卷
*
* @param pcId 试卷蓝图id
*/
@PostMapping("/{pcId}")
public CreatePaperRspVo createPaper(@PathVariable("pcId") Long pcId,
@RequestAttribute AccountVO user) {
return this.paperUserCreateService.createPaper(pcId, user);
}
/**
* 获取用户试卷完整信息
*
* @param puId 用户试卷id
*/
@GetMapping("/user/{puId}")
public PaperUserWholeVo findPaperUser(@PathVariable("puId") Long puId,
@RequestAttribute AccountVO user) {
return this.paperUserService.findPaperUser(puId);
}
/**
* 用户交卷
*
* @param puId 用户试卷id
*/
@PostMapping("/user/{puId}/submit")
public PaperSubmitRspVo paperSubmit(@PathVariable("puId") Long puId,
@RequestAttribute AccountVO user) {
return this.paperUserService.paperSubmit(puId, user);
}
/**
* 加载用户试卷试题
*
* @param groupType 试卷试题大类型:1-理论题2-实训题
* @param qId 试题id
* @param puId 试卷id
* @return
*/
@GetMapping("/user/question/{groupType}/{qId}/{puId}")
public PaperQuestionLoadRspVo loadQuestion(@PathVariable("groupType") Integer groupType,
@PathVariable("qId") Long qId, @PathVariable("puId") Long puId,
@RequestAttribute AccountVO user) {
PaperQType.GroupType pgType = PaperQType.GroupType.getItem(groupType);
return this.paperUserLoadQuestionService.loadQuestion(pgType, qId, puId, user);
}
/**
* 用户提交答案
* <p>
* 对于理论题用户完成一道题提交一道题的答案<br> 对于实训题用户完成实训操作后由实训系统自己评判实训是否成功完成前端提交实训是否成功完成的结果即可
*/
@PostMapping("/user/question/answer")
public PaperSubmitAnswerRspVo submitAnswer(@RequestBody PaperSubmitAnswerReqVo req,
@RequestAttribute AccountVO user) {
return this.paperUserSubmitAnswerService.submitAnswer(req, user);
}
/**
* 分页查询某个试卷蓝图的所有用户试卷基本信息
*/
/* @PostMapping("/user/page/composition")
public PageVO<PaperUserInfoVo> findPaperUserByPage(@RequestBody FindPaperUserForCompositionReqVo req, @RequestAttribute AccountVO user) {
return this.paperUserFindPageService.findPaperUserByPage(req);
}*/
/**
* 查看某个班级的某个试卷蓝图的所有学生试卷
*/
@GetMapping("/user/page")
public PageVO<PageUserDetailVO> findPaperUserByPageForClass(
@ModelAttribute PageUserDetailQuery req) {
return this.paperUserFindPageService.findPaperUserByPageForClass(req);
}
/**
* 查看某个班级的某个试卷蓝图的所有学生试卷 (柱状图)
*
* @param req
* @return
*/
@GetMapping("/user/curve")
public CurveForClassVO curveForClass(@ModelAttribute PageUserDetailQuery req) {
return this.paperUserFindPageService.curveForClass(req);
}
@PostMapping("/question/label")
public Collection<String> paperAllLabel(@RequestBody FindCountForQuestionReqVo req) {
return this.paperUserService.findAllLabel(req);
}
/**
* 查看组织下某个类型题的数量 参数 tags 目前只支持单个
*/
@PostMapping("/question/count")
public Long findCountForQuestion(@RequestBody FindCountForQuestionReqVo req) {
// req.setOrgId(orgId);
return this.paperUserService.findCountForQuestion(req);
}
}

View File

@ -1,10 +1,11 @@
package club.joylink.rtss.controller.permission;
import club.joylink.rtss.constants.Project;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.AuthenticateInterceptor;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.IPermissionDistributeService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.order.OrderCreateVO;
import club.joylink.rtss.vo.client.permissionDistribute.DistributeVO;
@ -18,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*权限分发管理接口
* 权限分发管理接口
*/
@RestController
@RequestMapping("/api/distribute")
@ -28,7 +29,7 @@ public class PermissionDistributeController {
private IPermissionDistributeService permissionDistributeService;
/**
*分页查询权限分发数据
* 分页查询权限分发数据
*/
@GetMapping(path = "")
public PageVO<DistributeVO> queryPagedDistribute(PermissionDistributeQueryVO queryVO) {
@ -36,15 +37,15 @@ public class PermissionDistributeController {
}
/**
*生成打包分发二维码
* 生成打包分发二维码
*/
@GetMapping(path = "/package/qrCode")
public String generateQrCode(Long id) {
return this.permissionDistributeService.generateQrCode(id);
public String generateQrCode(Long id, @RequestAttribute(value = AuthenticateInterceptor.LOGIN_INFO_KEY) LoginUserInfoVO loginInfo) {
return this.permissionDistributeService.generateQrCode(id, loginInfo.getProject());
}
/**
*权限分发立即失效
* 权限分发立即失效
*/
@GetMapping(path = "/{id}/invalid")
public void immediateInvalid(@PathVariable Long id) {
@ -52,15 +53,15 @@ public class PermissionDistributeController {
}
/**
*从订单分发权限获取权限分发二维码
* 从订单分发权限获取权限分发二维码
*/
@GetMapping(path = "/{orderCode}/distribute")
public String givePermission(@PathVariable String orderCode, @RequestAttribute AccountVO user) {
return permissionDistributeService.distributeFromOrder(orderCode, user);
public String givePermission(@PathVariable String orderCode, @RequestAttribute LoginUserInfoVO loginInfo) {
return permissionDistributeService.distributeFromOrder(orderCode, loginInfo.getAccountVO(), loginInfo.getProject());
}
/**
*权限获取
* 权限获取
*/
@GetMapping(path = "/getPermission")
public void getPermission(Long state, @RequestAttribute AccountVO user) {
@ -69,6 +70,7 @@ public class PermissionDistributeController {
/**
* 将权限分发包分发给指定账户
*
* @param id
* @param accountId
* @param user
@ -80,15 +82,15 @@ public class PermissionDistributeController {
}
/**
*快速生成权限分发
* 快速生成权限分发
*/
@PostMapping(path = "/createQuickly")
public String createQuickly(@RequestBody OrderCreateVO orderCreateVO, @RequestAttribute AccountVO user) {
return permissionDistributeService.createQuickly(orderCreateVO, user);
public String createQuickly(@RequestBody OrderCreateVO orderCreateVO, @RequestAttribute LoginUserInfoVO loginInfo) {
return permissionDistributeService.createQuickly(orderCreateVO, loginInfo.getAccountVO(), loginInfo.getProject());
}
/**
*微信小程序扫码获取权限
* 微信小程序扫码获取权限
*/
@GetMapping(path = "/permission")
public List<UserPermissionVO> wmGetPermission(String code, Long id) {
@ -96,15 +98,15 @@ public class PermissionDistributeController {
}
/**
*用户权限转增分发打包生成权限
* 用户权限转增分发打包生成权限
*/
@PostMapping(path = "/packageUserPermission")
public String packageUserPermission(@RequestBody @Validated UserPermissionDistributeVO userPermissionAndAmountVO, @RequestAttribute AccountVO user) {
return permissionDistributeService.distributeFromUserPermission(userPermissionAndAmountVO, user);
public String packageUserPermission(@RequestBody @Validated UserPermissionDistributeVO userPermissionAndAmountVO, @RequestAttribute LoginUserInfoVO loginInfo) {
return permissionDistributeService.distributeFromUserPermission(userPermissionAndAmountVO, loginInfo);
}
/**
*查询个人权限分发列表
* 查询个人权限分发列表
*/
@GetMapping(path = "/personal")
public List<DistributeVO> queryPersonalDistributeList(@RequestAttribute AccountVO user) {
@ -112,7 +114,7 @@ public class PermissionDistributeController {
}
/**
*查询权限分发领取用户列表
* 查询权限分发领取用户列表
*/
@GetMapping(path = "/{id}/users")
public List<UserPermissionVO> queryDistributeGetUsers(@PathVariable Long id, @RequestAttribute AccountVO user) {
@ -120,7 +122,7 @@ public class PermissionDistributeController {
}
/**
*回收权限分发到用户权限中
* 回收权限分发到用户权限中
*/
@PutMapping(path = "/{id}/restore")
public void restore(@PathVariable Long id) {
@ -128,7 +130,7 @@ public class PermissionDistributeController {
}
/**
*查询权限分发包详情
* 查询权限分发包详情
*/
@GetMapping(path = "/package/{id}/detail")
public PageVO<DistributeVO> queryPackageDetail(@PathVariable Long id,
@ -141,8 +143,8 @@ public class PermissionDistributeController {
*创建项目下所有地图权限的权限分发
*/
@PostMapping("/{project}/allMap/distribute")
public String createAllMapDistribute(@PathVariable Project project, Integer num, @RequestAttribute AccountVO user) {
return permissionDistributeService.createAllMapDistribute(project, num, user);
public String createAllMapDistribute(@PathVariable String project, Integer num, @RequestAttribute LoginUserInfoVO loginInfo) {
return permissionDistributeService.createAllMapDistribute(project, num, loginInfo);
}
@Role(RoleEnum.SuperAdmin)

View File

@ -0,0 +1,104 @@
package club.joylink.rtss.controller.permission2;
import club.joylink.rtss.services.permission.AcPermissionService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.permission.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 权限管理接口V2
*/
@RestController
@RequestMapping("/api/v2/permission")
public class AcPermissionController {
@Autowired
private AcPermissionService permissionService;
/**
* 创建权限
*
* @return 如果创建成功则返回权限id
*/
@PostMapping("/create")
public String createPermission(@RequestBody CreatePermissionReqVo req, @RequestAttribute AccountVO user) {
return this.permissionService.createPermission(req, user);
}
/**
* 权限修改
* @param req
* @param user
* @return
*/
@PutMapping("/update")
public String updatePermission(@RequestBody CreatePermissionReqVo req, @RequestAttribute AccountVO user) {
return this.permissionService.createPermission(req, user);
}
/**
* 修改权限基础信息(名称和描述)
*/
@PutMapping("/basic")
public void updatePermissionBasic(@RequestBody UpdatePermissionBasicReqVo req) {
this.permissionService.updatePermissionBasic(req);
}
/**
* 给权限添加功能
*
* @param permissionId 权限id
* @param abilityId 权限功能id,即system_ability.id
*/
@PostMapping("/{permissionId}/accept/{abilityId}")
public void addAbilityToPermission(@PathVariable("permissionId") Long permissionId, @PathVariable("abilityId") Long abilityId) {
this.permissionService.addAbilityToPermission(permissionId, abilityId);
}
/**
* 获取权限的所有功能
*
* @param permissionId 权限id
*/
@GetMapping("/{permissionId}/abilities")
public List<PermissionAbilityRspVo> findPermissionAbilities(@PathVariable("permissionId") Long permissionId) {
return this.permissionService.findPermissionAbilities(permissionId);
}
/**
* 查询所有权限列表
* @param name 模糊匹配权限名称
* @return
*/
@GetMapping("/all")
public List<PermissionBasicRspVo> findAllPermission(@RequestParam(value = "name",required = false) String name) {
return this.permissionService.findAllPermission(name);
}
/**
* 删除权限的功能
*/
@DeleteMapping("/{permissionId}/abilities")
public void deleteAbilities(@RequestBody PermissionAbilityDeletedReqVo req) {
this.permissionService.deleteAbilities(req);
}
/**
* 获取一个权限的完整信息
*/
@GetMapping("/{permissionId}/whole")
public WholePermissionRspVo findWholePermission(@PathVariable("permissionId") Long permissionId) {
return this.permissionService.findWholePermission(permissionId);
}
/**
* 分页获取权限
*/
@PostMapping("/find/page")
public PageVO<PermissionBasicRspVo> findByPage(@RequestBody FindPermissionBasicByPageReqVo req) {
return this.permissionService.findByPage(req);
}
}

View File

@ -0,0 +1,73 @@
package club.joylink.rtss.controller.permission2;
import club.joylink.rtss.controller.advice.AuthenticateInterceptor;
import club.joylink.rtss.services.permission.IDistributeService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.permission.*;
import club.joylink.rtss.vo.permission.distribute.DistributeDataVO;
import club.joylink.rtss.vo.permission.distribute.DistributeQueryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 权限分发业务接口V3
*/
@RestController
@RequestMapping("/api/v3/permission/distribute")
public class DistributeController {
@Autowired
private IDistributeService distributeService;
/**
* 创建权限分发
*/
@PostMapping("/create")
public void createDistribute(@RequestBody DistributeDataVO req, @RequestAttribute AccountVO user) {
this.distributeService.create(req,user);
}
/**
* 分页获取权限分发列表
*/
@PostMapping("/paging")
public PageVO<DistributeDataVO> paging(@RequestBody DistributeQueryVO req) {
return this.distributeService.paging(req);
}
/**
* 查看权限分发列表或分页对应的分发明细
* @param disId 分发id
* @return
*/
@GetMapping("/list/distribute/{disId}")
public List<DistributeDataVO.DistributePermissionVO> permissionList(@PathVariable(name="disId") Long disId){
return this.distributeService.distributePermissionRefList(disId);
}
/**
* 生成分发二维码
*
* @param pdId 权限分发id
*/
@GetMapping(path = "/{pdId}/qrCode")
public String generateQrCode(@PathVariable("pdId") Long pdId, @RequestAttribute(value = AuthenticateInterceptor.LOGIN_INFO_KEY) LoginUserInfoVO loginInfo) {
return this.distributeService.generateQrCode(pdId, loginInfo);
}
/**
* 从权限分发直接分发给指定主体
*
* @param pdId 权限分发id
* @param subjectType 主体类型其值为(user,org,project)user-一般用户org-组织project - 项目
*
*/
@PostMapping("/{pdId}/to/{subjectType}/{subjectId}")
public void permissionDistributeToSubject(@PathVariable("pdId") Long pdId, @PathVariable("subjectType") String subjectType, @PathVariable("subjectId") Long subjectId) {
final PermissionSubjectTypeEnum subjectTypeEnum = PermissionSubjectTypeEnum.valueOf(subjectType);
this.distributeService.subjectAcceptFromPermissionDistribute(pdId, subjectTypeEnum, subjectId);
}
}

View File

@ -0,0 +1,63 @@
package club.joylink.rtss.controller.permission2;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.permission.PermissionSubjectService;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.permission.subject.PermissionSubjectQueryVO;
import club.joylink.rtss.vo.permission.subject.PermissionSubjectVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import static club.joylink.rtss.controller.advice.AuthenticateInterceptor.LOGIN_INFO_KEY;
/**
* 主体(用户或组织)的权限管理接口V2<br>
*/
@RestController
@RequestMapping("/api/v2/permission/subject")
public class PermissionSubjectController {
@Autowired
private PermissionSubjectService subjectService;
/**
* 分页获取权限分发列表
*/
@Role(value = RoleEnum.SuperAdmin)
@GetMapping(path = "/page")
public PageVO<PermissionSubjectVO> page(PermissionSubjectQueryVO req) {
return this.subjectService.page(req);
}
/**
* 用户权限失效设置
* @param id
*/
@GetMapping(path = "/inValid/{id}")
public void statusForInValid(@PathVariable Long id){
this.subjectService.subjectAndDistributeStatusForInValid(id);
}
/**
* 查看用户分发的下级所有用户权限
* @param id
*/
@GetMapping(path = "/distribute/{id}")
public List<PermissionSubjectVO> distributePermission(@PathVariable Long id){
List<PermissionSubjectVO> list = this.subjectService.findDistributePermission(id);
return list;
}
/**
* 查看当前mapId 下用户的所有权限及功能
* @param mapId
* @param loginUserInfoVO
* @return
*/
@GetMapping(path = "/permission/{mapId}")
public List<PermissionSubjectVO> findPermissionWithMapIdAndUserInfo(@PathVariable(name="mapId") Long mapId, @RequestAttribute(name=LOGIN_INFO_KEY)LoginUserInfoVO loginUserInfoVO){
return this.subjectService.findPermissionWithMapIdAndUserInfo(mapId,loginUserInfoVO);
}
}

View File

@ -0,0 +1,61 @@
package club.joylink.rtss.controller.permission2;
import club.joylink.rtss.services.permission.SystemAbilityService;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.permission.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import static club.joylink.rtss.controller.advice.AuthenticateInterceptor.LOGIN_INFO_KEY;
/**
* 面向权限的系统功能管理接口V2
*/
@Slf4j
@RestController
@RequestMapping("/api/v2/permission/system/ability")
public class SystemAbilityController {
@Autowired
private SystemAbilityService abilityService;
/**
* 根据权限功能的id查询完整信息
*/
@GetMapping("/{abilityId}")
public SystemAbilityRspVo findById(@PathVariable("abilityId") Long abilityId){
return this.abilityService.findVO(abilityId);
}
/**
* 分页查询权限功能的基本信息
*/
@PostMapping("/page")
public PageVO<SystemAbilityRspVo>findByPage(@RequestBody FindAbilityBasicByPageReqVo req){
return this.abilityService.findByPage(req);
}
/**
* 查询权限功能的基本信息列表
* @return
*/
@GetMapping("/list")
public List<SystemAbilityRspVo> list(FindAbilityBasicByPageReqVo filterVO){
return this.abilityService.findList(filterVO);
}
/**
* 自动生成
* @param userInfoVO
*/
@GetMapping("/autoCreate")
public void autoCreate(@RequestAttribute(value = LOGIN_INFO_KEY) LoginUserInfoVO userInfoVO){
this.abilityService.autoSynchMapSystemData(userInfoVO.getAccountVO().getId());
}
}

View File

@ -2,252 +2,317 @@ package club.joylink.rtss.controller.project;
import club.joylink.rtss.constants.ProjectDeviceType;
import club.joylink.rtss.controller.advice.AuthenticateInterceptor;
import club.joylink.rtss.entity.project.Project;
import club.joylink.rtss.services.project.DeviceService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.project.*;
import club.joylink.rtss.vo.client.project.IbpConfigVO;
import club.joylink.rtss.vo.client.project.LswConfigVO;
import club.joylink.rtss.vo.client.project.LwConfigVO;
import club.joylink.rtss.vo.client.project.PlcGatewayConfigVO;
import club.joylink.rtss.vo.client.project.ProjectDevicePageQueryVO;
import club.joylink.rtss.vo.client.project.ProjectDeviceVO;
import club.joylink.rtss.vo.client.project.PscConfigVO;
import club.joylink.rtss.vo.client.project.PsdConfigVO;
import club.joylink.rtss.vo.client.project.PslConfigVO;
import club.joylink.rtss.vo.client.project.RelationLoginConfigVO;
import club.joylink.rtss.vo.client.project.SignalConfigVO;
import club.joylink.rtss.vo.client.project.SwitchConfigVO;
import club.joylink.rtss.vo.client.project.VrIbpConfigVO;
import club.joylink.rtss.vo.client.project.VrpsdConfigVO;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
*项目设备管理接口()
* 项目设备管理接口()
*/
@RestController
@RequestMapping(path = "/api/device")
public class DeviceController {
@Autowired
private DeviceService deviceService;
@Autowired
private DeviceService deviceService;
/**
*分页查询项目设备
*/
@GetMapping("/paging")
public PageVO<ProjectDeviceVO> pagingQuery(ProjectDevicePageQueryVO queryVO,
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY)
LoginUserInfoVO userLoginInfo) {
return this.deviceService.pagingQuery(queryVO, userLoginInfo);
}
/**
* 分页查询项目设备
*/
@GetMapping("/paging")
public PageVO<ProjectDeviceVO> pagingQuery(ProjectDevicePageQueryVO queryVO) {
return this.deviceService.pagingQuery(queryVO);
}
/**
*项目设备编号是否已经存在
*/
@GetMapping("/exist/{code}")
public boolean isDeviceCodeExist(@PathVariable String code,
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY)
LoginUserInfoVO userLoginInfo) {
return this.deviceService.isDeviceCodeExist(userLoginInfo.getProject(), code);
}
/**
* 项目设备编号是否已经存在
*/
@GetMapping("/exist/{code}")
public boolean isDeviceCodeExist(@PathVariable String code, String projectCode) {
String project = Project.isDefault(projectCode) ? Project.DEFAULT_PROJECT_CODE : projectCode;
return this.deviceService.isDeviceCodeExist(project, code);
}
/**
*新建项目设备
*/
@PostMapping("")
public String create(@RequestBody @Validated ProjectDeviceVO deviceVO,
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY)
LoginUserInfoVO userLoginInfo) {
return this.deviceService.create(deviceVO, userLoginInfo);
}
/**
* 新建项目设备
*/
@PostMapping("")
public String create(@RequestBody @Validated ProjectDeviceVO deviceVO,
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY)
LoginUserInfoVO userLoginInfo) {
return this.deviceService.create(deviceVO, userLoginInfo);
}
/**
*获取设备详情包含配置信息
*/
@GetMapping("/{id}")
public ProjectDeviceVO getDeviceDetailInfoById(@PathVariable Long id) {
return this.deviceService.getDeviceDetailInfoById(id);
}
/**
* 获取设备详情包含配置信息
*/
@GetMapping("/{id}")
public ProjectDeviceVO getDeviceDetailInfoById(@PathVariable Long id) {
return this.deviceService.getDeviceDetailInfoById(id);
}
/**
*添加/修改道岔设备网关映射配置
*/
@PutMapping("/{id}/config/plcgateway")
public void updatePlcGatewayConfig(@PathVariable Long id, @RequestBody @Validated PlcGatewayConfigVO configVO) {
this.deviceService.updatePlcGatewayConfig(id, configVO);
}
/**
* 添加/修改道岔设备网关映射配置
*/
@PutMapping("/{id}/config/plcgateway")
public void updatePlcGatewayConfig(@PathVariable Long id,
@RequestBody @Validated PlcGatewayConfigVO configVO) {
this.deviceService.updatePlcGatewayConfig(id, configVO);
}
/**
*添加/修改道岔设备网关映射配置
*/
@PutMapping("/{id}/config/switch")
public void updateSwitchConfig(@PathVariable Long id, @RequestBody @Validated SwitchConfigVO configVO) {
this.deviceService.updateSwitchConfig(id, configVO);
}
/**
* 添加/修改道岔设备网关映射配置
*/
@PutMapping("/{id}/config/switch")
public void updateSwitchConfig(@PathVariable Long id,
@RequestBody @Validated SwitchConfigVO configVO) {
this.deviceService.updateSwitchConfig(id, configVO);
}
/**
*添加/修改信号机设备网关映射配置
*/
@PutMapping("/{id}/config/signal")
public void updateSignalConfig(@PathVariable Long id, @RequestBody @Validated SignalConfigVO configVO) {
this.deviceService.updateSignalConfig(id, configVO);
}
/**
* 添加/修改信号机设备网关映射配置
*/
@PutMapping("/{id}/config/signal")
public void updateSignalConfig(@PathVariable Long id,
@RequestBody @Validated SignalConfigVO configVO) {
this.deviceService.updateSignalConfig(id, configVO);
}
/**
*添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/psc")
public void updatePscConfig(@PathVariable Long id, @RequestBody @Validated PscConfigVO configVO) {
this.deviceService.updatePscConfig(id, configVO);
}
/**
* 添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/psc")
public void updatePscConfig(@PathVariable Long id, @RequestBody @Validated PscConfigVO configVO) {
this.deviceService.updatePscConfig(id, configVO);
}
/**
*添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/psd")
public void updatePsdConfig(@PathVariable Long id, @RequestBody @Validated PsdConfigVO configVO) {
this.deviceService.updatePsdConfig(id, configVO);
}
/**
* 添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/psd")
public void updatePsdConfig(@PathVariable Long id, @RequestBody @Validated PsdConfigVO configVO) {
this.deviceService.updatePsdConfig(id, configVO);
}
/**
*添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/psl")
public void updatePslConfig(@PathVariable Long id, @RequestBody @Validated PslConfigVO configVO) {
this.deviceService.updatePslConfig(id, configVO);
}
/**
* 添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/psl")
public void updatePslConfig(@PathVariable Long id, @RequestBody @Validated PslConfigVO configVO) {
this.deviceService.updatePslConfig(id, configVO);
}
/**
*添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/ibp")
public void updateIbpConfig(@PathVariable Long id, @RequestBody @Validated IbpConfigVO configVO) {
this.deviceService.updateIbpConfig(id, configVO);
}
/**
* 添加/修改屏蔽门设备网关映射配置
*/
@PutMapping("/{id}/config/ibp")
public void updateIbpConfig(@PathVariable Long id, @RequestBody @Validated IbpConfigVO configVO) {
this.deviceService.updateIbpConfig(id, configVO);
}
/**
*添加/修改虚拟IBP盘配置
*/
@PutMapping("/{id}/config/vribp")
public void updateVrIbpConfig(@PathVariable Long id, @RequestBody @Validated VrIbpConfigVO configVO) {
this.deviceService.updateVrIbpConfig(id, configVO);
}
/**
* 添加/修改虚拟IBP盘配置
*/
@PutMapping("/{id}/config/vribp")
public void updateVrIbpConfig(@PathVariable Long id,
@RequestBody @Validated VrIbpConfigVO configVO) {
this.deviceService.updateVrIbpConfig(id, configVO);
}
/**
*添加/修改现地工作站配置
*/
@PutMapping("/{id}/config/lw")
public void updateLwConfig(@PathVariable Long id, @RequestBody @Validated LwConfigVO configVO) {
this.deviceService.updateLwConfig(id, configVO);
}
/**
* 添加/修改现地工作站配置
*/
@PutMapping("/{id}/config/lw")
public void updateLwConfig(@PathVariable Long id, @RequestBody @Validated LwConfigVO configVO) {
this.deviceService.updateLwConfig(id, configVO);
}
/**
*添加/修改大屏工作站配置
*/
@PutMapping("/{id}/config/lsw")
public void updateLswConfig(@PathVariable Long id, @RequestBody @Validated LswConfigVO configVO) {
this.deviceService.updateLswConfig(id, configVO);
}
/**
* 添加/修改大屏工作站配置
*/
@PutMapping("/{id}/config/lsw")
public void updateLswConfig(@PathVariable Long id, @RequestBody @Validated LswConfigVO configVO) {
this.deviceService.updateLswConfig(id, configVO);
}
/**
*添加/修改CCTV工作站配置
*/
@PutMapping("/{id}/config/cctv")
public void updateCctvConfig(@PathVariable Long id, @RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateCctvConfig(id, configVO);
}
/**
* 添加/修改CCTV工作站配置
*/
@PutMapping("/{id}/config/cctv")
public void updateCctvConfig(@PathVariable Long id,
@RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateCctvConfig(id, configVO);
}
/**
*添加/修改电子沙盘工作站配置
*/
@PutMapping("/{id}/config/sandbox")
public void updateSandboxConfig(@PathVariable Long id, @RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateSandboxConfig(id, configVO);
}
/**
* 添加/修改电子沙盘工作站配置
*/
@PutMapping("/{id}/config/sandbox")
public void updateSandboxConfig(@PathVariable Long id,
@RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateSandboxConfig(id, configVO);
}
/**
*添加/修改虚拟屏蔽门工作站配置
*/
@PutMapping("/{id}/config/vrpsd")
public void updateVrpsdConfig(@PathVariable Long id, @RequestBody @Validated VrpsdConfigVO configVO) {
this.deviceService.updateVrpsdConfig(id, configVO);
}
/**
* 添加/修改虚拟屏蔽门工作站配置
*/
@PutMapping("/{id}/config/vrpsd")
public void updateVrpsdConfig(@PathVariable Long id,
@RequestBody @Validated VrpsdConfigVO configVO) {
this.deviceService.updateVrpsdConfig(id, configVO);
}
/**
*添加/修改现地综合监控工作站配置
*/
@PutMapping("/{id}/config/iscslw")
public void updateIscsLwConfig(@PathVariable Long id, @RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateIscsLwConfig(id, configVO);
}
/**
* 添加/修改现地综合监控工作站配置
*/
@PutMapping("/{id}/config/iscslw")
public void updateIscsLwConfig(@PathVariable Long id,
@RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateIscsLwConfig(id, configVO);
}
/**
*添加/修改中心综合监控工作站配置
*/
@PutMapping("/{id}/config/iscscw")
public void updateIscsCwConfig(@PathVariable Long id, @RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateIscsCwConfig(id, configVO);
}
/**
* 添加/修改中心综合监控工作站配置
*/
@PutMapping("/{id}/config/iscscw")
public void updateIscsCwConfig(@PathVariable Long id,
@RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateIscsCwConfig(id, configVO);
}
/**
*添加/修改联锁工作站配置
*/
@PutMapping("/{id}/config/ilw")
public void updateIlwConfig(@PathVariable Long id, @RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateIlwConfig(id, configVO);
}
/**
* 添加/修改联锁工作站配置
*/
@PutMapping("/{id}/config/ilw")
public void updateIlwConfig(@PathVariable Long id,
@RequestBody @Validated RelationLoginConfigVO configVO) {
this.deviceService.updateIlwConfig(id, configVO);
}
/**
* 修改配置以json的形式
*/
@PutMapping("/config/updateConfig")
public void updateConfig(@RequestBody ProjectDeviceVO projectDeviceVO) {
this.deviceService.updateConfig(projectDeviceVO);
}
/**
* 修改配置以json的形式
*/
@PutMapping("/config/updateConfig")
public void updateConfig(@RequestBody ProjectDeviceVO projectDeviceVO) {
this.deviceService.updateConfig(projectDeviceVO);
}
/**
*删除设备
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
this.deviceService.delete(id);
}
/**
* 删除设备
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable Long id) {
this.deviceService.delete(id);
}
/**
*查询某个类型的所有设备
*/
@GetMapping("/{type}/all")
public List<ProjectDeviceVO> queryByType(@PathVariable ProjectDeviceType type,
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_INFO_KEY)
LoginUserInfoVO userLoginInfo) {
return this.deviceService.queryByType(type, userLoginInfo.getProject());
}
/**
* 查询某个类型的所有设备
*/
@GetMapping("/{project}/{type}/all")
public List<ProjectDeviceVO> queryByType(@PathVariable String project,
@PathVariable ProjectDeviceType type) {
return this.deviceService.queryByType(type, project);
}
//
//
// @ApiOperation(value = "查询项目下的所有设备")
// @GetMapping("/project")
// public List<ProjectDeviceVO> queryByProjectCode(String projectCode, String group) {
// return this.iProjectDeviceService.queryByProjectCode(projectCode, group);
// }
@PostMapping("/xty/addOrUpdate")
public void addOrUpdateXtyDeviceConfig(@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateXtyDeviceConfig(accountVO);
}
@PostMapping("/xty/addOrUpdate")
public void addOrUpdateXtyDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateXtyDeviceConfig(accountVO);
}
@PostMapping("/gzb/addOrUpdate")
public void addOrUpdateGzbDeviceConfig(@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateGzbDeviceConfig(accountVO);
}
@PostMapping("/gzb/addOrUpdate")
public void addOrUpdateGzbDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateGzbDeviceConfig(accountVO);
}
@PostMapping("/sdy/addOrUpdate")
public void addOrUpdateSdyDeviceConfig(@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateSdyDeviceConfig(accountVO);
}
@PostMapping("/sdy/addOrUpdate")
public void addOrUpdateSdyDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateSdyDeviceConfig(accountVO);
}
@PostMapping("/zjd/addOrUpdate")
public void addOrUpdateZjdDeviceConfig(@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateRichorDeviceConfig(accountVO);
}
@PostMapping("/zjd/addOrUpdate")
public void addOrUpdateZjdDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateRichorDeviceConfig(accountVO);
}
@PostMapping("/sr/addOrUpdate/{mapId}")
public void addOrUpdateSrDeviceConfig(@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO, @PathVariable Long mapId) {
this.deviceService.addOrUpdateSrDeviceConfig(accountVO, mapId);
}
@PostMapping("/sr/addOrUpdate/{mapId}")
public void addOrUpdateSrDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO, @PathVariable Long mapId) {
this.deviceService.addOrUpdateSrDeviceConfig(accountVO, mapId);
}
@PostMapping("/hhcj/addOrUpdate")
public void addOrUpdateHhcjDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateHhcjDeviceConfig(accountVO);
}
@PostMapping("/say/addOrUpdate")
public void addOrUpdateSayDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO) {
this.deviceService.addOrUpdateSayDeviceConfig(accountVO);
}
@PostMapping("/thailand/addOrUpdate/{mapId}")
public void addOrUpdateThailandDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO, @PathVariable Long mapId) {
this.deviceService.addOrUpdateThailandDeviceConfig(accountVO, mapId);
}
@PostMapping("/ngy/addOrUpdate/{mapId}")
public void addOrUpdateNgyDeviceConfig(
@RequestAttribute(name = AuthenticateInterceptor.LOGIN_USER_KEY)
AccountVO accountVO, @PathVariable Long mapId) {
this.deviceService.addOrUpdateNgyDeviceConfig(accountVO, mapId);
}
@PostMapping("/cdgxy/addOrUpdate")
public void addOrUpdateCdgxyDeviceConfig(@RequestAttribute AccountVO user) {
this.deviceService.addOrUpdateCdgxyDeviceConfig(user);
}
}

View File

@ -0,0 +1,132 @@
package club.joylink.rtss.controller.project;
import club.joylink.rtss.controller.advice.AuthenticateInterceptor;
import club.joylink.rtss.entity.project.Project;
import club.joylink.rtss.entity.project.ProjectView;
import club.joylink.rtss.services.project.ProjectService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.org.OrgVO;
import club.joylink.rtss.vo.client.org.TopOrgCreateVO;
import club.joylink.rtss.vo.project.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 项目设备管理接口()
*/
@RestController
@RequestMapping(path = "/api/project")
public class ProjectInfoController {
@Autowired
private ProjectService projectService;
@GetMapping("/page")
public PageVO<ProjectInfoVO> pagingQuery(ProjectQueryVO queryVO) {
return projectService.pagingQuery(queryVO);
}
@GetMapping("/all")
public List<ProjectInfoVO> getAllProject() {
return projectService.getAllProject();
}
@GetMapping("/{id}")
public Project getProjectById(@PathVariable Long id) {
return projectService.queryProjectById(id);
}
@GetMapping("/code/{code}")
public Project getProjectByCode(@PathVariable String code){
return projectService.queryProjectByCode(code);
}
@DeleteMapping("/del/{id}")
public void delProjectById(@PathVariable Long id) {
projectService.deleteProject(id);
}
@PutMapping("/update")
public void updateProject(@RequestBody Project project) {
projectService.updateProject(project);
}
@PostMapping("/save")
public void saveProject(@RequestBody Project project) {
projectService.save(project);
}
@GetMapping("/check/code")
public boolean checkProjectCode(String code) {
return projectService.checkProjectCode(code);
}
@PutMapping("/setDefaultOrg")
public void setProjectDefaultOrg(@RequestBody Project project) {
projectService.setProjectDefaultOrg(project.getId(), project.getDefaultOrg());
}
@GetMapping("/{id}/orgList")
public List<OrgVO> orgList(@PathVariable Long id) {
return projectService.projectOrgList(id);
}
@PostMapping("/{id}/createDefaultOrg")
public ProjectInfoVO quickCreateDefaultOrg(@PathVariable Long id, @RequestBody TopOrgCreateVO orgVO
, @RequestAttribute(AuthenticateInterceptor.LOGIN_USER_KEY) AccountVO user) {
return projectService.quickCreateDefaultOrg(id, orgVO, user);
}
@GetMapping("/viewSetting/page")
public PageVO<ProjectView> projectViewPagingQuery(ProjectViewQueryVO queryVO) {
return projectService.projectViewPagingQuery(queryVO);
}
@GetMapping("/viewSetting/all")
public List<ProjectView> getAllProjectView() {
return projectService.getAllProjectView();
}
@GetMapping("/viewSetting/{id}")
public ProjectView getProjectViewById(@PathVariable Long id) {
return projectService.queryProjectViewById(id);
}
@DeleteMapping("/viewSetting/del/{id}")
public void delProjectViewById(@PathVariable Long id) {
projectService.deleteProjectView(id);
}
@PutMapping("/viewSetting/update")
public void updateProjectView(@RequestBody ProjectView projectView) {
projectService.updateProjectView(projectView);
}
@PostMapping("/viewSetting/save")
public void saveProjectView(@RequestBody ProjectView projectView) {
projectService.saveProjectView(projectView);
}
@GetMapping("/check/markKey")
public boolean checkProjectViewMarkKey(String markKey, Long id) {
return projectService.checkProjectViewMarkKey(markKey, id);
}
@GetMapping("/simple")
public List<ProjectVO> queryProjectSimpleInfo() {
return projectService.getSimpleProjectList();
}
@GetMapping("/viewSetting/project/{project}")
public ProjectViewVO queryProjectViewSetting(@PathVariable String project) {
return projectService.getProjectViewSetting(project);
}
@GetMapping("/viewSetting/simple/all")
public List<ProjectViewVO> queryViewAll() {
return projectService.queryViewAll();
}
}

View File

@ -107,7 +107,7 @@ public class ExamController {
}
/**
*分页查询当前登录项目下的试卷
* 分页查询当前登录项目下的试卷
*/
@GetMapping("/paged/loginProject")
public PageVO<ExamDefinitionVO> pagedQueryByLoginProject(ExamDefinitionQueryVO queryVO, @RequestAttribute LoginUserInfoVO loginInfo) {
@ -115,7 +115,7 @@ public class ExamController {
}
/**
*不分页查询当前登录项目下的试卷
* 不分页查询当前登录项目下的试卷
*/
@GetMapping("/list/loginProject")
public List<ExamDefinitionVO> listQueryExamByLoginProject(ExamDefinitionQueryVO queryVO, @RequestAttribute LoginUserInfoVO loginInfo) {
@ -135,6 +135,30 @@ public class ExamController {
*/
@GetMapping("/list/{mapId}")
public List<ExamDefinitionVO> listQuery(@PathVariable Long mapId, String prdType) {
return iExamService.queryBasicInfo(mapId, prdType, BusinessConsts.STATUS_USE);
return iExamService.queryBasicInfo(mapId, prdType, BusinessConsts.STATUS_USE, null);
}
/**
* 更新考试规则
*/
@PutMapping("/update/rules")
public void updateRules(@RequestBody ExamDefinitionVO examDefinitionVO) {
iExamService.updateRules(examDefinitionVO);
}
/**
* 检查并更新规则数据异常状态
*/
@PutMapping("/checkAndUpdateAbnormal/{mapId}")
public void check4SetAbnormalAndRegenerateSystemRules(@PathVariable long mapId) {
iExamService.checkAndUpdateAbnormal(mapId);
}
/**
* 重新生成考试规则
*/
@PutMapping("/regenerateRules/{mapId}")
public void regenerateRules(@PathVariable long mapId) {
iExamService.regenerateRules(mapId);
}
}

View File

@ -5,9 +5,9 @@ import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.draft.Lesson3DQueryVO;
import club.joylink.rtss.vo.draft.Lesson3DVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapping("/api/lesson3d")
@ -21,4 +21,33 @@ public class Lesson3dController {
return this.lesson3DService.pagingQuery(queryVO);
}
@GetMapping("/list")
public List<Lesson3DVO> queryListBy(Lesson3DQueryVO queryVO) {
return this.lesson3DService.queryBy(queryVO);
}
@GetMapping(path = "/{id}")
public Lesson3DVO getById(@PathVariable Long id) {
Lesson3DVO param = this.lesson3DService.getById(id);
return param;
}
/**
* 上线
* @param id
*/
@PutMapping("/{id}/online")
public void online(@PathVariable Long id) {
this.lesson3DService.online(id);
}
/**
* 下线
* @param id
*/
@PutMapping("/{id}/offline")
public void offline(@PathVariable Long id) {
this.lesson3DService.offline(id);
}
}

View File

@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
*课程数据管理接口
* 课程数据管理接口
*/
@RestController
@RequestMapping("/api/lesson")
@ -37,7 +37,7 @@ public class LessonController {
}
/**
*获取课程实训树
* 获取课程实训树
*/
@GetMapping(path = "/{id}/tree")
public LessonTreeVO getLessonTrainingTree(@PathVariable Long id, @RequestAttribute AccountVO user) {
@ -45,15 +45,15 @@ public class LessonController {
}
/**
*获取课程详情
* 获取课程详情
*/
@GetMapping(path="/{id}")
@GetMapping(path = "/{id}")
public LessonVO getLessonDetail(@PathVariable Long id, @RequestAttribute AccountVO user) {
return this.iLessonService.getLessonDetail(id, user);
}
/**
*根据条件获取课程列表
* 根据条件获取课程列表
*/
@GetMapping(path = "")
public List<LessonVO> queryLessons(LessonQueryVO lessonQueryVO) {
@ -61,7 +61,7 @@ public class LessonController {
}
/**
*根据部门获取关联课程列表
* 根据部门获取关联课程列表
*/
@GetMapping(path = "/depart/{departId}")
public List<LessonVO> queryLessons(@PathVariable Long departId) {
@ -69,7 +69,7 @@ public class LessonController {
}
/**
*获取课程列表
* 获取课程列表
*/
@GetMapping(path = "/listOfMap")
public List<LessonVO> queryLessonsOfMap(Long mapId) {
@ -77,54 +77,54 @@ public class LessonController {
}
/**
*分页获取已发布的课程
* 分页获取已发布的课程
*/
@GetMapping(path = "/publishedLesson")
public PageVO<LessonVO> selectPagedPublishedLesson(LessonQueryVO queryVO) {
return iLessonService.selectPagedPublishedLesson(queryVO);
}
/**
* 删除已发布的课程
*/
@Role(RoleEnum.SuperAdmin)
/**
*删除已发布的课程
*/
@DeleteMapping(path = "/publishedLesson/{lessonId}")
public void deletePublishedLesson(@PathVariable Long lessonId, @RequestAttribute AccountVO user) {
iLessonService.deletePublishedLesson(lessonId, user);
}
/**
* 用户删除教学实训删除自己发布的课程
*/
@Role(RoleEnum.LessonCreater)
/**
*用户删除教学实训删除自己发布的课程
*/
@DeleteMapping(path = "/usedLesson/{lessonId}")
public void deleteUsedLesson(@PathVariable Long lessonId, @RequestAttribute AccountVO user) {
iLessonService.deleteUsedLesson(lessonId, user);
}
/**
*发布课程上线
* 发布课程上线
*/
@PutMapping(path = "/{id}/onLine")
@Role({RoleEnum.Admin,RoleEnum.SuperAdmin})
@Role({RoleEnum.Admin, RoleEnum.SuperAdmin})
public void onLine(@PathVariable Long id, @RequestAttribute AccountVO user) {
this.iLessonService.onLine(id, user);
}
/**
*发布课程下线
* 发布课程下线
*/
@PutMapping(path = "/{id}/offLine")
@Role({RoleEnum.Admin,RoleEnum.SuperAdmin})
@Role({RoleEnum.Admin, RoleEnum.SuperAdmin})
public void offLine(@PathVariable Long id, @RequestAttribute AccountVO user) {
this.iLessonService.offLine(id, user);
}
/**
*更新课程名称和简介
* 更新课程名称和简介
*/
@PutMapping(path = "/{id}/nameAndRemarks")
@Role({RoleEnum.Admin,RoleEnum.SuperAdmin})
@Role({RoleEnum.Admin, RoleEnum.SuperAdmin})
public void updateNameAndRemarks(@PathVariable Long id,
@RequestBody @Validated(LessonUpdateNameAndRemarksCheck.class) LessonVO lessonVO,
@RequestAttribute AccountVO user) {
@ -132,7 +132,7 @@ public class LessonController {
}
/**
*生成默认课程和考试功能
* 生成默认课程和考试功能
*/
@PostMapping(path = "/generating")
public void generateLessonAndExam(@RequestAttribute AccountVO user, @RequestBody List<Long> mapIds) {
@ -140,7 +140,7 @@ public class LessonController {
}
/**
*分页查询用户当前登录的项目下的课程
* 分页查询用户当前登录的项目下的课程
*/
@GetMapping(path = "/paged/byLoginProject")
public PageVO<LessonVO> pagedQueryByLoginProject(LessonQueryVO queryVO,
@ -149,7 +149,7 @@ public class LessonController {
}
/**
*查询用户当前登录的项目下的课程
* 查询用户当前登录的项目下的课程
*/
@GetMapping(path = "/list/byLoginProject")
public List<LessonVO> queryByLoginProject(LessonQueryVO queryVO,
@ -158,7 +158,7 @@ public class LessonController {
}
/**
*查询自己给指定班级创建的课程
* 查询自己给指定班级创建的课程
*/
@GetMapping(path = "/list/org/self")
public List<LessonVO> queryOrgLessonOfSelf(Long clsId, @RequestAttribute LoginUserInfoVO loginInfo) {

View File

@ -6,6 +6,7 @@ import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.IMapService;
import club.joylink.rtss.services.IReleaseService;
import club.joylink.rtss.services.local.LocalDataService;
import club.joylink.rtss.simulation.cbtc.Simulation;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.*;
@ -14,10 +15,7 @@ import club.joylink.rtss.vo.client.map.MapCopyOption;
import club.joylink.rtss.vo.client.map.MapInfoUpdateVO;
import club.joylink.rtss.vo.client.validGroup.MapInfoSortCheck;
import club.joylink.rtss.vo.map.*;
import club.joylink.rtss.vo.map.graph.MapPSDVO;
import club.joylink.rtss.vo.map.graph.MapSectionNewVO;
import club.joylink.rtss.vo.map.graph.MapStationNewVO;
import club.joylink.rtss.vo.map.graph.MapStationStandNewVO;
import club.joylink.rtss.vo.map.graph.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@ -25,6 +23,7 @@ import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;
/**
*发布地图管理接口
@ -398,4 +397,45 @@ public class MapController {
public List<MapSectionNewVO> querySectionsUnderMap(@PathVariable Long id) {
return iMapService.querySectionsUnderMap(id);
}
/**
* 查询地图下所有列车
*/
@GetMapping("/{id}/trains")
public List<MapTrainVO> queryTrains(@PathVariable long id) {
return iMapService.queryTrains(id);
}
/**
* 查询地图成员Map
*/
@GetMapping("/{id}/memberMap")
public Map<Simulation.Type, List<MapMemberVO>> queryMemberMap(@PathVariable long id) {
return iMapService.queryMemberMap(id);
}
/**
* 获取地图下所有车站
*/
@GetMapping("/{id}/stations")
public List<MapStationNewVO> getMapStations(@PathVariable long id) {
return iMapService.getMapStations(id);
}
/**
* 查询与登录用户有关的在线地图列表
*/
@GetMapping("/list/online/ofUser")
public List<MapVO> listMapsOfUser(@RequestAttribute LoginUserInfoVO loginInfo) {
return iMapService.listMapsOfUser(loginInfo);
}
/**
* 获取地图配置的客户端信息
* @return 客户端信息
*/
@GetMapping("/{id}/mapClientMap")
public Map<Simulation.Type, List<MapClientVO>> queryMapClientMap(@PathVariable long id) {
return iMapService.queryMapClientMap(id);
}
}

View File

@ -0,0 +1,205 @@
package club.joylink.rtss.controller.publish;
import club.joylink.rtss.constants.RoleEnum;
import club.joylink.rtss.controller.advice.Role;
import club.joylink.rtss.services.mapFunction.RtsMapFunctionService;
import club.joylink.rtss.services.mapFunctionTemplate.MapFunctionTemplateService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionBatchModifyVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionCreateVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionGenerateParamVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionGenerateVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionQueryVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionUpdateVO;
import club.joylink.rtss.vo.client.mapFunction.MapFunctionVO;
import club.joylink.rtss.vo.client.mapFunctionTemplate.MapFunctionTemplateCreateVO;
import club.joylink.rtss.vo.client.mapFunctionTemplate.MapFunctionTemplateQueryVO;
import club.joylink.rtss.vo.client.mapFunctionTemplate.MapFunctionTemplateVO;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 地图功能及模板管理接口
*/
@RestController
@RequestMapping("/api/mapFunction")
public class MapFunctionController {
@Autowired
private RtsMapFunctionService rtsMapFunctionService;
@Autowired
private MapFunctionTemplateService mapFunctionTemplateService;
/**
* 创建地图功能
*/
@Role(RoleEnum.Admin)
@PostMapping("")
public void create(@RequestBody MapFunctionCreateVO createVO,
@RequestAttribute LoginUserInfoVO loginInfo) {
rtsMapFunctionService.create(createVO, loginInfo.getAccountVO().getId());
}
/**
* 生成地图功能
*/
@Role(RoleEnum.Admin)
@PostMapping("/{mapId}/generate")
public List<String> generate(@PathVariable long mapId,
@RequestBody @Validated MapFunctionGenerateParamVO paramVO,
@RequestAttribute LoginUserInfoVO loginInfo) {
return rtsMapFunctionService.generate(mapId, paramVO, loginInfo.getAccountVO().getId());
}
/**
* 列表查询地图功能
*/
@GetMapping("/list")
public List<MapFunctionVO> listQuery(MapFunctionQueryVO queryVO) {
return rtsMapFunctionService.listQuery(queryVO);
}
/**
* 分页查询地图功能
*/
@GetMapping("/paged")
public PageVO<MapFunctionVO> pagedQuery(MapFunctionQueryVO queryVO) {
return rtsMapFunctionService.pagedQuery(queryVO);
}
/**
* 删除地图功能
*/
@Role(RoleEnum.Admin)
@DeleteMapping("/{id}")
public void delete(@PathVariable long id) {
rtsMapFunctionService.delete(id);
}
/**
* 批量删除地图功能
*/
@Role(RoleEnum.Admin)
@DeleteMapping("/batch/{mapId}")
public void batchDelete(@PathVariable long mapId) {
rtsMapFunctionService.batchDelete(mapId);
}
/**
* 更新地图功能
*/
@Role(RoleEnum.Admin)
@PutMapping("/{id}")
public void update(@PathVariable long id, @RequestBody MapFunctionUpdateVO updateVO,
@RequestAttribute LoginUserInfoVO loginInfo) {
rtsMapFunctionService.update(id, updateVO, loginInfo.getAccountVO().getId());
}
/**
* 根据ID获取地图功能信息
*/
@GetMapping("/{id}")
public MapFunctionVO queryOne(@PathVariable Long id) {
return rtsMapFunctionService.get(id);
}
/**
* 更新分组
*
* @param groupMap k- group v-mapFunctionIds
*/
@PutMapping("/group")
public void updateGroup(@RequestBody Map<String, List<Long>> groupMap,
@RequestAttribute AccountVO user) {
rtsMapFunctionService.updateGroup(groupMap, user.getId());
}
/**
* 跨线路批量修改线路功能
*/
@PutMapping("/crossMap/batch")
public void batchModifyDesc(@RequestBody MapFunctionBatchModifyVO vo) {
rtsMapFunctionService.batchModify(vo);
}
/**
* 创建线路功能模板
*/
@PostMapping("/template")
public void create(@RequestBody MapFunctionTemplateCreateVO createVO,
@RequestAttribute AccountVO user) {
mapFunctionTemplateService.create(createVO, user.getId());
}
/**
* 列表查询线路功能模板
*/
@GetMapping("/template/list")
public List<MapFunctionTemplateVO> listQuery(MapFunctionTemplateQueryVO queryVO) {
return mapFunctionTemplateService.listQuery(queryVO);
}
/**
* 分页查询线路功能模板
*/
@GetMapping("/template/paged")
public PageVO<MapFunctionTemplateVO> pagedQuery(MapFunctionTemplateQueryVO queryVO) {
return mapFunctionTemplateService.pagedQuery(queryVO);
}
/**
* 更新线路功能模板
*/
@PutMapping("/template/{id}")
public MapFunctionTemplateVO update(@PathVariable long id,
@RequestBody MapFunctionTemplateCreateVO createVO,
@RequestAttribute AccountVO user) {
return mapFunctionTemplateService.update(id, createVO, user.getId());
}
/**
* 删除线路功能模板
*/
@DeleteMapping("/template/{id}")
public void deleteTemplate(@PathVariable long id) {
mapFunctionTemplateService.delete(id);
}
/**
* 根据模板生成地图功能
*
* @return 生成过程中的特殊情况日志
*/
@PostMapping("/generate/from/template")
public List<String> generateFromTemplate(@RequestBody MapFunctionGenerateVO vo,
@RequestAttribute AccountVO user) {
return rtsMapFunctionService.generateFromTemplate(vo, user.getId());
}
/**
* 根据地图原有的线路功能信息生成新的线路功能信息模板与当前数据名称匹配
*
* @param mapIds 地图ID列表
* @param user 登录用户信息
* @return 没有生成信息记录方便用户自定义操作
*/
@PostMapping("/generate/mapIds")
public List<String> generateFunByOldData(@RequestBody List<Long> mapIds,
@RequestAttribute AccountVO user) {
return rtsMapFunctionService.generateFunByOldData(mapIds, user);
}
}

View File

@ -0,0 +1,91 @@
package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.services.race.RaceApplicationService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.LoginUserInfoVO;
import club.joylink.rtss.vo.paper.PaperTrainAnswerDetail;
import club.joylink.rtss.vo.race.RaceApplication;
import club.joylink.rtss.vo.race.RaceTask;
import club.joylink.rtss.vo.race.RaceTaskFinishParamDTO;
import java.util.List;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 赛题训练接口
*/
@RestController
@RequestMapping("/api/race")
@AllArgsConstructor
public class RaceApplicationController {
private RaceApplicationService raceApplicationService;
/**
* 开始训练
* <p>
* 目前用用户id作为训练上下文的ID即用户同时进行一个训练
*
* @param paperId 赛题ID
* @return 训练的信息
*/
@PostMapping("/{paperId}/{moduleId}")
public RaceTask.RacePaperSingleModuleGroupTask start(@PathVariable long paperId,
@PathVariable int moduleId, @RequestAttribute AccountVO user) {
return raceApplicationService.start(paperId, moduleId, user.getId());
}
/**
* 加载场景
*
* @param simulationId 场景依托的仿真
* @param sceneId 场景的ID
*/
@PutMapping("/{simulationId}/load/{sceneId}")
public void loadScene(@PathVariable String simulationId, @PathVariable long sceneId,
@RequestAttribute LoginUserInfoVO loginInfo) {
raceApplicationService.loadScene(simulationId, sceneId, loginInfo);
}
/**
* 完成任务
*
* @param taskId 任务ID
* @param paramDTO 完成任务所需的参数主要就是需要前端做判定的操作/步骤
* @return
*/
@PutMapping("/{taskId}/finish")
public List<PaperTrainAnswerDetail> finishTask(@PathVariable long taskId,
@RequestBody RaceTaskFinishParamDTO paramDTO, @RequestAttribute AccountVO user) {
return raceApplicationService.finishTask(taskId, paramDTO, user);
}
/**
* 完成训练
*
* @return 评分结果
*/
@PutMapping("/finish")
public RaceApplication.RacePracticeResult finish(@RequestAttribute AccountVO user) {
return raceApplicationService.finish(user.getId());
}
// /**
// * 获取用户正在进行的竞赛信息
// * <p>
// * 目前想到的使用场景就是页面刷新后
// *
// * @return 竞赛信息
// */
// @GetMapping("")
// public Object getRaceInfo() {
// return null;
// }
}

View File

@ -0,0 +1,145 @@
package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
import club.joylink.rtss.services.paper.PagerQuestionService;
import club.joylink.rtss.services.race.RacePaperService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RacePaper.RacePaperCreateVO;
import club.joylink.rtss.vo.race.RacePaper.RacePaperDetailVO;
import club.joylink.rtss.vo.race.RacePaper.RacePaperMenuVO;
import club.joylink.rtss.vo.race.RacePaper.RacePaperModuleVO;
import club.joylink.rtss.vo.race.RacePaper.RacePaperVO;
import club.joylink.rtss.vo.race.RacePaperQueryVO;
import club.joylink.rtss.vo.race.RaceTask.RacePaperSingleModuleGroupTask;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 竞赛-试题管理
*/
@RestController
@RequestMapping("/api/exercise/race/paper")
public class RacePaperController {
@Autowired
private RacePaperService racePaperService;
@Autowired
private PagerQuestionService questionService;
@GetMapping("/questions")
public List<Long> queryQuestionFromPBank() {
return this.questionService.queryAllDefaultOrgPaperIds();
}
/**
* 创建试卷
*/
@PostMapping()
public void save(@RequestBody RacePaperCreateVO createVO, @RequestAttribute AccountVO user) {
racePaperService.create(createVO, user);
}
/**
* 更新试卷内容
*
* @param id
* @param updateVO
* @param user
*/
@PostMapping("/{id}")
public void update(@PathVariable("id") Long id, @RequestBody RacePaperCreateVO updateVO,
@RequestAttribute AccountVO user) {
this.racePaperService.update(id, updateVO, user);
}
/**
* 分页查询
*/
@GetMapping("/page")
public PageVO<RacePaperVO> pageQuery(RacePaperQueryVO queryVO) {
return racePaperService.pageQuery(queryVO);
}
/**
* 获取赛季试卷菜单
*
* @param queryVO
* @return
*/
@GetMapping("/menu")
public RacePaperMenuVO pageMenu(RacePaperQueryVO queryVO) {
return this.racePaperService.pageMenuQuery(queryVO);
}
/**
* 试卷配置
*
* @param id
* @param moduleVO
* @param user
*/
@PostMapping("/{id}/config")
public void configSeting(@PathVariable("id") Long id, @RequestBody RacePaperModuleVO moduleVO,
@RequestAttribute AccountVO user) {
this.racePaperService.configSeting(id, moduleVO, user);
}
/**
* 获取明细
*
* @param id
* @return
*/
@GetMapping("/{id}")
public RacePaperDetailVO detail(@PathVariable("id") Long id) {
return this.racePaperService.detail(id);
}
/**
* 拷贝功能
*
* @param id
* @param user
*/
@PutMapping("/{id}/copy")
public void copy(@PathVariable("id") Long id, @RequestAttribute AccountVO user) {
this.racePaperService.copy(id, user);
}
/**
* 删除
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable("id") Long id) {
BusinessExceptionAssertEnum.ARGUMENT_ILLEGAL.assertNotNull(id);
racePaperService.delete(id);
}
/**
* 获取试卷对应模块的模块任务树
*
* @param id
* @param moduleId
* @return
*/
@GetMapping("/{paperId}/module/{moduleId}/task")
public RacePaperSingleModuleGroupTask paperModuleTask(@PathVariable("paperId") Long id,
@PathVariable("moduleId") Integer moduleId) {
return this.racePaperService.singlePaperModuleTask(id, moduleId);
}
}

View File

@ -0,0 +1,85 @@
package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.services.race.RaceSceneService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceSceneListVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceScenePublishVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.RaceSceneVO;
import club.joylink.rtss.vo.race.RaceSceneOuterClass.SceneCustomCreateVO;
import club.joylink.rtss.vo.race.RaceSceneQueryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 竞赛-场景管理-发布的管理
*/
@RestController
@RequestMapping("/api/exercise/race/scene")
public class RaceSceneController {
@Autowired
private RaceSceneService sceneService;
@PostMapping("/custom/edit")
public void customSave(@RequestBody SceneCustomCreateVO vo, @RequestAttribute AccountVO user) {
this.sceneService.customSave(vo, user);
}
@PostMapping("/custom/{id}/edit")
public void customUpdate(@PathVariable("id") Long id, @RequestBody SceneCustomCreateVO vo, @RequestAttribute AccountVO user) {
this.sceneService.customUpdate(id, vo, user);
}
/**
* 草稿实训发布到场景
*
* @param vo
* @param user
*/
@PostMapping("/publish/training")
public void publishHere(@RequestBody RaceScenePublishVO vo, @RequestAttribute AccountVO user) {
this.sceneService.publishHere(vo, user);
}
/**
* 获取明细
*
* @param id
* @return
*/
@GetMapping("/{id}")
public RaceSceneVO detail(@PathVariable("id") Long id) {
return this.sceneService.detail(id);
}
/**
* 分页
*
* @param query
* @return
*/
@GetMapping("/page")
public PageVO<RaceSceneListVO> page(RaceSceneQueryVO query) {
return this.sceneService.page(query);
}
/**
* 删除
*
* @param id
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable("id") Long id) {
this.sceneService.delete(id);
}
}

View File

@ -0,0 +1,88 @@
package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.services.race.RaceScoreRuleService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceScoringRule.RaceScoringRuleListVO;
import club.joylink.rtss.vo.race.RaceScoringRule.RaceScoringRuleVO;
import club.joylink.rtss.vo.race.RaceScoringRule.Rule;
import club.joylink.rtss.vo.race.TaskRuleQueryVO;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 竞赛-评分
*/
@RestController
@RequestMapping("/api/exercise/race/score")
public class RaceScoreRuleController {
@Autowired
private RaceScoreRuleService scoreRuleService;
/**
* 1.创建基础信息
*
* @param nameMap
* @param user
*/
@PostMapping
public void saveBasic(@RequestBody Map<String, String> nameMap, @RequestAttribute AccountVO user) {
this.scoreRuleService.saveBasic(nameMap.get("name"), user);
}
/**
* 评分配置
*
* @param ruleId
* @param rule
* @param user
*/
@PostMapping("/edit/rule/{ruleId}")
public void editRule(@PathVariable("ruleId") Long ruleId, @RequestBody Rule rule, @RequestAttribute AccountVO user) {
this.scoreRuleService.editRule(ruleId, rule, user);
}
/**
* 明细
*
* @param id
* @return
*/
@GetMapping(value = "/{id}")
public RaceScoringRuleVO detail(@PathVariable("id") Long id) {
return this.scoreRuleService.detail(id);
}
/**
* 分页
*
* @param query
* @return
*/
@GetMapping("/page")
public PageVO<RaceScoringRuleListVO> page(TaskRuleQueryVO query) {
return this.scoreRuleService.page(query);
}
/**
* 删除
*
* @param id
*/
@DeleteMapping("{id}")
public void delete(@PathVariable("id") Long id) {
this.scoreRuleService.delete(id);
}
}

View File

@ -0,0 +1,102 @@
package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.services.race.RaceSeasonService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceSeasonOuterClass.RaceSeasonCreateVO;
import club.joylink.rtss.vo.race.RaceSeasonOuterClass.RaceSeasonVO;
import club.joylink.rtss.vo.race.RaceSeasonQueryVO;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 竞赛-赛季管理
*/
@RestController
@RequestMapping("/api/exercise/race/season")
public class RaceSeasonController {
@Autowired
private RaceSeasonService raceSeasonService;
/**
* 添加
*
* @param dto
* @param user
*/
@PostMapping
public void save(@RequestBody RaceSeasonCreateVO dto, @RequestAttribute AccountVO user) {
this.raceSeasonService.save(dto, user);
}
/**
* 修改
*
* @param id
* @param dto
* @param user
*/
@PostMapping("/{id}")
public void update(@PathVariable("id") Long id, @RequestBody RaceSeasonCreateVO dto, @RequestAttribute AccountVO user) {
this.raceSeasonService.update(id, dto, user);
}
/**
* 编辑html内容
*
* @param id
* @param user
*/
@PostMapping("/{id}/html")
public void updateHtmlContent(@PathVariable("id") Long id, @RequestBody Map<String, String> contentMap, @RequestAttribute AccountVO user) {
String content = contentMap.get("htmlContent");
this.raceSeasonService.updateHtmlContent(id, content, user);
}
/**
* 查找对应的html content
*
* @param id
* @return
*/
@GetMapping("/{id}/html")
public Map<String, String> queryHtmlContent(@PathVariable("id") Long id) {
String html = this.raceSeasonService.queryHtmlContent(id);
return Map.of("html", StringUtils.hasText(html) ? html : "");
}
/**
* 查找
*
* @param query
* @return
*/
@GetMapping(value = "/page")
public PageVO<RaceSeasonVO> page(RaceSeasonQueryVO query) {
return raceSeasonService.page(query);
}
/**
* 删除
*
* @param id
*/
//绑定过的数据不能删除没有绑定的可以删除物理删除
@DeleteMapping("/{id}")
public void delete(@PathVariable("id") Long id) {
this.raceSeasonService.delete(id);
}
}

View File

@ -0,0 +1,94 @@
package club.joylink.rtss.controller.racetr;
import club.joylink.rtss.services.race.RaceTaskService;
import club.joylink.rtss.vo.AccountVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskBind;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskCreateVO;
import club.joylink.rtss.vo.race.RaceTask.RaceTaskDetailVO;
import club.joylink.rtss.vo.race.RaceTaskTreeVO;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/api/exercise/race/task")
public class RaceTaskController {
@Autowired
private RaceTaskService taskService;
/**
* 创建任务并绑定对应的发布场景
*
* @param vo
* @param user
*/
@PostMapping
public void save(@RequestBody RaceTaskCreateVO vo, @RequestAttribute AccountVO user) {
this.taskService.save(vo, user);
}
@PostMapping("/{id}")
public void update(@PathVariable("id") Long id, @RequestBody RaceTaskCreateVO vo,
@RequestAttribute AccountVO user) {
this.taskService.update(id, vo, user);
}
@PostMapping("/{taskId}/bind")
public void bind(@PathVariable("taskId") Long taskId, @RequestBody List<RaceTaskBind> bind,
@RequestAttribute AccountVO user) {
this.taskService.bind(taskId, bind, user);
}
/**
* 返回任务数据以""的结构
*
* @return
*/
@GetMapping("/tree")
public List<RaceTaskTreeVO> tree() {
return this.taskService.tree();
}
/**
* 删除
*
* @param id
*/
@DeleteMapping("/{id}")
public void delete(@PathVariable("id") Long id) {
this.taskService.delete(id);
}
/**
* 获取一个节点下的所有数据
*
* @param id
* @return
*/
@GetMapping("/{id}/children")
public List<RaceTaskTreeVO> childList(@PathVariable("id") Long id) {
return this.taskService.findChildren(id);
}
/**
* 获取一个节点的明细
*
* @param id
* @return
*/
@GetMapping("/{id}")
public RaceTaskDetailVO detail(@PathVariable("id") Long id) {
return this.taskService.detail(id);
}
}

View File

@ -12,7 +12,7 @@ import javax.validation.constraints.NotBlank;
import java.util.List;
/**
* 驾驶操作接口
* 三维驾驶操作接口
*/
@RestController
@RequestMapping("/simulation/driving")
@ -25,7 +25,7 @@ public class DrivingOperationController {
private DrivingService drivingService;
/**
* 获取在运行的列车列表
* 获取在正线运行的列车列表
* @param group
* @return
*/

View File

@ -28,8 +28,8 @@ public class JointSimulationController {
*生成综合仿真分享二维码
*/
@GetMapping("/{group}/qrCode")
public String generateQrCode(@PathVariable String group) {
return this.groupSimulationService.generateQrCode(group);
public String generateQrCode(@PathVariable String group, @RequestAttribute(value = AuthenticateInterceptor.LOGIN_INFO_KEY)LoginUserInfoVO loginInfo) {
return this.groupSimulationService.generateQrCode(group, loginInfo);
}
/**

View File

@ -26,6 +26,9 @@ public class SchedulingSimulationController {
@Autowired
private SchedulingService schedulingService;
/**
* 获取当前派班计划
*/
@GetMapping(path = "/{group}/current")
public SchedulingPlanNewVO getCurrentSchedulingPlan(@PathVariable String group) {
return this.schedulingService.queryCurrentSchedulingPlan(group);

View File

@ -2,8 +2,10 @@ package club.joylink.rtss.controller.simulation;
import club.joylink.rtss.controller.advice.AuthenticateInterceptor;
import club.joylink.rtss.simulation.cbtc.conversation.CommunicationObject;
import club.joylink.rtss.simulation.cbtc.conversation.ConversationGroupHandlerService;
import club.joylink.rtss.simulation.cbtc.conversation.ConversationManagerService;
import club.joylink.rtss.simulation.cbtc.conversation.ConversationText;
import club.joylink.rtss.simulation.cbtc.data.vo.ConversationGroupVO;
import club.joylink.rtss.simulation.cbtc.data.vo.ConversationVO;
import club.joylink.rtss.vo.AccountVO;
import org.springframework.beans.factory.annotation.Autowired;
@ -22,6 +24,9 @@ public class SimulationConversationController {
@Autowired
private ConversationManagerService conversationManagerService;
@Autowired
private ConversationGroupHandlerService conversationGroupHandlerService;
/**
*根据会话id获取仿真会话
*/
@ -100,4 +105,14 @@ public class SimulationConversationController {
this.conversationManagerService.textChat(group, id, text, user);
}
/**
* 获取本仿真的用户群组信息
*
* @param group 仿真ID
* @return 用户群组
*/
@GetMapping("/group/list")
public List<ConversationGroupVO> groupList(@PathVariable String group, @RequestAttribute AccountVO user) {
return conversationGroupHandlerService.getAllConversationsGroup(group, user);
}
}

Some files were not shown because too many files have changed in this diff Show More