chore: 工作区反编译与 Maven/文档/脚本同步到发布分支

- artifacts/decompiled 树与相关源码变更
- maven-cw-elevator-application 业务 docs 与 package-info
- scripts 下 formatter 校验与辅助脚本
- 其他子工程/接口与发布线一并纳入版本控制

Made-with: Cursor

Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
反编译工作区
2026-04-25 09:35:35 +08:00
parent 1c28fcedfc
commit dee355b4a7
2000 changed files with 133077 additions and 169300 deletions
@@ -36,6 +36,9 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 设备侧聚合网关:设备/电梯码/区域树/记录等 {@code /device/v2/} 接口,薄控制器,具体逻辑见各 {@code *Service}。
*/
@RestController
@RequestMapping({"/device/v2/"})
public class AcsElevatorDeviceGetWayController extends AbstractCloudwalkController {
@@ -0,0 +1,6 @@
/**
* 设备与通行相关 HTTP 入口:设备网关查询、电梯码、通行记录等 {@code /device/v2/} 下接口。
* <p>
* 负责表单/JSON 与业务 {@code param} 的转换,业务规则与远程协作放在 service 层。
*/
package cn.cloudwalk.elevator.handler.device;
@@ -44,8 +44,8 @@ public class AcsPersonAddVisitorForm implements Serializable {
return false;
}
return Objects.equals(visitorId, other.visitorId) && Objects.equals(personId, other.personId)
&& Objects.equals(begVisitorTime, other.begVisitorTime) && Objects.equals(endVisitorTime, other.endVisitorTime)
&& Objects.equals(floorIds, other.floorIds);
&& Objects.equals(begVisitorTime, other.begVisitorTime)
&& Objects.equals(endVisitorTime, other.endVisitorTime) && Objects.equals(floorIds, other.floorIds);
}
protected boolean canEqual(Object other) {
@@ -1,25 +1,25 @@
package cn.cloudwalk.elevator.zone.util;
import cn.cloudwalk.elevator.util.StringUtils;
import cn.cloudwalk.elevator.zone.result.ZoneTreeResult;
import java.util.List;
import java.util.Set;
/** 区域树遍历辅助,供批量查询电梯编码等场景复用。 */
public final class ZoneTreeCollectors {
private ZoneTreeCollectors() {}
/** 深度优先收集树上各节点 {@link ZoneTreeResult#getId()}(去重由调用方 {@link Set} 保证)。 */
public static void collectNodeIds(List<ZoneTreeResult> nodes, Set<String> out) {
if (nodes == null || out == null) {
return;
}
for (ZoneTreeResult n : nodes) {
if (StringUtils.isNotBlank(n.getId())) {
out.add(n.getId());
}
collectNodeIds(n.getChildren(), out);
}
}
}
package cn.cloudwalk.elevator.zone.util;
import cn.cloudwalk.elevator.util.StringUtils;
import cn.cloudwalk.elevator.zone.result.ZoneTreeResult;
import java.util.List;
import java.util.Set;
/** 区域树遍历辅助,供批量查询电梯编码等场景复用。 */
public final class ZoneTreeCollectors {
private ZoneTreeCollectors() {}
/** 深度优先收集树上各节点 {@link ZoneTreeResult#getId()}(去重由调用方 {@link Set} 保证)。 */
public static void collectNodeIds(List<ZoneTreeResult> nodes, Set<String> out) {
if (nodes == null || out == null) {
return;
}
for (ZoneTreeResult n : nodes) {
if (StringUtils.isNotBlank(n.getId())) {
out.add(n.getId());
}
collectNodeIds(n.getChildren(), out);
}
}
}