mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
fix: relocate cwos-portal decompiled output to correct path; remove nested directory
Former-commit-id: dc30d42a8c55ed8b2382a41dc2434233fbed9930
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# artifacts/ — 反编译产物与归档
|
||||
|
||||
## OVERVIEW
|
||||
反编译产物集中存放区:V1/V2 JAR 解压源码树、CFR 反编译输出、版本对比报告、历史快照。**只读参考**,不可修改。
|
||||
|
||||
## STRUCTURE
|
||||
```
|
||||
artifacts/
|
||||
├── AGENTS.md # ← 本文件
|
||||
├── decompiled/ # 反编译主目录
|
||||
│ ├── README.md # 反编译归档说明
|
||||
│ ├── archives/ # *.jar.src.zip 归档包
|
||||
│ ├── trees/ # 解压源码树(*.jar.src/)
|
||||
│ └── v1-cfr-compare-20211103/ # V1 CFR 反编译对比
|
||||
└── archive/ # 历史快照
|
||||
└── dated-snapshots/ # 前端等历史版本备份
|
||||
```
|
||||
|
||||
## WHERE TO LOOK
|
||||
|
||||
| Task | Location | Notes |
|
||||
|------|----------|-------|
|
||||
| 反编译归档说明 | `decompiled/README.md` | 格式、命名、目录约定 |
|
||||
| V1/V2 源码树 | `decompiled/trees/` | 按 JAR 分目录的解压源码 |
|
||||
| CFR 反编译对比 | `decompiled/v1-cfr-compare-20211103/` | V1 CFR 输出与统一 Java 文件 |
|
||||
| 历史快照 | `archive/dated-snapshots/` | 前端多版本备份(.bak*) |
|
||||
|
||||
## ANTI-PATTERNS (THIS DIRECTORY)
|
||||
|
||||
- **不要修改 `decompiled/trees/` 和 `decompiled/archives/` 中的任何文件** — 只读参考
|
||||
- **不要把反编译产物当源码直接编译** — 反编译代码仅作对照,以 `maven-*/` 源码为准
|
||||
- **不要将新生成的 JAR 或解压产物直接放入此目录** — 遵循 `decompiled/README.md` 的命名与分类约定
|
||||
|
||||
## NOTES
|
||||
|
||||
- 根目录 `反1/` 也是反编译中间产物(原始拆解 JAR),与 `artifacts/decompiled/` 互补
|
||||
- V1 运行包 `cw-elevator-application-V1.0.0.20211103/` 不在 `artifacts/` 内,在仓库根目录
|
||||
@@ -0,0 +1,28 @@
|
||||
V1 Fat JAR(cw-elevator-application-V1.0.0.20211103.jar)内置 lib 已用 CFR 0.152 反编译归档:
|
||||
- cfr-by-artifact/、cfr-unified-java/(与 maven-unified-java 的 diff 见 diff-unified-summary.txt)
|
||||
|
||||
与 maven-cw-elevator-application 无法启动 / 行为异常的主要差异(按优先级):
|
||||
|
||||
1) 组件扫描范围(根因之一:缺 Spring Bean)
|
||||
V1 AppApplication(cfr-unified-java/.../AppApplication.java):
|
||||
@ComponentScan(basePackages={"cn.cloudwalk.**"})
|
||||
@EnableFeignClients(basePackages={"cn.cloudwalk.**"})
|
||||
V2 ElevatorApplication:
|
||||
scanBasePackages / EnableFeignClients 仅 cn.cloudwalk.elevator + cn.cloudwalk.rest.cwoscomponent
|
||||
影响:依赖 JAR 内落在 cn.cloudwalk.intelligent.*、其他子包下的 @Component(如 davinci FileStorageManagerImpl)
|
||||
在 V2 下默认不会被扫描,除非显式 @Bean / 扩大 scan(已与 DavinciStorageBeansConfiguration 等补丁配合)。
|
||||
|
||||
2) MyBatis @MapperScan 包名(已修正为与 V1 语义一致)
|
||||
V1:@MapperScan({"cn.cloudwalk.elevator.**.mapper"})(CFR 还原字面)
|
||||
修正前 V2:误扫 *.dao;实际 *Mapper.java 均在并列包 *.mapper 下,dao 仅为业务 DAO 接口。
|
||||
已改为扫各模块 …record|device|passrule|person|codeElevatorArea….mapper。
|
||||
|
||||
3) 运行环境与依赖
|
||||
Spring Boot 1.5(V1 fat 内嵌)vs 2.1.18(Maven):配置键、Feign/Hystrix 包名迁移(netflix feign → openfeign)。
|
||||
数据源:部署目录 driver-class-name 仍见 com.mysql.jdbc.Driver 时宜改为 com.mysql.cj.jdbc.Driver。
|
||||
必须保证 DB/Redis/Nexus 与 intelligent-cwoscomponent 版本策略与构建脚本一致。
|
||||
|
||||
4) 入口类名
|
||||
V1 根类 AppApplication;V2 使用 ElevatorApplication。可执行 JAR 的 Main-Class / 脚本需与当前主类一致。
|
||||
|
||||
审阅时可对照:cfr-unified-java vs maven-unified-java,仅路径列表见 only-in-*.txt,全文 diff 见 diff-unified-summary.txt。
|
||||
Binary file not shown.
+15
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.annontation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target(value={ElementType.FIELD})
|
||||
@Retention(value=RetentionPolicy.RUNTIME)
|
||||
public @interface DavinciPic {
|
||||
}
|
||||
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility
|
||||
* com.fasterxml.jackson.annotation.PropertyAccessor
|
||||
* com.fasterxml.jackson.databind.ObjectMapper
|
||||
* com.fasterxml.jackson.databind.ObjectMapper$DefaultTyping
|
||||
* org.springframework.context.annotation.Bean
|
||||
* org.springframework.context.annotation.Configuration
|
||||
* org.springframework.context.annotation.Primary
|
||||
* org.springframework.data.redis.connection.RedisConnectionFactory
|
||||
* org.springframework.data.redis.core.RedisTemplate
|
||||
* org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer
|
||||
* org.springframework.data.redis.serializer.RedisSerializer
|
||||
* org.springframework.data.redis.serializer.StringRedisSerializer
|
||||
*/
|
||||
package cn.cloudwalk.elevator.cache;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
||||
import com.fasterxml.jackson.annotation.PropertyAccessor;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
import org.springframework.data.redis.connection.RedisConnectionFactory;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
|
||||
import org.springframework.data.redis.serializer.RedisSerializer;
|
||||
import org.springframework.data.redis.serializer.StringRedisSerializer;
|
||||
|
||||
@Configuration
|
||||
public class CacheOverrideConfig {
|
||||
public static final String CACHE_NAME_APPLICATIONIDS = "ACS_Applicationids";
|
||||
public static final String CACHE_NAME_ACS_DEVICE_TYPES = "ACS_DeviceTypesCache";
|
||||
public static final String CACHE_NAME_ACS_DEVICE_TYPE_FEATURES = "ACS_DeviceTypeFeaturesCache";
|
||||
public static final String CACHE_NAME_ACS_DEVICE_ATTRS = "ACS_DeviceAttrsCache";
|
||||
public static final String CACHE_NAME_ACS_RECORD_STATISTICS = "ACS_RecordStatisticsCache";
|
||||
public static final String CACHE_NAME_ACS_DEVICE_TREE = "ACS_DeviceTreeCache";
|
||||
public static final String CACHE_NAME_ACS_AREA_TREE = "ACS_AreaTreeCache";
|
||||
public static final String CACHE_KEY_APPLICATION_IDS_PREFIX = "acs_applicationIds:";
|
||||
public static final String CACHE_KEY_ACS_DEVICE_TYPES_PREFIX = "acs_deviceTypes:";
|
||||
public static final String CACHE_KEY_ACS_DEVICE_TYPE_FEATURES_PREFIX = "acs_deviceTypeFeatures:";
|
||||
public static final String CACHE_KEY_ACS_EXPORT_PREFIX = "acs_export_prefix:";
|
||||
public static final String CACHE_KEY_ACS_DEVICE_ATTRS_PREFIX = "acs_deviceAttrs:";
|
||||
public static final String CACHE_KEY_ACS_RECORD_STATISTICS_PREFIX = "acs_recordStatistics:";
|
||||
public static final String CACHE_KEY_ACS_DEVICE_TREE_PREFIX = "acs_deviceTreeCache";
|
||||
public static final String CACHE_KEY_ACS_AREA_TREE_PREFIX = "acs_areaTreeCache:";
|
||||
|
||||
@Primary
|
||||
@Bean(value={"redisTemplate"})
|
||||
public RedisTemplate<Object, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) {
|
||||
RedisTemplate redisTemplate = new RedisTemplate();
|
||||
redisTemplate.setConnectionFactory(redisConnectionFactory);
|
||||
StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
|
||||
Jackson2JsonRedisSerializer jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer(Object.class);
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
|
||||
objectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);
|
||||
jackson2JsonRedisSerializer.setObjectMapper(objectMapper);
|
||||
redisTemplate.setValueSerializer((RedisSerializer)jackson2JsonRedisSerializer);
|
||||
redisTemplate.setKeySerializer((RedisSerializer)stringRedisSerializer);
|
||||
redisTemplate.afterPropertiesSet();
|
||||
return redisTemplate;
|
||||
}
|
||||
}
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
public class AcsConstants {
|
||||
public static final String SUCCESS_CODE = "00000000";
|
||||
public static final String SERVICE_CODE = "elevator-app";
|
||||
public static final Long ONE_DAY_MILLISECONDS = 86400000L;
|
||||
public static final Long ONE_YEAR_MILLISECONDS = 31536000000L;
|
||||
public static final String DEFAULT_CALLER = "defaultUserId";
|
||||
public static final String DEFAULT_CALLER_NAME = "defaultUserName";
|
||||
public static final String ACS_OPEN_DOOR_RECORD_EVENT_TOPIC = "ACS_OPEN_DOOR_RECORD_EVENT_TOPIC";
|
||||
public static final String ACS_BACKEND_REG_LOG_ID_KEY_PREFIX = "acs:backendRegLogId:";
|
||||
public static final String ACS_BACKEND_REG_EXPIRE_PREFIX = "acs:backendRegExpire:";
|
||||
|
||||
private AcsConstants() {
|
||||
}
|
||||
}
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
public class AcsLockConstants {
|
||||
public static final String LOCK_EXPORT_BUSINESSID_PREFIX = "AcsExport:";
|
||||
public static final String LOCK_RECORD_STATISTICS_BUSINESSID_PREFIX = "AcsRecordStatistics:";
|
||||
public static final String LOCK_BACKEND_REG_LOG_ID_PREFIX = "AcsBackendRegLogId:";
|
||||
public static final String LOCK_URGENT_GROUP_DEVICE_ID_PREFIX = "AcsUrgentGroupDeviceIds:";
|
||||
|
||||
private AcsLockConstants() {
|
||||
}
|
||||
}
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* org.springframework.boot.context.properties.ConfigurationProperties
|
||||
* org.springframework.stereotype.Component
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@ConfigurationProperties(prefix="cloudwalk.elevator.common")
|
||||
public class ElevatorCwosConfig {
|
||||
private String relativePrefix;
|
||||
|
||||
public String getRelativePrefix() {
|
||||
return this.relativePrefix;
|
||||
}
|
||||
|
||||
public void setRelativePrefix(String relativePrefix) {
|
||||
this.relativePrefix = relativePrefix;
|
||||
}
|
||||
}
|
||||
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
public class ErrorCode {
|
||||
public static final String OTHER_ERROR = "00000001";
|
||||
public static final String ID_IS_NULL = "53060410";
|
||||
public static final String ID_ARRAY_IS_NULL = "53060411";
|
||||
public static final String ADD_IMAGE_STORE_ERROR = "53060413";
|
||||
public static final String ID_IS_ERROR = "53060414";
|
||||
public static final String EDIT_IMAGE_STORE_IS_ERROR = "53060415";
|
||||
public static final String IMAGE_STORE_REF_IS_ALL_NULL = "53060416";
|
||||
public static final String IMAGFE_STORE_ORG_ID_ARRAY_IS_ERROR = "53060417";
|
||||
public static final String IMAGFE_STORE_LABEL_ID_ARRAY_IS_ERROR = "53060418";
|
||||
public static final String IMAGFE_STORE_PERSON_ID_ARRAY_IS_ERROR = "53060419";
|
||||
public static final String IMAGFE_STORE_LABEL_ID_EXCLUDE_ARRAY_IS_ERROR = "53060420";
|
||||
public static final String IMAGFE_STORE_PERSON_ID_EXCLUDE_ARRAY_IS_ERROR = "53060421";
|
||||
public static final String IMAGE_STORE_DELETE_ERROR = "53060422";
|
||||
public static final String IMAGE_STORE_NAME_IS_ERROR = "53060423";
|
||||
public static final String ID_LENGTH_IS_ERROR = "53060424";
|
||||
public static final String ORG_PARENT_NODE_IS_ERROR = "53060425";
|
||||
public static final String GET_BUSINESS_NAME_IS_ERROR = "53060426";
|
||||
public static final String PARENT_ID_LENGTH_IS_ERROR = "53060427";
|
||||
public static final String FILE_UPLOAD_ERROR = "80014001";
|
||||
public static final String FILE_UPLOAD_CONTROLLER_ERROR = "80014013";
|
||||
public static final String FILE_TYPE_IS_INVALID = "53060429";
|
||||
public static final String FILE_MAX_IS_ERROR = "53060428";
|
||||
public static final String ROTATE_IMAGE_ERROR = "53060430";
|
||||
public static final String EXTRACT_FEATURE_FAIL = "53060431";
|
||||
public static final String FACE_DETECT_IS_EMPTY = "53060432";
|
||||
public static final String FACE_DETECT_OVER_SIZE = "53060433";
|
||||
public static final String IMAGE_IS_EMPTY = "53060434";
|
||||
public static final String EXTRACT_FEATURE_EXCEPTION = "53060435";
|
||||
public static final String EXTRACT_FEATURE_RESULT_IS_EMPTY = "53060436";
|
||||
public static final String UPLOAD_SINGLE_FACE = "53060437";
|
||||
public static final String GROUP_ID_IS_EMPTY = "53060438";
|
||||
public static final String FACE_DETECT_EXCEPTION = "53060439";
|
||||
public static final String FACE_DETECT_RESULT_IS_EMPTY = "53060440";
|
||||
public static final String QUERY_ALL_GROUP_TOPN_FAIL = "53060441";
|
||||
public static final String QUERY_EVERY_GROUP_TOPN_FAIL = "53060442";
|
||||
public static final String QUERY_FEATURE_RESULT_IS_EMPTY = "53060443";
|
||||
public static final String QUERY_FEATURE_RESULT_FAIL = "53060444";
|
||||
public static final String IMAGE_UNDER_SIZE = "53060445";
|
||||
public static final String IMAGE_PIXEL_UNDER_SIZE = "53060446";
|
||||
public static final String ADD_FACE_FAIL = "53060447";
|
||||
public static final String REMOVE_FACE_FAIL = "53060448";
|
||||
public static final String FILE_MANAGER_READ_FILE_ERROR = "80014016";
|
||||
public static final String FILE_MANAGER_DEL_ERROR = "80014017";
|
||||
public static final String ADD_ORG_TYPE_ERROR = "53003800";
|
||||
public static final String EDIT_ORG_TYPE_ERROR = "53003801";
|
||||
public static final String DEL_ORG_TYPE_ERROR = "53003802";
|
||||
public static final String ADD_ORG_TYPE_DUPLICATE_NAME = "53003803";
|
||||
public static final String QUERY_ORG_TYPE_ERROR = "53003804";
|
||||
public static final String PROPERTIES_DUPLICATE_NAME_ERROR = "53003805";
|
||||
public static final String ADD_AREA_TYPE_ERROR = "53004800";
|
||||
public static final String EDIT_AREA_TYPE_ERROR = "53004801";
|
||||
public static final String DEL_AREA_TYPE_ERROR = "53004802";
|
||||
public static final String ADD_AREA_TYPE_DUPLICATE_NAME = "53004803";
|
||||
public static final String QUERY_AREA_TYPE_ERROR = "53004804";
|
||||
public static final String AREA_TYPE_NAME_NOT_NULL = "53004806";
|
||||
public static final String AREA_TYPE_NAME_LENGTH_INVAILD = "53004807";
|
||||
public static final String AREA_TYPE_PRO_NAME_NOT_NULL = "53004810";
|
||||
public static final String AREA_TYPE_PRO_REQUIRED_NOT_NULL = "53004811";
|
||||
public static final String AREA_TYPE_PRO_REQUIRED_RANGE_INVAILD = "53004812";
|
||||
public static final String AREA_TYPE_HAS_LOWER_DATA = "53004813";
|
||||
public static final String AREA_TYPE_NOT_EDIT_DEFAULT = "53004815";
|
||||
public static final String EXIST_AREA_WITH_TYPE = "53004854";
|
||||
public static final String AREA_TYPE_PRO_ORDER_NOT_NULL = "53004816";
|
||||
public static final String AREA_TYPE_PRO_ORDER_RANGE_INVAILD = "53004817";
|
||||
public static final String QUERY_ORG_ERROR = "53003300";
|
||||
public static final String TYPE_ID_IS_NULL = "53003301";
|
||||
public static final String TYPE_ID_LENGTH_IS_ERROR = "53003302";
|
||||
public static final String PARAM_LENGTH_IS_ERROR = "53003303";
|
||||
public static final String EXIST_ORG_WITH_TYPE = "53003304";
|
||||
public static final String ORG_ID_IS_NULL = "53003305";
|
||||
public static final String ORG_PARENT_HSH_LOWER_LEVEL_ERROR = "53003306";
|
||||
public static final String ORG_PARENT_ID_IS_NULL = "53003307";
|
||||
public static final String ORG_LEVEL_IS_ERROR = "53003308";
|
||||
public static final String ORG_NAME_IS_EXIST = "53003309";
|
||||
public static final String ORG_ID_IS_ERROR = "53003310";
|
||||
public static final String PERSON_ID_ARRAY_IS_ERROR = "53003311";
|
||||
public static final String ORG_NAME_IS_NULL = "53003312";
|
||||
public static final String ORG_YI_IS_NOT_DELETE = "53003313";
|
||||
public static final String ORG_PARENT_IS_HAVING = "53003314";
|
||||
public static final String ORG_CANNOT_DELETE = "53003315";
|
||||
public static final String QZ_BUSINESS_ID_INVALID = "53014000";
|
||||
public static final String QZ_PERSON_CODE_INVALID = "53014001";
|
||||
public static final String QZ_PERSON_NAME_INVALID = "53014002";
|
||||
public static final String QZ_PERSON_USER_NAME_INVALID = "53014003";
|
||||
public static final String QZ_PERSON_PHONE_INVALID = "53014004";
|
||||
public static final String QZ_PERSON_EMAIL_INVALID = "53014005";
|
||||
public static final String QZ_PERSON_SYNC_ACCOUNT_INVALID = "53014006";
|
||||
public static final String QZ_PERSON_CUSTOM_FIELD_INVALID = "53014007";
|
||||
public static final String QZ_PERSON_ADD_ERROR = "53014008";
|
||||
public static final String QZ_PERSON_EDIT_ERROR = "53014009";
|
||||
public static final String QZ_PERSON_DEL_ERROR = "53014010";
|
||||
public static final String QZ_PERSON_QUERY_ERROR = "53014011";
|
||||
public static final String QZ_PERSON_CODE_DUPLICATE = "53014012";
|
||||
public static final String QZ_PERSON_USER_NAME_DUPLICATE = "53014013";
|
||||
public static final String QZ_PERSON_PHONE_DUPLICATE = "53014014";
|
||||
public static final String QZ_PERSON_EMAIL_DUPLICATE = "53014015";
|
||||
public static final String QZ_PERSON_FILED_LOSE = "53014016";
|
||||
public static final String QZ_PERSON_FILED_INVALID = "53014017";
|
||||
public static final String QZ_PERSON_FILED_NOT_EXISTS = "53014018";
|
||||
public static final String QZ_PERSON_NO_SYSTEM_ID = "53014019";
|
||||
public static final String QZ_PERSON_FILED_LABEL_ORGANIZATION_LOSE = "53014020";
|
||||
public static final String QZ_PERSON_SOURCE_ILLEGAL = "53014021";
|
||||
public static final String QZ_PERSON_PROPERTIES_CERT_LOSE = "53014022";
|
||||
public static final String QZ_PERSON_CERT_ID_DUPLICATE = "53014023";
|
||||
public static final String PERSON_ID_LIST_IS_EMPTY = "53014024";
|
||||
public static final String IMAGE_ID_LIST_IS_EMPTY = "53014025";
|
||||
public static final String IMAGE_ID_IS_EMPTY = "53014026";
|
||||
public static final String QZ_SYSTEM_ID_VALUE_EMPTY = "53014027";
|
||||
public static final String QZ_SYSTEM_ID_VALUE_DUPLICATE = "53014028";
|
||||
public static final String PERSONNEL_ATTRIBUTES_ARE_NOT_SET = "53014029";
|
||||
public static final String QZ_BATCH_ID_INVALID = "53014030";
|
||||
public static final String QZ_BATCH_STATUS_INVALID = "53014031";
|
||||
public static final String QZ_BATCH_ADD_ERROR = "53014032";
|
||||
public static final String QZ_BATCH_QUERY_ERROR = "53014033";
|
||||
public static final String QZ_BATCH_DETAIL_QUERY_ERROR = "53014034";
|
||||
public static final String BATCH_IMPORT_INSERT_ERROR = "53014035";
|
||||
public static final String BATCH_IMPORT_PROCESS_EXCEPTION = "53014036";
|
||||
public static final String BATCH_IMPORT_ZIP_FILE_EMPTY = "53014037";
|
||||
public static final String BATCH_IMPORT_UNZIP_FAILED = "53014038";
|
||||
public static final String BATCH_IMPORT_EXCEL_FILE_NOTFOUND = "53014039";
|
||||
public static final String BATCH_IMPORT_DATA_EMPTY = "53014040";
|
||||
public static final String FILE_INIT_FAIL = "53014041";
|
||||
public static final String FILE_FINISHI_FAIL = "53014042";
|
||||
public static final String FILE_GET_FAIL = "53014043";
|
||||
public static final String LABEL_NAME_IS_EXIST = "53003700";
|
||||
public static final String LABEL_ID_IS_ERROR = "53003701";
|
||||
public static final String LABEL_PAGE_IS_ERROR = "53003702";
|
||||
public static final String QZ_LABEL_NAME_INVALID = "53003703";
|
||||
public static final String QZ_LABEL_CODE_INVALID = "53003704";
|
||||
public static final String LABEL_CODE_IS_EXIST = "53003705";
|
||||
public static final String QZ_LABEL_ADD_TYPE_INVALID = "53003706";
|
||||
public static final String QZ_LABEL_DEL_PERSON_RELATION = "53003707";
|
||||
public static final String PERSON_PRO_NAME_NOT_NULL = "53014800";
|
||||
public static final String PERSON_PRO_NAME_LENGTH_INVAILD = "53014801";
|
||||
public static final String PERSON_PRO_TYPE_NOT_NULL = "53014802";
|
||||
public static final String PERSON_PRO_TYPE_RANGE_INVAILD = "53014803";
|
||||
public static final String PERSON_PRO_SYSACCOUNT_RANGE_INVAILD = "53014804";
|
||||
public static final String PERSON_PRO_REQUIRED_RANGE_INVAILD = "53014805";
|
||||
public static final String PERSON_PRO_ORDER_NOT_NULL = "53014806";
|
||||
public static final String PERSON_PRO_REMINDER_NOT_NULL = "53014807";
|
||||
public static final String PERSON_PRO_REMINDER_LENGTH_INVAILD = "53014808";
|
||||
public static final String PERSON_PRO_ARRAYDATA_LENGTH_INVAILD = "53014809";
|
||||
public static final String PERSON_PRO_MULTIPLE_RANGE_INVAILD = "53014810";
|
||||
public static final String DEFAULT_ACCOUNT_CAN_NOT_CHANGE = "53014811";
|
||||
public static final String REQUIRED_CAN_NOT_CHANGE = "53014812";
|
||||
public static final String SWITCH_SIZE_PARAM_INVALID = "53014813";
|
||||
public static final String SWITCH_BACKGROUND_OBJECT_INVALID = "53014814";
|
||||
public static final String ORG_TYPE_NAME_NOT_NULL = "53003806";
|
||||
public static final String ORG_TYPE_NAME_LENGTH_INVAILD = "53003807";
|
||||
public static final String ORG_TYPE_LOWER_NOT_NULL = "53003808";
|
||||
public static final String ORG_TYPE_LOWER_RANGE_INVAILD = "53003809";
|
||||
public static final String ORG_TYPE_PRO_NAME_NOT_NULL = "53003810";
|
||||
public static final String ORG_TYPE_PRO_REQUIRED_NOT_NULL = "53003811";
|
||||
public static final String ORG_TYPE_PRO_REQUIRED_RANGE_INVAILD = "53003812";
|
||||
public static final String ORG_TYPE_HAS_LOWER_DATA = "53003813";
|
||||
public static final String ORG_TYPE_NOT_NEW_DEFAULT = "53003814";
|
||||
public static final String ORG_TYPE_NOT_EDIT_DEFAULT = "53003815";
|
||||
public static final String ORG_TYPE_PRO_ORDER_NOT_NULL = "53003816";
|
||||
public static final String ORG_TYPE_PRO_ORDER_RANGE_INVAILD = "53003817";
|
||||
public static final String CAT_NOT_EDIT_DEFAULT_TYPE = "53003818";
|
||||
public static final String PERSON_NOT_EXIST = "53003819";
|
||||
public static final String PERSON_IMAGE_SCORE_FAILE = "53003820";
|
||||
public static final String ORG_SEARCH_PARAM_FAILE = "53003821";
|
||||
public static final String PERSON_REGISTRY_STATUS_IS_NULL = "53014500";
|
||||
public static final String PERSON_REGISTRY_DEVICESTATUS_IS_NULL = "53014501";
|
||||
public static final String PERSON_REGISTRY_CODESTATUS_IS_NULL = "53014502";
|
||||
public static final String PERSON_REGISTRY_PROPERTY_IS_NULL = "53014503";
|
||||
public static final String PERSON_REGISTRY_DEVICE_IS_NULL = "53014504";
|
||||
public static final String PERSON_REGISTRY_STATUS_INVALID = "53014505";
|
||||
public static final String PERSON_REGISTRY_DEVICESTATUS_INVALID = "53014506";
|
||||
public static final String PERSON_REGISTRY_CODESTATUS_INVALID = "53014507";
|
||||
public static final String PERSON_REGISTRY_PRO_ID_LIST_IS_ERROR = "53014508";
|
||||
public static final String PERSON_REGISTRY_PRO_NAME_IS_REQUIRED = "53014509";
|
||||
public static final String PERSON_REGISTRY_PRO_ORG_LABEL_IS_REQUIRED = "53014510";
|
||||
public static final String PERSON_REGISTRY_PRO_IS_REQUIRED = "53014511";
|
||||
public static final String PERSON_REGISTRY_ORG_IDS_IS_ERROR = "53014512";
|
||||
public static final String PERSON_REGISTRY_LABEL_IDS_IS_ERROR = "53014513";
|
||||
public static final String PERSON_REGISTRY_DEVICE_IS_ERROR = "53014514";
|
||||
public static final String PERSON_REGISTRY_ADD_FAIL = "53014515";
|
||||
public static final String PERSON_REGISTRY_SAVE_FAIL = "53014516";
|
||||
public static final String PERSON_REGISTRY_IS_NULL = "53014517";
|
||||
public static final String PERSON_REGISTRY_STATUS_IS_CLOSED = "53014518";
|
||||
public static final String PERSON_REGISTRY_DEVICE_IS_NOT_ADD = "53014519";
|
||||
public static final String PERSON_REGISTRY_DETAIL_FAIL = "53014520";
|
||||
public static final String PERSON_REGISTRY_PRO_LIST_FAIL = "53014521";
|
||||
public static final String PERSON_REGISTRY_UNIQUE_PRO_IS_NULL = "53014522";
|
||||
public static final String PERSON_REGISTRY_UNIQUE_PRO_FAIL = "53014523";
|
||||
public static final String PERSON_PRO_IS_NULL = "53014524";
|
||||
public static final String PERSON_CERT_PRO_IS_NULL = "53014525";
|
||||
public static final String CARDID_NOT_BIND_PRO = "53014526";
|
||||
public static final String NAME_NOT_BIND_PRO = "53014527";
|
||||
public static final String BIND_PRO_ONE_TO_MANY = "53014528";
|
||||
public static final String DEFAULT_PRO_ORG_LABEL_IS_REQUIRED = "53014529";
|
||||
public static final String PERSON_REGISTRY_TYPE_INVALID = "53014530";
|
||||
public static final String QUERY_DISTRICT_TREE_FAIL = "53014600";
|
||||
public static final String QUERY_DEVICE_LIST_FAIL = "53014700";
|
||||
public static final String DEVICE_ID_IS_NULL = "53014701";
|
||||
public static final String QUERY_PERSON_GROUP_RELATIONS_FAIL = "53014702";
|
||||
public static final String QUERY_QR_CODE_URL_FAIL = "53014900";
|
||||
public static final String PERSON_AUDIT_PARAM_SOURCE = "53060533";
|
||||
public static final String PERSON_AUDIT_DEVICE_FORBID = "53060534";
|
||||
public static final String PERSON_AUDIT_ADD_EXCEPTION = "53060535";
|
||||
public static final String PERSON_AUDIT_ID_INVALID = "53060536";
|
||||
public static final String PERSON_AUDIT_ID_ISNULL = "53060537";
|
||||
public static final String PERSON_AUDIT_QUERY_FAILED = "53060538";
|
||||
public static final String PERSON_AUDIT_APPLY_FAILED = "53060539";
|
||||
public static final String PERSON_AUDIT_PAGE_FAILED = "53060540";
|
||||
public static final String PERSON_AUDIT_REGISTRY_SETTING_FAILED = "53060541";
|
||||
public static final String PERSON_AUDIT_DEVICECODE_EMPTY = "53060542";
|
||||
public static final String PERSON_AUDIT_DEVICE_INVALID = "53060543";
|
||||
public static final String PERSON_AUDIT_UPLOAD_BASE64_EMPTY = "53060544";
|
||||
public static final String PERSON_AUDIT_CHECK_NAME_EMPTY = "53060545";
|
||||
public static final String PERSON_AUDIT_CHECK_WRONG_CAPTCHA = "53060546";
|
||||
public static final String PERSON_AUDIT_UNIQUE_PROPERTY_ERROR = "53060547";
|
||||
public static final String PERSON_AUDIT_QUERY_AUDIT_EMPTY = "53060548";
|
||||
public static final String PERSON_AUDIT_AGREE_CAN_NOT_EDIT = "53060549";
|
||||
public static final String AREA_PARENT_ID_IS_NULL = "53015100";
|
||||
public static final String AREA_PARENT_HSH_LOWER_LEVEL_ERROR = "53015101";
|
||||
public static final String AREA_PARENT_IS_HAVING = "53015102";
|
||||
public static final String AREA_NAME_IS_EXIST = "53015103";
|
||||
public static final String AREA_ID_IS_ERROR = "53015104";
|
||||
public static final String AREA_PARENT_NODE_IS_ERROR = "53015105";
|
||||
public static final String AREA_YI_IS_NOT_DELETE = "53015106";
|
||||
public static final String AREA_TYPE_ID_IS_NULL = "53015107";
|
||||
public static final String UNIT_ID_ARRAY_IS_ERROR = "53015108";
|
||||
public static final String QUERY_AREA_ERROR = "53015109";
|
||||
public static final String DETAIL_AREA_ERROR = "53015110";
|
||||
|
||||
private ErrorCode() {
|
||||
}
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
public class FeignRemoteConfig {
|
||||
public static final String PLATFORM_USER_ID = "platformuserid";
|
||||
public static final String LOGIN_ID = "loginid";
|
||||
public static final String BUSINESS_ID = "businessid";
|
||||
public static final String USER_NAME = "username";
|
||||
public static final String APPLICATION_ID = "applicationid";
|
||||
public static final String AUTHORIZATION = "authorization";
|
||||
public static final String SERVICE_CODE = "elevator-app";
|
||||
|
||||
private FeignRemoteConfig() {
|
||||
}
|
||||
}
|
||||
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.context.CloudwalkCallContext
|
||||
* cn.cloudwalk.cloud.session.extend.DefaultExtendContext
|
||||
* javax.servlet.http.HttpServletRequest
|
||||
* org.apache.commons.lang3.StringUtils
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.session.extend.DefaultExtendContext;
|
||||
import cn.cloudwalk.elevator.context.CloudWalkExtendContextValue;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
public class FeignThreadLocalUtil {
|
||||
private static ThreadLocal<Map<String, String>> threadLocal = new ThreadLocal();
|
||||
|
||||
public static void set(Map<String, String> t) {
|
||||
threadLocal.remove();
|
||||
threadLocal.set(t);
|
||||
}
|
||||
|
||||
public static Map<String, String> get() {
|
||||
return threadLocal.get();
|
||||
}
|
||||
|
||||
public static void remove() {
|
||||
threadLocal.remove();
|
||||
}
|
||||
|
||||
public static Map<String, String> getRequestHeader(HttpServletRequest request) {
|
||||
ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(10);
|
||||
if (null != request.getHeader("platformuserid")) {
|
||||
map.put("platformuserid", request.getHeader("platformuserid"));
|
||||
}
|
||||
if (null != request.getHeader("loginid")) {
|
||||
map.put("loginid", request.getHeader("loginid"));
|
||||
}
|
||||
if (null != request.getHeader("businessid")) {
|
||||
map.put("businessid", request.getHeader("businessid"));
|
||||
}
|
||||
if (null != request.getHeader("username")) {
|
||||
map.put("username", request.getHeader("username"));
|
||||
}
|
||||
if (null != request.getHeader("applicationid")) {
|
||||
map.put("applicationid", request.getHeader("applicationid"));
|
||||
}
|
||||
if (null != request.getHeader("authorization")) {
|
||||
map.put("authorization", request.getHeader("authorization"));
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
public static Map<String, String> getDefaultReqesutHeader(String businessId) {
|
||||
ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(2);
|
||||
map.put("businessid", businessId);
|
||||
map.put("username", "default");
|
||||
return map;
|
||||
}
|
||||
|
||||
public static void setRequestHeader(Map<String, String> headerMap) {
|
||||
FeignThreadLocalUtil.set(headerMap);
|
||||
}
|
||||
|
||||
public static Map<String, String> getDefaultRequestHeader(CloudwalkCallContext context) {
|
||||
HashMap<String, String> map = new HashMap<String, String>(10);
|
||||
DefaultExtendContext extendContext = (DefaultExtendContext)context.getExt();
|
||||
map.put("platformuserid", context.getUser().getCaller());
|
||||
map.put("loginid", ((CloudWalkExtendContextValue)extendContext.getValue()).getLoginId());
|
||||
map.put("businessid", context.getCompany().getCompanyId());
|
||||
map.put("username", StringUtils.isEmpty((CharSequence)context.getUser().getCallerName()) ? "default" : context.getUser().getCallerName());
|
||||
map.put("applicationid", context.getApplicationId());
|
||||
map.put("authorization", ((CloudWalkExtendContextValue)extendContext.getValue()).getAuthorization());
|
||||
return map;
|
||||
}
|
||||
|
||||
public static void setRequestHeader(CloudwalkCallContext context) {
|
||||
FeignThreadLocalUtil.set(FeignThreadLocalUtil.getDefaultRequestHeader(context));
|
||||
}
|
||||
}
|
||||
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.config;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class ImageStoreConstants {
|
||||
public static final short IS_NOT_DEL = 0;
|
||||
public static final short IS_DEL = 1;
|
||||
public static final int ASSOCIATED_ACTION_INCLUDE = 0;
|
||||
public static final int ASSOCIATED_ACTION_EXCLUDE = 1;
|
||||
public static final int ASSOCIATED_OBJECT_ORG_TYPE = 1;
|
||||
public static final int ASSOCIATED_OBJECT_LABEL_TYPE = 2;
|
||||
public static final int ASSOCIATED_OBJECT_PERSON_TYPE = 3;
|
||||
public static final int ASSOCIATED_OBJECT_MATCHPATTERN_TYPE = 4;
|
||||
public static final int ASSOCIATED_OBJECT_IMAGE_STORE_TYPE = 5;
|
||||
public static final String COMMON_BUSINESS_ID = "cloudwalk";
|
||||
public static final Integer COMMON_PROPERTIES_STATUS = 99;
|
||||
public static final Integer COMMON_UNIT_PROPERTIES_STATUS = 98;
|
||||
public static final Integer COMMON_PARK_PROPERTIES_STATUS = 97;
|
||||
private static final List<String> CUST_PROPERTIES = Arrays.asList("ext1", "ext2", "ext3", "ext4", "ext5", "ext6", "ext7", "ext8", "ext9", "ext10", "ext11", "ext12", "ext13", "ext14", "ext15", "ext16", "ext17", "ext18", "ext19", "ext20", "ext21", "ext22", "ext23", "ext24", "ext25", "ext26", "ext27", "ext28", "ext29", "ext30", "ext31", "ext32", "ext33", "ext34", "ext35", "ext36", "ext37", "ext38", "ext39", "ext40");
|
||||
public static final String PERSON_PROPERTY_USER_NAME = "userName";
|
||||
public static final String PERSON_PROPERTY_PHONE = "phone";
|
||||
public static final String PERSON_PROPERTY_EMAIL = "email";
|
||||
public static final String COMPARE_PICTURE = "comparePicture";
|
||||
public static final String PERSON_PROPERTY_PERSON_CODE = "personCode";
|
||||
public static final String IC_CAED_NO = "icCardNo";
|
||||
public static final String IC_CAED_TYPE = "icCardType";
|
||||
public static final String FLOORS = "floors";
|
||||
public static final String PROPERTY_CODE = "code";
|
||||
public static final String PROPERTY_HAS_REQUIRED = "hasRequired";
|
||||
public static final int PROPERTY_REQUIRED = 1;
|
||||
public static final int PROPERTY_UNREQUIRED = 0;
|
||||
public static final String PERSON_PROPERTY_NAME = "name";
|
||||
public static final String PERSON_PROPERTY_ORGANIZATIONIDS = "organizationIds";
|
||||
public static final String PERSON_PROPERTY_LABELIDS = "labelIds";
|
||||
public static final String CREATE_SYS_ACCOUNT_CODE = "createSysAccount";
|
||||
public static final String CREATE_SYS_ACCOUNT_NAME = "\u540c\u6b65\u521b\u5efa\u8d26\u53f7";
|
||||
public static final String SYS_ACCOUNT_ID_CODE = "sysAccountId";
|
||||
public static final String SYS_ACCOUNT_ID_NAME = "\u540c\u6b65\u521b\u5efa\u8d26\u53f7\u7cfb\u7edfID";
|
||||
public static final Integer AGREE = 0;
|
||||
public static final String SYSTEM_USER = "system";
|
||||
public static final String IMAGE_STORE_ID = "imageStoreId";
|
||||
public static final String PASS_CRONS = "passCrons";
|
||||
public static final short PERSON_DELETED = -1;
|
||||
public static final short PERSON_VALIDATE = 0;
|
||||
public static final short PERSON_INVALIDATE = 1;
|
||||
public static final short DEVICE_PERSON_VALIDATE = 1;
|
||||
public static final short DEVICE_PERSON_INVALIDATE = 0;
|
||||
public static final Integer MAX_FILE = 0x300000;
|
||||
public static final String SYSTEM_GROUP_CREATE_USER_ID = "group";
|
||||
public static final int PERSON_ACTION_DELETE = -1;
|
||||
public static final int PERSON_ACTION_ADD = 0;
|
||||
public static final int PERSON_ACTION_UPDATE = 1;
|
||||
public static final short GROUP_MODEL_STATUS_NO_IMG = 0;
|
||||
public static final int PERSON_VALIDATE_UNPROCESSED = 0;
|
||||
public static final int PERSON_VALIDATE_PROCESSED = 1;
|
||||
|
||||
private ImageStoreConstants() {
|
||||
}
|
||||
|
||||
public static List<String> getCustProperties() {
|
||||
return CUST_PROPERTIES;
|
||||
}
|
||||
}
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.context;
|
||||
|
||||
public class CloudWalkExtendContextValue {
|
||||
private String loginId;
|
||||
private String authorization;
|
||||
|
||||
public String getLoginId() {
|
||||
return this.loginId;
|
||||
}
|
||||
|
||||
public void setLoginId(String loginId) {
|
||||
this.loginId = loginId;
|
||||
}
|
||||
|
||||
public String getAuthorization() {
|
||||
return this.authorization;
|
||||
}
|
||||
|
||||
public void setAuthorization(String authorization) {
|
||||
this.authorization = authorization;
|
||||
}
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AcsApplicationSourceEnum {
|
||||
ACCESS_CONTROL("ACCESS_CONTROL", "\u95e8\u7981\u5e94\u7528"),
|
||||
CWOS_PORTAL("CWOS_PORTAL", "\u5e73\u53f0\u5e94\u7528");
|
||||
|
||||
private final String code;
|
||||
private final String name;
|
||||
|
||||
private AcsApplicationSourceEnum(String code, String name) {
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public static AcsApplicationSourceEnum getEnumByCode(String code) {
|
||||
for (AcsApplicationSourceEnum item : AcsApplicationSourceEnum.values()) {
|
||||
if (!code.equals(item.code)) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AcsDeviceIdentifyTypeEnum {
|
||||
FRONT_REG(0, "\u524d\u7aef\u8bc6\u522b"),
|
||||
BACKEND_REG(1, "\u540e\u7aef\u8bc6\u522b");
|
||||
|
||||
private Integer code;
|
||||
private String name;
|
||||
|
||||
private AcsDeviceIdentifyTypeEnum(Integer code, String name) {
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public static AcsDeviceIdentifyTypeEnum getEnumByCode(Integer code) {
|
||||
for (AcsDeviceIdentifyTypeEnum item : AcsDeviceIdentifyTypeEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AcsDeviceQueryTypeEnum {
|
||||
QUERY_MAIN(1, "\u53ea\u67e5\u8be2\u4e3b\u8bbe\u5907"),
|
||||
QUERY_MAIN_AND_SUB(2, "\u67e5\u8be2\u4e3b\u8bbe\u5907\u53ca\u5176\u5b50\u8bbe\u5907");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private AcsDeviceQueryTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsDeviceQueryTypeEnum getEnumByCode(Integer code) {
|
||||
for (AcsDeviceQueryTypeEnum item : AcsDeviceQueryTypeEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
import cn.cloudwalk.elevator.em.AcsApplicationSourceEnum;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public enum AcsDeviceSettingEnum {
|
||||
QUALITY_SCORE("qualityScore", "\u4eba\u8138\u6293\u62cd\u8d28\u91cf\u5206", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
TEMP_THRESHOLD("tempThreshold", "\u6e29\u5ea6\u62a5\u8b66\u9608\u503c", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
TEMP_MIN("tempMin", "\u6e29\u5ea6\u6700\u4f4e\u503c", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
MASK_THRESHOLD("maskThreshold", "\u53e3\u7f69\u9608\u503c", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
LIVE_STATE("liveState", "\u6d3b\u4f53\u68c0\u6d4b\u5f00\u5173", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
TEMP_STATE("tempState", "\u6e29\u5ea6\u63a7\u5236\u5f00\u5173", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
FACE_SIZE_MIN("faceSizeMin", "\u4eba\u8138\u6700\u5c0f\u5c3a\u5bf8", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
FACE_SIZE_MAX("faceSizeMax", "\u4eba\u8138\u6700\u5927\u5c3a\u5bf8", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
FACE_ONE_THRESHOLD("faceOneThreshold", "\u4eba\u81381:1\u8bc6\u522b\u9608\u503c", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
FACE_MANY_THRESHOLD("faceManyThreshold", "\u4eba\u81381:N\u8bc6\u522b\u9608\u503c", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
ACS_FACE_REG_THRESHOLD("ACS_FACE_REG_THRESHOLD", "\u4eba\u8138\u6293\u62cd\u8bc6\u522b\u9608\u503c", AcsApplicationSourceEnum.ACCESS_CONTROL);
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
private AcsApplicationSourceEnum source;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public AcsApplicationSourceEnum getSource() {
|
||||
return this.source;
|
||||
}
|
||||
|
||||
private AcsDeviceSettingEnum(String code, String remark, AcsApplicationSourceEnum source) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public static AcsDeviceSettingEnum getEnumByCode(String code) {
|
||||
for (AcsDeviceSettingEnum item : AcsDeviceSettingEnum.values()) {
|
||||
if (!code.equals(item.code)) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<AcsDeviceSettingEnum> getEnumBySource(String source) {
|
||||
ArrayList<AcsDeviceSettingEnum> list = new ArrayList<AcsDeviceSettingEnum>();
|
||||
for (AcsDeviceSettingEnum item : AcsDeviceSettingEnum.values()) {
|
||||
if (!source.equals(item.source.getCode())) continue;
|
||||
list.add(item);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AcsOpenDoorStatusEnum {
|
||||
INIT(0, "\u521d\u59cb\u5316"),
|
||||
SUCESS(1, "\u6210\u529f"),
|
||||
FAIL(2, "\u5931\u8d25");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private AcsOpenDoorStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsOpenDoorStatusEnum getEnumByCode(Integer code) {
|
||||
for (AcsOpenDoorStatusEnum item : AcsOpenDoorStatusEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AcsOperateStatusEnum {
|
||||
INIT(0, "\u521d\u59cb\u5316"),
|
||||
MATCHED(1, "\u5df2\u5339\u914d");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private AcsOperateStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsOperateStatusEnum getEnumByCode(Integer code) {
|
||||
for (AcsOperateStatusEnum item : AcsOperateStatusEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AcsOperateTypeEnum {
|
||||
REMOTE_OPEN_DOOR("REMOTE_OPEN_DOOR", "\u8fdc\u7a0b\u5f00\u95e8"),
|
||||
QRCODE_OPEN_DOOR("QRCODE_OPEN_DOOR", "\u5c0f\u7a0b\u5e8f\u626b\u7801\u5f00\u95e8");
|
||||
|
||||
private String code;
|
||||
private String message;
|
||||
|
||||
private AcsOperateTypeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsOperateTypeEnum getEnumByCode(String code) {
|
||||
for (AcsOperateTypeEnum item : AcsOperateTypeEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
import cn.cloudwalk.elevator.em.YesNoTypeEnum;
|
||||
|
||||
public enum AcsPassTypeEnum {
|
||||
LONG_TIME(0, "\u957f\u671f"),
|
||||
AUTO_PASS(1, "\u81ea\u5b9a\u4e49\u65f6\u95f4"),
|
||||
PASS_TIME(2, "\u901a\u884c\u65f6\u95f4\u6bb5");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private AcsPassTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static YesNoTypeEnum getEnumByCode(Integer code) {
|
||||
for (YesNoTypeEnum item : YesNoTypeEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum AlarmStateCodeEnum {
|
||||
OPERATION_FAILED("36000001", "\u64cd\u4f5c\u5931\u8d25"),
|
||||
EMPTY_PARAMETERS_WRONG("36000002", "\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a"),
|
||||
INSERT_DATABSE_EREEOR("36000003", "\u63d2\u5165\u6570\u636e\u5e93\u5f02\u5e38"),
|
||||
EMPTY_USER_ID("36000004", "ID\u4e0d\u80fd\u4e3a\u7a7a"),
|
||||
PARAM_ERROR("36000005", "\u53c2\u6570\u4e0d\u7b26\u5408\u8981\u6c42"),
|
||||
SEARCH_INFORMATION_FAILED("36000006", "\u67e5\u8be2\u4fe1\u606f\u5931\u8d25"),
|
||||
TASK_NAME_EXIST("36000007", "\u5e03\u63a7\u540d\u79f0\u91cd\u590d"),
|
||||
TASK_TYPE_NAME_EXIST("36000012", "\u5e03\u63a7\u7c7b\u578b\u540d\u79f0\u91cd\u590d"),
|
||||
DELETE_NOT_EXIST("36000008", "\u88ab\u5220\u9664\u8d44\u6e90\u4e0d\u5b58\u5728"),
|
||||
CONTROL_TASK_TYPE_HAS_TASK("36000009", "\u5b58\u5728\u5173\u8054\u4efb\u52a1"),
|
||||
SAVE_TASK_TYPE_ERROR("36000010", "\u4fdd\u5b58\u533a\u63a7\u7c7b\u578b\u5931\u8d25"),
|
||||
UPDATE_TASK_TYPE_ERROR("36000011", "\u66f4\u65b0\u533a\u63a7\u7c7b\u578b\u5931\u8d25"),
|
||||
FILE_SIZE_ILLEGAL("3600030", "\u6587\u4ef6\u5927\u5c0f\u8d85\u8fc7"),
|
||||
WRONG_PARAMETERS("400", "\u53c2\u6570\u9519\u8bef"),
|
||||
SERVER_EXCEPTION("500", "\u670d\u52a1\u5668\u5f02\u5e38"),
|
||||
SUCCESS("00000000", "\u6210\u529f"),
|
||||
CWOS_FEIGN_FAILED("36000007", "\u8c03\u7528cwos\u63a5\u53e3\u5f02\u5e38"),
|
||||
PAGE_QUERY_FAILED("36000008", "\u5206\u9875\u67e5\u8be2\u5931\u8d25"),
|
||||
PARAM_REPEAT("36000009", "\u8bc1\u4ef6\u7c7b\u578b+\u8bc1\u4ef6\u53f7\u91cd\u590d"),
|
||||
CONTROL_TASK_ID_NOT_EXIST("36000010", "\u4efb\u52a1\u7f16\u53f7\u4e0d\u5b58\u5728"),
|
||||
DEVICE_NOT_EXIST("36000011", "\u56de\u653e\u94fe\u63a5\u5df2\u5931\u6548"),
|
||||
LABEL_NAME_DUPLICATE_FAILED("10001056", "\u5e93\u540d\u79f0\u91cd\u590d"),
|
||||
LABEL_NAME_INVALID("10001050", "\u5e93\u540d\u79f0\u65e0\u6548"),
|
||||
LABEL_QUERY_FAILED("10001051", "\u6807\u7b7e\u67e5\u8be2\u5931\u8d25"),
|
||||
LABEL_SAVE_FAILED("10001052", "\u6807\u7b7e\u4fdd\u5b58\u5931\u8d25"),
|
||||
LABEL_UPDATE_FAILED("10001053", "\u6807\u7b7e\u66f4\u65b0\u5931\u8d25"),
|
||||
LABEL_DELETE_FAILED("10001054", "\u6807\u7b7e\u5220\u9664\u5931\u8d25"),
|
||||
EMPTY_LABEL_NAME("10001055", "\u6807\u7b7e\u540d\u79f0\u4e3a\u7a7a"),
|
||||
LABEL_PAGE_FAILED("10001055", "\u5206\u9875\u67e5\u8be2\u6807\u7b7e\u5f02\u5e38"),
|
||||
LABEL_LIST_FAILED("10001057", "\u5217\u8868\u67e5\u8be2\u6807\u7b7e\u5f02\u5e38"),
|
||||
LABEL_BRAND_FAILED("10001060", "\u67e5\u8be2\u8f66\u8f86\u54c1\u724c\u5f02\u5e38"),
|
||||
VEHICLE_TYPE_FAILED("10001061", "\u67e5\u8be2\u8f66\u8f86\u7c7b\u578b\u5f02\u5e38"),
|
||||
VEHICLE_DETAIL_ERROR("10001062", "\u8f66\u8f86\u8be6\u60c5\u67e5\u8be2\u5931\u8d25"),
|
||||
CODE_QUERY_ERROR("10001063", "\u67e5\u8be2\u5931\u8d25"),
|
||||
LABEL_SIZE_FAILED("10001067", "\u5e93\u540d\u79f0\u8d85\u8fc7\u6700\u5927\u957f\u5ea6"),
|
||||
PLATE_NO_DUPLICATE("10001070", "\u8f66\u724c\u53f7\u91cd\u590d\u6dfb\u52a0"),
|
||||
VEHICLE_ADD_ERROR("10001071", "\u8f66\u8f86\u6dfb\u52a0\u5931\u8d25"),
|
||||
VEHICLE_PROPERTY_UNQUALIFIED("10001087", "\u8f66\u8f86\u5c5e\u6027\u4e0d\u5408\u683c"),
|
||||
PLATE_NO_INVALID("10005202", "\u8f66\u724c\u53f7\u65e0\u6548"),
|
||||
VEHICLE_TYPE_INVALID("10005203", "\u8f66\u724c\u7c7b\u578b\u65e0\u6548"),
|
||||
VEHICLE_BRAND_INVALID("10005204", "\u8f66\u8f86\u54c1\u724c\u65e0\u6548"),
|
||||
VEHICLE_EDIT_FAIL("10001069", "\u8f66\u8f86\u7f16\u8f91\u5931\u8d25"),
|
||||
VEHICLE_DELETE_ERROR("10001076", "\u8f66\u8f86\u5220\u9664\u5931\u8d25"),
|
||||
VEHICLE_PAGE_FAILED("10001064", "\u8f66\u8f86\u5206\u9875\u67e5\u8be2\u5931\u8d25"),
|
||||
VEHICLE_LIST_FAILED("10001065", "\u8f66\u8f86LIST\u67e5\u8be2\u5931\u8d25"),
|
||||
LABEL_BIND_VEHICLE("10001058", "\u8be5\u6807\u7b7e\u5df2\u88ab\u7ed1\u5b9a\u5177\u4f53\u8f66\u8f86"),
|
||||
EMPTY_PIC_NAME("10001059", "\u56fe\u7247\u5730\u5740\u4e3a\u7a7a"),
|
||||
PICTURE_FAILED("10001070", "\u56fe\u7247\u4e0d\u5408\u6cd5"),
|
||||
LABEL_BIND_PERSON("10002058", "\u8be5\u6807\u7b7e\u5df2\u88ab\u7ed1\u5b9a\u5177\u4f53\u4eba\u5458"),
|
||||
LABEL_BIND_FIELD("10002059", "\u8be5\u6807\u7b7e\u7ed1\u5b9a\u4eba\u5458\u5931\u8d25"),
|
||||
PERSON_PROPERTY_UNQUALIFIED("10002087", "\u4eba\u8138\u5c5e\u6027\u4e0d\u5408\u683c"),
|
||||
PERSON_PIC_UNQUALIFIED("10002088", "\u4eba\u8138\u56fe\u7247\u4e0d\u5408\u683c"),
|
||||
PERSON_ORG_ADD_FEILD("10002089", "\u4eba\u5458\u7ba1\u7406\u6dfb\u52a0\u4eba\u5458\u5931\u8d25"),
|
||||
PERSON_ADD_ERROR("10002071", "\u4eba\u5458\u6dfb\u52a0\u5931\u8d25"),
|
||||
PERSON_DUPLICATE("10002070", "\u4eba\u5458\u91cd\u590d\u6dfb\u52a0"),
|
||||
PHONE_NO_INVALID("10005205", "\u624b\u673a\u53f7\u65e0\u6548"),
|
||||
CARD_NO_INVALID("10005206", "\u8eab\u4efd\u8bc1\u65e0\u6548"),
|
||||
NAME_NO_INVALID("10005207", "\u540d\u79f0\u65e0\u6548"),
|
||||
CARD_NO_DUPLICATE("10005208", "\u8eab\u4efd\u8bc1\u91cd\u590d\u6dfb\u52a0"),
|
||||
PERSON_EDIT_FAIL("10002069", "\u4eba\u5458\u7f16\u8f91\u5931\u8d25"),
|
||||
PERSON_DELETE_ERROR("10002076", "\u4eba\u5458\u5220\u9664\u5931\u8d25"),
|
||||
PERSON_PAGE_FAILED("10002064", "\u4eba\u5458\u5206\u9875\u67e5\u8be2\u5931\u8d25"),
|
||||
PERSON_LIST_FAILED("10002065", "\u4eba\u5458LIST\u67e5\u8be2\u5931\u8d25"),
|
||||
ORGANIZATION_PERSONS_EMPTY("10002066", "\u4eba\u5458\u7ba1\u7406\u4eba\u5458\u4fe1\u606f\u4e3a\u7a7a"),
|
||||
FILE_TYPE_IS_INVALID("53060429", "\u4e0a\u4f20\u6587\u4ef6\u7c7b\u578b\u4e0d\u5408\u6cd5"),
|
||||
FILE_MAX_IS_ERROR("53060428", "\u4e0a\u4f20\u6587\u4ef6\u8d85\u8fc7\u6700\u5927\u5927\u5c0f"),
|
||||
FILE_UPLOAD_CONTROLLER_ERROR("80014013", "\u6a21\u5757\u6587\u4ef6\u4e0a\u4f20\u5f02\u5e38"),
|
||||
PIC_DELETE_ERROR("10001084", "\u56fe\u7247\u5220\u9664\u5931\u8d25"),
|
||||
EXPORT_TASK_DOWNLOAD_CENTER_FAILURE("36000008", "\u4e0b\u8f7d\u4e2d\u5fc3\u521b\u5efa\u4e0b\u8f7d\u4efb\u52a1\u5931\u8d25"),
|
||||
EXPORT_TASK_FAILURE("36000009", "\u6dfb\u52a0\u5bfc\u51fa\u4efb\u52a1\u5931\u8d25"),
|
||||
EXPORT_TASK_TYPE_ERROR("36000010", "\u5bfc\u51fa\u4efb\u52a1\u7c7b\u578b\u9519\u8bef"),
|
||||
EXPORT_TASK_OVERLOAD_THRESHOLD("36000011", "\u67e5\u8be2\u5bfc\u51fa\u8bb0\u5f55\u8d85\u8fc7\u8bbe\u5b9a\u9608\u503c");
|
||||
|
||||
private String code;
|
||||
private String message;
|
||||
|
||||
private AlarmStateCodeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum CompareTypeEnum {
|
||||
RECOG(1, "1:N\u6bd4\u5bf9"),
|
||||
PERSON_CARD(2, "\u4eba\u8bc1\u6bd4\u5bf9"),
|
||||
ACS_BACK_RECOG(3, "\u95e8\u79811:N\u6bd4\u5bf9"),
|
||||
APP_BACK_RECOG(4, "\u5e94\u7528\u7aef1:N\u6bd4\u5bf9");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private CompareTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static CompareTypeEnum getEnumByCode(Integer code) {
|
||||
for (CompareTypeEnum item : CompareTypeEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum EngineAddressEnum {
|
||||
PORTAL_USER_PAGE("\u7528\u6237\u67e5\u8be2\u63a5\u53e3", "/portal/user/manage/page"),
|
||||
PERSON_PROPERTIES_LIST("\u67e5\u8be2\u5546\u6237\u5bf9\u5e94\u7684\u5458\u5de5\u5c5e\u6027", "/component/person/properties/list"),
|
||||
NINCACOMMON_AREA_GET_ALL_TREE("\u83b7\u53d6\u533a\u57df\u6811\u72b6\u7ed3\u6784", "/sysetting/deviceArea/tree"),
|
||||
COMMON_VEHICLE_GET_ALL_LABLES("\u83b7\u53d6\u8f66\u8f86\u7ba1\u7406\u6807\u7b7e\u4fe1\u606f", "/vm/label/list"),
|
||||
COMMON_VEHICLE_VM_VEHICLE_LABELREF("\u83b7\u53d6\u8f66\u8f86\u7ba1\u7406\u8f66\u8f86\u5206\u9875\u4fe1\u606f", "/vm/vehicle/control/labelRef"),
|
||||
COMMON_VEHICLE_VM_VEHICLE_LIST("\u6279\u91cf\u83b7\u53d6\u8f66\u8f86\u7ba1\u7406\u8f66\u8f86\u4fe1\u606f", "/vm/vehicle/list"),
|
||||
CWOS_DEVICE_GET("\u8bbe\u5907\u5217\u8868\u67e5\u8be2", "/component/device/list"),
|
||||
CW0S_DEVICE_DETAIL("\u8bbe\u5907\u8be6\u60c5", "/core/atomic/device/detail"),
|
||||
CWOS_DEVICE_SETTING("\u4e0b\u53d1\u53c2\u6570\u5230\u8bbe\u5907", "/server/push/55000"),
|
||||
CWOS_AREA_GET_ALL_TREE("\u83b7\u53d6\u533a\u57df\u6811\u72b6\u7ed3\u6784", "/component/device/area/get/alltree"),
|
||||
CWOS_QUERY_DEVICE_APPLICATION("\u67e5\u8be2\u8bbe\u5907\u4e0e\u5e94\u7528\u5173\u8054\u5217\u8868", "/component/device/app/list"),
|
||||
CWOS_BIND_DEVICE_APPLICATION("\u7ed1\u5b9a\u8bbe\u5907\u4e0e\u5e94\u7528", "/component/device/app/add"),
|
||||
CWOS_SPLIT_DEVICE_APPLICATION("\u89e3\u7ed1\u8bbe\u5907\u4e0e\u5e94\u7528", "/component/device/app/delete"),
|
||||
CWOS_QUERY_APPLICATION_ID("\u67e5\u8be2\u5e94\u7528ID", "/res/application/instance/query"),
|
||||
CWOS_BIND_DEVICE_IMAGESTORE("\u7ed1\u5b9a\u56fe\u5e93\u4e0e\u8bbe\u5907", "/component/device/imagestore/add"),
|
||||
CWOS_SPLIT_DEVICE_IMAGESTORE("\u89e3\u9664\u7ed1\u5b9a\u56fe\u5e93\u4e0e\u8bbe\u5907", "/component/device/imagestore/delete"),
|
||||
CWOS_BIND_IMAGESTORE_APPLICATION("\u7ed1\u5b9a\u56fe\u5e93\u4e0e\u5e94\u7528", "/core/application/group/add"),
|
||||
CWOS_SPLIT_IMAGESTORE_APPLICATION("\u89e3\u7ed1\u56fe\u5e93\u4e0e\u5e94\u7528", "/core/application/group/delete"),
|
||||
CWOS_ORGANIZATION_TREE("\u67e5\u8be2\u673a\u6784\u6811\u578b\u7ed3\u6784", "/component/organization/tree"),
|
||||
CWOS_BIOLOGY_IMAGE_COMPARE("\u5355\u5e93\u6216\u591a\u5e93\u6bd4\u5bf9", "/component/biology/tool/feature/query"),
|
||||
CWOS_BIOLOGY_PERSON_DETAIL("\u67e5\u8be2\u4eba\u5458\u4fe1\u606f\u8be6\u60c5", "/component/person/detail"),
|
||||
CWOS_BIOLOGY_PERSON_LIST("\u67e5\u8be2\u4eba\u5458\u4fe1\u606f", "/component/person/listPerson"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_ADD("\u65b0\u589e\u56fe\u5e93", "/component/imagestore/add"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_EDIT("\u7f16\u8f91\u56fe\u5e93", "/component/imagestore/edit"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_LIST("\u67e5\u8be2\u56fe\u5e93", "/component/imagestore/list"),
|
||||
COWS_BIOLOGY_IMAGESTORE_DELETE("\u5220\u9664\u56fe\u5e93", "/component/imagestore/delete"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_DETAIL("\u56fe\u5e93\u8be6\u60c5", "/component/imagestore/detail"),
|
||||
CWOS_BIOLOGY_PERSON_PAGE("\u5206\u9875\u67e5\u8be2\u4eba\u5458", "/component/person/page"),
|
||||
CWOS_BIOLOGY_PERSON_ADD("\u65b0\u589e\u4eba\u5458", "/component/person/add"),
|
||||
CWOS_BIOLOGY_PERSON_EDIT("\u7f16\u8f91\u4eba\u5458", "/component/person/edit"),
|
||||
CWOS_BIOLOGY_PERSON_DELETE("\u5220\u9664\u4eba\u5458", "/component/person/delete"),
|
||||
CWOS_BIOLOGY_LABEL_GETALLLABELS("\u67e5\u8be2\u6807\u7b7e\u5217\u8868", "/biology/label/getAllLabels"),
|
||||
CWOS_BIOLOGY_LABLE_ADD("\u65b0\u589e\u6807\u7b7e", "/biology/label/add"),
|
||||
CWOS_BIOLOGY_LABLE_EDIT("\u7f16\u8f91\u6807\u7b7e", "/biology/label/edit"),
|
||||
CWOS_BIOLOGY_LABLE_DELETE("\u5220\u9664\u6807\u7b7e", "/biology/label/delete"),
|
||||
CWOS_BIOLOGY_LABLE_PERSONS_ADD("\u6807\u7b7e\u4eba\u5458\u65b0\u589e", "/biology/label/personsAdd"),
|
||||
CWOS_BIOLOGY_LABLE_PERSONS_DEL("\u6807\u7b7e\u4eba\u5458\u5220\u9664", "/biology/label/personsDel"),
|
||||
CWOS_FILE_UPLOAD("\u6587\u4ef6\u4e0a\u4f20", "/portal/fileManager/{moduleCategory}/fileUpload"),
|
||||
CWOS_FILE_DELETE("\u6587\u4ef6\u5220\u9664", "/portal/fileManager/remove/images"),
|
||||
CWOS_FILE_PART_INIT("\u5206\u7247\u4e0a\u4f20\u6587\u4ef6\u521d\u59cb\u5316", "/portal/file/part/init"),
|
||||
CWOS_FILE_PART_FINISH("\u5206\u7247\u4e0a\u4f20\u6587\u4ef6\u7ed3\u675f", "/portal/file/part/finish"),
|
||||
CWOS_FILE_APPEND("\u6587\u4ef6\u8ffd\u52a0", "/portal/file/part/append"),
|
||||
PINEAPPLE_FACE_FEATURE_GET("\u4eba\u8138\u7279\u5f81\u63d0\u53d6", "staticdb/search/feature"),
|
||||
PINEAPPLE_FACE_SEARCH_MULTIPLE("\u591a\u5e93\u4eba\u8138\u68c0\u7d22", "staticdb/search/multiple"),
|
||||
PINEAPPLE_STRUCTURE_ATTRIBUTE("\u5168\u7ed3\u6784\u5316\u5c5e\u6027", "structure/recognize"),
|
||||
PINEAPPLE_CLUSTER_FACE_ADD("\u7279\u5f81\u5165\u5e93", "api/cluster/feature/add"),
|
||||
PINEAPPLE_CLUSTER_START_DEVICE("\u6309groupId\u805a\u7c7b", "api/cluster/doClusterByDeviceId"),
|
||||
PINEAPPLE_CLUSTER_GET_TASK_INFO("\u83b7\u53d6\u805a\u7c7b\u4efb\u52a1\u4fe1\u606f", "api/cluster/getAllTaskInfo"),
|
||||
PINEAPPLE_CLUSTER_STOP("\u505c\u6b62\u805a\u7c7b", "api/cluster/stopIncreCluster"),
|
||||
PINEAPPLE_CLUSTER_GROUP_REMOVE("\u5220\u9664\u805a\u7c7b\u5e93", "api/cluster/group/base/remove"),
|
||||
PINEAPPLE_ENGINE_PAGE_INFO("\u5f15\u64ce\u5206\u9875\u67e5\u8be2", "gateway/config/server/getbypage"),
|
||||
SEND_MESSAGE_TO_MQTT("\u53d1\u9001\u6570\u636e\u5230mqtt", "mqtt/publish"),
|
||||
GET_ALIVE_CLIENTS_OF_MQTT("\u83b7\u5f97\u6240\u6709\u5b58\u6d3b\u7684\u5ba2\u6237\u7aef", "mqtt/getClients"),
|
||||
ALARM_OCCUR("\u58f0\u5149\u62a5\u8b66\u5668\u89e6\u53d1", "mqtt/publish"),
|
||||
VISITOR_QUERY("\u67e5\u8be2\u8bc6\u522b\u8bb0\u5f55\u8be6\u60c5", "/intelligent/visitor/record/query");
|
||||
|
||||
private final String api;
|
||||
private final String address;
|
||||
|
||||
private EngineAddressEnum(String api, String address) {
|
||||
this.api = api;
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getApi() {
|
||||
return this.api;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
}
|
||||
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum OpenDoorTypeEnum {
|
||||
FACE("FACE", "\u4eba\u8138\u5f00\u95e8"),
|
||||
APP("APP", "\u8fdc\u7a0b\u5f00\u95e8"),
|
||||
GUARD_CARD("GUARD_CARD", "\u95e8\u7981\u5361\u5f00\u95e8"),
|
||||
PASSWORD("PASSWORD", "\u5bc6\u7801\u5f00\u95e8"),
|
||||
ID_CARD("ID_CARD", "\u8eab\u4efd\u8bc1\u5f00\u95e8"),
|
||||
FACE_GUARD_CARD("FACE_GUARD_CARD", "\u4eba\u8138\u95e8\u7981\u5361\u5f00\u95e8"),
|
||||
INTERCOM("INTERCOM", "\u5ba4\u5185\u673a\u5f00\u95e8"),
|
||||
ONE("01", "\u4eba\u8138\u5f00\u95e8"),
|
||||
TWO("02", "\u95e8\u7981\u5361\u5f00\u95e8"),
|
||||
THREE("03", "\u4e8c\u7ef4\u7801\u5f00\u95e8");
|
||||
|
||||
private String code;
|
||||
private String remark;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
private OpenDoorTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public static String getEnumByCode(String code) {
|
||||
for (OpenDoorTypeEnum item : OpenDoorTypeEnum.values()) {
|
||||
if (!code.equals(item.code) && !code.toUpperCase().equals(item.code)) continue;
|
||||
return item.remark;
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
public static OpenDoorTypeEnum getOpenDoorTypeEnumByCode(String code) {
|
||||
for (OpenDoorTypeEnum item : OpenDoorTypeEnum.values()) {
|
||||
if (!code.equals(item.code) && !code.toUpperCase().equals(item.code)) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
public enum YesNoTypeEnum {
|
||||
N(0, "\u5426"),
|
||||
Y(1, "\u662f");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private YesNoTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static YesNoTypeEnum getEnumByCode(Integer code) {
|
||||
for (YesNoTypeEnum item : YesNoTypeEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
public class AcsCacheKeyUtil {
|
||||
public static String getOpenDoorCountKey(String date, String businessId) {
|
||||
return "elevator:passCount:" + date + ":" + businessId;
|
||||
}
|
||||
|
||||
public static String getRecogCountKey(String date, String businessId) {
|
||||
return "acs_recogCount_" + date + "_" + businessId;
|
||||
}
|
||||
|
||||
public static String getBackendRegLogIdKey(String deviceCode, String businessId, String captureId) {
|
||||
return "acs:backendRegLogId:" + deviceCode + "_" + businessId + "_" + captureId;
|
||||
}
|
||||
|
||||
public static String getBackendRegExpireKey(String businessId, String openDoorLogId) {
|
||||
return "acs:backendRegExpire:#" + businessId + "#" + openDoorLogId;
|
||||
}
|
||||
}
|
||||
|
||||
+999
@@ -0,0 +1,999 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* org.springframework.util.Assert
|
||||
* org.springframework.util.MultiValueMap
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
import cn.cloudwalk.elevator.util.StringUtils;
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectOutputStream;
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Enumeration;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.NoSuchElementException;
|
||||
import java.util.Queue;
|
||||
import java.util.Set;
|
||||
import java.util.Stack;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.MultiValueMap;
|
||||
|
||||
public class CollectionUtils {
|
||||
private static final int HASH_MAP_DEFAULT_INITIAL_CAPACITY = 16;
|
||||
private static final float HASH_MAP_DEFAULT_LOAD_FACTOR = 0.75f;
|
||||
|
||||
public static <E> E getFirst(Collection<E> c) {
|
||||
if (c == null) {
|
||||
return null;
|
||||
}
|
||||
if (c instanceof List) {
|
||||
List list = (List)c;
|
||||
return list.isEmpty() ? null : (E)list.get(0);
|
||||
}
|
||||
if (c instanceof Set) {
|
||||
return c.isEmpty() ? null : (E)c.iterator().next();
|
||||
}
|
||||
if (c instanceof Queue) {
|
||||
return c.isEmpty() ? null : (E)((Queue)c).peek();
|
||||
}
|
||||
return c.isEmpty() ? null : (E)c.iterator().next();
|
||||
}
|
||||
|
||||
public static List<String> removeList(List<String> listA, List<String> listB) {
|
||||
HashSet<String> hs1 = new HashSet<String>(listA);
|
||||
HashSet<String> hs2 = new HashSet<String>(listB);
|
||||
hs1.removeAll(hs2);
|
||||
ArrayList<String> listC = new ArrayList<String>();
|
||||
listC.addAll(hs1);
|
||||
return listC;
|
||||
}
|
||||
|
||||
public static <E> List<List<E>> split(List<E> list, E element) {
|
||||
if (list == null) {
|
||||
return new ArrayList<List<E>>(0);
|
||||
}
|
||||
ArrayList<List<ArrayList<E>>> result = new ArrayList<List<ArrayList<E>>>();
|
||||
int start = 0;
|
||||
int end = 0;
|
||||
for (E e : list) {
|
||||
if (element == null ? e == null : element.equals(e)) {
|
||||
result.add(new ArrayList<E>(list.subList(start, end)));
|
||||
start = end + 1;
|
||||
}
|
||||
++end;
|
||||
}
|
||||
if (start == list.size()) {
|
||||
result.add(new ArrayList(0));
|
||||
} else if (start < list.size()) {
|
||||
result.add(new ArrayList<E>(list.subList(start, list.size())));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <E> List<List<E>> split(List<E> list, int ... index) {
|
||||
if (list == null) {
|
||||
return new ArrayList<List<E>>(0);
|
||||
}
|
||||
if (index == null || index.length == 0) {
|
||||
ArrayList<List<ArrayList<E>>> arrayList = new ArrayList<List<ArrayList<E>>>();
|
||||
arrayList.add(new ArrayList<E>(list));
|
||||
return arrayList;
|
||||
}
|
||||
if (index.length > list.size()) {
|
||||
throw new IllegalArgumentException("{index}\u6570\u91cf\u4e0d\u80fd\u5927\u4e8e{list}\u957f\u5ea6\u3002");
|
||||
}
|
||||
ArrayList<List<ArrayList<E>>> result = new ArrayList<List<ArrayList<E>>>();
|
||||
int temp = 0;
|
||||
for (int i : index) {
|
||||
if (i < temp) {
|
||||
throw new IllegalArgumentException("{index}\u7684\u6bcf\u4e2a\u503c\u5fc5\u987b\u6bd4\u524d\u4e00\u4e2a\u5927\u3002");
|
||||
}
|
||||
if (i > list.size()) {
|
||||
throw new IllegalArgumentException("{index}\u503c\u4e0d\u80fd\u5927\u4e8e{list}\u957f\u5ea6\u3002");
|
||||
}
|
||||
result.add(new ArrayList<E>(list.subList(temp, i)));
|
||||
temp = i;
|
||||
}
|
||||
if (temp == list.size()) {
|
||||
result.add(new ArrayList(0));
|
||||
} else if (temp < list.size()) {
|
||||
result.add(new ArrayList<E>(list.subList(temp, list.size())));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> List<T> wrap(final T[] array) {
|
||||
if (array == null) {
|
||||
return null;
|
||||
}
|
||||
return new AbstractList<T>(){
|
||||
|
||||
@Override
|
||||
public T get(int index) {
|
||||
return array[index];
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return array.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public T set(int index, T element) {
|
||||
Object old = array[index];
|
||||
array[index] = element;
|
||||
return old;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clear() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int indexOf(Object o) {
|
||||
if (o == null) {
|
||||
for (int i = 0; i < array.length; ++i) {
|
||||
if (null != array[i]) continue;
|
||||
return i;
|
||||
}
|
||||
} else {
|
||||
for (int i = 0; i < array.length; ++i) {
|
||||
if (!o.equals(array[i])) continue;
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int lastIndexOf(Object o) {
|
||||
if (o == null) {
|
||||
for (int i = array.length - 1; i > -1; --i) {
|
||||
if (null != array[i]) continue;
|
||||
return i;
|
||||
}
|
||||
} else {
|
||||
for (int i = array.length - 1; i > -1; --i) {
|
||||
if (!o.equals(array[i])) continue;
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removeAll(Collection<?> c) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean retainAll(Collection<?> c) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static <T> List<T> values(Map<?, T> map) {
|
||||
if (map == null) {
|
||||
return null;
|
||||
}
|
||||
ArrayList<T> list = new ArrayList<T>(map.size());
|
||||
for (T t : map.values()) {
|
||||
list.add(t);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public static <T> List<T> keys(Map<T, ?> map) {
|
||||
if (map == null) {
|
||||
return null;
|
||||
}
|
||||
ArrayList<T> list = new ArrayList<T>(map.size());
|
||||
for (T t : map.keySet()) {
|
||||
list.add(t);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public static <E> int countOccurrence(E element, Iterable<E> elements) {
|
||||
if (elements == null) {
|
||||
return 0;
|
||||
}
|
||||
int i = 0;
|
||||
if (element == null) {
|
||||
for (E e : elements) {
|
||||
if (null != e) continue;
|
||||
++i;
|
||||
}
|
||||
} else {
|
||||
for (E e : elements) {
|
||||
if (!element.equals(e)) continue;
|
||||
++i;
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public static <E> E[] toArray(Collection<E> collection, Class<E> typeClass) {
|
||||
Object[] t = (Object[])Array.newInstance(typeClass, collection.size());
|
||||
int i = 0;
|
||||
Iterator<E> iterator = collection.iterator();
|
||||
while (iterator.hasNext()) {
|
||||
t[i] = iterator.next();
|
||||
++i;
|
||||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
public static <E> Iterator<E> iterator(final Enumeration<E> enumeration) {
|
||||
return new Iterator<E>(){
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return enumeration.hasMoreElements();
|
||||
}
|
||||
|
||||
@Override
|
||||
public E next() {
|
||||
if (!this.hasNext()) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
return enumeration.nextElement();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("\u8be5\u8fed\u4ee3\u5668\u6ca1\u6709\u6307\u5411\u7684\u96c6\u5408\uff0c\u6240\u4ee5\u79fb\u9664\u5143\u7d20\u4e3a\u4e0d\u652f\u6301\u7684\u64cd\u4f5c\u3002");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static <E> Enumeration<E> enumeration(final Iterator<E> iterator) {
|
||||
return new Enumeration<E>(){
|
||||
|
||||
@Override
|
||||
public boolean hasMoreElements() {
|
||||
return iterator.hasNext();
|
||||
}
|
||||
|
||||
@Override
|
||||
public E nextElement() {
|
||||
return iterator.next();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static <T> void add(Collection<T> collection, Object value) {
|
||||
if (value == null) {
|
||||
collection.add(null);
|
||||
} else if (value.getClass().isArray()) {
|
||||
if (value instanceof Object[]) {
|
||||
for (Object o : (Object[])value) {
|
||||
collection.add(o);
|
||||
}
|
||||
} else {
|
||||
int length = Array.getLength(value);
|
||||
for (int i = 0; i < length; ++i) {
|
||||
collection.add(Array.get(value, i));
|
||||
}
|
||||
}
|
||||
} else if (value instanceof Collection || value instanceof Stack) {
|
||||
for (Object object : (Iterable)value) {
|
||||
collection.add(object);
|
||||
}
|
||||
} else if (value instanceof Iterator) {
|
||||
Iterator iterator = (Iterator)value;
|
||||
while (iterator.hasNext()) {
|
||||
collection.add(iterator.next());
|
||||
}
|
||||
} else {
|
||||
collection.add(value);
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> void push(Stack<T> stack, Object value) {
|
||||
if (value == null) {
|
||||
stack.push(null);
|
||||
} else if (value.getClass().isArray()) {
|
||||
if (value instanceof Object[]) {
|
||||
for (Object o : (Object[])value) {
|
||||
stack.push(o);
|
||||
}
|
||||
} else {
|
||||
int length = Array.getLength(value);
|
||||
for (int i = 0; i < length; ++i) {
|
||||
stack.push(Array.get(value, i));
|
||||
}
|
||||
}
|
||||
} else if (value instanceof Collection || value instanceof Stack) {
|
||||
for (Object object : (Iterable)value) {
|
||||
stack.push(object);
|
||||
}
|
||||
} else {
|
||||
stack.push(value);
|
||||
}
|
||||
}
|
||||
|
||||
public static <K, V> MultiValueMap<K, V> synchronizedMultiValueMap(MultiValueMap<K, V> multiValueMap) {
|
||||
if (multiValueMap == null) {
|
||||
throw new IllegalArgumentException("The input argument is null!");
|
||||
}
|
||||
return new SynchronizedMultiValueMap<K, V>(multiValueMap);
|
||||
}
|
||||
|
||||
public static <K, V> MultiValueMap<K, V> unmodifiableMultiValueMap(MultiValueMap<? extends K, ? extends V> multiValueMap) {
|
||||
if (multiValueMap == null) {
|
||||
throw new IllegalArgumentException("The input argument is null!");
|
||||
}
|
||||
return new UnmodifiableMultiValueMap<K, V>(multiValueMap);
|
||||
}
|
||||
|
||||
public static boolean isEmpty(Collection<?> collection) {
|
||||
return collection == null || collection.isEmpty();
|
||||
}
|
||||
|
||||
public static boolean isEmpty(Stack<?> stack) {
|
||||
return stack == null || stack.isEmpty();
|
||||
}
|
||||
|
||||
public static boolean isEmpty(Map<?, ?> map) {
|
||||
return map == null || map.isEmpty();
|
||||
}
|
||||
|
||||
public static boolean isNotEmpty(Collection<?> collection) {
|
||||
return collection != null && !collection.isEmpty();
|
||||
}
|
||||
|
||||
public static boolean isNotEmpty(Stack<?> stack) {
|
||||
return stack != null && !stack.isEmpty();
|
||||
}
|
||||
|
||||
public static boolean isNotEmpty(Map<?, ?> map) {
|
||||
return map != null && !map.isEmpty();
|
||||
}
|
||||
|
||||
private static boolean isComparable(List<?> list, List<?> compareList, int index) {
|
||||
if (CollectionUtils.isEmpty(list) || CollectionUtils.isEmpty(compareList)) {
|
||||
return false;
|
||||
}
|
||||
Assert.isTrue((index >= 0 && index < list.size() ? 1 : 0) != 0, (String)"{index} \u7684\u503c\u5fc5\u987b\u4ece0 \u81f3 list.size() - 1 \u4e4b\u95f4\u3002");
|
||||
return list.size() >= compareList.size();
|
||||
}
|
||||
|
||||
public static String[] toStringArray(Collection<?> collection) {
|
||||
if (collection == null) {
|
||||
return null;
|
||||
}
|
||||
String[] stringArray = new String[collection.size()];
|
||||
int i = 0;
|
||||
for (Object o : collection) {
|
||||
stringArray[i] = StringUtils.toString(o);
|
||||
++i;
|
||||
}
|
||||
return stringArray;
|
||||
}
|
||||
|
||||
public static <K, V> void putAllIfAbsent(Map<K, V> map, Map<? extends K, ? extends V> paramMap) {
|
||||
if (map == null || paramMap == null) {
|
||||
return;
|
||||
}
|
||||
for (Map.Entry<K, V> entry : paramMap.entrySet()) {
|
||||
if (map.containsKey(entry.getKey())) continue;
|
||||
map.put(entry.getKey(), entry.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public static int calculateHashMapMinInitialCapacity(int size) {
|
||||
return CollectionUtils.calculateHashMapMinInitialCapacity(size, 0.75f, 16);
|
||||
}
|
||||
|
||||
public static int calculateHashMapMinInitialCapacity(int size, float loadFactor, int initlalCapcity) {
|
||||
return Math.max((int)((float)size / loadFactor) + 1, initlalCapcity);
|
||||
}
|
||||
|
||||
public static List<Integer> strArrayToList(String var) {
|
||||
ArrayList<Integer> list = new ArrayList<Integer>();
|
||||
for (String v : var.split(",")) {
|
||||
list.add(Integer.parseInt(v));
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
static class UnmodifiableMultiValueMap<K, V>
|
||||
implements MultiValueMap<K, V>,
|
||||
Serializable {
|
||||
private static final long serialVersionUID = 7629840602579792180L;
|
||||
final MultiValueMap<K, V> multiValueMap;
|
||||
Set<Map.Entry<K, List<V>>> entrySet;
|
||||
Collection<List<V>> values;
|
||||
Set<K> keySet;
|
||||
Map<K, V> singleValueMap;
|
||||
|
||||
UnmodifiableMultiValueMap(MultiValueMap<? extends K, ? extends V> multiValueMap) {
|
||||
this.multiValueMap = multiValueMap;
|
||||
}
|
||||
|
||||
public void add(K key, V value) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public void addAll(K k, List<? extends V> list) {
|
||||
}
|
||||
|
||||
public void addAll(MultiValueMap<K, V> multiValueMap) {
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public boolean containsKey(Object key) {
|
||||
return this.multiValueMap.containsKey(key);
|
||||
}
|
||||
|
||||
public boolean containsValue(Object value) {
|
||||
return this.multiValueMap.containsValue(value);
|
||||
}
|
||||
|
||||
public Set<Map.Entry<K, List<V>>> entrySet() {
|
||||
if (this.entrySet == null) {
|
||||
this.entrySet = Collections.unmodifiableSet(this.multiValueMap.entrySet());
|
||||
}
|
||||
return this.entrySet;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
return this.multiValueMap.equals(o);
|
||||
}
|
||||
|
||||
public List<V> get(Object key) {
|
||||
return (List)this.multiValueMap.get(key);
|
||||
}
|
||||
|
||||
public V getFirst(K key) {
|
||||
return (V)this.multiValueMap.getFirst(key);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.multiValueMap.hashCode();
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.multiValueMap.isEmpty();
|
||||
}
|
||||
|
||||
public Set<K> keySet() {
|
||||
if (this.keySet == null) {
|
||||
this.keySet = Collections.unmodifiableSet(this.multiValueMap.keySet());
|
||||
}
|
||||
return this.keySet;
|
||||
}
|
||||
|
||||
public List<V> put(K key, List<V> value) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public void putAll(Map<? extends K, ? extends List<V>> t) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public List<V> remove(Object key) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public void set(K key, V value) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public void setAll(Map<K, V> values) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public Set<Map.Entry<K, V>> singleValueEntrySet() {
|
||||
return this.toSingleValueMap().entrySet();
|
||||
}
|
||||
|
||||
public Collection<V> singleValues() {
|
||||
return this.toSingleValueMap().values();
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return this.multiValueMap.size();
|
||||
}
|
||||
|
||||
public Map<K, V> toSingleValueMap() {
|
||||
if (this.singleValueMap == null) {
|
||||
this.singleValueMap = Collections.unmodifiableMap(this.multiValueMap.toSingleValueMap());
|
||||
}
|
||||
return this.singleValueMap;
|
||||
}
|
||||
|
||||
public Collection<List<V>> values() {
|
||||
if (this.values == null) {
|
||||
this.values = Collections.unmodifiableCollection(this.multiValueMap.values());
|
||||
}
|
||||
return this.values;
|
||||
}
|
||||
}
|
||||
|
||||
static class SynchronizedSet<E>
|
||||
extends SynchronizedCollection<E>
|
||||
implements Set<E> {
|
||||
private static final long serialVersionUID = 6982504952424781802L;
|
||||
|
||||
SynchronizedSet(Set<E> set) {
|
||||
super(set);
|
||||
}
|
||||
|
||||
SynchronizedSet(Set<E> set, Object mutex) {
|
||||
super(set, mutex);
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.equals(o);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.hashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static class SynchronizedCollection<E>
|
||||
implements Collection<E>,
|
||||
Serializable {
|
||||
private static final long serialVersionUID = -7540724106974451779L;
|
||||
final Collection<E> collection;
|
||||
final Object mutex;
|
||||
|
||||
SynchronizedCollection(Collection<E> collection) {
|
||||
if (collection == null) {
|
||||
throw new IllegalArgumentException("The input argument is null!");
|
||||
}
|
||||
this.collection = collection;
|
||||
this.mutex = this;
|
||||
}
|
||||
|
||||
SynchronizedCollection(Collection<E> collection, Object mutex) {
|
||||
if (collection == null) {
|
||||
throw new IllegalArgumentException("The input argument is null!");
|
||||
}
|
||||
this.collection = collection;
|
||||
this.mutex = mutex;
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public int size() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.size();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.isEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean contains(Object o) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.contains(o);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public Object[] toArray() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.toArray();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public <T> T[] toArray(T[] a) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.toArray(a);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<E> iterator() {
|
||||
return this.collection.iterator();
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean add(E o) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.add(o);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean remove(Object o) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.remove(o);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean containsAll(Collection<?> coll) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.containsAll(coll);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean addAll(Collection<? extends E> coll) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.addAll(coll);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean removeAll(Collection<?> coll) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.removeAll(coll);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public boolean retainAll(Collection<?> coll) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.retainAll(coll);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
@Override
|
||||
public void clear() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
this.collection.clear();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public String toString() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.collection.toString();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
private void writeObject(ObjectOutputStream s) throws IOException {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
s.defaultWriteObject();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static class SynchronizedMultiValueMap<K, V>
|
||||
implements MultiValueMap<K, V> {
|
||||
final MultiValueMap<K, V> multiValueMap;
|
||||
final Object mutex;
|
||||
private transient Set<K> keySet = null;
|
||||
private transient Set<Map.Entry<K, List<V>>> entrySet;
|
||||
private transient Collection<List<V>> values;
|
||||
private transient Set<Map.Entry<K, V>> singleValueEntrySet;
|
||||
private transient Collection<V> singleValues;
|
||||
|
||||
SynchronizedMultiValueMap(MultiValueMap<K, V> multiValueMap) {
|
||||
if (multiValueMap == null) {
|
||||
throw new IllegalArgumentException("The input argument is null!");
|
||||
}
|
||||
this.multiValueMap = multiValueMap;
|
||||
this.mutex = this;
|
||||
}
|
||||
|
||||
SynchronizedMultiValueMap(MultiValueMap<K, V> multiValueMap, Object mutex) {
|
||||
if (multiValueMap == null) {
|
||||
throw new IllegalArgumentException("The input argument is null!");
|
||||
}
|
||||
this.multiValueMap = multiValueMap;
|
||||
this.mutex = mutex;
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public void add(K key, V value) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
this.multiValueMap.add(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
public void addAll(K k, List<? extends V> list) {
|
||||
}
|
||||
|
||||
public void addAll(MultiValueMap<K, V> multiValueMap) {
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public void clear() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
this.multiValueMap.clear();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public boolean containsKey(Object key) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.containsKey(key);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public boolean containsValue(Object value) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.containsValue(value);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public Set<Map.Entry<K, List<V>>> entrySet() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
if (this.entrySet == null) {
|
||||
this.entrySet = new SynchronizedSet<Map.Entry<K, List<V>>>(this.multiValueMap.entrySet(), this.mutex);
|
||||
}
|
||||
return this.entrySet;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public boolean equals(Object o) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.equals(o);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public List<V> get(Object key) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return (List)this.multiValueMap.get(key);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public V getFirst(K key) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return (V)this.multiValueMap.getFirst(key);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public int hashCode() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.hashCode();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public boolean isEmpty() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.isEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public Set<K> keySet() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
if (this.keySet == null) {
|
||||
this.keySet = new SynchronizedSet<K>(this.multiValueMap.keySet(), this.mutex);
|
||||
}
|
||||
return this.keySet;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public List<V> put(K key, List<V> value) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return (List)this.multiValueMap.put(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public void putAll(Map<? extends K, ? extends List<V>> t) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
this.multiValueMap.putAll(t);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public List<V> remove(Object key) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return (List)this.multiValueMap.remove(key);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public void set(K key, V value) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
this.multiValueMap.set(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public void setAll(Map<K, V> values) {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
this.multiValueMap.setAll(values);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public int size() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.size();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public Map<K, V> toSingleValueMap() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.toSingleValueMap();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public Collection<List<V>> values() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
if (this.values == null) {
|
||||
this.values = new SynchronizedCollection<List<V>>(this.multiValueMap.values(), this.mutex);
|
||||
}
|
||||
return this.values;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
public String toString() {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
return this.multiValueMap.toString();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* WARNING - Removed try catching itself - possible behaviour change.
|
||||
*/
|
||||
private void writeObject(ObjectOutputStream s) throws IOException {
|
||||
Object object = this.mutex;
|
||||
synchronized (object) {
|
||||
s.defaultWriteObject();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
public class CommunityConstants {
|
||||
|
||||
public static interface Icc {
|
||||
public static final String ICC_RTSP_URL = "rtsp://%s:9090/dss/monitor/param?cameraid=%s%%24%s&substream=1";
|
||||
public static final String ICC_PLAYBACK_RTSP_URL = "rtsp://%s:9090/dss/playback/param?cameraid=%s%%24%s&substream=1&type=3";
|
||||
public static final String ICC_OUTSIDE_HLS_URL = "/live/cameraid/%s%%24%s/substream/1.m3u8";
|
||||
public static final String ICC_PLAYBACK_OUTSIDE_HLS_URL = "/vod/center/cameraid/%s%%24%s/substream/1";
|
||||
public static final int DEVICE_TYPE_NVR = 6;
|
||||
public static final int DEVICE_TYPE_IPC = 2;
|
||||
}
|
||||
|
||||
public static interface Dcr {
|
||||
public static final String HTTPS_PREFIX = "https://";
|
||||
public static final String MID_PART_DOWNLOAD_URL = "/object/download?pool=";
|
||||
public static final String MID_PART_UPLOAD_URL = "/object/upload/do?token=";
|
||||
public static final String MID_DOWNLOAD_FILE_URL = "/simple-file/download?pool=";
|
||||
public static final String MID_UPLOAD_FILE_URL = "/simple-file/upload/full?pool=";
|
||||
public static final String PARA_PATH = "&path=";
|
||||
public static final String PARA_SIZE = "&offset=0&size=";
|
||||
public static final String PARA_ID = "&id=";
|
||||
public static final String ID = "ID";
|
||||
public static final String AUTH_TYPE = "Basic ";
|
||||
public static final String AUTH = "authorization";
|
||||
public static final String POOL = "pool";
|
||||
public static final String TOKEN = "Token";
|
||||
public static final String ADDRESS = "Address";
|
||||
public static final String AUTH_SUFFIX = "/object/upload";
|
||||
public static final Integer MAX_DOWNLOAD_SIZE = 16000000;
|
||||
public static final String OFFSET = "&offset=";
|
||||
public static final String SIZE = "&size=";
|
||||
}
|
||||
|
||||
public static interface Dcs {
|
||||
public static final String DCS_URL_ID_FORMAT = "%s:%s@%s:2015?dcsID=";
|
||||
public static final String DCS_URL_FORMAT = "%s:%s@%s:2015";
|
||||
}
|
||||
|
||||
public static interface Data {
|
||||
public static final String MALE = "\u7537";
|
||||
public static final String FEMALE = "\u5973";
|
||||
public static final String ID = "id";
|
||||
public static final String CREATE_TIME = "createTime";
|
||||
public static final String LAST_UPDATE_TIME = "lastUpdateTime";
|
||||
public static final String REGISTER_PERSON_ID = "register_person_id";
|
||||
public static final String GRID_ID = "grid_id";
|
||||
public static final Integer TOP_VALUE = 1;
|
||||
public static final Integer NO_TOP_VALUE = 0;
|
||||
public static final Integer PUBLISH_STATUS_1 = 1;
|
||||
public static final Integer PUBLISH_STATUS_2 = 2;
|
||||
public static final Integer PUBLISH_STATUS_3 = 3;
|
||||
public static final String AGE = "age";
|
||||
public static final String SEX = "sex";
|
||||
public static final String COMMUNITY_ID = "community_id";
|
||||
public static final String VILLAGE_ID = "village_id";
|
||||
}
|
||||
|
||||
public static interface Redis {
|
||||
public static final String EVENT_CODE_INC_KEY = "EVENT_CODE:INC_KEY";
|
||||
public static final Integer EVENT_CODE_INC_MAX_VALUE = 9999;
|
||||
public static final String TF_BRAIN_ACCESS_TOKEN = "tfbrain_access_token";
|
||||
public static final String USER_TOKEN_KEY = "USER_TOKEN:%s";
|
||||
public static final String OUT_IN_IMAGE_STORE = "upOutInStore";
|
||||
public static final String AGREEMENT = "redis://";
|
||||
public static final String LOCK = "redisLock";
|
||||
public static final String OLD_AUTO_CREATE_SETTING = "OLD:AUTO_CREATE";
|
||||
public static final String CHILD_AUTO_CREATE_SETTING = "CHILD:AUTO_CREATE:%s";
|
||||
public static final String IMPORT_FAILURE_MSG = "IMPORT:FAILURE:%s";
|
||||
public static final String VILLAGE_RECORD_LIST = "village:list";
|
||||
public static final String COMMUNITY_LIST = "community:list";
|
||||
public static final Long VALUE_CHANGE_EXPIRE_TIME = 1L;
|
||||
public static final String PROVINCE_TREE = "tree:province:level:%s";
|
||||
}
|
||||
|
||||
public static interface Alarm {
|
||||
public static final Integer IN = 1;
|
||||
public static final Integer OUT = 0;
|
||||
public static final String STRANGER = "STRANGER";
|
||||
public static final String BLACK_LIST = "BLACK_LIST";
|
||||
}
|
||||
|
||||
public static interface Symbol {
|
||||
public static final String COMMA = ",";
|
||||
public static final String HYPHEN = "-";
|
||||
public static final String COLON = ":";
|
||||
}
|
||||
|
||||
public static interface Snap {
|
||||
public static final String IMG_DOWNLOAD_PARSE_ERROR = "img_download_parse_error";
|
||||
public static final String DATA_IMAGE_BASE64_HEAD = "data:image/";
|
||||
}
|
||||
|
||||
public static interface Common {
|
||||
public static final String NOTE_TYPE_ORG = "1";
|
||||
public static final String NOTE_TYPE_TAG = "2";
|
||||
public static final String NOTE_TYPE_PERSON = "3";
|
||||
public static final String NOTE_TYPE_EDG = "4";
|
||||
public static final String ACCESS_NAME_SUFFIX = "\u95e8\u7981";
|
||||
public static final Integer ACCESS_AUTO = 0;
|
||||
public static final Integer ONE_HUNDRED = 100;
|
||||
public static final Integer BATCH_SIZE = 500;
|
||||
public static final Integer MAX_SHOW_CAPTURE = 7;
|
||||
public static final String TEMP_PATH = "java.io.tmpdir";
|
||||
public static final String FONT_PATH = "font/simsun.ttc";
|
||||
public static final String TEMPLATE_NAME = "appraiseReportTemplate";
|
||||
public static final String FONT_SUFFIX = ".ttc";
|
||||
public static final String DASH = "-";
|
||||
public static final String HTTP_PREFIX = "http://";
|
||||
public static final String BR = "<br/>";
|
||||
public static final String FORMAT = "yyyy/MM/dd/HH";
|
||||
public static final String CLIENT_IP = "ClientIP";
|
||||
}
|
||||
}
|
||||
|
||||
+416
@@ -0,0 +1,416 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* org.slf4j.Logger
|
||||
* org.slf4j.LoggerFactory
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
import cn.cloudwalk.elevator.util.StartTimeAndEndTime;
|
||||
import java.security.Timestamp;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.DayOfWeek;
|
||||
import java.time.Instant;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.LocalTime;
|
||||
import java.time.ZoneOffset;
|
||||
import java.time.temporal.ChronoField;
|
||||
import java.time.temporal.TemporalAdjusters;
|
||||
import java.time.temporal.WeekFields;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class DateUtils {
|
||||
private static final Logger logger = LoggerFactory.getLogger(DateUtils.class);
|
||||
public static final long ONE_DAY_LONG = 86400000L;
|
||||
public static final String YYYYMMDD = "yyyyMMdd";
|
||||
public static final String STANDARD_FORMAT = "yyyy-MM-dd HH:mm";
|
||||
public static final String YYYY_MM_DD = "yyyy-MM-dd";
|
||||
public static final String YYYY_MM_DD_HMS = "yyyy-MM-dd HH:mm:ss";
|
||||
public static final String HHMMSS = "HH:mm:ss";
|
||||
public static final String YYYYMM = "yyyyMM";
|
||||
public static final String YYYYMMDDHHMMSS = "yyyyMMddHHmmss";
|
||||
|
||||
public static long getCurrentTime() {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public static String timestamp2String(Timestamp time, String pattern) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
|
||||
return sdf.format(time.getTimestamp());
|
||||
}
|
||||
|
||||
public static String formatDate(Date date, String pattern) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
|
||||
return sdf.format(date);
|
||||
}
|
||||
|
||||
public static int defaultFormat(Date date) {
|
||||
return Integer.valueOf(DateUtils.formatDate(date, YYYYMMDD));
|
||||
}
|
||||
|
||||
public static Date defaultFormat(String str) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(YYYYMMDD);
|
||||
try {
|
||||
return sdf.parse(str);
|
||||
}
|
||||
catch (ParseException e) {
|
||||
logger.error("\u65e5\u671f\u683c\u5f0f\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static Date customFormat(String str, String pattern) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
|
||||
try {
|
||||
return sdf.parse(str);
|
||||
}
|
||||
catch (ParseException e) {
|
||||
logger.error("\u65e5\u671f\u683c\u5f0f\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static int defaultFormat(long millis) {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.setTimeInMillis(millis);
|
||||
return DateUtils.defaultFormat(cal.getTime());
|
||||
}
|
||||
|
||||
public static String parseTimestamp(Timestamp time) {
|
||||
return DateUtils.parseDate(time.getTimestamp());
|
||||
}
|
||||
|
||||
public static String parseDate(Date date) {
|
||||
try {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(YYYYMMDD);
|
||||
return sdf.format(date);
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("\u65e5\u671f\u683c\u5f0f\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static String parseDate(Date date, String partern) {
|
||||
try {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(partern);
|
||||
return sdf.format(date);
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("\u65e5\u671f\u683c\u5f0f\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static int getYear() {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.setTime(new Date());
|
||||
return cal.get(1);
|
||||
}
|
||||
|
||||
public static long getMonthFirstDate(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
calendar.set(5, 1);
|
||||
calendar.set(11, 0);
|
||||
calendar.set(12, 0);
|
||||
calendar.set(13, 0);
|
||||
calendar.set(14, 0);
|
||||
return calendar.getTime().getTime();
|
||||
}
|
||||
|
||||
public static long getMonthLastDate(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
calendar.set(5, calendar.getActualMaximum(5));
|
||||
calendar.set(11, 23);
|
||||
calendar.set(12, 59);
|
||||
calendar.set(13, 59);
|
||||
calendar.set(14, 999);
|
||||
return calendar.getTime().getTime();
|
||||
}
|
||||
|
||||
public static Long dateToStamp(String s) {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(YYYYMMDD);
|
||||
try {
|
||||
Date date = simpleDateFormat.parse(s);
|
||||
long ts = date.getTime();
|
||||
return ts;
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("\u65e5\u671f\u8f6c\u4e3a\u65f6\u95f4\u6233\u5931\u8d25", (Throwable)e);
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
public static String stampToDate(String s) {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(YYYY_MM_DD_HMS);
|
||||
long lt = new Long(s);
|
||||
Date date = new Date(lt);
|
||||
String res = simpleDateFormat.format(date);
|
||||
return res;
|
||||
}
|
||||
|
||||
public static String getTwoDaysDesc(Integer startTime, Integer endTime) {
|
||||
ArrayList<Integer> days = new ArrayList<Integer>();
|
||||
if (null == startTime || null == endTime) {
|
||||
return "\u65e5";
|
||||
}
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat(YYYYMMDD);
|
||||
try {
|
||||
Date start = dateFormat.parse(String.valueOf(startTime));
|
||||
Date end = dateFormat.parse(String.valueOf(endTime));
|
||||
Calendar tempStart = Calendar.getInstance();
|
||||
tempStart.setTime(start);
|
||||
Calendar tempEnd = Calendar.getInstance();
|
||||
tempEnd.setTime(end);
|
||||
tempEnd.add(5, 1);
|
||||
while (tempStart.before(tempEnd)) {
|
||||
days.add(Integer.parseInt(dateFormat.format(tempStart.getTime())));
|
||||
tempStart.add(6, 1);
|
||||
}
|
||||
}
|
||||
catch (ParseException e) {
|
||||
logger.error("\u65f6\u95f4\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
}
|
||||
int dayOfWeek = 7;
|
||||
String twoDayDesc = days.size() > dayOfWeek ? "\u6708" : (days.size() > 1 ? "\u5468" : "\u65e5");
|
||||
return twoDayDesc;
|
||||
}
|
||||
|
||||
public static Long todayStart() {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.set(11, 0);
|
||||
calendar.set(12, 0);
|
||||
calendar.set(13, 0);
|
||||
calendar.set(14, 0);
|
||||
return calendar.getTimeInMillis();
|
||||
}
|
||||
|
||||
public static Long dateToStampTomorrow(String s) {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(YYYYMMDD);
|
||||
try {
|
||||
Date date = simpleDateFormat.parse(s);
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.setTime(date);
|
||||
cal.add(5, 1);
|
||||
long ts = cal.getTimeInMillis();
|
||||
return ts;
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("\u65e5\u671f\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
public static Date getDateSubDay(int day) {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.setTime(new Date());
|
||||
cal.add(5, day);
|
||||
return cal.getTime();
|
||||
}
|
||||
|
||||
public static Date getDateSubDay(Date date, int day) {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.setTime(date);
|
||||
cal.add(5, day);
|
||||
return cal.getTime();
|
||||
}
|
||||
|
||||
public static Long todayStart(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
calendar.set(11, 0);
|
||||
calendar.set(12, 0);
|
||||
calendar.set(13, 0);
|
||||
calendar.set(14, 0);
|
||||
return calendar.getTimeInMillis();
|
||||
}
|
||||
|
||||
public static Long todayEnd(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
calendar.set(11, 23);
|
||||
calendar.set(12, 59);
|
||||
calendar.set(13, 59);
|
||||
calendar.set(14, 999);
|
||||
return calendar.getTimeInMillis();
|
||||
}
|
||||
|
||||
public static Long todayEnd() {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.set(11, 23);
|
||||
calendar.set(12, 59);
|
||||
calendar.set(13, 59);
|
||||
calendar.set(14, 999);
|
||||
return calendar.getTimeInMillis();
|
||||
}
|
||||
|
||||
public static String formatTimeDuration(long duration, int format) {
|
||||
boolean fu = false;
|
||||
long fduration = duration;
|
||||
if (duration < 0L) {
|
||||
fu = true;
|
||||
fduration = Math.abs(duration);
|
||||
}
|
||||
StringBuilder builder = new StringBuilder();
|
||||
long sec = fduration / 1000L % 60L;
|
||||
long min = fduration / 1000L / 60L % 60L;
|
||||
long hour = fduration / 1000L / 60L / 60L % 24L;
|
||||
long day = fduration / 1000L / 60L / 60L / 24L;
|
||||
if (day > 0L && format > 0) {
|
||||
--format;
|
||||
builder.append(day).append("\u5929");
|
||||
}
|
||||
if (hour > 0L && --format > 0) {
|
||||
builder.append(hour).append("\u5c0f\u65f6");
|
||||
}
|
||||
if (min > 0L && --format > 0) {
|
||||
builder.append(min).append("\u5206\u949f");
|
||||
}
|
||||
if (sec > 0L && --format > 0) {
|
||||
builder.append(sec).append("\u79d2");
|
||||
}
|
||||
if (fu) {
|
||||
builder.insert(0, "-");
|
||||
}
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
public static String formatTimeDurationHour(long duration, int format) {
|
||||
if (duration == 0L) {
|
||||
return "-";
|
||||
}
|
||||
long fduration = Math.abs(duration);
|
||||
StringBuilder builder = new StringBuilder();
|
||||
long sec = fduration / 1000L % 60L;
|
||||
long min = fduration / 1000L / 60L % 60L;
|
||||
long hour = fduration / 1000L / 60L / 60L;
|
||||
if (hour > 0L && format > 0) {
|
||||
builder.append(hour).append("\u5c0f\u65f6");
|
||||
}
|
||||
if (min > 0L && --format > 0) {
|
||||
builder.append(min).append("\u5206\u949f");
|
||||
}
|
||||
if (sec > 0L && --format > 0) {
|
||||
builder.append(sec).append("\u79d2");
|
||||
}
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
public static Date getMonth(Date date, int count) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
int month = calendar.get(2);
|
||||
calendar.set(2, month - count);
|
||||
return calendar.getTime();
|
||||
}
|
||||
|
||||
public static int getYear(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
return calendar.get(1);
|
||||
}
|
||||
|
||||
public static int getMonth(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
return calendar.get(2) + 1;
|
||||
}
|
||||
|
||||
public static Long dateToStampFormat(String s, String format) {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(format);
|
||||
try {
|
||||
Date date = simpleDateFormat.parse(s);
|
||||
return date.getTime();
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("\u65e5\u671f\u8f6c\u6362\u5931\u8d25", (Throwable)e);
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean timeIsInRound(String now, String start, String end, String format) {
|
||||
Date endTime;
|
||||
Date beginTime;
|
||||
Date nowTime;
|
||||
SimpleDateFormat df = new SimpleDateFormat(format);
|
||||
try {
|
||||
nowTime = df.parse(now);
|
||||
beginTime = df.parse(start);
|
||||
endTime = df.parse(end);
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.error("\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362\u5f02\u5e38,\u539f\u56e0=[{}]", (Object)e.getMessage(), (Object)e);
|
||||
return false;
|
||||
}
|
||||
return nowTime.getTime() >= beginTime.getTime() && nowTime.getTime() <= endTime.getTime();
|
||||
}
|
||||
|
||||
public static int getDayOfWeek(Date date) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTime(date);
|
||||
return calendar.get(7);
|
||||
}
|
||||
|
||||
public static LocalDateTime millToDate(Long mill) {
|
||||
return LocalDateTime.ofInstant(Instant.ofEpochMilli(mill), ZoneOffset.ofHours(8));
|
||||
}
|
||||
|
||||
public static List<StartTimeAndEndTime> getCycle(Integer timeType, int cycleNum) {
|
||||
if (timeType == null) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
ArrayList<StartTimeAndEndTime> timeList = new ArrayList<StartTimeAndEndTime>(cycleNum);
|
||||
switch (timeType) {
|
||||
case 0: {
|
||||
LocalDateTime nowStartTime = LocalDateTime.of(LocalDate.now(), LocalTime.MIN);
|
||||
LocalDateTime nowEndTime = LocalDateTime.of(LocalDate.now(), LocalTime.MAX);
|
||||
timeList.add(new StartTimeAndEndTime(nowStartTime.toInstant(ZoneOffset.of("+8")).toEpochMilli(), nowEndTime.toInstant(ZoneOffset.of("+8")).toEpochMilli(), nowStartTime.getDayOfMonth() + "\u53f7"));
|
||||
for (int i = 1; i < cycleNum; ++i) {
|
||||
LocalDateTime firstDay = nowStartTime.minusDays(i);
|
||||
LocalDateTime lastDay = nowEndTime.minusDays(i);
|
||||
timeList.add(new StartTimeAndEndTime(firstDay.toInstant(ZoneOffset.of("+8")).toEpochMilli(), lastDay.toInstant(ZoneOffset.of("+8")).toEpochMilli(), firstDay.getDayOfMonth() + "\u53f7"));
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1: {
|
||||
LocalDateTime nowMonday = LocalDateTime.of(LocalDate.now(), LocalTime.MIN).with(DayOfWeek.MONDAY);
|
||||
LocalDateTime nowSunday = LocalDateTime.of(LocalDate.now(), LocalTime.MAX).with(DayOfWeek.SUNDAY);
|
||||
timeList.add(new StartTimeAndEndTime(nowMonday.toInstant(ZoneOffset.of("+8")).toEpochMilli(), nowSunday.toInstant(ZoneOffset.of("+8")).toEpochMilli(), nowMonday.get(WeekFields.ISO.weekOfWeekBasedYear()) + "\u5468"));
|
||||
for (int i = 1; i < cycleNum; ++i) {
|
||||
LocalDateTime lastMonday = nowMonday.minusWeeks(i);
|
||||
LocalDateTime lastSunday = nowSunday.minusWeeks(i);
|
||||
timeList.add(new StartTimeAndEndTime(lastMonday.toInstant(ZoneOffset.of("+8")).toEpochMilli(), lastSunday.toInstant(ZoneOffset.of("+8")).toEpochMilli(), lastMonday.get(WeekFields.ISO.weekOfWeekBasedYear()) + "\u5468"));
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2: {
|
||||
LocalDateTime nowFirstDay = LocalDateTime.of(LocalDate.now(), LocalTime.MIN).with(TemporalAdjusters.firstDayOfMonth());
|
||||
LocalDateTime nowLastDay = LocalDateTime.of(LocalDate.now(), LocalTime.MAX).with(TemporalAdjusters.lastDayOfMonth());
|
||||
timeList.add(new StartTimeAndEndTime(nowFirstDay.toInstant(ZoneOffset.of("+8")).toEpochMilli(), nowLastDay.toInstant(ZoneOffset.of("+8")).toEpochMilli(), nowFirstDay.get(ChronoField.MONTH_OF_YEAR) + "\u6708"));
|
||||
for (int i = 1; i < cycleNum; ++i) {
|
||||
LocalDateTime firstDay = LocalDateTime.now().minusMonths(i).with(TemporalAdjusters.firstDayOfMonth()).with(LocalTime.MIN);
|
||||
LocalDateTime lastDay = LocalDateTime.now().minusMonths(i).with(TemporalAdjusters.lastDayOfMonth()).with(LocalTime.MAX);
|
||||
timeList.add(new StartTimeAndEndTime(firstDay.toInstant(ZoneOffset.of("+8")).toEpochMilli(), lastDay.toInstant(ZoneOffset.of("+8")).toEpochMilli(), firstDay.get(ChronoField.MONTH_OF_YEAR) + "\u6708"));
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return timeList;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(">>>>>>>>>>>>>>" + DateUtils.dateToStampFormat("202002", YYYYMM));
|
||||
}
|
||||
}
|
||||
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* com.fasterxml.jackson.annotation.JsonInclude$Include
|
||||
* com.fasterxml.jackson.core.JsonProcessingException
|
||||
* com.fasterxml.jackson.core.type.TypeReference
|
||||
* com.fasterxml.jackson.databind.DeserializationFeature
|
||||
* com.fasterxml.jackson.databind.JavaType
|
||||
* com.fasterxml.jackson.databind.Module
|
||||
* com.fasterxml.jackson.databind.ObjectMapper
|
||||
* com.fasterxml.jackson.databind.SerializationFeature
|
||||
* com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
|
||||
* org.slf4j.Logger
|
||||
* org.slf4j.LoggerFactory
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
import cn.cloudwalk.elevator.util.DateUtils;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.JavaType;
|
||||
import com.fasterxml.jackson.databind.Module;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class JsonUtils {
|
||||
private static final Logger log = LoggerFactory.getLogger(JsonUtils.class);
|
||||
private static final Logger logger = LoggerFactory.getLogger(DateUtils.class);
|
||||
|
||||
public static String toJson(Object obj) {
|
||||
ObjectMapper mapper = JsonUtils.objectMapper();
|
||||
try {
|
||||
return mapper.writeValueAsString(obj);
|
||||
}
|
||||
catch (JsonProcessingException e) {
|
||||
logger.warn("json parase exception :{}", (Object)e.getMessage());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> T toObj(String json, Class<T> clazz) {
|
||||
ObjectMapper mapper = JsonUtils.objectMapper();
|
||||
Object value = null;
|
||||
try {
|
||||
value = mapper.readValue(json, clazz);
|
||||
}
|
||||
catch (IOException e) {
|
||||
logger.warn("json parase exception :{}", (Object)e.getMessage());
|
||||
}
|
||||
return (T)value;
|
||||
}
|
||||
|
||||
public static <T> T toObj(String json, TypeReference<T> tTypeReference) {
|
||||
ObjectMapper mapper = JsonUtils.objectMapper();
|
||||
Object value = null;
|
||||
try {
|
||||
value = mapper.readValue(json, tTypeReference);
|
||||
}
|
||||
catch (IOException e) {
|
||||
logger.warn("json parase exception :{}", (Object)e.getMessage());
|
||||
}
|
||||
return (T)value;
|
||||
}
|
||||
|
||||
public static <T> List<T> toObjList(String json, Class<T> clazz) {
|
||||
ObjectMapper mapper = JsonUtils.objectMapper();
|
||||
List value = null;
|
||||
try {
|
||||
JavaType jt = mapper.getTypeFactory().constructParametricType(ArrayList.class, new Class[]{clazz});
|
||||
value = (List)mapper.readValue(json, jt);
|
||||
}
|
||||
catch (IOException e) {
|
||||
logger.warn("json parase exception :{}", (Object)e.getMessage());
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
public static ObjectMapper objectMapper() {
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
mapper.registerModule((Module)new JavaTimeModule());
|
||||
mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
|
||||
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
|
||||
return mapper;
|
||||
}
|
||||
}
|
||||
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* com.fasterxml.jackson.annotation.JsonInclude$Include
|
||||
* com.fasterxml.jackson.core.type.TypeReference
|
||||
* com.fasterxml.jackson.databind.DeserializationFeature
|
||||
* com.fasterxml.jackson.databind.ObjectMapper
|
||||
* org.slf4j.Logger
|
||||
* org.slf4j.LoggerFactory
|
||||
* org.springframework.http.HttpEntity
|
||||
* org.springframework.http.HttpHeaders
|
||||
* org.springframework.http.HttpMethod
|
||||
* org.springframework.http.HttpStatus
|
||||
* org.springframework.http.ResponseEntity
|
||||
* org.springframework.http.client.ClientHttpRequestFactory
|
||||
* org.springframework.http.client.SimpleClientHttpRequestFactory
|
||||
* org.springframework.http.converter.HttpMessageConverter
|
||||
* org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
|
||||
* org.springframework.stereotype.Component
|
||||
* org.springframework.util.MultiValueMap
|
||||
* org.springframework.web.client.RestTemplate
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
import cn.cloudwalk.elevator.util.DateUtils;
|
||||
import cn.cloudwalk.elevator.util.JsonUtils;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import java.net.URI;
|
||||
import java.util.List;
|
||||
import javax.annotation.PostConstruct;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.http.HttpEntity;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.http.client.ClientHttpRequestFactory;
|
||||
import org.springframework.http.client.SimpleClientHttpRequestFactory;
|
||||
import org.springframework.http.converter.HttpMessageConverter;
|
||||
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.MultiValueMap;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
@Component
|
||||
public class RestTemplateUtil {
|
||||
private static final Logger logger = LoggerFactory.getLogger(DateUtils.class);
|
||||
private static RestTemplate restTemplate;
|
||||
|
||||
@PostConstruct
|
||||
public void getInstance() {
|
||||
RestTemplate restTemplate = SingletonRestTemplate.INSTANCE;
|
||||
List converterList = restTemplate.getMessageConverters();
|
||||
HttpMessageConverter converterTarget = null;
|
||||
for (HttpMessageConverter item : converterList) {
|
||||
if (MappingJackson2HttpMessageConverter.class != item.getClass()) continue;
|
||||
converterTarget = item;
|
||||
break;
|
||||
}
|
||||
if (null != converterTarget) {
|
||||
converterList.remove(converterTarget);
|
||||
}
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
|
||||
converterList.add(new MappingJackson2HttpMessageConverter(objectMapper));
|
||||
RestTemplateUtil.restTemplate = restTemplate;
|
||||
}
|
||||
|
||||
public static String get(String url) {
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.add("Accept", "application/json");
|
||||
headers.add("Content-Encoding", "UTF-8");
|
||||
headers.add("Content-Type", "application/json; charset=UTF-8");
|
||||
HttpEntity requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
ResponseEntity response = restTemplate.exchange(url, HttpMethod.GET, requestEntity, String.class, new Object[0]);
|
||||
return (String)response.getBody();
|
||||
}
|
||||
|
||||
public static String get(URI url, HttpHeaders headers) {
|
||||
HttpEntity requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
ResponseEntity response = restTemplate.exchange(url, HttpMethod.GET, requestEntity, String.class);
|
||||
return (String)response.getBody();
|
||||
}
|
||||
|
||||
public static <T> T get(URI url, HttpHeaders headers, Class<T> responseType) {
|
||||
HttpEntity requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
try {
|
||||
ResponseEntity result = restTemplate.exchange(url, HttpMethod.GET, requestEntity, responseType);
|
||||
resultEntity = RestTemplateUtil.getResultEntity(result, url);
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>\u3010{}\u3011\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u9519\u8bef\u4fe1\u606f", (Object)url, (Object)e);
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
public static <T> T post(URI url, Object data, HttpHeaders headers, Class<T> responseType) {
|
||||
HttpEntity requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
try {
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u5f00\u59cb\u8bf7\u6c42\u63a5\u53e3:{}\uff0cpayload:{},", (Object)url.toString(), data);
|
||||
ResponseEntity result = restTemplate.postForEntity(url, (Object)requestEntity, responseType);
|
||||
resultEntity = RestTemplateUtil.getResultEntity(result, url);
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u9519\u8bef\u4fe1\u606f\uff1a{}", (Object)e.getMessage());
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
public static <T> T postTf(URI url, Object data, HttpHeaders headers, Class<T> responseType) throws Exception {
|
||||
HttpEntity requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
try {
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u5f00\u59cb\u8bf7\u6c42\u63a5\u53e3:{},payload:{},", (Object)url.toString(), data);
|
||||
ResponseEntity result = restTemplate.postForEntity(url, (Object)requestEntity, responseType);
|
||||
resultEntity = RestTemplateUtil.getTfResultEntity(result, url);
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u9519\u8bef\u4fe1\u606f\uff1a{}", (Object)e.getMessage());
|
||||
throw e;
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
public static <T> T post(URI url, Object data, HttpHeaders headers, TypeReference<T> tTypeReference) {
|
||||
HttpEntity requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
try {
|
||||
ResponseEntity result = restTemplate.postForEntity(url, (Object)requestEntity, String.class);
|
||||
if (HttpStatus.OK == result.getStatusCode()) {
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("\u63a5\u53e3\u8fd4\u56de\u503c\uff1a{}", (Object)JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
return JsonUtils.toObj((String)result.getBody(), tTypeReference);
|
||||
}
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u72b6\u6001\u7801\uff1a{},\u9519\u8bef\u539f\u56e0\uff1a{}", (Object)result.getStatusCode(), (Object)JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u9519\u8bef\u4fe1\u606f\uff1a{}", (Object)e.getMessage());
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
private static <T> T getTfResultEntity(ResponseEntity<T> result, URI url) throws Exception {
|
||||
HttpStatus statusCode = result.getStatusCode();
|
||||
if (HttpStatus.OK == statusCode) {
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u63a5\u53e3:{} \u8c03\u7528\u6210\u529f", (Object)url);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("\u63a5\u53e3\u8fd4\u56de\u503c\uff1a{}", (Object)JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
return (T)result.getBody();
|
||||
}
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u72b6\u6001\u7801\uff1a{},\u9519\u8bef\u539f\u56e0\uff1a{}", (Object)statusCode, (Object)JsonUtils.toJson(result.getBody()));
|
||||
if (HttpStatus.UNAUTHORIZED == statusCode) {
|
||||
throw new Exception(statusCode.toString());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static <T> T getResultEntity(ResponseEntity<T> result, URI url) {
|
||||
if (HttpStatus.OK == result.getStatusCode()) {
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u63a5\u53e3:{} \u8c03\u7528\u6210\u529f", (Object)url);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("\u63a5\u53e3\u8fd4\u56de\u503c\uff1a{}", (Object)JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
return (T)result.getBody();
|
||||
}
|
||||
logger.info(">>>>>>>>>>>>>>>>>\u63a5\u53e3\u8c03\u7528\u5931\u8d25\uff0c\u72b6\u6001\u7801\uff1a{},\u9519\u8bef\u539f\u56e0\uff1a{}", (Object)result.getStatusCode(), (Object)JsonUtils.toJson(result.getBody()));
|
||||
return null;
|
||||
}
|
||||
|
||||
private static class SingletonRestTemplate {
|
||||
static SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory();
|
||||
static final RestTemplate INSTANCE;
|
||||
|
||||
private SingletonRestTemplate() {
|
||||
}
|
||||
|
||||
static {
|
||||
requestFactory.setConnectTimeout(10000);
|
||||
requestFactory.setReadTimeout(10000);
|
||||
INSTANCE = new RestTemplate((ClientHttpRequestFactory)requestFactory);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
public class StartTimeAndEndTime {
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private String currentTime;
|
||||
|
||||
public StartTimeAndEndTime(Long startTime, Long endTime, String currentTime) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.currentTime = currentTime;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getCurrentTime() {
|
||||
return this.currentTime;
|
||||
}
|
||||
|
||||
public void setCurrentTime(String currentTime) {
|
||||
this.currentTime = currentTime;
|
||||
}
|
||||
}
|
||||
|
||||
+2072
File diff suppressed because it is too large
Load Diff
+25
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.function.Function;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
public class ToolUtil {
|
||||
private ToolUtil() {
|
||||
}
|
||||
|
||||
public static String generateUUID() {
|
||||
String uuid = UUID.randomUUID().toString();
|
||||
return uuid.replaceAll("-", "");
|
||||
}
|
||||
|
||||
public static <T> Predicate<T> distinctByKey(Function<? super T, ?> keyExtractor) {
|
||||
ConcurrentHashMap.KeySetView seen = ConcurrentHashMap.newKeySet();
|
||||
return t -> seen.add(keyExtractor.apply(t));
|
||||
}
|
||||
}
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Summary for /media/zebra/9e8fa357-7db6-4d70-88ed-d5de5a059a663/星河湾星中星/反编译/artifacts/decompiled/v1-cfr-compare-20211103/extracted-fat/lib/cw-elevator-application-common-1.0-SNAPSHOT.jar
|
||||
Decompiled with CFR 0.152
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.elevator.util.DateUtils
|
||||
* com.google.common.collect.Range
|
||||
* org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm
|
||||
* org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue
|
||||
* org.apache.shardingsphere.api.sharding.standard.RangeShardingAlgorithm
|
||||
* org.apache.shardingsphere.api.sharding.standard.RangeShardingValue
|
||||
* org.springframework.util.CollectionUtils
|
||||
*/
|
||||
package cn.cloudwalk.elevator;
|
||||
|
||||
import cn.cloudwalk.elevator.util.DateUtils;
|
||||
import com.google.common.collect.Range;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm;
|
||||
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue;
|
||||
import org.apache.shardingsphere.api.sharding.standard.RangeShardingAlgorithm;
|
||||
import org.apache.shardingsphere.api.sharding.standard.RangeShardingValue;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
public class YearlyShardingAlgorithm
|
||||
implements PreciseShardingAlgorithm<Long>,
|
||||
RangeShardingAlgorithm<Long> {
|
||||
public String doSharding(Collection<String> availableTargetNames, PreciseShardingValue<Long> shardingValue) {
|
||||
Long time = (Long)shardingValue.getValue();
|
||||
String suffix = DateUtils.formatDate((Date)new Date(time), (String)"yyyy");
|
||||
String logicTableName = shardingValue.getLogicTableName();
|
||||
String actualTableName = logicTableName + "_" + suffix;
|
||||
if (!availableTargetNames.contains(actualTableName)) {
|
||||
// empty if block
|
||||
}
|
||||
return actualTableName;
|
||||
}
|
||||
|
||||
public Collection<String> doSharding(Collection<String> availableTargetNames, RangeShardingValue<Long> shardingValue) {
|
||||
ArrayList<String> availables = new ArrayList<String>();
|
||||
Range valueRange = shardingValue.getValueRange();
|
||||
if (!CollectionUtils.isEmpty(availableTargetNames)) {
|
||||
Integer lowerBoundYear = Integer.MIN_VALUE;
|
||||
Integer upperBoundYear = Integer.MAX_VALUE;
|
||||
if (valueRange.hasLowerBound()) {
|
||||
lowerBoundYear = Integer.parseInt(DateUtils.formatDate((Date)new Date((Long)valueRange.lowerEndpoint()), (String)"YYYY"));
|
||||
}
|
||||
if (valueRange.hasUpperBound()) {
|
||||
upperBoundYear = Integer.parseInt(DateUtils.formatDate((Date)new Date((Long)valueRange.upperEndpoint()), (String)"YYYY"));
|
||||
}
|
||||
for (String targetTable : availableTargetNames) {
|
||||
Integer tableNameSuffix = Integer.parseInt(targetTable.substring(targetTable.lastIndexOf(95) + 1, targetTable.lastIndexOf(95) + 5));
|
||||
if (tableNameSuffix.compareTo(lowerBoundYear) < 0 || tableNameSuffix.compareTo(upperBoundYear) > 0) continue;
|
||||
availables.add(targetTable);
|
||||
}
|
||||
}
|
||||
return availables;
|
||||
}
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.ServiceException
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
|
||||
public interface AcsElevatorCodeDao {
|
||||
public Integer insertNew(AcsElevatorCodeDTO var1) throws ServiceException;
|
||||
|
||||
public Integer updateOld(AcsElevatorCodeDTO var1) throws ServiceException;
|
||||
|
||||
public AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO var1);
|
||||
|
||||
public AcsElevatorCodeResultDTO getFirstByParentId(String var1);
|
||||
}
|
||||
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorCodeDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private String zoneId;
|
||||
private String code;
|
||||
private String parentId;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
}
|
||||
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
|
||||
public class AcsElevatorCodeQueryDTO {
|
||||
private String zoneId;
|
||||
private String id;
|
||||
private String zoneName;
|
||||
private String zoneType;
|
||||
private String code;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getZoneType() {
|
||||
return this.zoneType;
|
||||
}
|
||||
|
||||
public void setZoneType(String zoneType) {
|
||||
this.zoneType = zoneType;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
}
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
|
||||
public class AcsElevatorCodeResultDTO {
|
||||
private String zoneId;
|
||||
private String code;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
}
|
||||
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.ServiceException
|
||||
* org.springframework.stereotype.Repository
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dao.AcsElevatorCodeDao;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.mapper.AcsElevatorCodeMapper;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsElevatorCodeDaoImpl
|
||||
implements AcsElevatorCodeDao {
|
||||
@Resource
|
||||
private AcsElevatorCodeMapper acsElevatorCodeMapper;
|
||||
|
||||
@Override
|
||||
public Integer insertNew(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
return this.acsElevatorCodeMapper.insertNew(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer updateOld(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
return this.acsElevatorCodeMapper.updateOld(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO dto) {
|
||||
return this.acsElevatorCodeMapper.get(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AcsElevatorCodeResultDTO getFirstByParentId(String parentId) {
|
||||
return this.acsElevatorCodeMapper.getFirstByParentId(parentId);
|
||||
}
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
|
||||
public interface AcsElevatorCodeMapper {
|
||||
public AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO var1);
|
||||
|
||||
public int insertNew(AcsElevatorCodeDTO var1);
|
||||
|
||||
public int updateOld(AcsElevatorCodeDTO var1);
|
||||
|
||||
public AcsElevatorCodeResultDTO getFirstByParentId(String var1);
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskDao {
|
||||
public Integer insert(AcsDeviceTaskAddDto var1);
|
||||
|
||||
public Integer updateBingDevices(AcsDeviceTaskAddDto var1);
|
||||
|
||||
public Integer updateIsStop(AcsDeviceTaskAddDto var1);
|
||||
|
||||
public AcsDeviceTaskDTO getById(String var1);
|
||||
}
|
||||
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.exception.ServiceException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListByBuildingIdDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorDeviceDao {
|
||||
public Integer add(AcsElevatorDeviceAddDTO var1) throws DataAccessException;
|
||||
|
||||
public Integer edit(AcsElevatorDeviceEditDTO var1) throws DataAccessException;
|
||||
|
||||
public Integer delete(List<String> var1) throws DataAccessException;
|
||||
|
||||
public CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO var1, CloudwalkPageInfo var2) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO var1) throws ServiceException;
|
||||
|
||||
public AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO var1) throws ServiceException;
|
||||
|
||||
public AcsElevatorDeviceResultDTO getByDeciveCode(String var1) throws ServiceException;
|
||||
|
||||
public String getBuildingId(AcsElevatorDeviceQueryDTO var1) throws ServiceException;
|
||||
|
||||
public String getBusinessId(AcsElevatorDeviceQueryDTO var1) throws ServiceException;
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.ServiceException
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
|
||||
public interface DeviceImageStoreDao {
|
||||
public Boolean save(String var1, String var2) throws ServiceException;
|
||||
|
||||
public String getByBuildingId(String var1) throws ServiceException;
|
||||
}
|
||||
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsDeviceQueryDTO
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -9107652629099620576L;
|
||||
private String id;
|
||||
private List<String> ids;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private List<String> deviceIds;
|
||||
private String deviceCode;
|
||||
private String parentDeviceId;
|
||||
private List<String> parentDeviceIds;
|
||||
private Integer openStatus;
|
||||
private Integer queryParent;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<String> getDeviceIds() {
|
||||
return this.deviceIds;
|
||||
}
|
||||
|
||||
public void setDeviceIds(List<String> deviceIds) {
|
||||
this.deviceIds = deviceIds;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getParentDeviceId() {
|
||||
return this.parentDeviceId;
|
||||
}
|
||||
|
||||
public void setParentDeviceId(String parentDeviceId) {
|
||||
this.parentDeviceId = parentDeviceId;
|
||||
}
|
||||
|
||||
public List<String> getParentDeviceIds() {
|
||||
return this.parentDeviceIds;
|
||||
}
|
||||
|
||||
public void setParentDeviceIds(List<String> parentDeviceIds) {
|
||||
this.parentDeviceIds = parentDeviceIds;
|
||||
}
|
||||
|
||||
public Integer getQueryParent() {
|
||||
return this.queryParent;
|
||||
}
|
||||
|
||||
public void setQueryParent(Integer queryParent) {
|
||||
this.queryParent = queryParent;
|
||||
}
|
||||
|
||||
public Integer getOpenStatus() {
|
||||
return this.openStatus;
|
||||
}
|
||||
|
||||
public void setOpenStatus(Integer openStatus) {
|
||||
this.openStatus = openStatus;
|
||||
}
|
||||
}
|
||||
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsDeviceResultDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6868258119634367362L;
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String parentDeviceId;
|
||||
private String imageStoreId;
|
||||
private Integer openStatus;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getParentDeviceId() {
|
||||
return this.parentDeviceId;
|
||||
}
|
||||
|
||||
public void setParentDeviceId(String parentDeviceId) {
|
||||
this.parentDeviceId = parentDeviceId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getOpenStatus() {
|
||||
return this.openStatus;
|
||||
}
|
||||
|
||||
public void setOpenStatus(Integer openStatus) {
|
||||
this.openStatus = openStatus;
|
||||
}
|
||||
}
|
||||
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsDeviceTaskAddDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private Integer allDevices;
|
||||
private Integer bindDevices;
|
||||
private Integer isStop;
|
||||
|
||||
public Integer getAllDevices() {
|
||||
return this.allDevices;
|
||||
}
|
||||
|
||||
public void setAllDevices(Integer allDevices) {
|
||||
this.allDevices = allDevices;
|
||||
}
|
||||
|
||||
public Integer getBindDevices() {
|
||||
return this.bindDevices;
|
||||
}
|
||||
|
||||
public void setBindDevices(Integer bindDevices) {
|
||||
this.bindDevices = bindDevices;
|
||||
}
|
||||
|
||||
public Integer getIsStop() {
|
||||
return this.isStop;
|
||||
}
|
||||
|
||||
public void setIsStop(Integer isStop) {
|
||||
this.isStop = isStop;
|
||||
}
|
||||
}
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsDeviceTaskDTO
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -3746361327881264974L;
|
||||
private String id;
|
||||
private Integer allDevices;
|
||||
private Integer bindDevices;
|
||||
private Integer isStop;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getAllDevices() {
|
||||
return this.allDevices;
|
||||
}
|
||||
|
||||
public void setAllDevices(Integer allDevices) {
|
||||
this.allDevices = allDevices;
|
||||
}
|
||||
|
||||
public Integer getBindDevices() {
|
||||
return this.bindDevices;
|
||||
}
|
||||
|
||||
public void setBindDevices(Integer bindDevices) {
|
||||
this.bindDevices = bindDevices;
|
||||
}
|
||||
|
||||
public Integer getIsStop() {
|
||||
return this.isStop;
|
||||
}
|
||||
|
||||
public void setIsStop(Integer isStop) {
|
||||
this.isStop = isStop;
|
||||
}
|
||||
}
|
||||
|
||||
+155
@@ -0,0 +1,155 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceAddDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private Integer status;
|
||||
private Integer deleteFlag;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getDeleteFlag() {
|
||||
return this.deleteFlag;
|
||||
}
|
||||
|
||||
public void setDeleteFlag(Integer deleteFlag) {
|
||||
this.deleteFlag = deleteFlag;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceAddDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + ", areaName='" + this.areaName + '\'' + ", status=" + this.status + ", deleteFlag=" + this.deleteFlag + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceEditDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 885170301572808321L;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeciveEditDTO{elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + ", currentBuildingId='" + this.currentBuildingId + '\'' + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceListByBuildingIdDto
|
||||
implements Serializable {
|
||||
private String businessId;
|
||||
private String currentBuildingId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AcsElevatorDeviceListByBuildingIdDto)) {
|
||||
return false;
|
||||
}
|
||||
AcsElevatorDeviceListByBuildingIdDto other = (AcsElevatorDeviceListByBuildingIdDto)o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null ? other$businessId != null : !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuildingId = this.getCurrentBuildingId();
|
||||
String other$currentBuildingId = other.getCurrentBuildingId();
|
||||
return !(this$currentBuildingId == null ? other$currentBuildingId != null : !this$currentBuildingId.equals(other$currentBuildingId));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceListByBuildingIdDto;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $currentBuildingId = this.getCurrentBuildingId();
|
||||
result = result * 59 + ($currentBuildingId == null ? 43 : $currentBuildingId.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceListByBuildingIdDto(businessId=" + this.getBusinessId() + ", currentBuildingId=" + this.getCurrentBuildingId() + ")";
|
||||
}
|
||||
}
|
||||
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorDeviceListDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private String businessId;
|
||||
private String currentFloorId;
|
||||
private List<String> currentFloorIds;
|
||||
|
||||
public List<String> getCurrentFloorIds() {
|
||||
return this.currentFloorIds;
|
||||
}
|
||||
|
||||
public void setCurrentFloorIds(List<String> currentFloorIds) {
|
||||
this.currentFloorIds = currentFloorIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
}
|
||||
|
||||
+233
@@ -0,0 +1,233 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceListResultDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private Integer status;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AcsElevatorDeviceListResultDto)) {
|
||||
return false;
|
||||
}
|
||||
AcsElevatorDeviceListResultDto other = (AcsElevatorDeviceListResultDto)o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null ? other$businessId != null : !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceId = this.getDeviceId();
|
||||
String other$deviceId = other.getDeviceId();
|
||||
if (this$deviceId == null ? other$deviceId != null : !this$deviceId.equals(other$deviceId)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceCode = this.getDeviceCode();
|
||||
String other$deviceCode = other.getDeviceCode();
|
||||
if (this$deviceCode == null ? other$deviceCode != null : !this$deviceCode.equals(other$deviceCode)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceName = this.getDeviceName();
|
||||
String other$deviceName = other.getDeviceName();
|
||||
if (this$deviceName == null ? other$deviceName != null : !this$deviceName.equals(other$deviceName)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceTypeName = this.getDeviceTypeName();
|
||||
String other$deviceTypeName = other.getDeviceTypeName();
|
||||
if (this$deviceTypeName == null ? other$deviceTypeName != null : !this$deviceTypeName.equals(other$deviceTypeName)) {
|
||||
return false;
|
||||
}
|
||||
String this$elevatorFloorList = this.getElevatorFloorList();
|
||||
String other$elevatorFloorList = other.getElevatorFloorList();
|
||||
if (this$elevatorFloorList == null ? other$elevatorFloorList != null : !this$elevatorFloorList.equals(other$elevatorFloorList)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentFloorId = this.getCurrentFloorId();
|
||||
String other$currentFloorId = other.getCurrentFloorId();
|
||||
if (this$currentFloorId == null ? other$currentFloorId != null : !this$currentFloorId.equals(other$currentFloorId)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentFloor = this.getCurrentFloor();
|
||||
String other$currentFloor = other.getCurrentFloor();
|
||||
if (this$currentFloor == null ? other$currentFloor != null : !this$currentFloor.equals(other$currentFloor)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuilding = this.getCurrentBuilding();
|
||||
String other$currentBuilding = other.getCurrentBuilding();
|
||||
if (this$currentBuilding == null ? other$currentBuilding != null : !this$currentBuilding.equals(other$currentBuilding)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuildingId = this.getCurrentBuildingId();
|
||||
String other$currentBuildingId = other.getCurrentBuildingId();
|
||||
if (this$currentBuildingId == null ? other$currentBuildingId != null : !this$currentBuildingId.equals(other$currentBuildingId)) {
|
||||
return false;
|
||||
}
|
||||
String this$areaName = this.getAreaName();
|
||||
String other$areaName = other.getAreaName();
|
||||
if (this$areaName == null ? other$areaName != null : !this$areaName.equals(other$areaName)) {
|
||||
return false;
|
||||
}
|
||||
Integer this$status = this.getStatus();
|
||||
Integer other$status = other.getStatus();
|
||||
return !(this$status == null ? other$status != null : !((Object)this$status).equals(other$status));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceListResultDto;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $deviceId = this.getDeviceId();
|
||||
result = result * 59 + ($deviceId == null ? 43 : $deviceId.hashCode());
|
||||
String $deviceCode = this.getDeviceCode();
|
||||
result = result * 59 + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
||||
String $deviceName = this.getDeviceName();
|
||||
result = result * 59 + ($deviceName == null ? 43 : $deviceName.hashCode());
|
||||
String $deviceTypeName = this.getDeviceTypeName();
|
||||
result = result * 59 + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
||||
String $elevatorFloorList = this.getElevatorFloorList();
|
||||
result = result * 59 + ($elevatorFloorList == null ? 43 : $elevatorFloorList.hashCode());
|
||||
String $currentFloorId = this.getCurrentFloorId();
|
||||
result = result * 59 + ($currentFloorId == null ? 43 : $currentFloorId.hashCode());
|
||||
String $currentFloor = this.getCurrentFloor();
|
||||
result = result * 59 + ($currentFloor == null ? 43 : $currentFloor.hashCode());
|
||||
String $currentBuilding = this.getCurrentBuilding();
|
||||
result = result * 59 + ($currentBuilding == null ? 43 : $currentBuilding.hashCode());
|
||||
String $currentBuildingId = this.getCurrentBuildingId();
|
||||
result = result * 59 + ($currentBuildingId == null ? 43 : $currentBuildingId.hashCode());
|
||||
String $areaName = this.getAreaName();
|
||||
result = result * 59 + ($areaName == null ? 43 : $areaName.hashCode());
|
||||
Integer $status = this.getStatus();
|
||||
result = result * 59 + ($status == null ? 43 : ((Object)$status).hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceListResultDto(businessId=" + this.getBusinessId() + ", deviceId=" + this.getDeviceId() + ", deviceCode=" + this.getDeviceCode() + ", deviceName=" + this.getDeviceName() + ", deviceTypeName=" + this.getDeviceTypeName() + ", elevatorFloorList=" + this.getElevatorFloorList() + ", currentFloorId=" + this.getCurrentFloorId() + ", currentFloor=" + this.getCurrentFloor() + ", currentBuilding=" + this.getCurrentBuilding() + ", currentBuildingId=" + this.getCurrentBuildingId() + ", areaName=" + this.getAreaName() + ", status=" + this.getStatus() + ")";
|
||||
}
|
||||
}
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.page.CloudwalkBasePageForm
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceQueryByIdDTO
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable {
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
+108
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorDeviceQueryDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -761586737506722816L;
|
||||
private String areaName;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private List<String> areaIds;
|
||||
private String deviceId;
|
||||
private String businessId;
|
||||
private String ip;
|
||||
private Integer status;
|
||||
private Integer onlineStatus;
|
||||
|
||||
public String getIp() {
|
||||
return this.ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getOnlineStatus() {
|
||||
return this.onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(Integer onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
}
|
||||
|
||||
+257
@@ -0,0 +1,257 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
public class AcsElevatorDeviceQueryFoDTO {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AcsElevatorDeviceQueryFoDTO)) {
|
||||
return false;
|
||||
}
|
||||
AcsElevatorDeviceQueryFoDTO other = (AcsElevatorDeviceQueryFoDTO)o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$id = this.getId();
|
||||
String other$id = other.getId();
|
||||
if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null ? other$businessId != null : !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceId = this.getDeviceId();
|
||||
String other$deviceId = other.getDeviceId();
|
||||
if (this$deviceId == null ? other$deviceId != null : !this$deviceId.equals(other$deviceId)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceCode = this.getDeviceCode();
|
||||
String other$deviceCode = other.getDeviceCode();
|
||||
if (this$deviceCode == null ? other$deviceCode != null : !this$deviceCode.equals(other$deviceCode)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceName = this.getDeviceName();
|
||||
String other$deviceName = other.getDeviceName();
|
||||
if (this$deviceName == null ? other$deviceName != null : !this$deviceName.equals(other$deviceName)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceTypeName = this.getDeviceTypeName();
|
||||
String other$deviceTypeName = other.getDeviceTypeName();
|
||||
if (this$deviceTypeName == null ? other$deviceTypeName != null : !this$deviceTypeName.equals(other$deviceTypeName)) {
|
||||
return false;
|
||||
}
|
||||
String this$elevatorFloorList = this.getElevatorFloorList();
|
||||
String other$elevatorFloorList = other.getElevatorFloorList();
|
||||
if (this$elevatorFloorList == null ? other$elevatorFloorList != null : !this$elevatorFloorList.equals(other$elevatorFloorList)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentFloorId = this.getCurrentFloorId();
|
||||
String other$currentFloorId = other.getCurrentFloorId();
|
||||
if (this$currentFloorId == null ? other$currentFloorId != null : !this$currentFloorId.equals(other$currentFloorId)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentFloor = this.getCurrentFloor();
|
||||
String other$currentFloor = other.getCurrentFloor();
|
||||
if (this$currentFloor == null ? other$currentFloor != null : !this$currentFloor.equals(other$currentFloor)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuilding = this.getCurrentBuilding();
|
||||
String other$currentBuilding = other.getCurrentBuilding();
|
||||
if (this$currentBuilding == null ? other$currentBuilding != null : !this$currentBuilding.equals(other$currentBuilding)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuildingId = this.getCurrentBuildingId();
|
||||
String other$currentBuildingId = other.getCurrentBuildingId();
|
||||
if (this$currentBuildingId == null ? other$currentBuildingId != null : !this$currentBuildingId.equals(other$currentBuildingId)) {
|
||||
return false;
|
||||
}
|
||||
String this$areaName = this.getAreaName();
|
||||
String other$areaName = other.getAreaName();
|
||||
if (this$areaName == null ? other$areaName != null : !this$areaName.equals(other$areaName)) {
|
||||
return false;
|
||||
}
|
||||
String this$areaId = this.getAreaId();
|
||||
String other$areaId = other.getAreaId();
|
||||
if (this$areaId == null ? other$areaId != null : !this$areaId.equals(other$areaId)) {
|
||||
return false;
|
||||
}
|
||||
String this$elevatorFloorIdList = this.getElevatorFloorIdList();
|
||||
String other$elevatorFloorIdList = other.getElevatorFloorIdList();
|
||||
return !(this$elevatorFloorIdList == null ? other$elevatorFloorIdList != null : !this$elevatorFloorIdList.equals(other$elevatorFloorIdList));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceQueryFoDTO;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $id = this.getId();
|
||||
result = result * 59 + ($id == null ? 43 : $id.hashCode());
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $deviceId = this.getDeviceId();
|
||||
result = result * 59 + ($deviceId == null ? 43 : $deviceId.hashCode());
|
||||
String $deviceCode = this.getDeviceCode();
|
||||
result = result * 59 + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
||||
String $deviceName = this.getDeviceName();
|
||||
result = result * 59 + ($deviceName == null ? 43 : $deviceName.hashCode());
|
||||
String $deviceTypeName = this.getDeviceTypeName();
|
||||
result = result * 59 + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
||||
String $elevatorFloorList = this.getElevatorFloorList();
|
||||
result = result * 59 + ($elevatorFloorList == null ? 43 : $elevatorFloorList.hashCode());
|
||||
String $currentFloorId = this.getCurrentFloorId();
|
||||
result = result * 59 + ($currentFloorId == null ? 43 : $currentFloorId.hashCode());
|
||||
String $currentFloor = this.getCurrentFloor();
|
||||
result = result * 59 + ($currentFloor == null ? 43 : $currentFloor.hashCode());
|
||||
String $currentBuilding = this.getCurrentBuilding();
|
||||
result = result * 59 + ($currentBuilding == null ? 43 : $currentBuilding.hashCode());
|
||||
String $currentBuildingId = this.getCurrentBuildingId();
|
||||
result = result * 59 + ($currentBuildingId == null ? 43 : $currentBuildingId.hashCode());
|
||||
String $areaName = this.getAreaName();
|
||||
result = result * 59 + ($areaName == null ? 43 : $areaName.hashCode());
|
||||
String $areaId = this.getAreaId();
|
||||
result = result * 59 + ($areaId == null ? 43 : $areaId.hashCode());
|
||||
String $elevatorFloorIdList = this.getElevatorFloorIdList();
|
||||
result = result * 59 + ($elevatorFloorIdList == null ? 43 : $elevatorFloorIdList.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceQueryFoDTO(id=" + this.getId() + ", businessId=" + this.getBusinessId() + ", deviceId=" + this.getDeviceId() + ", deviceCode=" + this.getDeviceCode() + ", deviceName=" + this.getDeviceName() + ", deviceTypeName=" + this.getDeviceTypeName() + ", elevatorFloorList=" + this.getElevatorFloorList() + ", currentFloorId=" + this.getCurrentFloorId() + ", currentFloor=" + this.getCurrentFloor() + ", currentBuilding=" + this.getCurrentBuilding() + ", currentBuildingId=" + this.getCurrentBuildingId() + ", areaName=" + this.getAreaName() + ", areaId=" + this.getAreaId() + ", elevatorFloorIdList=" + this.getElevatorFloorIdList() + ")";
|
||||
}
|
||||
}
|
||||
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceQueryResultDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -761586737506722816L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private Integer status;
|
||||
}
|
||||
|
||||
+353
@@ -0,0 +1,353 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
public class AcsElevatorDeviceResultDTO {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private String areaId;
|
||||
private Integer status;
|
||||
private String statusString;
|
||||
private String elevatorFloorIdList;
|
||||
private Long lastHeartbeatTime;
|
||||
private String imageStoreId;
|
||||
private String ip;
|
||||
private Integer onlineStatus;
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Long getLastHeartbeatTime() {
|
||||
return this.lastHeartbeatTime;
|
||||
}
|
||||
|
||||
public void setLastHeartbeatTime(Long lastHeartbeatTime) {
|
||||
this.lastHeartbeatTime = lastHeartbeatTime;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getStatusString() {
|
||||
return this.statusString;
|
||||
}
|
||||
|
||||
public void setStatusString(String statusString) {
|
||||
this.statusString = statusString;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getOnlineStatus() {
|
||||
return this.onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(Integer onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getIp() {
|
||||
return this.ip;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AcsElevatorDeviceResultDTO)) {
|
||||
return false;
|
||||
}
|
||||
AcsElevatorDeviceResultDTO other = (AcsElevatorDeviceResultDTO)o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$id = this.getId();
|
||||
String other$id = other.getId();
|
||||
if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null ? other$businessId != null : !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceId = this.getDeviceId();
|
||||
String other$deviceId = other.getDeviceId();
|
||||
if (this$deviceId == null ? other$deviceId != null : !this$deviceId.equals(other$deviceId)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceCode = this.getDeviceCode();
|
||||
String other$deviceCode = other.getDeviceCode();
|
||||
if (this$deviceCode == null ? other$deviceCode != null : !this$deviceCode.equals(other$deviceCode)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceName = this.getDeviceName();
|
||||
String other$deviceName = other.getDeviceName();
|
||||
if (this$deviceName == null ? other$deviceName != null : !this$deviceName.equals(other$deviceName)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceTypeName = this.getDeviceTypeName();
|
||||
String other$deviceTypeName = other.getDeviceTypeName();
|
||||
if (this$deviceTypeName == null ? other$deviceTypeName != null : !this$deviceTypeName.equals(other$deviceTypeName)) {
|
||||
return false;
|
||||
}
|
||||
String this$elevatorFloorList = this.getElevatorFloorList();
|
||||
String other$elevatorFloorList = other.getElevatorFloorList();
|
||||
if (this$elevatorFloorList == null ? other$elevatorFloorList != null : !this$elevatorFloorList.equals(other$elevatorFloorList)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentFloorId = this.getCurrentFloorId();
|
||||
String other$currentFloorId = other.getCurrentFloorId();
|
||||
if (this$currentFloorId == null ? other$currentFloorId != null : !this$currentFloorId.equals(other$currentFloorId)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentFloor = this.getCurrentFloor();
|
||||
String other$currentFloor = other.getCurrentFloor();
|
||||
if (this$currentFloor == null ? other$currentFloor != null : !this$currentFloor.equals(other$currentFloor)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuilding = this.getCurrentBuilding();
|
||||
String other$currentBuilding = other.getCurrentBuilding();
|
||||
if (this$currentBuilding == null ? other$currentBuilding != null : !this$currentBuilding.equals(other$currentBuilding)) {
|
||||
return false;
|
||||
}
|
||||
String this$currentBuildingId = this.getCurrentBuildingId();
|
||||
String other$currentBuildingId = other.getCurrentBuildingId();
|
||||
if (this$currentBuildingId == null ? other$currentBuildingId != null : !this$currentBuildingId.equals(other$currentBuildingId)) {
|
||||
return false;
|
||||
}
|
||||
String this$areaName = this.getAreaName();
|
||||
String other$areaName = other.getAreaName();
|
||||
if (this$areaName == null ? other$areaName != null : !this$areaName.equals(other$areaName)) {
|
||||
return false;
|
||||
}
|
||||
String this$areaId = this.getAreaId();
|
||||
String other$areaId = other.getAreaId();
|
||||
if (this$areaId == null ? other$areaId != null : !this$areaId.equals(other$areaId)) {
|
||||
return false;
|
||||
}
|
||||
Integer this$status = this.getStatus();
|
||||
Integer other$status = other.getStatus();
|
||||
if (this$status == null ? other$status != null : !((Object)this$status).equals(other$status)) {
|
||||
return false;
|
||||
}
|
||||
String this$statusString = this.getStatusString();
|
||||
String other$statusString = other.getStatusString();
|
||||
if (this$statusString == null ? other$statusString != null : !this$statusString.equals(other$statusString)) {
|
||||
return false;
|
||||
}
|
||||
String this$elevatorFloorIdList = this.getElevatorFloorIdList();
|
||||
String other$elevatorFloorIdList = other.getElevatorFloorIdList();
|
||||
if (this$elevatorFloorIdList == null ? other$elevatorFloorIdList != null : !this$elevatorFloorIdList.equals(other$elevatorFloorIdList)) {
|
||||
return false;
|
||||
}
|
||||
Long this$lastHeartbeatTime = this.getLastHeartbeatTime();
|
||||
Long other$lastHeartbeatTime = other.getLastHeartbeatTime();
|
||||
if (this$lastHeartbeatTime == null ? other$lastHeartbeatTime != null : !((Object)this$lastHeartbeatTime).equals(other$lastHeartbeatTime)) {
|
||||
return false;
|
||||
}
|
||||
String this$imageStoreId = this.getImageStoreId();
|
||||
String other$imageStoreId = other.getImageStoreId();
|
||||
if (this$imageStoreId == null ? other$imageStoreId != null : !this$imageStoreId.equals(other$imageStoreId)) {
|
||||
return false;
|
||||
}
|
||||
String this$ip = this.getIp();
|
||||
String other$ip = other.getIp();
|
||||
if (this$ip == null ? other$ip != null : !this$ip.equals(other$ip)) {
|
||||
return false;
|
||||
}
|
||||
Integer this$onlineStatus = this.getOnlineStatus();
|
||||
Integer other$onlineStatus = other.getOnlineStatus();
|
||||
return !(this$onlineStatus == null ? other$onlineStatus != null : !((Object)this$onlineStatus).equals(other$onlineStatus));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceResultDTO;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $id = this.getId();
|
||||
result = result * 59 + ($id == null ? 43 : $id.hashCode());
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $deviceId = this.getDeviceId();
|
||||
result = result * 59 + ($deviceId == null ? 43 : $deviceId.hashCode());
|
||||
String $deviceCode = this.getDeviceCode();
|
||||
result = result * 59 + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
||||
String $deviceName = this.getDeviceName();
|
||||
result = result * 59 + ($deviceName == null ? 43 : $deviceName.hashCode());
|
||||
String $deviceTypeName = this.getDeviceTypeName();
|
||||
result = result * 59 + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
||||
String $elevatorFloorList = this.getElevatorFloorList();
|
||||
result = result * 59 + ($elevatorFloorList == null ? 43 : $elevatorFloorList.hashCode());
|
||||
String $currentFloorId = this.getCurrentFloorId();
|
||||
result = result * 59 + ($currentFloorId == null ? 43 : $currentFloorId.hashCode());
|
||||
String $currentFloor = this.getCurrentFloor();
|
||||
result = result * 59 + ($currentFloor == null ? 43 : $currentFloor.hashCode());
|
||||
String $currentBuilding = this.getCurrentBuilding();
|
||||
result = result * 59 + ($currentBuilding == null ? 43 : $currentBuilding.hashCode());
|
||||
String $currentBuildingId = this.getCurrentBuildingId();
|
||||
result = result * 59 + ($currentBuildingId == null ? 43 : $currentBuildingId.hashCode());
|
||||
String $areaName = this.getAreaName();
|
||||
result = result * 59 + ($areaName == null ? 43 : $areaName.hashCode());
|
||||
String $areaId = this.getAreaId();
|
||||
result = result * 59 + ($areaId == null ? 43 : $areaId.hashCode());
|
||||
Integer $status = this.getStatus();
|
||||
result = result * 59 + ($status == null ? 43 : ((Object)$status).hashCode());
|
||||
String $statusString = this.getStatusString();
|
||||
result = result * 59 + ($statusString == null ? 43 : $statusString.hashCode());
|
||||
String $elevatorFloorIdList = this.getElevatorFloorIdList();
|
||||
result = result * 59 + ($elevatorFloorIdList == null ? 43 : $elevatorFloorIdList.hashCode());
|
||||
Long $lastHeartbeatTime = this.getLastHeartbeatTime();
|
||||
result = result * 59 + ($lastHeartbeatTime == null ? 43 : ((Object)$lastHeartbeatTime).hashCode());
|
||||
String $imageStoreId = this.getImageStoreId();
|
||||
result = result * 59 + ($imageStoreId == null ? 43 : $imageStoreId.hashCode());
|
||||
String $ip = this.getIp();
|
||||
result = result * 59 + ($ip == null ? 43 : $ip.hashCode());
|
||||
Integer $onlineStatus = this.getOnlineStatus();
|
||||
result = result * 59 + ($onlineStatus == null ? 43 : ((Object)$onlineStatus).hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceResultDTO(id=" + this.getId() + ", businessId=" + this.getBusinessId() + ", deviceId=" + this.getDeviceId() + ", deviceCode=" + this.getDeviceCode() + ", deviceName=" + this.getDeviceName() + ", deviceTypeName=" + this.getDeviceTypeName() + ", elevatorFloorList=" + this.getElevatorFloorList() + ", currentFloorId=" + this.getCurrentFloorId() + ", currentFloor=" + this.getCurrentFloor() + ", currentBuilding=" + this.getCurrentBuilding() + ", currentBuildingId=" + this.getCurrentBuildingId() + ", areaName=" + this.getAreaName() + ", areaId=" + this.getAreaId() + ", status=" + this.getStatus() + ", statusString=" + this.getStatusString() + ", elevatorFloorIdList=" + this.getElevatorFloorIdList() + ", lastHeartbeatTime=" + this.getLastHeartbeatTime() + ", imageStoreId=" + this.getImageStoreId() + ", ip=" + this.getIp() + ", onlineStatus=" + this.getOnlineStatus() + ")";
|
||||
}
|
||||
}
|
||||
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* org.springframework.beans.factory.annotation.Autowired
|
||||
* org.springframework.stereotype.Repository
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dao.AcsDeviceTaskDao;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
import cn.cloudwalk.elevator.device.mapper.AcsDeviceTaskMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsDeviceTaskDaoImpl
|
||||
implements AcsDeviceTaskDao {
|
||||
@Autowired
|
||||
private AcsDeviceTaskMapper acsDeviceTaskMapper;
|
||||
|
||||
@Override
|
||||
public Integer insert(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.insert(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer updateBingDevices(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.updateBingDevices(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer updateIsStop(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.updateIsStop(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AcsDeviceTaskDTO getById(String taskId) {
|
||||
return this.acsDeviceTaskMapper.getById(taskId);
|
||||
}
|
||||
}
|
||||
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.exception.ServiceException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
* cn.cloudwalk.cloud.utils.BeanCopyUtils
|
||||
* com.github.pagehelper.Page
|
||||
* com.github.pagehelper.PageHelper
|
||||
* org.slf4j.Logger
|
||||
* org.slf4j.LoggerFactory
|
||||
* org.springframework.stereotype.Repository
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.device.dao.AcsElevatorDeviceDao;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListByBuildingIdDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import cn.cloudwalk.elevator.device.mapper.AcsElevatorDeviceMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsElevatorDeviceDaoImpl
|
||||
implements AcsElevatorDeviceDao {
|
||||
@Resource
|
||||
private AcsElevatorDeviceMapper acsElevatorDeviceMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@Override
|
||||
public Integer add(AcsElevatorDeviceAddDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.add(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u4fdd\u5b58\u6d3e\u68af\u8bbe\u5907\u4fe1\u606f\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer edit(AcsElevatorDeviceEditDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.edit(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u4fdd\u5b58\u6d3e\u68af\u8bbe\u5907\u4fe1\u606f\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer delete(List<String> ids) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.delete(ids);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u5220\u9664\u6d3e\u68af\u8bbe\u5907\u4fe1\u606f\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO dto, CloudwalkPageInfo page) throws DataAccessException {
|
||||
try {
|
||||
PageHelper.startPage((int)page.getCurrentPage(), (int)page.getPageSize());
|
||||
Page result = (Page)this.acsElevatorDeviceMapper.page(dto);
|
||||
return new CloudwalkPageAble((Collection)BeanCopyUtils.copy((Collection)result.getResult(), AcsElevatorDeviceResultDTO.class), page, result.getTotal());
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u8bbe\u5907\u5206\u9875\u67e5\u8be2\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listByZoneId(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u6839\u636e\u697c\u5c42id\u83b7\u53d6\u8bbe\u5907\u4fe1\u606f\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listByZoneIds(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u6839\u636e\u697c\u5c42id\u96c6\u5408\u83b7\u53d6\u8bbe\u5907\u4fe1\u606f\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listBuBuildingId(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u6839\u636e\u697c\u680bid\u83b7\u53d6\u8bbe\u5907\u4fe1\u606f\u5931\u8d25\uff0c\u539f\u56e0\uff1a", (Throwable)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.get(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getById(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AcsElevatorDeviceResultDTO getByDeciveCode(String deviceCode) throws ServiceException {
|
||||
AcsElevatorDeviceQueryDTO dto = new AcsElevatorDeviceQueryDTO();
|
||||
dto.setDeviceCode(deviceCode);
|
||||
return this.acsElevatorDeviceMapper.getByDeciveCode(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getBuildingId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getBuildingId(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getBusinessId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getBusinessId(dto);
|
||||
}
|
||||
}
|
||||
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.ServiceException
|
||||
* org.springframework.stereotype.Repository
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.device.dao.DeviceImageStoreDao;
|
||||
import cn.cloudwalk.elevator.device.mapper.DeviceImageStoreMapper;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class DeviceImageStoreDaoImpl
|
||||
implements DeviceImageStoreDao {
|
||||
@Resource
|
||||
private DeviceImageStoreMapper deviceImageStoreMapper;
|
||||
|
||||
@Override
|
||||
public Boolean save(String buildingId, String imageStoreId) throws ServiceException {
|
||||
return this.deviceImageStoreMapper.save(buildingId, imageStoreId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getByBuildingId(String buildingId) throws ServiceException {
|
||||
return this.deviceImageStoreMapper.getByBuildingId(buildingId);
|
||||
}
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskMapper {
|
||||
public Integer insert(AcsDeviceTaskAddDto var1);
|
||||
|
||||
public Integer updateBingDevices(AcsDeviceTaskAddDto var1);
|
||||
|
||||
public Integer updateIsStop(AcsDeviceTaskAddDto var1);
|
||||
|
||||
public AcsDeviceTaskDTO getById(String var1);
|
||||
}
|
||||
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListByBuildingIdDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorDeviceMapper {
|
||||
public int add(AcsElevatorDeviceAddDTO var1);
|
||||
|
||||
public int edit(AcsElevatorDeviceEditDTO var1);
|
||||
|
||||
public int delete(List<String> var1);
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto var1);
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto var1);
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO var1);
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto var1);
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO var1);
|
||||
|
||||
public AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO var1);
|
||||
|
||||
public AcsElevatorDeviceResultDTO getByDeciveCode(AcsElevatorDeviceQueryDTO var1);
|
||||
|
||||
public String getBuildingId(AcsElevatorDeviceQueryDTO var1);
|
||||
|
||||
public String getBusinessId(AcsElevatorDeviceQueryDTO var1);
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* org.apache.ibatis.annotations.Param
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface DeviceImageStoreMapper {
|
||||
public Boolean save(@Param(value="buildingId") String var1, @Param(value="imageStoreId") String var2);
|
||||
|
||||
public String getByBuildingId(String var1);
|
||||
}
|
||||
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleIsDefaultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsPassRuleDao {
|
||||
public Integer insert(AcsPassRuleAddDto var1) throws DataAccessException;
|
||||
|
||||
public Integer update(AcsPassRuleEditDto var1) throws DataAccessException;
|
||||
|
||||
public Integer delete(AcsPassRuleDeleteDto var1) throws DataAccessException;
|
||||
|
||||
public CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto var1, CloudwalkPageInfo var2) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto var1) throws DataAccessException;
|
||||
|
||||
public String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto var1) throws DataAccessException;
|
||||
}
|
||||
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface ImageRuleRefDao {
|
||||
public CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto var1, CloudwalkPageInfo var2) throws DataAccessException;
|
||||
|
||||
public List<String> listRuleByZoneIdExtDefault(String var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByParentRule(List<String> var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonId(String var1) throws DataAccessException;
|
||||
|
||||
public List<ImageRuleRefResultDto> listByLabelId(String var1) throws DataAccessException;
|
||||
|
||||
public List<ImageRuleRefResultDto> listByOrgId(String var1) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto var1) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> var1) throws DataAccessException;
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto var1) throws DataAccessException;
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto var1) throws DataAccessException;
|
||||
|
||||
public List<String> listPersonDelByZoneId(String var1) throws DataAccessException;
|
||||
|
||||
public List<String> listPersonDelByPersonId(String var1) throws DataAccessException;
|
||||
|
||||
public ImageRuleRefResultDto getDefaultByZoneId(String var1) throws DataAccessException;
|
||||
|
||||
public ImageRuleRefResultDto getById(String var1) throws DataAccessException;
|
||||
|
||||
public String getByRuleName(String var1, String var2) throws DataAccessException;
|
||||
|
||||
public ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> var1, String var2) throws DataAccessException;
|
||||
|
||||
public ImageRuleRefResultDto getDelByPersonIdAndZoneId(String var1, String var2) throws DataAccessException;
|
||||
|
||||
public List<String> countPersonIdByZoneId(String var1) throws DataAccessException;
|
||||
|
||||
public Boolean insert(ImageRuleRefAddDto var1) throws DataAccessException;
|
||||
|
||||
public Boolean insertList(List<ImageRuleRefAddDto> var1) throws DataAccessException;
|
||||
|
||||
public Boolean deleteById(String var1) throws DataAccessException;
|
||||
|
||||
public Boolean deleteByZoneIdAndName(String var1, String var2) throws DataAccessException;
|
||||
|
||||
public Boolean deleteByPersonIdsIsDel(List<String> var1, String var2) throws DataAccessException;
|
||||
|
||||
public Boolean deleteByPersonId(String var1, String var2) throws DataAccessException;
|
||||
|
||||
public Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto var1) throws DataAccessException;
|
||||
}
|
||||
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleAddDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String imageStoreId;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleDeleteDto
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -6255045079103336579L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private List<String> ids;
|
||||
private String zoneId;
|
||||
private String orgId;
|
||||
private String labelId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleEditDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -9212159235737030371L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String imageStoreId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
}
|
||||
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.page.CloudwalkBasePageForm
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleImageDto
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private List<String> imageStoreIds;
|
||||
private String businessId;
|
||||
private String personId;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> includeLabels;
|
||||
|
||||
public List<String> getImageStoreIds() {
|
||||
return this.imageStoreIds;
|
||||
}
|
||||
|
||||
public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
this.imageStoreIds = imageStoreIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
}
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
public class AcsPassRuleImageResultDto {
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String imageStoreId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
}
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleIsDefaultDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String zoneId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
}
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
public class AcsPassRuleLabelResultDto {
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String labelId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
}
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRulePersonListDto
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private String businessId;
|
||||
private List<String> personIds;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> includeLabels;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
}
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRulePersonListResultDto {
|
||||
private String personId;
|
||||
private List<AcsPassRuleImageResultDto> zoneList;
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> getZoneList() {
|
||||
return this.zoneList;
|
||||
}
|
||||
|
||||
public void setZoneList(List<AcsPassRuleImageResultDto> zoneList) {
|
||||
this.zoneList = zoneList;
|
||||
}
|
||||
}
|
||||
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleQueryDto
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 7280163220219331909L;
|
||||
private String id;
|
||||
private String zoneId;
|
||||
private String businessId;
|
||||
private String imageStoreId;
|
||||
private List<String> imageStoreIds;
|
||||
private List<String> ids;
|
||||
private List<String> zoneIds;
|
||||
|
||||
public List<String> getZoneIds() {
|
||||
return this.zoneIds;
|
||||
}
|
||||
|
||||
public void setZoneIds(List<String> zoneIds) {
|
||||
this.zoneIds = zoneIds;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public List<String> getImageStoreIds() {
|
||||
return this.imageStoreIds;
|
||||
}
|
||||
|
||||
public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
this.imageStoreIds = imageStoreIds;
|
||||
}
|
||||
}
|
||||
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleResultDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -8387459232695360257L;
|
||||
private String businessId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String name;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String imageStoreId;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
+250
@@ -0,0 +1,250 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ImageRuleRefAddDto
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String personId;
|
||||
private String includeLabels;
|
||||
private String includeOrganizations;
|
||||
private String excludeLabels;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer isDefault;
|
||||
private String parentRule;
|
||||
private Integer personDelete;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public String getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public String getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public String getParentRule() {
|
||||
return this.parentRule;
|
||||
}
|
||||
|
||||
public Integer getPersonDelete() {
|
||||
return this.personDelete;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(String includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(String includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(String excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
|
||||
public void setParentRule(String parentRule) {
|
||||
this.parentRule = parentRule;
|
||||
}
|
||||
|
||||
public void setPersonDelete(Integer personDelete) {
|
||||
this.personDelete = personDelete;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof ImageRuleRefAddDto)) {
|
||||
return false;
|
||||
}
|
||||
ImageRuleRefAddDto other = (ImageRuleRefAddDto)o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null ? other$businessId != null : !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$name = this.getName();
|
||||
String other$name = other.getName();
|
||||
if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
|
||||
return false;
|
||||
}
|
||||
String this$zoneId = this.getZoneId();
|
||||
String other$zoneId = other.getZoneId();
|
||||
if (this$zoneId == null ? other$zoneId != null : !this$zoneId.equals(other$zoneId)) {
|
||||
return false;
|
||||
}
|
||||
String this$zoneName = this.getZoneName();
|
||||
String other$zoneName = other.getZoneName();
|
||||
if (this$zoneName == null ? other$zoneName != null : !this$zoneName.equals(other$zoneName)) {
|
||||
return false;
|
||||
}
|
||||
String this$personId = this.getPersonId();
|
||||
String other$personId = other.getPersonId();
|
||||
if (this$personId == null ? other$personId != null : !this$personId.equals(other$personId)) {
|
||||
return false;
|
||||
}
|
||||
String this$includeLabels = this.getIncludeLabels();
|
||||
String other$includeLabels = other.getIncludeLabels();
|
||||
if (this$includeLabels == null ? other$includeLabels != null : !this$includeLabels.equals(other$includeLabels)) {
|
||||
return false;
|
||||
}
|
||||
String this$includeOrganizations = this.getIncludeOrganizations();
|
||||
String other$includeOrganizations = other.getIncludeOrganizations();
|
||||
if (this$includeOrganizations == null ? other$includeOrganizations != null : !this$includeOrganizations.equals(other$includeOrganizations)) {
|
||||
return false;
|
||||
}
|
||||
String this$excludeLabels = this.getExcludeLabels();
|
||||
String other$excludeLabels = other.getExcludeLabels();
|
||||
if (this$excludeLabels == null ? other$excludeLabels != null : !this$excludeLabels.equals(other$excludeLabels)) {
|
||||
return false;
|
||||
}
|
||||
Long this$startTime = this.getStartTime();
|
||||
Long other$startTime = other.getStartTime();
|
||||
if (this$startTime == null ? other$startTime != null : !((Object)this$startTime).equals(other$startTime)) {
|
||||
return false;
|
||||
}
|
||||
Long this$endTime = this.getEndTime();
|
||||
Long other$endTime = other.getEndTime();
|
||||
if (this$endTime == null ? other$endTime != null : !((Object)this$endTime).equals(other$endTime)) {
|
||||
return false;
|
||||
}
|
||||
Integer this$isDefault = this.getIsDefault();
|
||||
Integer other$isDefault = other.getIsDefault();
|
||||
if (this$isDefault == null ? other$isDefault != null : !((Object)this$isDefault).equals(other$isDefault)) {
|
||||
return false;
|
||||
}
|
||||
String this$parentRule = this.getParentRule();
|
||||
String other$parentRule = other.getParentRule();
|
||||
if (this$parentRule == null ? other$parentRule != null : !this$parentRule.equals(other$parentRule)) {
|
||||
return false;
|
||||
}
|
||||
Integer this$personDelete = this.getPersonDelete();
|
||||
Integer other$personDelete = other.getPersonDelete();
|
||||
return !(this$personDelete == null ? other$personDelete != null : !((Object)this$personDelete).equals(other$personDelete));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof ImageRuleRefAddDto;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $name = this.getName();
|
||||
result = result * 59 + ($name == null ? 43 : $name.hashCode());
|
||||
String $zoneId = this.getZoneId();
|
||||
result = result * 59 + ($zoneId == null ? 43 : $zoneId.hashCode());
|
||||
String $zoneName = this.getZoneName();
|
||||
result = result * 59 + ($zoneName == null ? 43 : $zoneName.hashCode());
|
||||
String $personId = this.getPersonId();
|
||||
result = result * 59 + ($personId == null ? 43 : $personId.hashCode());
|
||||
String $includeLabels = this.getIncludeLabels();
|
||||
result = result * 59 + ($includeLabels == null ? 43 : $includeLabels.hashCode());
|
||||
String $includeOrganizations = this.getIncludeOrganizations();
|
||||
result = result * 59 + ($includeOrganizations == null ? 43 : $includeOrganizations.hashCode());
|
||||
String $excludeLabels = this.getExcludeLabels();
|
||||
result = result * 59 + ($excludeLabels == null ? 43 : $excludeLabels.hashCode());
|
||||
Long $startTime = this.getStartTime();
|
||||
result = result * 59 + ($startTime == null ? 43 : ((Object)$startTime).hashCode());
|
||||
Long $endTime = this.getEndTime();
|
||||
result = result * 59 + ($endTime == null ? 43 : ((Object)$endTime).hashCode());
|
||||
Integer $isDefault = this.getIsDefault();
|
||||
result = result * 59 + ($isDefault == null ? 43 : ((Object)$isDefault).hashCode());
|
||||
String $parentRule = this.getParentRule();
|
||||
result = result * 59 + ($parentRule == null ? 43 : $parentRule.hashCode());
|
||||
Integer $personDelete = this.getPersonDelete();
|
||||
result = result * 59 + ($personDelete == null ? 43 : ((Object)$personDelete).hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ImageRuleRefAddDto(businessId=" + this.getBusinessId() + ", name=" + this.getName() + ", zoneId=" + this.getZoneId() + ", zoneName=" + this.getZoneName() + ", personId=" + this.getPersonId() + ", includeLabels=" + this.getIncludeLabels() + ", includeOrganizations=" + this.getIncludeOrganizations() + ", excludeLabels=" + this.getExcludeLabels() + ", startTime=" + this.getStartTime() + ", endTime=" + this.getEndTime() + ", isDefault=" + this.getIsDefault() + ", parentRule=" + this.getParentRule() + ", personDelete=" + this.getPersonDelete() + ")";
|
||||
}
|
||||
}
|
||||
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class ImageRuleRefListResult
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String personId;
|
||||
private List<String> includeLabels;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> excludeLabels;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<String> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof ImageRuleRefListResult)) {
|
||||
return false;
|
||||
}
|
||||
ImageRuleRefListResult other = (ImageRuleRefListResult)o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null ? other$businessId != null : !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$name = this.getName();
|
||||
String other$name = other.getName();
|
||||
if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
|
||||
return false;
|
||||
}
|
||||
String this$zoneId = this.getZoneId();
|
||||
String other$zoneId = other.getZoneId();
|
||||
if (this$zoneId == null ? other$zoneId != null : !this$zoneId.equals(other$zoneId)) {
|
||||
return false;
|
||||
}
|
||||
String this$zoneName = this.getZoneName();
|
||||
String other$zoneName = other.getZoneName();
|
||||
if (this$zoneName == null ? other$zoneName != null : !this$zoneName.equals(other$zoneName)) {
|
||||
return false;
|
||||
}
|
||||
String this$personId = this.getPersonId();
|
||||
String other$personId = other.getPersonId();
|
||||
if (this$personId == null ? other$personId != null : !this$personId.equals(other$personId)) {
|
||||
return false;
|
||||
}
|
||||
List<String> this$includeLabels = this.getIncludeLabels();
|
||||
List<String> other$includeLabels = other.getIncludeLabels();
|
||||
if (this$includeLabels == null ? other$includeLabels != null : !((Object)this$includeLabels).equals(other$includeLabels)) {
|
||||
return false;
|
||||
}
|
||||
List<String> this$includeOrganizations = this.getIncludeOrganizations();
|
||||
List<String> other$includeOrganizations = other.getIncludeOrganizations();
|
||||
if (this$includeOrganizations == null ? other$includeOrganizations != null : !((Object)this$includeOrganizations).equals(other$includeOrganizations)) {
|
||||
return false;
|
||||
}
|
||||
List<String> this$excludeLabels = this.getExcludeLabels();
|
||||
List<String> other$excludeLabels = other.getExcludeLabels();
|
||||
return !(this$excludeLabels == null ? other$excludeLabels != null : !((Object)this$excludeLabels).equals(other$excludeLabels));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof ImageRuleRefListResult;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $name = this.getName();
|
||||
result = result * 59 + ($name == null ? 43 : $name.hashCode());
|
||||
String $zoneId = this.getZoneId();
|
||||
result = result * 59 + ($zoneId == null ? 43 : $zoneId.hashCode());
|
||||
String $zoneName = this.getZoneName();
|
||||
result = result * 59 + ($zoneName == null ? 43 : $zoneName.hashCode());
|
||||
String $personId = this.getPersonId();
|
||||
result = result * 59 + ($personId == null ? 43 : $personId.hashCode());
|
||||
List<String> $includeLabels = this.getIncludeLabels();
|
||||
result = result * 59 + ($includeLabels == null ? 43 : ((Object)$includeLabels).hashCode());
|
||||
List<String> $includeOrganizations = this.getIncludeOrganizations();
|
||||
result = result * 59 + ($includeOrganizations == null ? 43 : ((Object)$includeOrganizations).hashCode());
|
||||
List<String> $excludeLabels = this.getExcludeLabels();
|
||||
result = result * 59 + ($excludeLabels == null ? 43 : ((Object)$excludeLabels).hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ImageRuleRefListResult(businessId=" + this.getBusinessId() + ", name=" + this.getName() + ", zoneId=" + this.getZoneId() + ", zoneName=" + this.getZoneName() + ", personId=" + this.getPersonId() + ", includeLabels=" + this.getIncludeLabels() + ", includeOrganizations=" + this.getIncludeOrganizations() + ", excludeLabels=" + this.getExcludeLabels() + ")";
|
||||
}
|
||||
}
|
||||
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ImageRuleRefResultDto
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String id;
|
||||
private Long createTime;
|
||||
private Long lastUpdateTime;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String personId;
|
||||
private String includeLabels;
|
||||
private String includeOrganizations;
|
||||
private String excludeLabels;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer isDefault;
|
||||
private String parentRule;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public String getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public String getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public String getParentRule() {
|
||||
return this.parentRule;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(String includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(String includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(String excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
|
||||
public void setParentRule(String parentRule) {
|
||||
this.parentRule = parentRule;
|
||||
}
|
||||
}
|
||||
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
* cn.cloudwalk.cloud.utils.BeanCopyUtils
|
||||
* com.github.pagehelper.Page
|
||||
* com.github.pagehelper.PageHelper
|
||||
* org.slf4j.Logger
|
||||
* org.slf4j.LoggerFactory
|
||||
* org.springframework.stereotype.Repository
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.passrule.dao.AcsPassRuleDao;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleIsDefaultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.mapper.AcsPassRuleMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsPassRuleDaoImpl
|
||||
implements AcsPassRuleDao {
|
||||
@Resource
|
||||
private AcsPassRuleMapper acsPassRuleMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@Override
|
||||
public Integer insert(AcsPassRuleAddDto dto) {
|
||||
return this.acsPassRuleMapper.insert(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer update(AcsPassRuleEditDto dto) {
|
||||
return this.acsPassRuleMapper.update(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer delete(AcsPassRuleDeleteDto dto) {
|
||||
return this.acsPassRuleMapper.delete(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) {
|
||||
PageHelper.startPage((int)page.getCurrentPage(), (int)page.getPageSize());
|
||||
Page result = (Page)this.acsPassRuleMapper.list(dto);
|
||||
return new CloudwalkPageAble((Collection)BeanCopyUtils.copy((Collection)result.getResult(), AcsPassRuleResultDto.class), page, result.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.list(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u67e5\u8be2\u7d27\u901a\u884c\u89c4\u5219\u5f02\u5e38\uff0c\u539f\u56e0\uff1a[{}]", (Object)e.getMessage(), (Object)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.getIsDefaultByZoneId(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u6839\u636e\u697c\u5c42id\u83b7\u53d6\u9ed8\u8ba4\u56fe\u5e93id\u5f02\u5e38\uff0c\u539f\u56e0\uff1a[{}]", (Object)e.getMessage(), (Object)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.listByImageId(dto);
|
||||
}
|
||||
catch (Exception e) {
|
||||
this.logger.error("\u6839\u636e\u56fe\u5e93id\u96c6\u5408\u67e5\u8be2\u5bf9\u5e94\u697c\u5c42\u4fe1\u606f\u5f02\u5e38\uff0c\u539f\u56e0\uff1a[{}]", (Object)e.getMessage(), (Object)e);
|
||||
throw new DataAccessException((Throwable)e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+186
@@ -0,0 +1,186 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
* cn.cloudwalk.cloud.utils.BeanCopyUtils
|
||||
* com.github.pagehelper.Page
|
||||
* com.github.pagehelper.PageHelper
|
||||
* org.slf4j.Logger
|
||||
* org.slf4j.LoggerFactory
|
||||
* org.springframework.stereotype.Repository
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.passrule.dao.ImageRuleRefDao;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.mapper.ImageRuleRefMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class ImageRuleRefDaoImpl
|
||||
implements ImageRuleRefDao {
|
||||
@Resource
|
||||
private ImageRuleRefMapper imageRuleRefMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@Override
|
||||
public CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) throws DataAccessException {
|
||||
PageHelper.startPage((int)page.getCurrentPage(), (int)page.getPageSize());
|
||||
Page result = (Page)this.imageRuleRefMapper.page(dto);
|
||||
return new CloudwalkPageAble((Collection)BeanCopyUtils.copy((Collection)result.getResult(), ImageRuleRefResultDto.class), page, result.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> listRuleByZoneIdExtDefault(String zoneId) {
|
||||
return this.imageRuleRefMapper.listRuleByZoneIdExtDefault(zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ImageRuleRefResultDto> listByParentRule(List<String> parentRuleIds) {
|
||||
return this.imageRuleRefMapper.listByParentRule(parentRuleIds);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ImageRuleRefResultDto> listByPersonId(String personId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonId(personId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ImageRuleRefResultDto> listByLabelId(String labelId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByLabelId(labelId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ImageRuleRefResultDto> listByOrgId(String orgId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByOrgId(orgId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonInfo(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByRestructure(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listFloorsByRestructure(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> zoneIds) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listZoneInfoByIds(zoneIds);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByNotZoneIds(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonList(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> listPersonDelByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listPersonDelByZoneId(zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> listPersonDelByPersonId(String personId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listPersonDelByPersonId(personId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ImageRuleRefResultDto getDefaultByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getDefaultByZoneId(zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ImageRuleRefResultDto getById(String id) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getByRuleName(String ruleName, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getByRuleName(ruleName, zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getByPersonIdAndZoneId(personId, zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ImageRuleRefResultDto getDelByPersonIdAndZoneId(String personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getDelByPersonIdAndZoneId(personId, zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> countPersonIdByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.countPersonIdByZoneId(zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean insert(ImageRuleRefAddDto dto) {
|
||||
return this.imageRuleRefMapper.insert(dto);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean insertList(List<ImageRuleRefAddDto> insertList) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.insertList(insertList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean deleteById(String id) throws DataAccessException {
|
||||
this.imageRuleRefMapper.deleteById(id);
|
||||
this.imageRuleRefMapper.deleteByParentRule(id);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean deleteByZoneIdAndName(String zoneId, String oldName) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByZoneIdAndName(zoneId, oldName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean deleteByPersonIdsIsDel(List<String> personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByPersonIdsIsDel(personId, zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean deleteByPersonId(String personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByPersonId(personId, zoneId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByOrgAndLabel(dto);
|
||||
}
|
||||
}
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleIsDefaultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsPassRuleMapper {
|
||||
public Integer insert(AcsPassRuleAddDto var1);
|
||||
|
||||
public Integer update(AcsPassRuleEditDto var1);
|
||||
|
||||
public Integer delete(AcsPassRuleDeleteDto var1);
|
||||
|
||||
public List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto var1);
|
||||
|
||||
public String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto var1);
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto var1);
|
||||
}
|
||||
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* org.apache.ibatis.annotations.Param
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface ImageRuleRefMapper {
|
||||
public List<ImageRuleRefResultDto> page(AcsPassRuleQueryDto var1);
|
||||
|
||||
public List<String> listRuleByZoneIdExtDefault(String var1);
|
||||
|
||||
public List<String> listPersonDelByZoneId(@Param(value="zoneId") String var1);
|
||||
|
||||
public List<String> listPersonDelByPersonId(@Param(value="personId") String var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByParentRule(@Param(value="parentRuleIds") List<String> var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonId(@Param(value="personId") String var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByLabelId(@Param(value="labelId") String var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByOrgId(@Param(value="orgId") String var1);
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto var1);
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto var1);
|
||||
|
||||
public List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto var1);
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listZoneInfoByIds(@Param(value="zoneIds") List<String> var1);
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByNotZoneIds(@Param(value="request") AcsPassRuleQueryDto var1);
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto var1);
|
||||
|
||||
public ImageRuleRefResultDto getDefaultByZoneId(String var1);
|
||||
|
||||
public ImageRuleRefResultDto getById(String var1);
|
||||
|
||||
public String getByRuleName(@Param(value="ruleName") String var1, @Param(value="zoneId") String var2);
|
||||
|
||||
public ImageRuleRefResultDto getByPersonIdAndZoneId(@Param(value="personIds") List<String> var1, @Param(value="zoneId") String var2);
|
||||
|
||||
public ImageRuleRefResultDto getDelByPersonIdAndZoneId(@Param(value="personId") String var1, @Param(value="zoneId") String var2);
|
||||
|
||||
public List<String> countPersonIdByZoneId(String var1);
|
||||
|
||||
public Boolean insert(ImageRuleRefAddDto var1);
|
||||
|
||||
public Boolean insertList(@Param(value="dtoList") List<ImageRuleRefAddDto> var1);
|
||||
|
||||
public Boolean deleteByZoneIdAndName(String var1, String var2);
|
||||
|
||||
public Boolean deleteById(String var1);
|
||||
|
||||
public Boolean deleteByParentRule(String var1);
|
||||
|
||||
public Boolean deleteByPersonIdsIsDel(@Param(value="personIds") List<String> var1, @Param(value="zoneId") String var2);
|
||||
|
||||
public Boolean deleteByPersonId(@Param(value="personId") String var1, @Param(value="zoneId") String var2);
|
||||
|
||||
public Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto var1);
|
||||
}
|
||||
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageAble
|
||||
* cn.cloudwalk.cloud.page.CloudwalkPageInfo
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorAnalyseCycleBusinessResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorPageRequestInfoResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorQueryCountDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecordThreeSendQueryDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorRecordDao {
|
||||
public Integer add(AcsElevatorRecordAddDTO var1) throws DataAccessException;
|
||||
|
||||
public int update(AcsOpenDoorRecordEditDTO var1) throws DataAccessException;
|
||||
|
||||
public CloudwalkPageAble<AcsElevatorRecordDetailQueryResultDTO> detail(AcsElevatorRecordDetailQueryDTO var1, CloudwalkPageInfo var2) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorRecordQueryResultDTO> query(AcsOpenDoorRecordQueryDTO var1) throws DataAccessException;
|
||||
|
||||
public AcsElevatorPageRequestInfoResultDTO pageRequestInfo(String var1) throws DataAccessException;
|
||||
|
||||
public Integer analyseCount(AcsElevatorQueryCountDTO var1) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorAnalyseCycleBusinessResultDTO> analyseGroup(AcsElevatorQueryCountDTO var1) throws DataAccessException;
|
||||
|
||||
public List<AcsElevatorRecordQueryResultDTO> listByRecognitionTime(AcsRecordThreeSendQueryDTO var1) throws DataAccessException;
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
public interface AcsPersonInfoDao {
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsRecogRecordDao {
|
||||
public Integer add(AcsRecogRecordAddDTO var1) throws DataAccessException;
|
||||
|
||||
public List<AcsRecogRecordResultDTO> page(AcsRecogRecordPageDTO var1) throws DataAccessException;
|
||||
|
||||
public AcsRecogRecordResultDTO getByPersonId(String var1) throws DataAccessException;
|
||||
}
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.exception.DataAccessException
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeResultDTO;
|
||||
|
||||
public interface SendRecordTimeDao {
|
||||
public SendRecordTimeResultDTO getByType(Integer var1) throws DataAccessException;
|
||||
|
||||
public Integer add(SendRecordTimeAddDTO var1) throws DataAccessException;
|
||||
|
||||
public Integer update(SendRecordTimeEditDTO var1) throws DataAccessException;
|
||||
}
|
||||
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
public class AcsElevatorAnalyseCycleBusinessResultDTO {
|
||||
private String businessId;
|
||||
private Integer count;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getCount() {
|
||||
return this.count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorAnalyseCycleBusinessResultDTO{businessId='" + this.businessId + '\'' + ", count=" + this.count + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorPageRequestInfoResultDTO {
|
||||
private List<String> srcFloorList;
|
||||
private List<String> destFloorList;
|
||||
private List<String> dispatchElevatorNoList;
|
||||
|
||||
public List<String> getSrcFloorList() {
|
||||
return this.srcFloorList;
|
||||
}
|
||||
|
||||
public void setSrcFloorList(List<String> srcFloorList) {
|
||||
this.srcFloorList = srcFloorList;
|
||||
}
|
||||
|
||||
public List<String> getDestFloorList() {
|
||||
return this.destFloorList;
|
||||
}
|
||||
|
||||
public void setDestFloorList(List<String> destFloorList) {
|
||||
this.destFloorList = destFloorList;
|
||||
}
|
||||
|
||||
public List<String> getDispatchElevatorNoList() {
|
||||
return this.dispatchElevatorNoList;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNoList(List<String> dispatchElevatorNoList) {
|
||||
this.dispatchElevatorNoList = dispatchElevatorNoList;
|
||||
}
|
||||
}
|
||||
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
public class AcsElevatorQueryCountDTO {
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer recordResult;
|
||||
private String businessId;
|
||||
private String srcFloor;
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
}
|
||||
|
||||
+255
@@ -0,0 +1,255 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorRecordAddDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeName;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private Long recognitionTime;
|
||||
private String logId;
|
||||
private String recognitionFaceId;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
private Integer isVisitor;
|
||||
private String interviewee;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getInterviewee() {
|
||||
return this.interviewee;
|
||||
}
|
||||
|
||||
public void setInterviewee(String interviewee) {
|
||||
this.interviewee = interviewee;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordAddDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", deviceTypeId='" + this.deviceTypeId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", districtId='" + this.districtId + '\'' + ", areaId='" + this.areaId + '\'' + ", openDoorType='" + this.openDoorType + '\'' + ", operateName='" + this.operateName + '\'' + ", faceImagePath='" + this.faceImagePath + '\'' + ", panoramaImagePath='" + this.panoramaImagePath + '\'' + ", recordResult=" + this.recordResult + ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionTime=" + this.recognitionTime + ", logId='" + this.logId + '\'' + ", recognitionFaceId='" + this.recognitionFaceId + '\'' + ", srcFloor='" + this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\'' + ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime=" + this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+156
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorRecordDetailQueryDTO
|
||||
implements Serializable {
|
||||
private String businessId;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private String personName;
|
||||
private String personId;
|
||||
private List<String> districtIds;
|
||||
private List<String> areaIds;
|
||||
private List<String> deviceIds;
|
||||
private String openDoorTypeCode;
|
||||
private Integer recordResult;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private Integer isVisitor;
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public List<String> getDistrictIds() {
|
||||
return this.districtIds;
|
||||
}
|
||||
|
||||
public void setDistrictIds(List<String> districtIds) {
|
||||
this.districtIds = districtIds;
|
||||
}
|
||||
|
||||
public List<String> getDeviceIds() {
|
||||
return this.deviceIds;
|
||||
}
|
||||
|
||||
public void setDeviceIds(List<String> deviceIds) {
|
||||
this.deviceIds = deviceIds;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
public String getOpenDoorTypeCode() {
|
||||
return this.openDoorTypeCode;
|
||||
}
|
||||
|
||||
public void setOpenDoorTypeCode(String openDoorTypeCode) {
|
||||
this.openDoorTypeCode = openDoorTypeCode;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
}
|
||||
|
||||
+372
@@ -0,0 +1,372 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.elevator.annontation.DavinciPic
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.elevator.annontation.DavinciPic;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class AcsElevatorRecordDetailQueryResultDTO
|
||||
implements Serializable {
|
||||
private String openDoorId;
|
||||
private String panoramaImageRecog;
|
||||
private String panoramaImageOpen;
|
||||
private String faceImage;
|
||||
@DavinciPic
|
||||
private String registerImage;
|
||||
private String personName;
|
||||
private long recognitionTime;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String deviceTypeName;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private BigDecimal score;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private String recognitionFaceId;
|
||||
private String personId;
|
||||
private Integer isVisitor;
|
||||
private String interviewee;
|
||||
private String regRecordId;
|
||||
private BigDecimal threshold;
|
||||
private Integer recognitionResult;
|
||||
private String groupId;
|
||||
private String faceId;
|
||||
private BigDecimal qualityScore;
|
||||
private String logId;
|
||||
private BigDecimal tempScore;
|
||||
private BigDecimal maskScore;
|
||||
private BigDecimal tempThreshold;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String getOpenDoorId() {
|
||||
return this.openDoorId;
|
||||
}
|
||||
|
||||
public void setOpenDoorId(String openDoorId) {
|
||||
this.openDoorId = openDoorId;
|
||||
}
|
||||
|
||||
public String getPanoramaImageRecog() {
|
||||
return this.panoramaImageRecog;
|
||||
}
|
||||
|
||||
public void setPanoramaImageRecog(String panoramaImageRecog) {
|
||||
this.panoramaImageRecog = panoramaImageRecog;
|
||||
}
|
||||
|
||||
public String getPanoramaImageOpen() {
|
||||
return this.panoramaImageOpen;
|
||||
}
|
||||
|
||||
public void setPanoramaImageOpen(String panoramaImageOpen) {
|
||||
this.panoramaImageOpen = panoramaImageOpen;
|
||||
}
|
||||
|
||||
public String getFaceImage() {
|
||||
return this.faceImage;
|
||||
}
|
||||
|
||||
public void setFaceImage(String faceImage) {
|
||||
this.faceImage = faceImage;
|
||||
}
|
||||
|
||||
public String getRegisterImage() {
|
||||
return this.registerImage;
|
||||
}
|
||||
|
||||
public void setRegisterImage(String registerImage) {
|
||||
this.registerImage = registerImage;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public BigDecimal getScore() {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public void setScore(BigDecimal score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public String getRegRecordId() {
|
||||
return this.regRecordId;
|
||||
}
|
||||
|
||||
public void setRegRecordId(String regRecordId) {
|
||||
this.regRecordId = regRecordId;
|
||||
}
|
||||
|
||||
public BigDecimal getThreshold() {
|
||||
return this.threshold;
|
||||
}
|
||||
|
||||
public void setThreshold(BigDecimal threshold) {
|
||||
this.threshold = threshold;
|
||||
}
|
||||
|
||||
public Integer getRecognitionResult() {
|
||||
return this.recognitionResult;
|
||||
}
|
||||
|
||||
public void setRecognitionResult(Integer recognitionResult) {
|
||||
this.recognitionResult = recognitionResult;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getFaceId() {
|
||||
return this.faceId;
|
||||
}
|
||||
|
||||
public void setFaceId(String faceId) {
|
||||
this.faceId = faceId;
|
||||
}
|
||||
|
||||
public BigDecimal getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public void setQualityScore(BigDecimal qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public BigDecimal getTempScore() {
|
||||
return this.tempScore;
|
||||
}
|
||||
|
||||
public void setTempScore(BigDecimal tempScore) {
|
||||
this.tempScore = tempScore;
|
||||
}
|
||||
|
||||
public BigDecimal getMaskScore() {
|
||||
return this.maskScore;
|
||||
}
|
||||
|
||||
public void setMaskScore(BigDecimal maskScore) {
|
||||
this.maskScore = maskScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTempThreshold() {
|
||||
return this.tempThreshold;
|
||||
}
|
||||
|
||||
public void setTempThreshold(BigDecimal tempThreshold) {
|
||||
this.tempThreshold = tempThreshold;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getInterviewee() {
|
||||
return this.interviewee;
|
||||
}
|
||||
|
||||
public void setInterviewee(String interviewee) {
|
||||
this.interviewee = interviewee;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordDetailQueryResultDTO{openDoorId='" + this.openDoorId + '\'' + ", panoramaImageRecog='" + this.panoramaImageRecog + '\'' + ", panoramaImageOpen='" + this.panoramaImageOpen + '\'' + ", faceImage='" + this.faceImage + '\'' + ", registerImage='" + this.registerImage + '\'' + ", personName='" + this.personName + '\'' + ", recognitionTime=" + this.recognitionTime + ", districtId='" + this.districtId + '\'' + ", areaId='" + this.areaId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", deviceName='" + this.deviceName + '\'' + ", openDoorType='" + this.openDoorType + '\'' + ", operateName='" + this.operateName + '\'' + ", score=" + this.score + ", recordResult=" + this.recordResult + ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionFaceId='" + this.recognitionFaceId + '\'' + ", isVisitor=" + this.isVisitor + ", interviewee=" + this.interviewee + ", regRecordId='" + this.regRecordId + '\'' + ", threshold=" + this.threshold + ", recognitionResult=" + this.recognitionResult + ", groupId='" + this.groupId + '\'' + ", faceId='" + this.faceId + '\'' + ", qualityScore=" + this.qualityScore + ", logId='" + this.logId + '\'' + ", tempScore=" + this.tempScore + ", maskScore=" + this.maskScore + ", tempThreshold=" + this.tempThreshold + ", srcFloor='" + this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\'' + ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime=" + this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
public class AcsElevatorRecordExtraDTO {
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordExtraDTO{srcFloor='" + this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\'' + ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime=" + this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+255
@@ -0,0 +1,255 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorRecordQueryResultDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = -761586737506722816L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeName;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private Long recognitionTime;
|
||||
private String logId;
|
||||
private String recognitionFaceId;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
private Integer isVisitor;
|
||||
private String interviewee;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getInterviewee() {
|
||||
return this.interviewee;
|
||||
}
|
||||
|
||||
public void setInterviewee(String interviewee) {
|
||||
this.interviewee = interviewee;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordQueryResultDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", deviceTypeId='" + this.deviceTypeId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", districtId='" + this.districtId + '\'' + ", areaId='" + this.areaId + '\'' + ", openDoorType='" + this.openDoorType + '\'' + ", operateName='" + this.operateName + '\'' + ", faceImagePath='" + this.faceImagePath + '\'' + ", panoramaImagePath='" + this.panoramaImagePath + '\'' + ", recordResult=" + this.recordResult + ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionTime=" + this.recognitionTime + ", logId='" + this.logId + '\'' + ", recognitionFaceId='" + this.recognitionFaceId + '\'' + ", srcFloor='" + this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\'' + ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime=" + this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*
|
||||
* Could not load the following classes:
|
||||
* cn.cloudwalk.cloud.entity.CloudwalkBaseTimes
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsOpenDoorRecordEditDTO
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 885170301572808321L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private Long recognitionTime;
|
||||
private String logId;
|
||||
private String recognitionFaceId;
|
||||
private Long startDay;
|
||||
private Long endDay;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public Long getStartDay() {
|
||||
return this.startDay;
|
||||
}
|
||||
|
||||
public void setStartDay(Long startDay) {
|
||||
this.startDay = startDay;
|
||||
}
|
||||
|
||||
public Long getEndDay() {
|
||||
return this.endDay;
|
||||
}
|
||||
|
||||
public void setEndDay(Long endDay) {
|
||||
this.endDay = endDay;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsOpenDoorRecordEditDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", openDoorType='" + this.openDoorType + '\'' + ", operateName='" + this.operateName + '\'' + ", faceImagePath='" + this.faceImagePath + '\'' + ", panoramaImagePath='" + this.panoramaImagePath + '\'' + ", recordResult=" + this.recordResult + ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionTime=" + this.recognitionTime + ", logId='" + this.logId + '\'' + ", recognitionFaceId='" + this.recognitionFaceId + '\'' + ", startDay=" + this.startDay + ", endDay=" + this.endDay + '}';
|
||||
}
|
||||
}
|
||||
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsOpenDoorRecordQueryDTO
|
||||
implements Serializable {
|
||||
private static final long serialVersionUID = 2759536962618796129L;
|
||||
private String id;
|
||||
private String businessId;
|
||||
private Long startDay;
|
||||
private Long endDay;
|
||||
private Integer recordResult;
|
||||
private String logId;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Long getStartDay() {
|
||||
return this.startDay;
|
||||
}
|
||||
|
||||
public void setStartDay(Long startDay) {
|
||||
this.startDay = startDay;
|
||||
}
|
||||
|
||||
public Long getEndDay() {
|
||||
return this.endDay;
|
||||
}
|
||||
|
||||
public void setEndDay(Long endDay) {
|
||||
this.endDay = endDay;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user