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
@@ -32,7 +32,7 @@
<foreach collection="zoneIds" item="id" open="(" separator="," close=")">
#{id,jdbcType=VARCHAR}
</foreach>
</select>
</select>
<update id="updateOld" parameterType="cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO">
@@ -74,8 +74,8 @@ public class ImageRuleRefListResult extends CloudwalkBaseTimes implements Serial
if ((this$includeLabels == null) ? (other$includeLabels != null)
: !this$includeLabels.equals(other$includeLabels))
return false;
Object this$includeOrganizations = getIncludeOrganizations(), other$includeOrganizations =
other.getIncludeOrganizations();
Object this$includeOrganizations = getIncludeOrganizations(),
other$includeOrganizations = other.getIncludeOrganizations();
if ((this$includeOrganizations == null) ? (other$includeOrganizations != null)
: !this$includeOrganizations.equals(other$includeOrganizations))
return false;
@@ -1,14 +1,14 @@
package cn.cloudwalk.elevator.person.dao;
import cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto;
public interface TenantVisitorFloorPolicyDao {
/**
* 查询租户级启用中的 INTERSECT_ALLOWLIST 策略(building_id 为空)。
*
* @param businessId 机构 ID
* @return 无配置时 null
*/
TenantVisitorFloorPolicyDto selectEnabledTenantDefault(String businessId);
}
package cn.cloudwalk.elevator.person.dao;
import cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto;
public interface TenantVisitorFloorPolicyDao {
/**
* 查询租户级启用中的 INTERSECT_ALLOWLIST 策略(building_id 为空)。
*
* @param businessId 机构 ID
* @return 无配置时 null
*/
TenantVisitorFloorPolicyDto selectEnabledTenantDefault(String businessId);
}
@@ -1,71 +1,71 @@
package cn.cloudwalk.elevator.person.dto;
/**
* 租户访客楼层策略(表 tenant_visitor_floor_policy 行映射)。
*/
public class TenantVisitorFloorPolicyDto {
private String id;
private String businessId;
private String policyType;
private String allowZoneIds;
private String buildingId;
private Integer enabled;
private Long policyVersion;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getBusinessId() {
return businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public String getPolicyType() {
return policyType;
}
public void setPolicyType(String policyType) {
this.policyType = policyType;
}
public String getAllowZoneIds() {
return allowZoneIds;
}
public void setAllowZoneIds(String allowZoneIds) {
this.allowZoneIds = allowZoneIds;
}
public String getBuildingId() {
return buildingId;
}
public void setBuildingId(String buildingId) {
this.buildingId = buildingId;
}
public Integer getEnabled() {
return enabled;
}
public void setEnabled(Integer enabled) {
this.enabled = enabled;
}
public Long getPolicyVersion() {
return policyVersion;
}
public void setPolicyVersion(Long policyVersion) {
this.policyVersion = policyVersion;
}
}
package cn.cloudwalk.elevator.person.dto;
/**
* 租户访客楼层策略(表 tenant_visitor_floor_policy 行映射)。
*/
public class TenantVisitorFloorPolicyDto {
private String id;
private String businessId;
private String policyType;
private String allowZoneIds;
private String buildingId;
private Integer enabled;
private Long policyVersion;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getBusinessId() {
return businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public String getPolicyType() {
return policyType;
}
public void setPolicyType(String policyType) {
this.policyType = policyType;
}
public String getAllowZoneIds() {
return allowZoneIds;
}
public void setAllowZoneIds(String allowZoneIds) {
this.allowZoneIds = allowZoneIds;
}
public String getBuildingId() {
return buildingId;
}
public void setBuildingId(String buildingId) {
this.buildingId = buildingId;
}
public Integer getEnabled() {
return enabled;
}
public void setEnabled(Integer enabled) {
this.enabled = enabled;
}
public Long getPolicyVersion() {
return policyVersion;
}
public void setPolicyVersion(Long policyVersion) {
this.policyVersion = policyVersion;
}
}
@@ -1,19 +1,19 @@
package cn.cloudwalk.elevator.person.impl;
import cn.cloudwalk.elevator.person.dao.TenantVisitorFloorPolicyDao;
import cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto;
import cn.cloudwalk.elevator.person.mapper.TenantVisitorFloorPolicyMapper;
import javax.annotation.Resource;
import org.springframework.stereotype.Repository;
@Repository
public class TenantVisitorFloorPolicyDaoImpl implements TenantVisitorFloorPolicyDao {
@Resource
private TenantVisitorFloorPolicyMapper tenantVisitorFloorPolicyMapper;
@Override
public TenantVisitorFloorPolicyDto selectEnabledTenantDefault(String businessId) {
return this.tenantVisitorFloorPolicyMapper.selectEnabledTenantDefault(businessId);
}
}
package cn.cloudwalk.elevator.person.impl;
import cn.cloudwalk.elevator.person.dao.TenantVisitorFloorPolicyDao;
import cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto;
import cn.cloudwalk.elevator.person.mapper.TenantVisitorFloorPolicyMapper;
import javax.annotation.Resource;
import org.springframework.stereotype.Repository;
@Repository
public class TenantVisitorFloorPolicyDaoImpl implements TenantVisitorFloorPolicyDao {
@Resource
private TenantVisitorFloorPolicyMapper tenantVisitorFloorPolicyMapper;
@Override
public TenantVisitorFloorPolicyDto selectEnabledTenantDefault(String businessId) {
return this.tenantVisitorFloorPolicyMapper.selectEnabledTenantDefault(businessId);
}
}
@@ -1,12 +1,12 @@
package cn.cloudwalk.elevator.person.mapper;
import cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto;
import org.apache.ibatis.annotations.Param;
public interface TenantVisitorFloorPolicyMapper {
/**
* 租户级默认策略:building_id 为空,启用,INTERSECT_ALLOWLIST。
*/
TenantVisitorFloorPolicyDto selectEnabledTenantDefault(@Param("businessId") String businessId);
}
package cn.cloudwalk.elevator.person.mapper;
import cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto;
import org.apache.ibatis.annotations.Param;
public interface TenantVisitorFloorPolicyMapper {
/**
* 租户级默认策略:building_id 为空,启用,INTERSECT_ALLOWLIST。
*/
TenantVisitorFloorPolicyDto selectEnabledTenantDefault(@Param("businessId") String businessId);
}
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cn.cloudwalk.elevator.person.mapper.TenantVisitorFloorPolicyMapper">
<select id="selectEnabledTenantDefault" resultType="cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto">
SELECT id,
business_id AS businessId,
policy_type AS policyType,
allow_zone_ids AS allowZoneIds,
building_id AS buildingId,
enabled AS enabled,
policy_version AS policyVersion
FROM tenant_visitor_floor_policy
WHERE business_id = #{businessId,jdbcType=VARCHAR}
AND enabled = 1
AND policy_type = 'INTERSECT_ALLOWLIST'
AND (building_id IS NULL OR building_id = '')
ORDER BY updated_at DESC, policy_version DESC
LIMIT 1
</select>
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cn.cloudwalk.elevator.person.mapper.TenantVisitorFloorPolicyMapper">
<select id="selectEnabledTenantDefault" resultType="cn.cloudwalk.elevator.person.dto.TenantVisitorFloorPolicyDto">
SELECT id,
business_id AS businessId,
policy_type AS policyType,
allow_zone_ids AS allowZoneIds,
building_id AS buildingId,
enabled AS enabled,
policy_version AS policyVersion
FROM tenant_visitor_floor_policy
WHERE business_id = #{businessId,jdbcType=VARCHAR}
AND enabled = 1
AND policy_type = 'INTERSECT_ALLOWLIST'
AND (building_id IS NULL OR building_id = '')
ORDER BY updated_at DESC, policy_version DESC
LIMIT 1
</select>
</mapper>