Compare commits

...

149 Commits

Author SHA1 Message Date
15683799673
046e9d925a 增加人员聚集,停车消费者
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m55s
2025-08-31 22:40:48 +08:00
15683799673
0d83a93a7b Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 13m46s
2025-08-31 19:11:33 +08:00
15683799673
d29c901352 添加人员聚集报警,非法停车报警 2025-08-31 19:11:26 +08:00
4890e9c8e3 refactor(property): 1 2025-08-31 14:12:45 +08:00
f9544ad4e1 feat(property): 优化水电气表树结构和状态获取功能
- 在 queryMeterInfoTree 方法中添加 isMeter 参数,用于控制是否返回仪表信息
- 修改 getMeterStatus 方法,增加 meterType 参数,用于指定水电气类型
- 优化 TbMeterInfoController 中的路由设计,使用 query 参数替代路径参数- 在获取仪表状态时增加异常处理,确保数据获取失败时能够返回所有数据并设置通信状态为 0
- 在 HttpUtil.post 方法中增加超时设置,提高请求稳定性
2025-08-31 12:44:04 +08:00
b1f0ce3d3c refactor(Property): 修改仪表信息获取和处理逻辑 2025-08-30 22:42:12 +08:00
28f44a1c5f feat(Property): 1 2025-08-30 21:14:04 +08:00
85a943a697 Merge remote-tracking branch 'origin/master' 2025-08-30 21:03:35 +08:00
10033dd646 feat(Property): 添加水/电/气表当前读数和状态获取功能 2025-08-30 21:03:26 +08:00
15683799673
fe8c5a76f3 Merge branch 'prod' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 13m13s
2025-08-30 06:36:57 +08:00
15683799673
3c6595e591 增加事件自动指派操作 2025-08-30 06:36:27 +08:00
97a3c106cb 修复自动排班bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m33s
2025-08-30 01:13:36 +08:00
14b8370f44 Merge pull request 'master' (#4) from master into prod
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 18m10s
Reviewed-on: #4
2025-08-29 23:30:39 +08:00
0b22169649 修改了自动派单bug 2025-08-29 21:22:59 +08:00
826684ed66 修改了自动派单排序 2025-08-29 20:43:58 +08:00
e2fbd251b3 修改了自动派单排序 2025-08-29 20:19:48 +08:00
2200ef4880 修改了自动派单排序 2025-08-29 20:16:10 +08:00
ff2bc3cf93 Merge pull request 'master' (#3) from master into prod
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 18m49s
Reviewed-on: #3
2025-08-29 18:47:06 +08:00
659f3089e4 修改了自动派单排序 2025-08-29 17:19:48 +08:00
ce0c4b201c 修改了自动派单排序 2025-08-29 16:50:21 +08:00
bad3ffdf4c 修改了保洁订单排序 2025-08-29 16:46:22 +08:00
0e0646f4b8 Merge remote-tracking branch 'origin/master' 2025-08-29 15:50:12 +08:00
fbc07ac629 refactor(property): 重构能源趋势接口
-分别返回今日和昨日、本月和上月、今年和去年的趋势数据
2025-08-29 15:50:00 +08:00
lxj
d8f5713a3d Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m54s
2025-08-29 11:30:16 +08:00
lxj
8afc12f3b6 修复设备添加无法调用sdk模块登录的问题 2025-08-29 11:30:00 +08:00
710379c1a4 Merge remote-tracking branch 'origin/master' 2025-08-29 09:15:34 +08:00
ac5cff7cc6 feat(sis): 1 2025-08-29 09:15:24 +08:00
15683799673
6d2741a8a5 增加事件类型判断
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 11m56s
2025-08-28 20:40:49 +08:00
15683799673
0233dad442 修改sis模块时区问题
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m9s
2025-08-28 20:16:35 +08:00
15683799673
feb16fc4b7 Merge branch 'prod' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m7s
# Conflicts:
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/config/RocketMQClusterConfig.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/consumer/MeterRecordConsumer.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/producer/ProducerService.java
2025-08-28 19:54:41 +08:00
c773aed9c7 Merge remote-tracking branch 'origin/master' 2025-08-28 19:52:22 +08:00
db29ef77fa refactor(sis): 1 2025-08-28 19:52:11 +08:00
15683799673
fecaa7921d 增加门禁可视化 设备绑定关系解绑操作 2025-08-28 19:51:06 +08:00
15683799673
92cb1fcd63 修复门禁可视化无法播放的问题 2025-08-28 19:48:04 +08:00
lsm
fbcc6ec713 更新 ruoyi-modules/Sis/src/main/java/org/dromara/sis/service/impl/ZeroSensationPassageServiceImpl.java
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m35s
放开黑名单上报
2025-08-28 19:34:20 +08:00
f3591e7ff1 Merge pull request 'master' (#2) from master into prod
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 17m15s
Reviewed-on: #2
2025-08-28 17:28:27 +08:00
lxj
6d25db8c59 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks 2025-08-28 16:08:42 +08:00
15683799673
57e9ac1079 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks 2025-08-28 16:06:29 +08:00
d6623bb9da Merge remote-tracking branch 'origin/master' 2025-08-28 15:28:38 +08:00
efeafd5e13 refactor(sis): 替换图片URL 2025-08-28 15:28:05 +08:00
130e3aeb04 修改了物业排序 2025-08-28 15:18:46 +08:00
cfff5df7d0 refactor(property): 优化能源趋势查询接口返回值类型 2025-08-28 15:05:01 +08:00
lxj
1b138ab299 视频流适配内外网播放
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m27s
2025-08-28 09:09:33 +08:00
lxj
b7e9dfa148 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
# Conflicts:
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/config/RocketMQClusterConfig.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/consumer/MeterRecordConsumer.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/producer/ProducerService.java
2025-08-28 04:16:35 +08:00
76c0aa74f1 feat(property): 添加用电/水/气趋势分析功能 2025-08-28 01:21:12 +08:00
15683799673
825e1ed183 Merge branch 'prod' of http://47.109.37.87:3000/by2025/SmartParks
# Conflicts:
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/config/RocketMQClusterConfig.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/consumer/MeterRecordConsumer.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/producer/ProducerService.java
2025-08-27 20:29:15 +08:00
lxj
c2f0b64e6f 修复比对失败没写入事件表的问题
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m7s
2025-08-27 19:42:33 +08:00
e61b56b05e feat(property): 添加自动抄表功能 2025-08-27 19:28:24 +08:00
eb1b2084b5 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/consumer/MeterRecordConsumer.java
2025-08-27 19:28:05 +08:00
4d76a4df45 feat(property): 添加自动抄表功能 2025-08-27 19:27:02 +08:00
lxj
0330b023a3 修复打包失败
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m38s
2025-08-27 19:18:46 +08:00
lxj
1eb95bf6f6 修复打包失败
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 12m8s
2025-08-27 18:37:12 +08:00
lxj
df9adf700c Merge branch 'prod' of http://47.109.37.87:3000/by2025/SmartParks
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Failing after 9m11s
2025-08-27 18:22:20 +08:00
368eea91e8 修改了水电抄表bug 2025-08-27 18:14:14 +08:00
lxj
19e259a15e 修复配置文件 2025-08-27 18:10:11 +08:00
816b90e9e1 修改了水电抄表bug 2025-08-27 18:07:27 +08:00
6133d7761d 修改了水电抄表bug 2025-08-27 18:03:49 +08:00
lxj
318da3f0ee Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
# Conflicts:
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/RocketMqConstants.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/consumer/FaceCaptureConsumer.java
#	ruoyi-modules/Sis/src/main/java/org/dromara/sis/rocketmq/consumer/FaceCompareConsumer.java
2025-08-27 18:01:31 +08:00
lxj
3c8eb59165 rocketmq消费者组修改 2025-08-27 17:59:56 +08:00
3c480d92f0 修改了水电抄表bug 2025-08-27 17:58:28 +08:00
78d97e14ee refactor(rocketmq): 1 2025-08-27 15:46:17 +08:00
c2c1818ba6 refactor(rocketmq): 1 2025-08-27 15:43:27 +08:00
3ebc58f5e3 refactor(rocketmq): 手动装配rocketMQ 2025-08-26 21:02:38 +08:00
07b9e8b722 Merge remote-tracking branch 'origin/master' 2025-08-26 20:33:13 +08:00
b20828a800 feat(rocketmq): 添加仪表记录消费者和生产者服务 2025-08-26 20:32:51 +08:00
9c0b0bad03 修改工单bug 2025-08-26 17:28:16 +08:00
c4495d2cf2 Merge pull request '修改了车辆收费bug' (#1) from master into prod
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 11m47s
Reviewed-on: #1
2025-08-26 13:57:40 +08:00
a16c333759 修改了车辆收费bug 2025-08-26 13:12:50 +08:00
6e84a1c646 发布
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 16m48s
2025-08-26 10:52:59 +08:00
a6b0277ff6 fix:绿植租赁方案删除 2025-08-26 10:26:47 +08:00
ef0976c621 Merge remote-tracking branch 'origin/master' 2025-08-26 09:50:12 +08:00
e949122b37 修改了车辆收费bug 2025-08-26 09:47:32 +08:00
638a98a4c6 Merge remote-tracking branch 'origin/master' 2025-08-25 18:35:32 +08:00
360f87ea0d 更新 .gitea/workflows/master.yml 2025-08-25 18:35:30 +08:00
555de9f5aa refactor(property): 1 2025-08-25 18:34:30 +08:00
da131cda5c 修改了物业一些bug
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Failing after 12m36s
2025-08-25 17:31:33 +08:00
c86f887d3e 更新 .gitea/workflows/master.yml
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 17m20s
2025-08-25 16:31:56 +08:00
2c127576a0 删除 .gitea/workflows/dev.yml
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Has been cancelled
2025-08-25 16:31:11 +08:00
15a0f3f884 更新 ruoyi-modules/Property/Dockerfile
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m25s
2025-08-24 17:51:22 +08:00
0d4754eef9 Merge remote-tracking branch 'origin/master'
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m51s
2025-08-24 16:58:14 +08:00
dad6666107 feat(ImageUtil): 添加图片压缩方向处理功能 2025-08-24 16:58:03 +08:00
dy
87b77b26d1 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m22s
2025-08-23 22:55:22 +08:00
dy
0584a44601 H5新增访客 2025-08-23 22:55:11 +08:00
15683799673
18bd1724c4 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m17s
2025-08-23 19:53:54 +08:00
15683799673
c8475f818d 修复告警详情图片获取不对的问题 2025-08-23 19:53:46 +08:00
d3a1d16b8f 修改了物业一些bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m25s
2025-08-23 19:17:29 +08:00
5ec2a67049 新增了单位接口
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m20s
2025-08-23 16:36:45 +08:00
9eeca6f32e 新增了单位接口
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m55s
2025-08-23 15:27:13 +08:00
8966b52cc5 修改了移动端新增工单
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 8m6s
2025-08-23 13:52:58 +08:00
b022d3a68c 修改了会议室等bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m15s
2025-08-22 20:52:39 +08:00
63e5abc003 修改了会议室等bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m17s
2025-08-22 20:41:13 +08:00
1d8b948a13 更新 .gitea/workflows/master.yml
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m21s
2025-08-22 20:27:29 +08:00
953a545ba6 更新 .gitea/workflows/master.yml 2025-08-22 20:26:28 +08:00
a8dc8d99df 更新 .gitea/workflows/dev.yml
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m22s
2025-08-22 20:13:25 +08:00
fb7e5c7e19 更新 .gitea/workflows/dev.yml
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Has been cancelled
2025-08-22 20:12:29 +08:00
1b5204e6ed 更新 .gitea/workflows/dev.yml
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Has been cancelled
2025-08-22 20:11:57 +08:00
8340f5cf6a 修改了会议室等bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m24s
2025-08-22 20:03:34 +08:00
lxj
9897bb8db7 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m25s
2025-08-22 18:14:28 +08:00
lxj
4a62ad17c3 修改详情逻辑 2025-08-22 18:14:17 +08:00
1e39769309 更新 ruoyi-modules/Sis/Dockerfile
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m20s
2025-08-22 17:55:44 +08:00
lxj
df9e3b77ff 删除hik sdk 和宇试文档
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Failing after 5m40s
2025-08-22 17:46:07 +08:00
lxj
42b5c78658 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Has been cancelled
2025-08-22 17:44:44 +08:00
lxj
49401d42ba 增加事件处理详情 2025-08-22 17:44:33 +08:00
1aa576a9ae 修改了权限bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m25s
2025-08-22 17:33:25 +08:00
dy
d0ccd668fa 修改前端不返回设备bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m30s
2025-08-22 16:29:37 +08:00
dy
3c144d00e5 前端不传集合时状态改不了的bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m19s
2025-08-22 14:48:31 +08:00
359a380937 修正nacos配置pom,添加默认配置
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m55s
2025-08-22 13:51:40 +08:00
a36667e599 修正nacos配置pom,添加默认配置
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Has been cancelled
2025-08-22 12:16:51 +08:00
1d8ad14ebc 修正nacos配置pom,添加默认配置
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m50s
2025-08-22 11:51:23 +08:00
lxj
73e47e5127 修改开放环境参数配置
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m46s
2025-08-22 10:22:27 +08:00
2e314b2901 feat(sis): 添加图片压缩工具类并优化访客照片上传逻辑
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 7m17s
2025-08-21 23:14:12 +08:00
2103be1de5 refactor(sis): 1
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m19s
2025-08-21 18:10:30 +08:00
2a143bb147 修改了工单bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m25s
2025-08-21 17:35:28 +08:00
37966e73c1 refactor(sis): 1
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m26s
2025-08-21 15:10:54 +08:00
f01d28b21e 修改了工单bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m21s
2025-08-21 14:27:30 +08:00
db9b1e1cd3 修改了工单bug
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m27s
2025-08-21 14:11:51 +08:00
dy
0385bef3f4 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m31s
2025-08-21 11:30:49 +08:00
dy
eba9e78695 反查 2025-08-21 11:30:38 +08:00
15683799673
be3992c1dc 增加人脸抓拍,人脸上报消费者
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m20s
2025-08-21 02:53:04 +08:00
dy
5c9672dc18 分包
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m17s
2025-08-20 23:51:53 +08:00
dy
5fb396575d Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m21s
2025-08-20 22:08:51 +08:00
dy
f23b02fe51 处理排班跨月且覆盖当月最后一天的情况,如排班从当月开始,下个月结束 2025-08-20 22:08:01 +08:00
lxj
63c95ecda8 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m22s
2025-08-20 17:58:25 +08:00
lxj
62d9a21627 海康设备对接单独拆分 2025-08-20 17:57:09 +08:00
5c7a76b855 修正nacos配置文件
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 7m4s
2025-08-20 14:52:02 +08:00
15683799673
d5d8b80f49 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m41s
2025-08-20 13:06:13 +08:00
15683799673
9e346ba882 屏蔽海康sdk 2025-08-20 13:06:06 +08:00
6e83b36987 sis部署
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m35s
2025-08-20 12:50:52 +08:00
2ec65fe29f Merge remote-tracking branch 'origin/master'
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m43s
2025-08-20 11:58:52 +08:00
d392021952 feat(property): 添加智能灯控功能 2025-08-20 11:58:37 +08:00
3a44280abe 新增热门活动自动更新状态
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m50s
2025-08-20 10:46:52 +08:00
a056feae53 Merge remote-tracking branch 'origin/master'
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m44s
2025-08-19 18:06:28 +08:00
eecf869640 feat(Property): 新增灯控开关信息相关功能 2025-08-19 18:05:58 +08:00
dy
f7d1f81940 1
Some checks failed
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Has been cancelled
2025-08-19 18:03:46 +08:00
dy
4f62b3bea3 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks 2025-08-19 17:38:34 +08:00
dy
9034f0ef7a 1 2025-08-19 17:38:24 +08:00
c1c3950b2d 新增热门活动
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m32s
2025-08-19 16:31:09 +08:00
0ee671fbcf 新增热门活动
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m35s
2025-08-19 14:36:13 +08:00
dy
7376a7a9be Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m35s
2025-08-19 09:57:31 +08:00
dy
e450c66385 排班的区域管理 2025-08-19 09:56:59 +08:00
dy
6397085fe9 排班的区域管理 2025-08-19 09:54:33 +08:00
6d3849fa64 修正访客上传图片
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m18s
2025-08-18 20:43:12 +08:00
dy
23cab413c2 Merge branch 'master' of http://47.109.37.87:3000/by2025/SmartParks 2025-08-18 20:21:24 +08:00
dy
c8179e164d 区域摄像头名称 2025-08-18 20:07:47 +08:00
38e75e6b6b 修正访客上传图片
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m15s
2025-08-18 19:46:03 +08:00
06ab323f21 修正访客上传图片
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m17s
2025-08-18 17:59:39 +08:00
50ddc1e954 新增常见问题功能
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m24s
2025-08-18 17:24:05 +08:00
187763e0e5 Merge remote-tracking branch 'origin/master'
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m22s
2025-08-18 16:54:27 +08:00
8849b1d889 feat(property): 访客登记同步 E8 平台门禁 2025-08-18 16:54:10 +08:00
422 changed files with 7934 additions and 14885 deletions

View File

@@ -1,205 +0,0 @@
run-name: ${{ gitea.actor }} 构建镜像并推送不含JAR依赖上传🚀
on:
push:
branches:
- main
jobs:
build-parent-pom:
runs-on: ubuntu
steps:
- name: 拉取代码仓库
uses: http://git.missmoc.top/mocheng/checkout@v4
- name: 配置环境变量(绝对路径)
run: |
export JAVA_HOME="/java17/java17"
export MAVEN_HOME="/maven/apache-maven-3.9.11"
if [ ! -f "$JAVA_HOME/bin/java" ]; then
echo "错误JDK可执行文件不存在于 $JAVA_HOME/bin/java"
exit 1
fi
if [ ! -f "$MAVEN_HOME/bin/mvn" ]; then
echo "错误Maven可执行文件不存在于 $MAVEN_HOME/bin/mvn"
exit 1
fi
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
echo "$JAVA_HOME/bin" >> $GITHUB_PATH
echo "MAVEN_HOME=$MAVEN_HOME" >> $GITHUB_ENV
echo "$MAVEN_HOME/bin" >> $GITHUB_PATH
"$JAVA_HOME/bin/java" -version
"$MAVEN_HOME/bin/mvn" -v
- name: 配置Maven仓库
run: |
mkdir -p ~/.m2
cat > ~/.m2/settings.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<localRepository>/root/.m2/repository</localRepository>
<profiles>
<profile>
<id>multi-repo</id>
<repositories>
<repository>
<id>local-repo</id>
<url>file:///root/.m2/repository</url>
</repository>
<repository>
<id>aliyun-public</id>
<url>https://maven.aliyun.com/repository/public</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>multi-repo</activeProfile>
</activeProfiles>
</settings>
EOF
- name: 构建主POM仅本地安装不上传
run: |
MAIN_POM_ABSOLUTE_PATH="${GITHUB_WORKSPACE}/pom.xml"
if [ ! -f "$MAIN_POM_ABSOLUTE_PATH" ]; then
echo "错误主POM文件不存在"
exit 1
fi
retries=3
count=0
until "$MAVEN_HOME/bin/mvn" clean install -U -DskipTests -f "$MAIN_POM_ABSOLUTE_PATH"; do
count=$((count + 1))
if [ $count -ge $retries ]; then
echo "错误主POM构建失败"
exit 1
fi
sleep 10
done
# build-common-modules:
# needs: build-parent-pom
# runs-on: ubuntu
# steps:
# - name: 拉取代码仓库
# uses: http://git.missmoc.top/mocheng/checkout@v4
# - name: 配置环境变量
# run: |
# export JAVA_HOME="/java17/java17"
# export MAVEN_HOME="/maven/apache-maven-3.9.11"
# echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
# echo "$JAVA_HOME/bin" >> $GITHUB_PATH
# echo "MAVEN_HOME=$MAVEN_HOME" >> $GITHUB_ENV
# echo "$MAVEN_HOME/bin" >> $GITHUB_PATH
# - name: 构建通用模块(仅本地使用,不上传)
# run: |
# COMMON_MODULES=(
# "ruoyi-common"
# "ruoyi-api"
# "ruoyi-common-bom"
# "ruoyi-common-alibaba-bom"
# "ruoyi-api-bom"
# )
# for module in "${COMMON_MODULES[@]}"; do
# MODULE_POM_ABSOLUTE_PATH="${GITHUB_WORKSPACE}/${module}/pom.xml"
# if [ ! -f "$MODULE_POM_ABSOLUTE_PATH" ]; then
# echo "警告:模块 $module 不存在,跳过"
# continue
# fi
# retries=3
# count=0
# until "$MAVEN_HOME/bin/mvn" clean compile install -U -DskipTests -f "$MODULE_POM_ABSOLUTE_PATH"; do
# count=$((count + 1))
# if [ $count -ge $retries ]; then
# echo "错误:模块 $module 构建失败"
# exit 1
# fi
# sleep 10
# done
# done
build-and-push-services:
needs: build-common-modules
runs-on: ubuntu
strategy:
matrix:
service:
- ruoyi-auth
- ruoyi-gateway
- ruoyi-modules/Property
- ruoyi-modules/ruoyi-gen
- ruoyi-modules/ruoyi-job
- ruoyi-modules/ruoyi-resource
- ruoyi-modules/ruoyi-system
- ruoyi-modules/ruoyi-workflow
- ruoyi-modules/Sis
- ruoyi-visual/ruoyi-monitor
- ruoyi-visual/ruoyi-nacos
- ruoyi-seata-server
- ruoyi-sentinel-dashboard
- ruoyi-snailjob-server
steps:
- name: 拉取代码仓库
uses: http://git.missmoc.top/mocheng/checkout@v4
- name: 配置环境变量
run: |
export JAVA_HOME="/java17/java17"
export MAVEN_HOME="/maven/apache-maven-3.9.11"
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
echo "$JAVA_HOME/bin" >> $GITHUB_PATH
echo "MAVEN_HOME=$MAVEN_HOME" >> $GITHUB_ENV
echo "$MAVEN_HOME/bin" >> $GITHUB_PATH
- name: 构建服务模块
run: |
SERVICE_NAME="${{ matrix.service }}"
SERVICE_POM_ABSOLUTE_PATH="${GITHUB_WORKSPACE}/${SERVICE_NAME}/pom.xml"
if [ ! -f "$SERVICE_POM_ABSOLUTE_PATH" ]; then
echo "错误:服务 $SERVICE_NAME 的POM文件不存在"
exit 1
fi
"$MAVEN_HOME/bin/mvn" clean package -U -DskipTests -f "$SERVICE_POM_ABSOLUTE_PATH"
- name: 配置Docker Buildx
uses: http://git.missmoc.top/mocheng/setup-buildx-action@v3
- name: 登录到容器仓库
uses: http://git.missmoc.top/mocheng/login-action@v3
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASS }}
- name: 确定Dockerfile路径
id: dockerfile-path
run: |
SERVICE_NAME="${{ matrix.service }}"
DOCKERFILE_ABSOLUTE_PATH="${GITHUB_WORKSPACE}/${SERVICE_NAME}/Dockerfile"
if [ -f "$DOCKERFILE_ABSOLUTE_PATH" ]; then
echo "dockerfile_path=$DOCKERFILE_ABSOLUTE_PATH" >> $GITHUB_OUTPUT
else
echo "dockerfile_path=${GITHUB_WORKSPACE}/Dockerfile" >> $GITHUB_OUTPUT
fi
- name: 构建并推送Docker镜像仅推送镜像不上传JAR
uses: http://git.missmoc.top/mocheng/build-push-action@v5
with:
context: "${{ github.workspace }}"
file: ${{ github.workspace }}/${{ matrix.service }}/Dockerfile
tags: 172.100.10.45:3000/by2025/smartparks/${{ matrix.service }}:latest
# tags: ${{ secrets.REGISTRY_URL }}/by2025/$(echo ${{ matrix.service }} | tr 'A-Z' 'a-z'):${{ github.sha }}
# tags: ${{ secrets.REGISTRY_URL }}/by2025/${{ matrix.service }}:2.0.4
push: true
cache-from: type=gha
cache-to: type=gha,mode=max

View File

@@ -3,7 +3,7 @@ name: Build and Push to Target Registry
# 监听master分支的推送事件
on:
push:
branches: [ master ]
branches: [ prod ]
jobs:
build-and-deploy:
@@ -87,3 +87,8 @@ jobs:
echo "===== 清理操作 ====="
docker system prune -f
echo "===== 所有操作完成 ===="
- name: 重启服务
run: |
kubectl rollout restart deployment sis -n smartparks
kubectl rollout restart deployment property -n smartparks

10
pom.xml
View File

@@ -91,12 +91,12 @@
<properties>
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>dev</profiles.active>
<nacos.server>10.20.1.60:8848</nacos.server>
<logstash.address>10.20.1.60:4560</logstash.address>
<nacos.server>113.249.101.254:8848</nacos.server>
<logstash.address>113.249.101.254:4560</logstash.address>
<nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
<nacos.config.group>DEFAULT_GROUP</nacos.config.group>
<nacos.username>nacos</nacos.username>
<nacos.password>nacos</nacos.password>
<nacos.password>by@2025??</nacos.password>
</properties>
</profile>
@@ -118,8 +118,8 @@
<id>prod</id>
<properties>
<profiles.active>prod</profiles.active>
<nacos.server>10.20.1.185:8848</nacos.server>
<logstash.address>10.20.1.185:4560</logstash.address>
<nacos.server>127.0.0.1:8848</nacos.server>
<logstash.address>127.0.0.1:4560</logstash.address>
<nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
<nacos.config.group>DEFAULT_GROUP</nacos.config.group>
<nacos.username>nacos</nacos.username>

View File

@@ -18,6 +18,15 @@ public interface RemoteAttendanceService {
* @param date 查询时间
* @return 返回排班人员信息
*/
public List<RemoteAttendanceUserGroupVo> queryAttendPersonInfo(Date date);
List<RemoteAttendanceUserGroupVo> queryAttendPersonInfo(Date date);
/**
* 根据时间和设备ip查询当前设备所处区域的排班人员信息
*
* @param date 查询时间
* @param deviceIp 设备ip
* @return 返回排班人员信息
*/
List<RemoteAttendanceUserGroupVo> queryAttendByCurrDateAndDeviceIp(Date date, String deviceIp);
}

View File

@@ -0,0 +1,5 @@
package org.dromara.property.api;
public interface RemoteVisitoreGetCodeInfoService {
String getCodeInfo(String code);
}

View File

@@ -49,5 +49,4 @@ public class RemoteAttendanceUserGroupVo implements Serializable {
*/
private LocalDate endDate;
}

View File

@@ -25,6 +25,7 @@ public interface RemoteUserService {
* @return 结果
*/
LoginUser getUserInfo(String username, String tenantId) throws UserException;
/**
* 通过用户id查询用户信息
*
@@ -196,6 +197,10 @@ public interface RemoteUserService {
*/
Map<Long, String> selectPostNamesByIds(List<Long> postIds);
Map<String ,Integer> seelectOrgcount();
Map<String, Integer> seelectOrgcount();
/**
* 查询用户列表
*/
List<RemoteUserVo> selectUserList(List<Long> userIds);
}

View File

@@ -25,6 +25,12 @@ public interface RemoteDeviceService {
*/
Boolean updateDeviceState(RemoteSisDeviceManage item);
/**
* 根据id查询的设备信息
*
*/
RemoteSisDeviceManage queryDeviceById(Long id);
/**
* 查询设备通道信息
*

View File

@@ -9,6 +9,7 @@ public interface RemoteHikSdkService {
/**
* 海康sdk 登录操作
*
* @param item 登录参数
* @return 是否登录成功
*/
@@ -16,6 +17,7 @@ public interface RemoteHikSdkService {
/**
* 获取nvr设备通道信息
*
* @param deviceIp 设备ip
* @return 返回通道信息
*/

View File

@@ -0,0 +1,19 @@
package org.dromara.sis.api;
import org.dromara.sis.api.domain.RemoteVisitor;
/**
* @author lsm
* @apiNote RemoteVisitorService
* @since 2025/8/18
*/
public interface RemoteVisitorService {
/**
* 访客信息写入E8平台
*
* @param visitor 访客信息
* @return 访客ID
*/
Long syncE8PlatVisitor(RemoteVisitor visitor);
}

View File

@@ -2,11 +2,17 @@ package org.dromara.sis.api.domain;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* 设备远程调用对象
*/
@Data
public class RemoteSisDeviceManage {
public class RemoteSisDeviceManage implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键id
@@ -63,8 +69,26 @@ public class RemoteSisDeviceManage {
*/
private Long groupId;
/**
* 租户编号
*/
private String tenantId;
/**
* 楼层id
*/
private Long floorId;
/**
* 是否支持人脸比对
*/
private Boolean isComparison;
/**
* 设备经度
*/
private Double lon;
/**
* 设备维度
*/
private Double lat;
}

View File

@@ -0,0 +1,48 @@
package org.dromara.sis.api.domain;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* @author lsm
* @apiNote RemoteVisitor
* @since 2025/8/18
*/
@Data
public class RemoteVisitor implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 访客名称
*/
private String visitorName;
/**
* 手机号码
*/
private String mobilePhone;
/**
* 被访人手机号
*/
private String intervieweeMobile;
/**
* 授权开始时间
*/
private String visitorStartTime;
/**
* 授权结束时间
*/
private String vistorEndTime;
/**
* 访客人脸照
*/
private String visitorFaceImg;
}

View File

@@ -11,7 +11,7 @@ RUN mkdir -p /ruoyi/Property/logs \
WORKDIR /ruoyi/Property
ENV SERVER_PORT=9201 LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS=""
ENV SERVER_PORT=9201 LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="-Duser.timezone=Asia/Shanghai"
EXPOSE ${SERVER_PORT}

View File

@@ -125,6 +125,11 @@
<artifactId>ruoyi-common-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId>
</dependency>
</dependencies>
<build>

View File

@@ -0,0 +1,107 @@
package org.dromara.property.controller;
import cn.dev33.satoken.annotation.SaCheckPermission;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.RequiredArgsConstructor;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
import org.dromara.common.log.annotation.Log;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.web.core.BaseController;
import org.dromara.property.domain.bo.AppFunListBo;
import org.dromara.property.domain.vo.AppFunListVo;
import org.dromara.property.service.IAppFunListService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* APP功能列表
* 前端访问路由地址为:/system/funList
*
* @author mocheng
* @date 2025-07-23
*/
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/funList")
public class AppFunListController extends BaseController {
private final IAppFunListService appFunListService;
/**
* 查询APP功能列表列表
*/
@SaCheckPermission("system:funList:list")
@GetMapping("/list")
public TableDataInfo<AppFunListVo> list(AppFunListBo bo, PageQuery pageQuery) {
return appFunListService.queryPageList(bo, pageQuery);
}
/**
* 导出APP功能列表列表
*/
@SaCheckPermission("system:funList:export")
@Log(title = "APP功能列表", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(AppFunListBo bo, HttpServletResponse response) {
List<AppFunListVo> list = appFunListService.queryList(bo);
ExcelUtil.exportExcel(list, "APP功能列表", AppFunListVo.class, response);
}
/**
* 获取APP功能列表详细信息
*
* @param id 主键
*/
@SaCheckPermission("system:funList:query")
@GetMapping("/{id}")
public R<AppFunListVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
return R.ok(appFunListService.queryById(id));
}
/**
* 新增APP功能列表
*/
@SaCheckPermission("system:funList:add")
@Log(title = "APP功能列表", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
public R<Void> add(@Validated(AddGroup.class) @RequestBody AppFunListBo bo) {
return toAjax(appFunListService.insertByBo(bo));
}
/**
* 修改APP功能列表
*/
@SaCheckPermission("system:funList:edit")
@Log(title = "APP功能列表", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody AppFunListBo bo) {
return toAjax(appFunListService.updateByBo(bo));
}
/**
* 删除APP功能列表
*
* @param ids 主键串
*/
@SaCheckPermission("system:funList:remove")
@Log(title = "APP功能列表", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable("ids") Long[] ids) {
return toAjax(appFunListService.deleteWithValidByIds(List.of(ids), true));
}
}

View File

@@ -62,7 +62,7 @@ public class ApplicationController extends BaseController {
*
* @param id 主键
*/
//@SaCheckPermission("property:application:query")
@SaCheckPermission("property:application:query")
@GetMapping("/{id}")
public R<ApplicationVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {

View File

@@ -24,7 +24,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 资产申请
* 前端访问路由地址为:/domain/application
* 前端访问路由地址为:/domain/procurementApplication
*
* @author mocheng
* @date 2025-07-25
@@ -40,7 +40,7 @@ public class CapitalApplicationController extends BaseController {
/**
* 查询资产申请列表
*/
// @SaCheckPermission("domain:application:list")
@SaCheckPermission("domain:procurementApplication:list")
@GetMapping("/list")
public TableDataInfo<CapitalApplicationVo> list(CapitalApplicationBo bo, PageQuery pageQuery) {
return capitalApplicationService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class CapitalApplicationController extends BaseController {
/**
* 导出资产申请列表
*/
@SaCheckPermission("domain:application:export")
@SaCheckPermission("domain:procurementApplication:export")
@Log(title = "资产申请", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(CapitalApplicationBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class CapitalApplicationController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("domain:application:query")
@SaCheckPermission("domain:procurementApplication:query")
@GetMapping("/{id}")
public R<CapitalApplicationVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class CapitalApplicationController extends BaseController {
/**
* 新增资产申请
*/
// @SaCheckPermission("domain:application:add")
// @SaCheckPermission("domain:procurementApplication:add")
@Log(title = "资产申请", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class CapitalApplicationController extends BaseController {
/**
* 修改资产申请
*/
@SaCheckPermission("domain:application:edit")
@SaCheckPermission("domain:procurementApplication:edit")
@Log(title = "资产申请", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class CapitalApplicationController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("domain:application:remove")
@SaCheckPermission("domain:procurementApplication:remove")
@Log(title = "资产申请", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class CostItemsController extends BaseController {
/**
* 查询费用项设置列表
*/
@SaCheckPermission("property:costItems:list")
@SaCheckPermission("property:costItemSetting:list")
@GetMapping("/list")
public TableDataInfo<CostItemsVo> list(CostItemsBo bo, PageQuery pageQuery) {
return costItemsService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class CostItemsController extends BaseController {
/**
* 导出费用项设置列表
*/
@SaCheckPermission("property:costItems:export")
@SaCheckPermission("property:costItemSetting:export")
@Log(title = "费用项设置", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(CostItemsBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class CostItemsController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("property:costItems:query")
@SaCheckPermission("property:costItemSetting:query")
@GetMapping("/{id}")
public R<CostItemsVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class CostItemsController extends BaseController {
/**
* 新增费用项设置
*/
@SaCheckPermission("property:costItems:add")
@SaCheckPermission("property:costItemSetting:add")
@Log(title = "费用项设置", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class CostItemsController extends BaseController {
/**
* 修改费用项设置
*/
@SaCheckPermission("property:costItems:edit")
@SaCheckPermission("property:costItemSetting:edit")
@Log(title = "费用项设置", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class CostItemsController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("property:costItems:remove")
@SaCheckPermission("property:costItemSetting:remove")
@Log(title = "费用项设置", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class CostMeterWaterController extends BaseController {
/**
* 查询费用-水电抄列表
*/
@SaCheckPermission("system:meterWater:list")
@SaCheckPermission("property:costMeterWater:list")
@GetMapping("/list")
public TableDataInfo<CostMeterWaterVo> list(CostMeterWaterBo bo, PageQuery pageQuery) {
return costMeterWaterService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class CostMeterWaterController extends BaseController {
/**
* 导出费用-水电抄列表
*/
@SaCheckPermission("system:meterWater:export")
@SaCheckPermission("property:costMeterWater:export")
@Log(title = "费用-水电抄", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(CostMeterWaterBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class CostMeterWaterController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:meterWater:query")
@SaCheckPermission("property:costMeterWater:query")
@GetMapping("/{id}")
public R<CostMeterWaterVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -82,7 +82,7 @@ public class CostMeterWaterController extends BaseController {
/**
* 新增费用-水电抄
*/
@SaCheckPermission("system:meterWater:add")
@SaCheckPermission("property:costMeterWater:add")
@Log(title = "费用-水电抄", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -93,7 +93,7 @@ public class CostMeterWaterController extends BaseController {
/**
* 修改费用-水电抄
*/
@SaCheckPermission("system:meterWater:edit")
@SaCheckPermission("property:costMeterWater:edit")
@Log(title = "费用-水电抄", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -106,7 +106,7 @@ public class CostMeterWaterController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:meterWater:remove")
@SaCheckPermission("property:costMeterWater:remove")
@Log(title = "费用-水电抄", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class CostPayFeeAuditController extends BaseController {
/**
* 查询费用-缴费审核列表
*/
// @SaCheckPermission("system:payFeeAudit:list")
@SaCheckPermission("property:payFeeAudit:list")
@GetMapping("/list")
public TableDataInfo<CostPayFeeAuditVo> list(CostPayFeeAuditBo bo, PageQuery pageQuery) {
return costPayFeeAuditService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class CostPayFeeAuditController extends BaseController {
/**
* 导出费用-缴费审核列表
*/
@SaCheckPermission("system:payFeeAudit:export")
@SaCheckPermission("property:payFeeAudit:export")
@Log(title = "费用-缴费审核", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(CostPayFeeAuditBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class CostPayFeeAuditController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:payFeeAudit:query")
@SaCheckPermission("property:payFeeAudit:query")
@GetMapping("/{id}")
public R<CostPayFeeAuditVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class CostPayFeeAuditController extends BaseController {
/**
* 新增费用-缴费审核
*/
@SaCheckPermission("system:payFeeAudit:add")
@SaCheckPermission("property:payFeeAudit:add")
@Log(title = "费用-缴费审核", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class CostPayFeeAuditController extends BaseController {
/**
* 修改费用-缴费审核
*/
@SaCheckPermission("system:payFeeAudit:edit")
@SaCheckPermission("property:payFeeAudit:edit")
@Log(title = "费用-缴费审核", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class CostPayFeeAuditController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:payFeeAudit:remove")
@SaCheckPermission("property:payFeeAudit:remove")
@Log(title = "费用-缴费审核", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -24,7 +24,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 费用-抄类型
* 前端访问路由地址为:/system/returnPayFee
* 前端访问路由地址为:/property/returnPayFee
*
* @author mocheng
* @date 2025-07-17
@@ -40,7 +40,7 @@ public class CostReturnPayFeeController extends BaseController {
/**
* 查询费用-抄类型列表
*/
//@SaCheckPermission("system:returnPayFee:list")
@SaCheckPermission("property:returnPayFee:list")
@GetMapping("/list")
public TableDataInfo<CostReturnPayFeeVo> list(CostReturnPayFeeBo bo, PageQuery pageQuery) {
return costReturnPayFeeService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class CostReturnPayFeeController extends BaseController {
/**
* 导出费用-抄类型列表
*/
@SaCheckPermission("system:returnPayFee:export")
@SaCheckPermission("property:returnPayFee:export")
@Log(title = "费用-抄类型", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(CostReturnPayFeeBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class CostReturnPayFeeController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:returnPayFee:query")
@SaCheckPermission("property:returnPayFee:query")
@GetMapping("/{id}")
public R<CostReturnPayFeeVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class CostReturnPayFeeController extends BaseController {
/**
* 新增费用-抄类型
*/
@SaCheckPermission("system:returnPayFee:add")
@SaCheckPermission("property:returnPayFee:add")
@Log(title = "费用-抄类型", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class CostReturnPayFeeController extends BaseController {
/**
* 修改费用-抄类型
*/
@SaCheckPermission("system:returnPayFee:edit")
@SaCheckPermission("property:returnPayFee:edit")
@Log(title = "费用-抄类型", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class CostReturnPayFeeController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:returnPayFee:remove")
@SaCheckPermission("property:returnPayFee:remove")
@Log(title = "费用-抄类型", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class CustomerFeedbacksController extends BaseController {
/**
* 查询客户服务-意见反馈列表
*/
@SaCheckPermission("system:feedbacks:list")
// @SaCheckPermission("system:feedbacks:list")
@GetMapping("/list")
public TableDataInfo<CustomerFeedbacksVo> list(CustomerFeedbacksBo bo, PageQuery pageQuery) {
return customerFeedbacksService.queryPageList(bo, pageQuery);
@@ -62,7 +62,9 @@ public class CustomerFeedbacksController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:feedbacks:query")
//
//
// @SaCheckPermission("system:feedbacks:query")
@GetMapping("/{id}")
public R<CustomerFeedbacksVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {

View File

@@ -33,4 +33,15 @@ public class EnumFetcherController {
List<Map<Object, Object>> map = enumFetcherService.getEnumValues(name);
return R.ok(map);
}
/**
* 根据工单类型或部门下的排班人员
* @param type
* @return
*/
@GetMapping("/enum-getShiftScheduler/{type}")
public R<List<Map<Object, Object>>> getShiftScheduler(@PathVariable("type") String type) {
List<Map<Object, Object>> map = enumFetcherService.getShiftScheduler(type);
return R.ok(map);
}
}

View File

@@ -0,0 +1,106 @@
package org.dromara.property.controller;
import java.util.List;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.*;
import cn.dev33.satoken.annotation.SaCheckPermission;
import org.springframework.web.bind.annotation.*;
import org.springframework.validation.annotation.Validated;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
import org.dromara.common.log.annotation.Log;
import org.dromara.common.web.core.BaseController;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.FaqManagementVo;
import org.dromara.property.domain.bo.FaqManagementBo;
import org.dromara.property.service.IFaqManagementService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 常见问题管理
* 前端访问路由地址为:/property/faqManagement
*
* @author LionLi
* @date 2025-08-18
*/
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/faqManagement")
public class FaqManagementController extends BaseController {
private final IFaqManagementService faqManagementService;
/**
* 查询常见问题管理列表
*/
@SaCheckPermission("property:faqManagement:list")
@GetMapping("/list")
public TableDataInfo<FaqManagementVo> list(FaqManagementBo bo, PageQuery pageQuery) {
return faqManagementService.queryPageList(bo, pageQuery);
}
/**
* 导出常见问题管理列表
*/
@SaCheckPermission("property:faqManagement:export")
@Log(title = "常见问题管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(FaqManagementBo bo, HttpServletResponse response) {
List<FaqManagementVo> list = faqManagementService.queryList(bo);
ExcelUtil.exportExcel(list, "常见问题管理", FaqManagementVo.class, response);
}
/**
* 获取常见问题管理详细信息
*
* @param id 主键
*/
@SaCheckPermission("property:faqManagement:query")
@GetMapping("/{id}")
public R<FaqManagementVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
return R.ok(faqManagementService.queryById(id));
}
/**
* 新增常见问题管理
*/
@SaCheckPermission("property:faqManagement:add")
@Log(title = "常见问题管理", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
public R<Void> add(@Validated(AddGroup.class) @RequestBody FaqManagementBo bo) {
return toAjax(faqManagementService.insertByBo(bo));
}
/**
* 修改常见问题管理
*/
@SaCheckPermission("property:faqManagement:edit")
@Log(title = "常见问题管理", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody FaqManagementBo bo) {
return toAjax(faqManagementService.updateByBo(bo));
}
/**
* 删除常见问题管理
*
* @param ids 主键串
*/
@SaCheckPermission("property:faqManagement:remove")
@Log(title = "常见问题管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable("ids") Long[] ids) {
return toAjax(faqManagementService.deleteWithValidByIds(List.of(ids), true));
}
}

View File

@@ -40,7 +40,7 @@ public class InspectionItemController extends BaseController {
/**
* 查询巡检项目列表
*/
@SaCheckPermission("system:item:list")
@SaCheckPermission("property:inspectionItem:list")
@GetMapping("/list")
public TableDataInfo<InspectionItemVo> list(InspectionItemBo bo, PageQuery pageQuery) {
return inspectionItemService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class InspectionItemController extends BaseController {
/**
* 导出巡检项目列表
*/
@SaCheckPermission("system:item:export")
@SaCheckPermission("property:inspectionItem:export")
@Log(title = "巡检项目", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(InspectionItemBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class InspectionItemController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:item:query")
@SaCheckPermission("property:inspectionItem:query")
@GetMapping("/{id}")
public R<InspectionItemVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class InspectionItemController extends BaseController {
/**
* 新增巡检项目
*/
@SaCheckPermission("system:item:add")
@SaCheckPermission("property:inspectionItem:add")
@Log(title = "巡检项目", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class InspectionItemController extends BaseController {
/**
* 修改巡检项目
*/
@SaCheckPermission("system:item:edit")
@SaCheckPermission("property:inspectionItem:edit")
@Log(title = "巡检项目", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class InspectionItemController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:item:remove")
@SaCheckPermission("property:inspectionItem:remove")
@Log(title = "巡检项目", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class InspectionPointController extends BaseController {
/**
* 查询巡检点列表
*/
@SaCheckPermission("system:point:list")
@SaCheckPermission("property:inspectionPoint:list")
@GetMapping("/list")
public TableDataInfo<InspectionPointVo> list(InspectionPointBo bo, PageQuery pageQuery) {
return inspectionPointService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class InspectionPointController extends BaseController {
/**
* 导出巡检点列表
*/
@SaCheckPermission("system:point:export")
@SaCheckPermission("property:inspectionPoint:export")
@Log(title = "巡检点", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(InspectionPointBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class InspectionPointController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:point:query")
@SaCheckPermission("property:inspectionPoint:query")
@GetMapping("/{id}")
public R<InspectionPointVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class InspectionPointController extends BaseController {
/**
* 新增巡检点
*/
@SaCheckPermission("system:point:add")
@SaCheckPermission("property:inspectionPoint:add")
@Log(title = "巡检点", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class InspectionPointController extends BaseController {
/**
* 修改巡检点
*/
@SaCheckPermission("system:point:edit")
@SaCheckPermission("property:inspectionPoint:edit")
@Log(title = "巡检点", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class InspectionPointController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:point:remove")
@SaCheckPermission("property:inspectionPoint:remove")
@Log(title = "巡检点", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class InspectionRouteController extends BaseController {
/**
* 查询巡检路线列表
*/
//@SaCheckPermission("system:route:list")
@SaCheckPermission("property:inspectionRoute:list")
@GetMapping("/list")
public TableDataInfo<InspectionRouteVo> list(InspectionRouteBo bo, PageQuery pageQuery) {
return inspectionRouteService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class InspectionRouteController extends BaseController {
/**
* 导出巡检路线列表
*/
@SaCheckPermission("system:route:export")
@SaCheckPermission("property:inspectionRoute:export")
@Log(title = "巡检路线", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(InspectionRouteBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class InspectionRouteController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:route:query")
@SaCheckPermission("property:inspectionRoute:query")
@GetMapping("/{id}")
public R<InspectionRouteVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class InspectionRouteController extends BaseController {
/**
* 新增巡检路线
*/
@SaCheckPermission("system:route:add")
@SaCheckPermission("property:inspectionRoute:add")
@Log(title = "巡检路线", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class InspectionRouteController extends BaseController {
/**
* 修改巡检路线
*/
@SaCheckPermission("system:route:edit")
@SaCheckPermission("property:inspectionRoute:edit")
@Log(title = "巡检路线", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class InspectionRouteController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:route:remove")
@SaCheckPermission("property:inspectionRoute:remove")
@Log(title = "巡检路线", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class MachineMaintainPlanController extends BaseController {
/**
* 查询设备保养计划列表
*/
@SaCheckPermission("system:maintainPlan:list")
@SaCheckPermission("property:maintainPlan:list")
@GetMapping("/list")
public TableDataInfo<MachineMaintainPlanVo> list(MachineMaintainPlanBo bo, PageQuery pageQuery) {
return machineMaintainPlanService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class MachineMaintainPlanController extends BaseController {
/**
* 导出设备保养计划列表
*/
@SaCheckPermission("system:maintainPlan:export")
@SaCheckPermission("property:maintainPlan:export")
@Log(title = "设备保养计划", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(MachineMaintainPlanBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class MachineMaintainPlanController extends BaseController {
*
* @param id 主键
*/
//@SaCheckPermission("system:maintainPlan:query")
@SaCheckPermission("property:maintainPlan:query")
@GetMapping("/{id}")
public R<MachineMaintainPlanVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class MachineMaintainPlanController extends BaseController {
/**
* 新增设备保养计划
*/
@SaCheckPermission("system:maintainPlan:add")
@SaCheckPermission("property:maintainPlan:add")
@Log(title = "设备保养计划", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class MachineMaintainPlanController extends BaseController {
/**
* 修改设备保养计划
*/
@SaCheckPermission("system:maintainPlan:edit")
@SaCheckPermission("property:maintainPlan:edit")
@Log(title = "设备保养计划", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class MachineMaintainPlanController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:maintainPlan:remove")
@SaCheckPermission("property:maintainPlan:remove")
@Log(title = "设备保养计划", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -24,7 +24,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 设备保养任务明细
* 前端访问路由地址为:/domain/maintainTaskDetail
* 前端访问路由地址为:/property/maintainTaskDetail
*
* @author mocheng
* @date 2025-07-16
@@ -40,7 +40,7 @@ public class MachineMaintainTaskDetailController extends BaseController {
/**
* 查询设备保养任务明细列表
*/
@SaCheckPermission("domain:maintainTaskDetail:list")
@SaCheckPermission("property:maintainTaskDetail:list")
@GetMapping("/list")
public TableDataInfo<MachineMaintainTaskDetailVo> list(MachineMaintainTaskDetailBo bo, PageQuery pageQuery) {
return machineMaintainTaskDetailService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class MachineMaintainTaskDetailController extends BaseController {
/**
* 导出设备保养任务明细列表
*/
@SaCheckPermission("domain:maintainTaskDetail:export")
@SaCheckPermission("property:maintainTaskDetail:export")
@Log(title = "设备保养任务明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(MachineMaintainTaskDetailBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class MachineMaintainTaskDetailController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("domain:maintainTaskDetail:query")
@SaCheckPermission("property:maintainTaskDetail:query")
@GetMapping("/{id}")
public R<MachineMaintainTaskDetailVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class MachineMaintainTaskDetailController extends BaseController {
/**
* 新增设备保养任务明细
*/
@SaCheckPermission("domain:maintainTaskDetail:add")
@SaCheckPermission("property:maintainTaskDetail:add")
@Log(title = "设备保养任务明细", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class MachineMaintainTaskDetailController extends BaseController {
/**
* 修改设备保养任务明细
*/
@SaCheckPermission("domain:maintainTaskDetail:edit")
@SaCheckPermission("property:maintainTaskDetail:edit")
@Log(title = "设备保养任务明细", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class MachineMaintainTaskDetailController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("domain:maintainTaskDetail:remove")
@SaCheckPermission("property:maintainTaskDetail:remove")
@Log(title = "设备保养任务明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -40,7 +40,7 @@ public class MeetAttachController extends BaseController {
/**
* 查询分页会议室增值服务列表
*/
// @SaCheckPermission("property:attach:list")
@SaCheckPermission("property:conferenceAddServices:list")
@GetMapping("/list")
public TableDataInfo<MeetAttachVo> pageList(MeetAttachBo bo, PageQuery pageQuery) {
return meetAttachService.queryPageList(bo, pageQuery);
@@ -57,7 +57,7 @@ public class MeetAttachController extends BaseController {
*
* @param id 主键
*/
//@SaCheckPermission("property:attach:query")
@SaCheckPermission("property:conferenceAddServices:query")
@GetMapping("/{id}")
public R<MeetAttachVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -67,7 +67,7 @@ public class MeetAttachController extends BaseController {
/**
* 新增会议室增值服务
*/
@SaCheckPermission("property:attach:add")
@SaCheckPermission("property:conferenceAddServices:add")
@Log(title = "会议室增值服务", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -78,7 +78,7 @@ public class MeetAttachController extends BaseController {
/**
* 修改会议室增值服务
*/
// @SaCheckPermission("property:attach:edit")
@SaCheckPermission("property:conferenceAddServices:edit")
@Log(title = "会议室增值服务", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -91,7 +91,7 @@ public class MeetAttachController extends BaseController {
*
* @param ids 主键串
*/
// @SaCheckPermission("property:attach:remove")
@SaCheckPermission("property:conferenceAddServices:remove")
@Log(title = "会议室增值服务", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -1,5 +1,6 @@
package org.dromara.property.controller;
import cn.dev33.satoken.annotation.SaCheckPermission;
import jakarta.validation.constraints.NotNull;
import lombok.RequiredArgsConstructor;
import org.dromara.common.core.domain.R;
@@ -40,7 +41,7 @@ public class MeetBookingController extends BaseController {
/**
* 查询会议预约记录列表
*/
//@SaCheckPermission("property:meetbooking:list")
@SaCheckPermission("property:meetbooking:list")
@GetMapping("/list")
public TableDataInfo<MeetBookingVo> list(MeetBookingBo bo, PageQuery pageQuery) {
return meetBookingService.queryPageList(bo, pageQuery);
@@ -64,7 +65,7 @@ public class MeetBookingController extends BaseController {
*
* @param id 主键
*/
//@SaCheckPermission("property:meetbooking:query")
@SaCheckPermission("property:meetbooking:query")
@GetMapping("/{id}")
public R<MeetBookingDetailVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -74,7 +75,7 @@ public class MeetBookingController extends BaseController {
/**
* 新增会议预约
*/
//@SaCheckPermission("property:meetbooking:add")
@SaCheckPermission("property:meetbooking:add")
@Log(title = "会议预约", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -85,7 +86,7 @@ public class MeetBookingController extends BaseController {
/**
* 修改会议预约
*/
// @SaCheckPermission("property:meetbooking:edit")
@SaCheckPermission("property:meetbooking:edit")
@Log(title = "会议预约", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()

View File

@@ -43,7 +43,7 @@ public class MeetController extends BaseController {
/**
* 查询会议室管理列表
*/
// @SaCheckPermission("property:meet:list")
@SaCheckPermission("property:meet:list")
@Operation
@GetMapping("/list")
public TableDataInfo<MeetVo> list(MeetBo bo, PageQuery pageQuery) {
@@ -66,7 +66,7 @@ public class MeetController extends BaseController {
*
* @param id 主键
*/
//@SaCheckPermission("property:meet:query")
@SaCheckPermission("property:meet:query")
@Operation
@GetMapping("/{id}")
public R<MeetVo> getInfo(@NotNull(message = "主键不能为空") @PathVariable("id") Long id) {

View File

@@ -0,0 +1,106 @@
package org.dromara.property.controller;
import java.util.List;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.*;
import cn.dev33.satoken.annotation.SaCheckPermission;
import org.springframework.web.bind.annotation.*;
import org.springframework.validation.annotation.Validated;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
import org.dromara.common.log.annotation.Log;
import org.dromara.common.web.core.BaseController;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.PopularActivitiesVo;
import org.dromara.property.domain.bo.PopularActivitiesBo;
import org.dromara.property.service.IPopularActivitiesService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 热门活动
* 前端访问路由地址为:/property/activities
*
* @author LionLi
* @date 2025-08-19
*/
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/activities")
public class PopularActivitiesController extends BaseController {
private final IPopularActivitiesService popularActivitiesService;
/**
* 查询热门活动列表
*/
// @SaCheckPermission("property:activities:list")
@GetMapping("/list")
public TableDataInfo<PopularActivitiesVo> list(PopularActivitiesBo bo, PageQuery pageQuery) {
return popularActivitiesService.queryPageList(bo, pageQuery);
}
/**
* 导出热门活动列表
*/
@SaCheckPermission("property:activities:export")
@Log(title = "热门活动", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(PopularActivitiesBo bo, HttpServletResponse response) {
List<PopularActivitiesVo> list = popularActivitiesService.queryList(bo);
ExcelUtil.exportExcel(list, "热门活动", PopularActivitiesVo.class, response);
}
/**
* 获取热门活动详细信息
*
* @param id 主键
*/
@SaCheckPermission("property:activities:query")
@GetMapping("/{id}")
public R<PopularActivitiesVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
return R.ok(popularActivitiesService.queryById(id));
}
/**
* 新增热门活动
*/
@SaCheckPermission("property:activities:add")
@Log(title = "热门活动", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
public R<Void> add(@Validated(AddGroup.class) @RequestBody PopularActivitiesBo bo) {
return toAjax(popularActivitiesService.insertByBo(bo));
}
/**
* 修改热门活动
*/
@SaCheckPermission("property:activities:edit")
@Log(title = "热门活动", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody PopularActivitiesBo bo) {
return toAjax(popularActivitiesService.updateByBo(bo));
}
/**
* 删除热门活动
*
* @param ids 主键串
*/
@SaCheckPermission("property:activities:remove")
@Log(title = "热门活动", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable("ids") Long[] ids) {
return toAjax(popularActivitiesService.deleteWithValidByIds(List.of(ids), true));
}
}

View File

@@ -26,7 +26,7 @@ import java.util.List;
/**
* 【业务管理-工单处理】
* 前端访问路由地址为:/system/workOrders
* 前端访问路由地址为:/property/workOrders
*
* @author mocheng
* @date 2025-07-07
@@ -42,7 +42,7 @@ public class ServiceWorkOrdersController extends BaseController {
/**
* 查询【工单处理】列表
*/
//@SaCheckPermission("system:workOrders:list")
@SaCheckPermission("property:workOrders:list")
@GetMapping("/list")
public TableDataInfo<ServiceWorkOrdersVo> list(ServiceWorkOrdersBo bo, PageQuery pageQuery) {
return serviceWorkOrdersService.queryPageList(bo, pageQuery);
@@ -51,7 +51,7 @@ public class ServiceWorkOrdersController extends BaseController {
/**
* 导出【工单处理】列表
*/
// @SaCheckPermission("system:workOrders:export")
@SaCheckPermission("property:workOrders:export")
@Log(title = "【工单处理】", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(ServiceWorkOrdersBo bo, HttpServletResponse response) {
@@ -64,7 +64,7 @@ public class ServiceWorkOrdersController extends BaseController {
*
* @param id 主键
*/
// @SaCheckPermission("system:workOrders:query")
@SaCheckPermission("property:workOrders:query")
@GetMapping("/{id}")
public R<ServiceWorkOrdersInfoVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -74,7 +74,7 @@ public class ServiceWorkOrdersController extends BaseController {
/**
* 新增【工单处理】
*/
// @SaCheckPermission("system:workOrders:add")
@SaCheckPermission("property:workOrders:add")
@Log(title = "【工单处理】", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -85,20 +85,40 @@ public class ServiceWorkOrdersController extends BaseController {
/**
* 修改【工单处理】
*/
//@SaCheckPermission("system:workOrders:edit")
@SaCheckPermission("property:workOrders:edit")
@Log(title = "【工单处理】", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody ServiceWorkOrdersBo bo) {
return toAjax(serviceWorkOrdersService.updateByBo(bo));
}
/**
* 派单【工单处理】
*/
@SaCheckPermission("property:workOrders:dispatch")
@Log(title = "【工单处理】", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping("/dispatch")
public R<Void> dispatch(@Validated(EditGroup.class) @RequestBody ServiceWorkOrdersBo bo) {
return toAjax(serviceWorkOrdersService.updateByBo(bo));
}
/**
* 抢单【工单处理】
*/
@SaCheckPermission("property:workOrders:grab")
@Log(title = "【工单处理】", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping("grab")
public R<Void> grab(@Validated(EditGroup.class) @RequestBody ServiceWorkOrdersBo bo) {
return toAjax(serviceWorkOrdersService.updateByBo(bo));
}
/**
* 删除【工单处理】
*
* @param ids 主键串
*/
// @SaCheckPermission("system:workOrders:remove")
@SaCheckPermission("property:workOrders:remove")
@Log(title = "【工单处理】", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -24,7 +24,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 【工单类型】
* 前端访问路由地址为:/system/workOrdersType
* 前端访问路由地址为:/property/workOrdersType
*
* @author mocheng
* @date 2025-07-09
@@ -40,7 +40,7 @@ public class ServiceWorkOrdersTypeController extends BaseController {
/**
* 查询【工单类型】列表
*/
@SaCheckPermission("system:workOrdersType:list")
@SaCheckPermission("property:workOrdersType:list")
@GetMapping("/list")
public TableDataInfo<ServiceWorkOrdersTypeVo> list(ServiceWorkOrdersTypeBo bo, PageQuery pageQuery) {
return serviceWorkOrdersTypeService.queryPageList(bo, pageQuery);
@@ -49,7 +49,7 @@ public class ServiceWorkOrdersTypeController extends BaseController {
/**
* 导出【工单类型】列表
*/
@SaCheckPermission("system:workOrdersType:export")
@SaCheckPermission("property:workOrdersType:export")
@Log(title = "【导出工单类型】", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(ServiceWorkOrdersTypeBo bo, HttpServletResponse response) {
@@ -62,7 +62,7 @@ public class ServiceWorkOrdersTypeController extends BaseController {
*
* @param id 主键
*/
@SaCheckPermission("system:workOrdersType:query")
@SaCheckPermission("property:workOrdersType:query")
@GetMapping("/{id}")
public R<ServiceWorkOrdersTypeVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@@ -72,7 +72,7 @@ public class ServiceWorkOrdersTypeController extends BaseController {
/**
* 新增【工单类型】
*/
@SaCheckPermission("system:workOrdersType:add")
@SaCheckPermission("property:workOrdersType:add")
@Log(title = "【新增工单类型】", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
@@ -83,7 +83,7 @@ public class ServiceWorkOrdersTypeController extends BaseController {
/**
* 修改【工单类型】
*/
@SaCheckPermission("system:workOrdersType:edit")
@SaCheckPermission("property:workOrdersType:edit")
@Log(title = "【工单类型】", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
@@ -96,7 +96,7 @@ public class ServiceWorkOrdersTypeController extends BaseController {
*
* @param ids 主键串
*/
@SaCheckPermission("system:workOrdersType:remove")
@SaCheckPermission("property:workOrdersType:remove")
@Log(title = "【工单类型】", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")

View File

@@ -145,17 +145,37 @@ public class TbVisitorManagementController extends BaseController {
if (info==null){
return R.fail("请确认Qr码有效");
}
bo.setType(0);
return toAjax(tbVisitorManagementService.insertByBo(bo));
}
/**
* h5端新增访客管理
* @param bo
* @return
*/
@SaCheckPermission("property:visitorManagement:addH5VistorManagement")
@Log(title = "访客管理", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping("/addH5VistorManagement")
public R<Void> addH5VistorManagement(@Validated(AddGroup.class) @RequestBody TbVisitorManagementBo bo) {
QrCodeInfo info = RedisUtils.getCacheObject(GlobalConstants.CAPTCHA_CODE_KEY +"Qrcode" + bo.getQrCodeId());
if (info==null){
return R.fail("请确认Qr码有效");
}
bo.setType(0);
return toAjax(tbVisitorManagementService.insertH5ByBo(bo));
}
/**
* pc端新增访客管理
*/
@SaCheckPermission("property:visitorManagement::addVisitorManagement")
@SaCheckPermission("property:visitorManagement:addVisitorManagement")
@Log(title = "访客管理", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping
public R<Void> addVistorManagement(@Validated(AddGroup.class) @RequestBody TbVisitorManagementBo bo) {
bo.setType(1);
return toAjax(tbVisitorManagementService.insertVistorManagementByBo(bo));
}

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceAreaVo;
import org.dromara.property.domain.bo.AttendanceAreaBo;
import org.dromara.property.service.IAttendanceAreaService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceAreaVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceAreaBo;
import org.dromara.property.service.attendanceService.IAttendanceAreaService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceAreaDeviceVo;
import org.dromara.property.domain.bo.AttendanceAreaDeviceBo;
import org.dromara.property.service.IAttendanceAreaDeviceService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceAreaDeviceVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceAreaDeviceBo;
import org.dromara.property.service.attendanceService.IAttendanceAreaDeviceService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -0,0 +1,106 @@
package org.dromara.property.controller.attendance;
import java.util.List;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.*;
import cn.dev33.satoken.annotation.SaCheckPermission;
import org.springframework.web.bind.annotation.*;
import org.springframework.validation.annotation.Validated;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
import org.dromara.common.log.annotation.Log;
import org.dromara.common.web.core.BaseController;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.attendanceVo.AttendanceArrangementAreaVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceArrangementAreaBo;
import org.dromara.property.service.attendanceService.IAttendanceArrangementAreaService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 区域排班中间
* 前端访问路由地址为:/property/arrangementArea
*
* @author LionLi
* @date 2025-08-18
*/
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/arrangementArea")
public class AttendanceArrangementAreaController extends BaseController {
private final IAttendanceArrangementAreaService attendanceArrangementAreaService;
/**
* 查询区域排班中间列表
*/
@SaCheckPermission("property:arrangementArea:list")
@GetMapping("/list")
public TableDataInfo<AttendanceArrangementAreaVo> list(AttendanceArrangementAreaBo bo, PageQuery pageQuery) {
return attendanceArrangementAreaService.queryPageList(bo, pageQuery);
}
/**
* 导出区域排班中间列表
*/
@SaCheckPermission("property:arrangementArea:export")
@Log(title = "区域排班中间", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(AttendanceArrangementAreaBo bo, HttpServletResponse response) {
List<AttendanceArrangementAreaVo> list = attendanceArrangementAreaService.queryList(bo);
ExcelUtil.exportExcel(list, "区域排班中间", AttendanceArrangementAreaVo.class, response);
}
/**
* 获取区域排班中间详细信息
*
* @param id 主键
*/
@SaCheckPermission("property:arrangementArea:query")
@GetMapping("/{id}")
public R<AttendanceArrangementAreaVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
return R.ok(attendanceArrangementAreaService.queryById(id));
}
/**
* 新增区域排班中间
*/
@SaCheckPermission("property:arrangementArea:add")
@Log(title = "区域排班中间", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
public R<Void> add(@Validated(AddGroup.class) @RequestBody AttendanceArrangementAreaBo bo) {
return toAjax(attendanceArrangementAreaService.insertByBo(bo));
}
/**
* 修改区域排班中间
*/
@SaCheckPermission("property:arrangementArea:edit")
@Log(title = "区域排班中间", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody AttendanceArrangementAreaBo bo) {
return toAjax(attendanceArrangementAreaService.updateByBo(bo));
}
/**
* 删除区域排班中间
*
* @param ids 主键串
*/
@SaCheckPermission("property:arrangementArea:remove")
@Log(title = "区域排班中间", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable("ids") Long[] ids) {
return toAjax(attendanceArrangementAreaService.deleteWithValidByIds(List.of(ids), true));
}
}

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import cn.dev33.satoken.annotation.SaCheckPermission;
import jakarta.validation.constraints.NotEmpty;
@@ -13,9 +13,9 @@ import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.web.core.BaseController;
import org.dromara.property.domain.bo.AttendanceArrangementBo;
import org.dromara.property.domain.vo.AttendanceArrangementVo;
import org.dromara.property.service.IAttendanceArrangementService;
import org.dromara.property.domain.bo.attendanceBo.AttendanceArrangementBo;
import org.dromara.property.domain.vo.attendanceVo.AttendanceArrangementVo;
import org.dromara.property.service.attendanceService.IAttendanceArrangementService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceClockDateVo;
import org.dromara.property.domain.bo.AttendanceClockDateBo;
import org.dromara.property.service.IAttendanceClockDateService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceClockDateVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceClockDateBo;
import org.dromara.property.service.attendanceService.IAttendanceClockDateService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import cn.dev33.satoken.annotation.SaCheckPermission;
import jakarta.servlet.http.HttpServletResponse;
@@ -15,9 +15,9 @@ import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.web.core.BaseController;
import org.dromara.property.domain.bo.AttendanceFixedScheduleBo;
import org.dromara.property.domain.vo.AttendanceFixedScheduleVo;
import org.dromara.property.service.IAttendanceFixedScheduleService;
import org.dromara.property.domain.bo.attendanceBo.AttendanceFixedScheduleBo;
import org.dromara.property.domain.vo.attendanceVo.AttendanceFixedScheduleVo;
import org.dromara.property.service.attendanceService.IAttendanceFixedScheduleService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceGroupVo;
import org.dromara.property.domain.bo.AttendanceGroupBo;
import org.dromara.property.service.IAttendanceGroupService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceGroupVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceGroupBo;
import org.dromara.property.service.attendanceService.IAttendanceGroupService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceScheduleCycleVo;
import org.dromara.property.domain.bo.AttendanceScheduleCycleBo;
import org.dromara.property.service.IAttendanceScheduleCycleService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceScheduleCycleVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceScheduleCycleBo;
import org.dromara.property.service.attendanceService.IAttendanceScheduleCycleService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceShiftVo;
import org.dromara.property.domain.bo.AttendanceShiftBo;
import org.dromara.property.service.IAttendanceShiftService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceShiftVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceShiftBo;
import org.dromara.property.service.attendanceService.IAttendanceShiftService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceShiftScheduleVo;
import org.dromara.property.domain.bo.AttendanceShiftScheduleBo;
import org.dromara.property.service.IAttendanceShiftScheduleService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceShiftScheduleVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceShiftScheduleBo;
import org.dromara.property.service.attendanceService.IAttendanceShiftScheduleService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import cn.dev33.satoken.annotation.SaCheckPermission;
import jakarta.servlet.http.HttpServletResponse;
@@ -15,9 +15,9 @@ import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.web.core.BaseController;
import org.dromara.property.domain.bo.AttendanceUserGroupBo;
import org.dromara.property.domain.vo.AttendanceUserGroupVo;
import org.dromara.property.service.IAttendanceUserGroupService;
import org.dromara.property.domain.bo.attendanceBo.AttendanceUserGroupBo;
import org.dromara.property.domain.vo.attendanceVo.AttendanceUserGroupVo;
import org.dromara.property.service.attendanceService.IAttendanceUserGroupService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceWeekSetVo;
import org.dromara.property.domain.bo.AttendanceWeekSetBo;
import org.dromara.property.service.IAttendanceWeekSetService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceWeekSetVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceWeekSetBo;
import org.dromara.property.service.attendanceService.IAttendanceWeekSetService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.attendance;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.AttendanceWeeksetShiftVo;
import org.dromara.property.domain.bo.AttendanceWeeksetShiftBo;
import org.dromara.property.service.IAttendanceWeeksetShiftService;
import org.dromara.property.domain.vo.attendanceVo.AttendanceWeeksetShiftVo;
import org.dromara.property.domain.bo.attendanceBo.AttendanceWeeksetShiftBo;
import org.dromara.property.service.attendanceService.IAttendanceWeeksetShiftService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.cleanOrder;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.CleanVo;
import org.dromara.property.domain.bo.CleanBo;
import org.dromara.property.service.ICleanService;
import org.dromara.property.domain.vo.cleanOrderVo.CleanVo;
import org.dromara.property.domain.bo.cleanOrderBo.CleanBo;
import org.dromara.property.service.cleanOrderService.ICleanService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,8 +1,7 @@
package org.dromara.property.controller;
package org.dromara.property.controller.cleanOrder;
import java.util.List;
import cn.dev33.satoken.annotation.SaIgnore;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.*;
@@ -18,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.CleanOrderVo;
import org.dromara.property.domain.bo.CleanOrderBo;
import org.dromara.property.service.ICleanOrderService;
import org.dromara.property.domain.vo.cleanOrderVo.CleanOrderVo;
import org.dromara.property.domain.bo.cleanOrderBo.CleanOrderBo;
import org.dromara.property.service.cleanOrderService.ICleanOrderService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
@@ -41,7 +40,7 @@ public class CleanOrderController extends BaseController {
/**
* 查询保洁订单列表
*/
@SaCheckPermission("property:clean_order:list")
//@SaCheckPermission("property:clean_order:list")
@GetMapping("/list")
public TableDataInfo<CleanOrderVo> list(CleanOrderBo bo, PageQuery pageQuery) {
return cleanOrderService.queryPageList(bo, pageQuery);

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.cleanOrder;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.CleanserverOrderVo;
import org.dromara.property.domain.bo.CleanserverOrderBo;
import org.dromara.property.service.ICleanserverOrderService;
import org.dromara.property.domain.vo.cleanOrderVo.CleanserverOrderVo;
import org.dromara.property.domain.bo.cleanOrderBo.CleanserverOrderBo;
import org.dromara.property.service.cleanOrderService.ICleanserverOrderService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -3,6 +3,7 @@ package org.dromara.property.controller.mobile;
import lombok.RequiredArgsConstructor;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
import org.dromara.common.log.annotation.Log;
import org.dromara.common.log.enums.BusinessType;
@@ -12,6 +13,7 @@ import org.dromara.common.web.core.BaseController;
import org.dromara.property.domain.bo.ServiceWorkOrdersBo;
import org.dromara.property.domain.bo.mobile.MServiceWorkOrdersBo;
import org.dromara.property.domain.vo.ServiceWorkOrdersVo;
import org.dromara.property.domain.vo.mobile.MServiceWorkOrdersVo;
import org.dromara.property.service.IServiceWorkOrdersService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@@ -34,7 +36,6 @@ public class MServiceWorkOrdersController extends BaseController {
* 小程序新增【工单处理】
*/
@Log(title = "【小程序新增工单处理】", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
public R<Void> add(@Validated(AddGroup.class) @RequestBody MServiceWorkOrdersBo bo) {
return toAjax(serviceWorkOrdersService.insertMServiceWorkOrdersBo(bo));
@@ -43,7 +44,16 @@ public class MServiceWorkOrdersController extends BaseController {
* 小程序查询【工单处理】
*/
@GetMapping("/list")
public TableDataInfo<ServiceWorkOrdersVo> list(ServiceWorkOrdersBo bo, PageQuery pageQuery) {
return serviceWorkOrdersService.queryPageList(bo, pageQuery);
public TableDataInfo<MServiceWorkOrdersVo> list(ServiceWorkOrdersBo bo, PageQuery pageQuery) {
return serviceWorkOrdersService.queryMobilePageList(bo, pageQuery);
}
/**
* 修改【工单处理】
*/
@Log(title = "【工单处理】", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody ServiceWorkOrdersBo bo) {
return toAjax(serviceWorkOrdersService.updateByBo(bo));
}
}

View File

@@ -0,0 +1,116 @@
package org.dromara.property.controller.smartDevicesController;
import java.util.List;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.*;
import cn.dev33.satoken.annotation.SaCheckPermission;
import org.springframework.web.bind.annotation.*;
import org.springframework.validation.annotation.Validated;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
import org.dromara.common.log.annotation.Log;
import org.dromara.common.web.core.BaseController;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.core.domain.R;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.smartDevicesVo.TbLightInfoVo;
import org.dromara.property.domain.bo.smartDevicesBo.TbLightInfoBo;
import org.dromara.property.service.smartDevicesService.ITbLightInfoService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
* 灯控开关信息
* 前端访问路由地址为:/property/lightInfo
*
* @author lsm
* @since 2025-08-19
*/
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/lightInfo")
public class TbLightInfoController extends BaseController {
private final ITbLightInfoService tbLightInfoService;
/**
* 查询灯控开关信息列表
*/
@SaCheckPermission("property:lightInfo:list")
@GetMapping("/list")
public TableDataInfo<TbLightInfoVo> list(TbLightInfoBo bo, PageQuery pageQuery) {
return tbLightInfoService.queryPageList(bo, pageQuery);
}
/**
* 导出灯控开关信息列表
*/
@SaCheckPermission("property:lightInfo:export")
@Log(title = "灯控开关信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(TbLightInfoBo bo, HttpServletResponse response) {
List<TbLightInfoVo> list = tbLightInfoService.queryList(bo);
ExcelUtil.exportExcel(list, "灯控开关信息", TbLightInfoVo.class, response);
}
/**
* 获取灯控开关信息详细信息
*
* @param id 主键
*/
@SaCheckPermission("property:lightInfo:query")
@GetMapping("/{id}")
public R<TbLightInfoVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
return R.ok(tbLightInfoService.queryById(id));
}
/**
* 新增灯控开关信息
*/
@SaCheckPermission("property:lightInfo:add")
@Log(title = "灯控开关信息", businessType = BusinessType.INSERT)
@RepeatSubmit()
@PostMapping()
public R<Void> add(@Validated(AddGroup.class) @RequestBody TbLightInfoBo bo) {
return toAjax(tbLightInfoService.insertByBo(bo));
}
/**
* 修改灯控开关信息
*/
@SaCheckPermission("property:lightInfo:edit")
@Log(title = "灯控开关信息", businessType = BusinessType.UPDATE)
@RepeatSubmit()
@PutMapping()
public R<Void> edit(@Validated(EditGroup.class) @RequestBody TbLightInfoBo bo) {
return toAjax(tbLightInfoService.updateByBo(bo));
}
/**
* 删除灯控开关信息
*
* @param ids 主键串
*/
@SaCheckPermission("property:lightInfo:remove")
@Log(title = "灯控开关信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable("ids") Long[] ids) {
return toAjax(tbLightInfoService.deleteWithValidByIds(List.of(ids), true));
}
/**
* 灯开关控制
*
* @param bo bean
*/
@PostMapping("/switch")
public R<Void> switchSingleLight(@RequestBody TbLightInfoBo bo) {
return toAjax(tbLightInfoService.switchSingleLight(bo));
}
}

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.smartDevicesController;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.TbMeterConfigVo;
import org.dromara.property.domain.bo.TbMeterConfigBo;
import org.dromara.property.service.ITbMeterConfigService;
import org.dromara.property.domain.vo.smartDevicesVo.TbMeterConfigVo;
import org.dromara.property.domain.bo.smartDevicesBo.TbMeterConfigBo;
import org.dromara.property.service.smartDevicesService.ITbMeterConfigService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.smartDevicesController;
import java.util.List;
@@ -6,6 +6,7 @@ import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.validation.constraints.*;
import cn.dev33.satoken.annotation.SaCheckPermission;
import org.dromara.common.core.domain.TreeNode;
import org.springframework.web.bind.annotation.*;
import org.springframework.validation.annotation.Validated;
import org.dromara.common.idempotent.annotation.RepeatSubmit;
@@ -17,9 +18,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.TbMeterInfoVo;
import org.dromara.property.domain.bo.TbMeterInfoBo;
import org.dromara.property.service.ITbMeterInfoService;
import org.dromara.property.domain.vo.smartDevicesVo.TbMeterInfoVo;
import org.dromara.property.domain.bo.smartDevicesBo.TbMeterInfoBo;
import org.dromara.property.service.smartDevicesService.ITbMeterInfoService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
@@ -27,7 +28,7 @@ import org.dromara.common.mybatis.core.page.TableDataInfo;
* 前端访问路由地址为:/property/meterInfo
*
* @author lsm
* @date 2025-07-19
* @since 2025-07-19
*/
@Validated
@RequiredArgsConstructor
@@ -65,7 +66,7 @@ public class TbMeterInfoController extends BaseController {
@SaCheckPermission("property:meterInfo:query")
@GetMapping("/{id}")
public R<TbMeterInfoVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@PathVariable("id") Long id) {
return R.ok(tbMeterInfoService.queryById(id));
}
@@ -103,4 +104,28 @@ public class TbMeterInfoController extends BaseController {
@PathVariable("ids") Long[] ids) {
return toAjax(tbMeterInfoService.deleteWithValidByIds(List.of(ids), true));
}
/**
* 生成 社区/建组/单元/楼栋/(水电气表)树结构
*
* @param meterType 水电气类型
* @param isMeter 是否返回仪表
* @return (水电气表)树结构
*/
@GetMapping("/tree")
public R<List<TreeNode<Long>>> queryMeterInfoTree(@RequestParam Long meterType, @RequestParam Boolean isMeter) {
return R.ok(tbMeterInfoService.queryMeterInfoTree(meterType, isMeter));
}
/**
* 获取水//气表当前读数/状态
*
* @param meterType 水电气类型
* @param floorId 楼栋id
*/
@GetMapping("/currentReading")
public R<List<TbMeterInfoVo>> currentReading(@RequestParam Long meterType, @RequestParam Long floorId) {
return R.ok(tbMeterInfoService.getMeterStatus(meterType, floorId));
}
}

View File

@@ -1,6 +1,7 @@
package org.dromara.property.controller;
package org.dromara.property.controller.smartDevicesController;
import java.util.List;
import java.util.Map;
import lombok.RequiredArgsConstructor;
import jakarta.servlet.http.HttpServletResponse;
@@ -17,9 +18,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.TbMeterRecordVo;
import org.dromara.property.domain.bo.TbMeterRecordBo;
import org.dromara.property.service.ITbMeterRecordService;
import org.dromara.property.domain.vo.smartDevicesVo.TbMeterRecordVo;
import org.dromara.property.domain.bo.smartDevicesBo.TbMeterRecordBo;
import org.dromara.property.service.smartDevicesService.ITbMeterRecordService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**
@@ -65,7 +66,7 @@ public class TbMeterRecordController extends BaseController {
@SaCheckPermission("property:meterRecord:query")
@GetMapping("/{id}")
public R<TbMeterRecordVo> getInfo(@NotNull(message = "主键不能为空")
@PathVariable("id") Long id) {
@PathVariable("id") Long id) {
return R.ok(tbMeterRecordService.queryById(id));
}
@@ -103,4 +104,25 @@ public class TbMeterRecordController extends BaseController {
@PathVariable("ids") Long[] ids) {
return toAjax(tbMeterRecordService.deleteWithValidByIds(List.of(ids), true));
}
/**
* 获取用电//气趋势分析数据
*
* @param floorId 楼层id
* @param meterId 仪表id
* @param meterType 仪表类型
* @param day 日期
* @param month 月份
* @param year 年份
*/
@GetMapping("/trend")
public R<Map<String, Object>> getEnergyTrend(@RequestParam(required = false) String floorId,
@RequestParam(required = false) String meterId,
@RequestParam Long meterType,
@RequestParam String day,
@RequestParam String month,
@RequestParam String year) {
Map<String, Object> resultMap = tbMeterRecordService.getEnergyTrend(floorId, meterId, meterType, day, month, year);
return R.ok(resultMap);
}
}

View File

@@ -1,4 +1,4 @@
package org.dromara.property.controller;
package org.dromara.property.controller.smartDevicesController;
import java.util.List;
@@ -17,9 +17,9 @@ import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.log.enums.BusinessType;
import org.dromara.common.excel.utils.ExcelUtil;
import org.dromara.property.domain.vo.TbMeterRoomVo;
import org.dromara.property.domain.bo.TbMeterRoomBo;
import org.dromara.property.service.ITbMeterRoomService;
import org.dromara.property.domain.vo.smartDevicesVo.TbMeterRoomVo;
import org.dromara.property.domain.bo.smartDevicesBo.TbMeterRoomBo;
import org.dromara.property.service.smartDevicesService.ITbMeterRoomService;
import org.dromara.common.mybatis.core.page.TableDataInfo;
/**

View File

@@ -0,0 +1,67 @@
package org.dromara.property.domain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;
import java.io.Serial;
/**
* APP功能列表对象 app_fun_list
*
* @author mocheng
* @date 2025-07-23
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_fun_list")
public class AppFunList extends TenantEntity {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id")
private Long id;
/**
* 角色id
*/
private Long roleid;
/**
* 名称
*/
private String name;
/**
* icon
*/
private String icon;
/**
* url
*/
private String url;
/**
* 创建人id
*/
private Long createById;
/**
* 更新人id
*/
private Long updateById;
/**
* 搜索值
*/
private String searchValue;
}

View File

@@ -8,8 +8,6 @@ import org.dromara.common.tenant.core.TenantEntity;
import java.io.Serial;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
/**
* 排班对象 attendance_arrangement

View File

@@ -0,0 +1,41 @@
package org.dromara.property.domain;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serial;
/**
* 区域排班中间对象 attendance_arrangement_area
*
* @author LionLi
* @date 2025-08-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("attendance_arrangement_area")
public class AttendanceArrangementArea extends TenantEntity {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id")
private Long id;
/**
* 区域id
*/
private Long areaId;
/**
* 排班id
*/
private Long shceduleId;
}

View File

@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serial;

View File

@@ -6,7 +6,6 @@ import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serial;
import java.util.List;
/**
* 考勤组基本信息对象 attendance_group

View File

@@ -1,15 +1,11 @@
package org.dromara.property.domain;
import cn.hutool.core.date.DateTime;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serial;

View File

@@ -39,20 +39,20 @@ public class AttendanceUserGroup extends TenantEntity {
*/
private Long employeeId;
/**
* 员工姓名
*/
private String employeeName;
// /**
// * 员工姓名
// */
// private String employeeName;
/**
* 部门ID
*/
private Long deptId;
/**
* 部门名称
*/
private String deptName;
// /**
// * 部门名称
// */
// private String deptName;
/**
* 开始日期

View File

@@ -30,7 +30,7 @@ public class CustomerFeedbacks extends TenantEntity {
/**
* 反馈类型(0保修1保洁2会议)
*/
private String feedbackType;
private Long feedbackType;
/**
* 反馈人
@@ -58,7 +58,7 @@ public class CustomerFeedbacks extends TenantEntity {
private String feedbackImg;
/**
* 是否转至工单
* 工单id
*/
private Long orderId;
/**

View File

@@ -0,0 +1,61 @@
package org.dromara.property.domain;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serial;
/**
* 常见问题管理对象 faq_management
*
* @author LionLi
* @date 2025-08-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("faq_management")
public class FaqManagement extends TenantEntity {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@TableId(value = "id")
private Long id;
/**
* 标题
*/
private String head;
/**
* 分类
*/
private String type;
/**
* 浏览量
*/
private Long pageView;
/**
* 内容
*/
private String contents;
/**
* 状态(1草稿 2已发布)
*/
private String status;
/**
* 搜索值
*/
private String searchValue;
}

View File

@@ -94,9 +94,18 @@ public class Meet extends TenantEntity {
private String appointmentTime;
/**
* 开放时段
* 图片
*/
private String openHours;
private String picture;
/**
* 开放开始时段
*/
private String openStartHours;
/**
* 开放结束时段
*/
private String openEndHours;
/**
* 状态(0启用,1禁用)

View File

@@ -0,0 +1,68 @@
package org.dromara.property.domain;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serial;
/**
* 热门活动对象 popular_activities
*
* @author LionLi
* @date 2025-08-19
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("popular_activities")
public class PopularActivities extends TenantEntity {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id")
private Long id;
/**
* 标题
*/
private String title;
/**
* 头部照片
*/
private String headImgUrl;
/**
* 开始时间
*/
private Date startTime;
/**
* 结束时间
*/
private Date endTime;
/**
* 活动内容
*/
private String activeContent;
/**
* 状态1.未开始 2.进行中 3.已结束)
*/
private String status;
/**
* 搜索值
*/
private String searchValue;
}

View File

@@ -47,7 +47,7 @@ public class ServiceWorkOrders extends TenantEntity {
private Long type;
/**
* 状态
* 状态(0创建工单,1已派单2已抢单3处理中,4已完成,5已评价)
*/
private String status;
@@ -104,7 +104,7 @@ public class ServiceWorkOrders extends TenantEntity {
*/
private String orderImgUrl;
/**
* 上报类型
* 上报类型(1电话上报2现场上报,3系统上报)
*/
private String reportingType;
/**

View File

@@ -38,9 +38,13 @@ public class ServiceWorkOrdersType extends TenantEntity {
private String orderTypeName;
/**
* 运作模式
* 运作模式(0派单+抢单,1派单,2自动派单)
*/
private String operationMode;
/**
*部门id
*/
private Long deptId;
/**
* 排序值
@@ -56,7 +60,10 @@ public class ServiceWorkOrdersType extends TenantEntity {
* 是否支持转单(0支持,1不支持)
*/
private Integer isTransfers;
/**
* 权重(1一般2紧急3危急)
*/
private String processingWeight;
/**
* 搜索值
*/

View File

@@ -118,5 +118,8 @@ public class TbVisitorManagement extends TenantEntity {
*/
private String searchValue;
/**
* e8平台id
*/
private Long eEightId;
}

View File

@@ -0,0 +1,49 @@
package org.dromara.property.domain.bo;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.property.domain.AppFunList;
/**
* APP功能列表业务对象 app_fun_list
*
* @author mocheng
* @date 2025-07-23
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AppFunList.class, reverseConvertGenerate = false)
public class AppFunListBo extends BaseEntity {
/**
* 主键
*/
@NotNull(message = "主键不能为空", groups = { EditGroup.class })
private Long id;
/**
* 角色id
*/
private Long roleid;
/**
* 名称
*/
private String name;
/**
* icon
*/
private String icon;
/**
* url
*/
private String url;
}

View File

@@ -50,6 +50,11 @@ public class CostCarChargeBo extends BaseEntity {
* 车位
*/
private String location;
/**
* 车位名称
*/
private String locationName;
/**
* 缴费状态
*/

View File

@@ -29,8 +29,8 @@ public class CustomerFeedbacksBo extends BaseEntity {
/**
* 反馈类型(0保修1保洁2会议)
*/
@NotBlank(message = "反馈类型(0保修1保洁2会议)不能为空", groups = { AddGroup.class, EditGroup.class })
private String feedbackType;
@NotNull (message = "反馈类型(0保修1保洁2会议)不能为空", groups = { AddGroup.class, EditGroup.class })
private Long feedbackType;
/**
* 反馈人

View File

@@ -0,0 +1,64 @@
package org.dromara.property.domain.bo;
import org.dromara.property.domain.FaqManagement;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
/**
* 常见问题管理业务对象 faq_management
*
* @author LionLi
* @date 2025-08-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FaqManagement.class, reverseConvertGenerate = false)
public class FaqManagementBo extends BaseEntity {
/**
* id
*/
@NotNull(message = "id不能为空", groups = { EditGroup.class })
private Long id;
/**
* 标题
*/
@NotBlank(message = "标题不能为空", groups = { AddGroup.class, EditGroup.class })
private String head;
/**
* 分类
*/
@NotBlank(message = "分类不能为空", groups = { AddGroup.class, EditGroup.class })
private String type;
/**
* 浏览量
*/
private Long pageView;
/**
* 内容
*/
@NotBlank(message = "内容不能为空", groups = { AddGroup.class, EditGroup.class })
private String contents;
/**
* 状态(1草稿 2已发布)
*/
@NotBlank(message = "状态(1草稿 2已发布)不能为空", groups = { AddGroup.class, EditGroup.class })
private String status;
/**
* 搜索值
*/
private String searchValue;
}

View File

@@ -101,9 +101,13 @@ public class MeetBo extends BaseEntity {
private String appointmentTime;
/**
* 开放时段
* 开放开始时段
*/
private String openHours;
private String openStartHours;
/**
* 开放结束时段
*/
private String openEndHours;
/**
* 状态(0启用,1禁用)

View File

@@ -67,7 +67,7 @@ public class MeetBookingBo extends BaseEntity {
* 参会人数
*/
@NotNull(message = "参会人数不能为空", groups = { AddGroup.class, EditGroup.class })
private int personSum;
private Integer personSum;
/**
* 费用
@@ -78,17 +78,17 @@ public class MeetBookingBo extends BaseEntity {
/**
* 是否包含增值服务
*/
private int attach;
private Integer attach;
/**
* 支付状态
*/
private int payState;
private Integer payState;
/**
* 状态
*/
private int state;
private Integer state;
/**

View File

@@ -0,0 +1,72 @@
package org.dromara.property.domain.bo;
import org.dromara.property.domain.PopularActivities;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* 热门活动业务对象 popular_activities
*
* @author LionLi
* @date 2025-08-19
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PopularActivities.class, reverseConvertGenerate = false)
public class PopularActivitiesBo extends BaseEntity {
/**
* 主键
*/
@NotNull(message = "主键不能为空", groups = { EditGroup.class })
private Long id;
/**
* 标题
*/
@NotBlank(message = "标题不能为空", groups = { AddGroup.class, EditGroup.class })
private String title;
/**
* 头部照片
*/
private String headImgUrl;
/**
* 开始时间
*/
@NotNull(message = "开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
private Date startTime;
/**
* 结束时间
*/
@NotNull(message = "结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
private Date endTime;
/**
* 活动内容
*/
@NotBlank(message = "活动内容不能为空", groups = { AddGroup.class, EditGroup.class })
private String activeContent;
/**
* 状态1.未开始 2.进行中 3.已结束)
*/
//@NotBlank(message = "状态1.未开始 2.进行中 3.已结束)不能为空", groups = { AddGroup.class, EditGroup.class })
private String status;
/**
* 搜索值
*/
private String searchValue;
}

View File

@@ -27,7 +27,7 @@ public class ServiceWorkOrdersBo extends BaseEntity {
/**
* id
*/
@NotBlank(message = "id不能为空", groups = { EditGroup.class })
@NotNull(message = "id不能为空", groups = { EditGroup.class })
private Long id;
/**
@@ -107,10 +107,6 @@ public class ServiceWorkOrdersBo extends BaseEntity {
* 图片
*/
private String imgUrl;
/**
* 工单图片
*/
private String orderImgUrl;
/**
* 备注
*/

View File

@@ -36,7 +36,11 @@ public class ServiceWorkOrdersTypeBo extends BaseEntity {
*/
@NotNull(message = "工单类型名称不能为空", groups = { AddGroup.class, EditGroup.class })
private String orderTypeName;
/**
*部门id
*/
@NotNull(message = "部门id", groups = { EditGroup.class })
private Long deptId;
/**
* 运作模式
*/
@@ -54,7 +58,10 @@ public class ServiceWorkOrdersTypeBo extends BaseEntity {
*/
@NotNull(message = "完成时效不能为空", groups = { AddGroup.class, EditGroup.class })
private Integer completionNumber;
/**
* 权重(1一般2紧急3危急)
*/
private String processingWeight;
/**
* 是否支持转单(0支持,1不支持)
*/

View File

@@ -58,7 +58,7 @@ public class TbVisitorManagementBo extends BaseEntity {
/**
* 拜访事由
*/
@NotBlank(message = "拜访事由不能为空", groups = { AddGroup.class, EditGroup.class })
// @NotBlank(message = "拜访事由不能为空", groups = { AddGroup.class, EditGroup.class })
private String visitingReason;
//@NotNull(message = "类型不能为空", groups = { AddGroup.class, EditGroup.class })
@@ -93,7 +93,7 @@ public class TbVisitorManagementBo extends BaseEntity {
/**
* 预约车位0预约1不预约
*/
@NotNull(message = "预约车位0预约1不预约不能为空", groups = { AddGroup.class, EditGroup.class })
// @NotNull(message = "预约车位0预约1不预约不能为空", groups = { AddGroup.class, EditGroup.class })
private Long bookingParkingSpace;
/**
@@ -104,7 +104,7 @@ public class TbVisitorManagementBo extends BaseEntity {
/**
* 人脸图片
*/
@NotBlank(message = "人脸图片不能为空", groups = { AddGroup.class, EditGroup.class })
// @NotBlank(message = "人脸图片不能为空", groups = { AddGroup.class, EditGroup.class })
private String facePictures;
/**

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceArea;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceAreaDevice;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -0,0 +1,39 @@
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceArrangementArea;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
/**
* 区域排班中间业务对象 attendance_arrangement_area
*
* @author LionLi
* @date 2025-08-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AttendanceArrangementArea.class, reverseConvertGenerate = false)
public class AttendanceArrangementAreaBo extends BaseEntity {
/**
* 主键id
*/
@NotNull(message = "主键id不能为空", groups = { EditGroup.class })
private Long id;
/**
* 区域id
*/
private Long areaId;
/**
* 排班id
*/
private Long shceduleId;
}

View File

@@ -1,4 +1,4 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
@@ -14,7 +14,6 @@ import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDate;
import java.time.YearMonth;
import java.util.Date;
import java.util.List;
@@ -103,6 +102,7 @@ public class AttendanceArrangementBo extends BaseEntity {
*/
private List<AttendanceScheduleCycle> scheduleCycleList;
private List<Long> areaId;
}

View File

@@ -1,15 +1,13 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceClockDate;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* 必须/无需打卡业务对象 attendance_clock_date

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceFixedSchedule;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -1,9 +1,8 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceClockDate;
import org.dromara.property.domain.AttendanceGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
@@ -12,7 +11,6 @@ import jakarta.validation.constraints.*;
import org.dromara.property.domain.AttendanceScheduleCycle;
import org.dromara.property.domain.AttendanceWeekSet;
import java.util.Date;
import java.util.List;
/**

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceScheduleCycle;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -1,19 +1,15 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import cn.hutool.core.date.DateTime;
import org.dromara.property.domain.AttendanceShift;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**

View File

@@ -1,4 +1,4 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceShiftSchedule;
import org.dromara.common.mybatis.core.domain.BaseEntity;

View File

@@ -1,14 +1,12 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceUserGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDate;
@@ -39,20 +37,20 @@ public class AttendanceUserGroupBo extends BaseEntity {
*/
private Long employeeId;
/**
* 员工姓名
*/
private String employeeName;
// /**
// * 员工姓名
// */
// private String employeeName;
/**
* 部门ID
*/
private Long deptId;
/**
* 部门名称
*/
private String deptName;
// /**
// * 部门名称
// */
// private String deptName;
/**
* 开始日期

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceWeekSet;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.attendanceBo;
import org.dromara.property.domain.AttendanceWeeksetShift;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -1,6 +1,5 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.cleanOrderBo;
import org.dromara.common.core.validate.enumd.EnumPattern;
import org.dromara.property.domain.Clean;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
@@ -9,7 +8,6 @@ import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.property.domain.CleanRelation;
import java.util.List;

View File

@@ -1,4 +1,4 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.cleanOrderBo;
import org.dromara.property.domain.Clean;
import org.dromara.property.domain.CleanOrder;
@@ -10,9 +10,6 @@ import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;

View File

@@ -1,7 +1,6 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.cleanOrderBo;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

View File

@@ -1,8 +1,7 @@
package org.dromara.property.domain.bo;
package org.dromara.property.domain.bo.cleanOrderBo;
import org.dromara.property.domain.CleanserverOrder;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

View File

@@ -3,6 +3,7 @@ package org.dromara.property.domain.bo.mobile;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -28,7 +29,11 @@ public class MServiceWorkOrdersBo extends BaseEntity {
*/
@NotNull(message = "id不能为空", groups = { EditGroup.class })
private Long id;
/**
* 工单名称
*/
@NotBlank(message = "工单名称不能为空", groups = { EditGroup.class })
private String orderName;
/**
* 工单编号
*/
@@ -100,6 +105,10 @@ public class MServiceWorkOrdersBo extends BaseEntity {
* 工单图片
*/
private String orderImgUrl;
/**
* 问题描述
*/
private String issueDesc;
/**
* 备注
*/

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