mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
chore: 工作区反编译与 Maven/文档/脚本同步到发布分支
- artifacts/decompiled 树与相关源码变更 - maven-cw-elevator-application 业务 docs 与 package-info - scripts 下 formatter 校验与辅助脚本 - 其他子工程/接口与发布线一并纳入版本控制 Made-with: Cursor Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
+426
-430
@@ -1,430 +1,426 @@
|
||||
/* */ package cn.cloudwalk.event;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.EventClient;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.CustomEvent;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.EventType;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
/* */ import cn.cloudwalk.event.annotation.ConsumerGroup;
|
||||
/* */ import cn.cloudwalk.event.annotation.CustomTopic;
|
||||
/* */ import cn.cloudwalk.event.annotation.EventTopicSuffix;
|
||||
/* */ import cn.cloudwalk.event.autoconfig.EventProperties;
|
||||
/* */ import cn.cloudwalk.event.handler.CustomEventHandler;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandler;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandlerMapping;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandlerWorker;
|
||||
/* */ import cn.cloudwalk.event.handler.NamedThreadFactory;
|
||||
/* */ import cn.cloudwalk.event.listener.CloudwalkEventListener;
|
||||
/* */ import cn.cloudwalk.event.listener.GroupEventListener;
|
||||
/* */ import cn.cloudwalk.event.listener.GroupListnerClassMapping;
|
||||
/* */ import com.google.common.collect.Lists;
|
||||
/* */ import com.google.common.collect.Sets;
|
||||
/* */ import java.lang.reflect.ParameterizedType;
|
||||
/* */ import java.lang.reflect.Type;
|
||||
/* */ import java.util.ArrayList;
|
||||
/* */ import java.util.HashMap;
|
||||
/* */ import java.util.LinkedList;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.Map;
|
||||
/* */ import java.util.Set;
|
||||
/* */ import java.util.concurrent.SynchronousQueue;
|
||||
/* */ import java.util.concurrent.ThreadFactory;
|
||||
/* */ import java.util.concurrent.ThreadPoolExecutor;
|
||||
/* */ import java.util.concurrent.TimeUnit;
|
||||
/* */ import java.util.regex.Matcher;
|
||||
/* */ import java.util.regex.Pattern;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.beans.BeansException;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.boot.CommandLineRunner;
|
||||
/* */ import org.springframework.context.ApplicationContext;
|
||||
/* */ import org.springframework.core.env.Environment;
|
||||
/* */ import org.springframework.util.CollectionUtils;
|
||||
/* */ import org.springframework.util.StringUtils;
|
||||
/* */
|
||||
/* */ public class CloudwalkEventInitializing
|
||||
/* */ implements CommandLineRunner {
|
||||
/* 48 */ private static final Logger LOGGER = LoggerFactory.getLogger(CloudwalkEventInitializing.class);
|
||||
/* */
|
||||
/* */ @Autowired(required = false)
|
||||
/* */ private List<EventHandler> eventHandlers;
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ private CloudwalkEventManager cloudwalkEventManager;
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ private Environment environment;
|
||||
/* */
|
||||
/* 59 */ private static final Pattern pattern = Pattern.compile("^\\$\\{(.*?)\\}$");
|
||||
/* */
|
||||
/* */
|
||||
/* */ private static final String DEFAULT_SUFFIX = "";
|
||||
/* */
|
||||
/* */
|
||||
/* */ private String defaultGroup;
|
||||
/* */
|
||||
/* */
|
||||
/* */ private EventClient defaultEventClient;
|
||||
/* */
|
||||
/* 70 */ private Map<String, EventClient> eventClientMap = new HashMap<>();
|
||||
/* */
|
||||
/* */ private EventProperties eventProperties;
|
||||
/* */
|
||||
/* */ private static boolean isHandlerEnable = false;
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void run(String... args) throws Exception {
|
||||
/* 78 */ init();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void init() throws Exception {
|
||||
/* 82 */ initEventClient();
|
||||
/* 83 */ initHandlerMapping();
|
||||
/* 84 */ initHandlerExecutor();
|
||||
/* 85 */ subscribeEvent();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public CloudwalkEventInitializing(EventProperties eventProperties) {
|
||||
/* 89 */ this.eventProperties = eventProperties;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void initEventClient() throws ClassNotFoundException {
|
||||
/* 94 */ String[] groupIds = this.eventProperties.getGroupId().split(",");
|
||||
/* */
|
||||
/* 96 */ if (groupIds.length == 0) {
|
||||
/* 97 */ throw new IllegalArgumentException("消费组ID不能为空");
|
||||
/* */ }
|
||||
/* */
|
||||
/* 100 */ Map<String, String> listenerClassMap = this.eventProperties.getListenerClass();
|
||||
/* */
|
||||
/* 102 */ GroupListnerClassMapping groupListnerClassMapping = new GroupListnerClassMapping();
|
||||
/* */
|
||||
/* 104 */ for (int i = 0; i < groupIds.length; i++) {
|
||||
/* 105 */ Class<? extends EventListener> listenerClass; boolean isFirst = (i == 0);
|
||||
/* 106 */ String groupId = groupIds[i];
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 110 */ if (null == listenerClassMap || StringUtils.isEmpty(listenerClassMap.get(groupId))) {
|
||||
/* 111 */ if (isFirst) {
|
||||
/* 112 */ Class<CloudwalkEventListener> clazz = CloudwalkEventListener.class;
|
||||
/* */ } else {
|
||||
/* 114 */ throw new IllegalArgumentException(String.format("groupId[%s]缺少listener-class的配置", new Object[] { groupId }));
|
||||
/* */ }
|
||||
/* */ } else {
|
||||
/* 117 */ listenerClass = (Class)Class.forName(listenerClassMap.get(groupId));
|
||||
/* */ }
|
||||
/* */
|
||||
/* 120 */ initEventClient(this.eventProperties.getBootstrapServers(), groupId, listenerClass, isFirst);
|
||||
/* 121 */ groupListnerClassMapping.register(listenerClass, groupId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* 124 */ this.cloudwalkEventManager.setGroupListnerClassMapping(groupListnerClassMapping);
|
||||
/* 125 */ this.cloudwalkEventManager.setEventClient(this.defaultEventClient);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
|
||||
/* 130 */ GroupEventListener.applicationContext = applicationContext;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private List<String> extractGroupIds(EventHandler eventHandler) {
|
||||
/* 138 */ if (eventHandler.getClass().isAnnotationPresent((Class)ConsumerGroup.class)) {
|
||||
/* 139 */ ConsumerGroup consumerGroup = eventHandler.getClass().<ConsumerGroup>getAnnotation(ConsumerGroup.class);
|
||||
/* */
|
||||
/* 141 */ List<String> groupIds = new LinkedList<>();
|
||||
/* 142 */ for (String groupId : consumerGroup.groupIds()) {
|
||||
/* 143 */ Matcher matcher = pattern.matcher(groupId);
|
||||
/* 144 */ if (matcher.find()) {
|
||||
/* 145 */ String propertyKey = groupId.substring(2, groupId.length() - 1).trim();
|
||||
/* 146 */ String propertyValue = this.environment.getProperty(propertyKey);
|
||||
/* 147 */ if (!StringUtils.isEmpty(propertyValue)) {
|
||||
/* 148 */ groupId = propertyValue;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 151 */ groupIds.add(groupId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* 154 */ return groupIds;
|
||||
/* */ }
|
||||
/* 156 */ return Lists.newArrayList((Object[])new String[] { this.defaultGroup });
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void initHandlerMapping() {
|
||||
/* 163 */ if (CollectionUtils.isEmpty(this.eventHandlers)) {
|
||||
/* */ return;
|
||||
/* */ }
|
||||
/* */
|
||||
/* 167 */ isHandlerEnable = true;
|
||||
/* */
|
||||
/* 169 */ EventHandlerMapping eventHandlerMapping = new EventHandlerMapping();
|
||||
/* */
|
||||
/* 171 */ for (EventHandler<BaseEvent> handler : this.eventHandlers) {
|
||||
/* 172 */ if (handler.getClass().isAnnotationPresent((Class)EventTopicSuffix.class)) {
|
||||
/* 173 */ Type type = handler.getClass().getGenericInterfaces()[0];
|
||||
/* 174 */ ParameterizedType p = (ParameterizedType)type;
|
||||
/* 175 */ Class<BaseEvent> eventClass = (Class)p.getActualTypeArguments()[0];
|
||||
/* 176 */ EventTopicSuffix eventTopicSuffix = handler.getClass().<EventTopicSuffix>getAnnotation(EventTopicSuffix.class);
|
||||
/* */
|
||||
/* 178 */ registerHandlerMapping(eventHandlerMapping, handler, eventClass, eventTopicSuffix.value()); continue;
|
||||
/* 179 */ } if (handler.getClass().isAnnotationPresent((Class)CustomTopic.class)) {
|
||||
/* 180 */ CustomTopic customTopic = handler.getClass().<CustomTopic>getAnnotation(CustomTopic.class);
|
||||
/* 181 */ String topic = customTopic.topic();
|
||||
/* 182 */ if (StringUtils.isEmpty(topic)) {
|
||||
/* */ continue;
|
||||
/* */ }
|
||||
/* 185 */ registerCustomHandlerMapping(eventHandlerMapping, (EventHandler)handler, topic, customTopic.suffix());
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 188 */ this.cloudwalkEventManager.setEventHandlerMapping(eventHandlerMapping);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void initHandlerExecutor() {
|
||||
/* 195 */ if (isHandlerEnable) {
|
||||
/* 196 */ EventHandlerWorker eventHandlerWorker = new EventHandlerWorker();
|
||||
/* 197 */ EventProperties.HandlerExecutorConfig handlerExecutorConfig = this.eventProperties.getHandlerExecutorConfig();
|
||||
/* 198 */ eventHandlerWorker.setPoolExecutor(new ThreadPoolExecutor(handlerExecutorConfig.getCorePoolSize().intValue(), handlerExecutorConfig
|
||||
/* 199 */ .getMaximumPoolSize().intValue(), 1000L, TimeUnit.MILLISECONDS, new SynchronousQueue<>(), (ThreadFactory)new NamedThreadFactory(this.eventProperties
|
||||
/* 200 */ .getWorkerNamePrefix()), new ThreadPoolExecutor.CallerRunsPolicy()));
|
||||
/* 201 */ this.cloudwalkEventManager.setEventHandlerWorker(eventHandlerWorker);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private EventType getEventType(Class<? extends BaseEvent> eventClass) {
|
||||
/* 212 */ for (EventType eventType : EventType.values()) {
|
||||
/* 213 */ if (eventType.getEventClass().getClass().equals(eventClass)) {
|
||||
/* 214 */ return eventType;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 217 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void subscribeEvent() throws IllegalAccessException, InstantiationException {
|
||||
/* 224 */ EventHandlerMapping eventHandlerMapping = this.cloudwalkEventManager.getEventHandlerMapping();
|
||||
/* */
|
||||
/* 226 */ Map<String, Map<EventType, Set<String>>> subscribedMap = new HashMap<>();
|
||||
/* */
|
||||
/* 228 */ for (Map.Entry<String, Map<EventType, Map<String, List<EventHandler>>>> entry : (Iterable<Map.Entry<String, Map<EventType, Map<String, List<EventHandler>>>>>)eventHandlerMapping.getHandlerMap().entrySet()) {
|
||||
/* 229 */ for (Map.Entry<EventType, Map<String, List<EventHandler>>> eventTypeMapEntry : (Iterable<Map.Entry<EventType, Map<String, List<EventHandler>>>>)((Map)entry.getValue()).entrySet()) {
|
||||
/* 230 */ for (String serviceCode : ((Map)eventTypeMapEntry.getValue()).keySet()) {
|
||||
/* 231 */ subscribe(subscribedMap, entry.getKey(), eventTypeMapEntry.getKey(), serviceCode);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* 236 */ Map<String, Map<String, Set<String>>> customSubscribedMap = new HashMap<>();
|
||||
/* */
|
||||
/* 238 */ for (Map.Entry<String, Map<String, Map<String, List<CustomEventHandler>>>> entry : (Iterable<Map.Entry<String, Map<String, Map<String, List<CustomEventHandler>>>>>)eventHandlerMapping.getCustomHandlerMap().entrySet()) {
|
||||
/* 239 */ for (Map.Entry<String, Map<String, List<CustomEventHandler>>> subEntry : (Iterable<Map.Entry<String, Map<String, List<CustomEventHandler>>>>)((Map)entry.getValue()).entrySet()) {
|
||||
/* 240 */ for (Map.Entry<String, List<CustomEventHandler>> handlerEntry : (Iterable<Map.Entry<String, List<CustomEventHandler>>>)((Map)subEntry.getValue()).entrySet()) {
|
||||
/* 241 */ for (CustomEventHandler customEventHandler : handlerEntry.getValue()) {
|
||||
/* 242 */ Type type = customEventHandler.getClass().getGenericInterfaces()[0];
|
||||
/* 243 */ ParameterizedType p = (ParameterizedType)type;
|
||||
/* 244 */ Class<? extends CustomEvent> eventClass = (Class)p.getActualTypeArguments()[0];
|
||||
/* 245 */ customSubscribe(customSubscribedMap, entry.getKey(), subEntry.getKey(), handlerEntry
|
||||
/* 246 */ .getKey(), eventClass);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void subscribe(Map<String, Map<EventType, Set<String>>> subscribedMap, String groupId, EventType eventType, String serviceCode) {
|
||||
/* 265 */ if (StringUtils.isEmpty(groupId)) {
|
||||
/* 266 */ groupId = this.defaultGroup;
|
||||
/* */ }
|
||||
/* */
|
||||
/* 269 */ Map<EventType, Set<String>> eventTypeServiceCodeMap = subscribedMap.get(groupId);
|
||||
/* 270 */ if (null != eventTypeServiceCodeMap) {
|
||||
/* 271 */ Set<String> serviceCodesSet = eventTypeServiceCodeMap.get(eventType);
|
||||
/* 272 */ if (CollectionUtils.isEmpty(serviceCodesSet)) {
|
||||
/* 273 */ eventTypeServiceCodeMap.put(eventType, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
/* */ } else {
|
||||
/* 275 */ serviceCodesSet.add(serviceCode);
|
||||
/* */ }
|
||||
/* */ } else {
|
||||
/* 278 */ eventTypeServiceCodeMap = new HashMap<>();
|
||||
/* 279 */ eventTypeServiceCodeMap.put(eventType, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
/* 280 */ subscribedMap.put(groupId, eventTypeServiceCodeMap);
|
||||
/* */ }
|
||||
/* 282 */ ((EventClient)this.eventClientMap.get(groupId)).subEvent(eventType, serviceCode);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void customSubscribe(Map<String, Map<String, Set<String>>> customSubscribedMap, String groupId, String topic, String serviceCode, Class<? extends CustomEvent> eventClass) throws IllegalAccessException, InstantiationException {
|
||||
/* 288 */ if (StringUtils.isEmpty(groupId)) {
|
||||
/* 289 */ groupId = this.defaultGroup;
|
||||
/* */ }
|
||||
/* */
|
||||
/* 292 */ Map<String, Set<String>> topicServiceCodeMap = customSubscribedMap.get(groupId);
|
||||
/* 293 */ if (null != topicServiceCodeMap) {
|
||||
/* 294 */ Set<String> serviceCodesSet = topicServiceCodeMap.get(topic);
|
||||
/* 295 */ if (CollectionUtils.isEmpty(serviceCodesSet)) {
|
||||
/* 296 */ topicServiceCodeMap.put(topic, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
/* */ } else {
|
||||
/* 298 */ serviceCodesSet.add(serviceCode);
|
||||
/* */ }
|
||||
/* */ } else {
|
||||
/* 301 */ topicServiceCodeMap = new HashMap<>();
|
||||
/* 302 */ topicServiceCodeMap.put(topic, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
/* 303 */ customSubscribedMap.put(groupId, topicServiceCodeMap);
|
||||
/* */ }
|
||||
/* 305 */ EventClient eventClient = this.eventClientMap.get(groupId);
|
||||
/* 306 */ if (null == eventClient) {
|
||||
/* 307 */ throw new IllegalArgumentException(String.format("没有找到groupId[%s]对应的配置,请检查 ${cloudwalk.event.group-id} 配置", new Object[] { groupId }));
|
||||
/* */ }
|
||||
/* */
|
||||
/* 310 */ eventClient.subEvent(topic, serviceCode, eventClass.newInstance());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void initEventClient(String bootstrapServers, String groupId, Class<? extends EventListener> listenerClass, boolean isDefault) {
|
||||
/* 316 */ EventClient eventClient = this.eventClientMap.get(groupId);
|
||||
/* */
|
||||
/* 318 */ if (null == eventClient) {
|
||||
/* 319 */ eventClient = EventClient.getInstance(bootstrapServers, groupId);
|
||||
/* 320 */ eventClient.init();
|
||||
/* 321 */ if (null != this.eventProperties.getFetchDataWorkerNumber()) {
|
||||
/* 322 */ eventClient.setWorkNum(this.eventProperties.getFetchDataWorkerNumber());
|
||||
/* */ }
|
||||
/* 324 */ eventClient.setListenerClass(listenerClass);
|
||||
/* */
|
||||
/* 326 */ this.eventClientMap.put(groupId, eventClient);
|
||||
/* */ }
|
||||
/* */
|
||||
/* 329 */ if (isDefault) {
|
||||
/* 330 */ this.defaultGroup = groupId;
|
||||
/* 331 */ this.defaultEventClient = eventClient;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private <E extends BaseEvent> void registerHandlerMapping(EventHandlerMapping eventHandlerMapping, EventHandler<E> handler, Class<E> eventClass, String[] suffixes) {
|
||||
/* 349 */ List<String> groupIds = extractGroupIds(handler);
|
||||
/* 350 */ EventType eventType = getEventType(eventClass);
|
||||
/* */
|
||||
/* 352 */ for (String groupId : groupIds) {
|
||||
/* 353 */ Map<String, List<EventHandler>> handlers = eventHandlerMapping.getServiceCodeHandlerListMap(groupId, eventType);
|
||||
/* */
|
||||
/* 355 */ if (CollectionUtils.isEmpty(handlers)) {
|
||||
/* 356 */ handlers = new HashMap<>();
|
||||
/* 357 */ if (null == suffixes || suffixes.length == 0) {
|
||||
/* 358 */ handlers.put("", Lists.newArrayList((Object[])new EventHandler[] { handler }));
|
||||
/* */ } else {
|
||||
/* 360 */ for (String suffix : suffixes) {
|
||||
/* 361 */ handlers.put(suffix, Lists.newArrayList((Object[])new EventHandler[] { handler }));
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* 365 */ eventHandlerMapping.registerHandlers(groupId, eventType, handlers); continue;
|
||||
/* */ }
|
||||
/* 367 */ if (null == suffixes || suffixes.length == 0) {
|
||||
/* 368 */ List<EventHandler> currentHandlers = handlers.get("");
|
||||
/* 369 */ if (CollectionUtils.isEmpty(currentHandlers)) {
|
||||
/* 370 */ currentHandlers = new ArrayList<>();
|
||||
/* */ }
|
||||
/* 372 */ currentHandlers.add(handler);
|
||||
/* 373 */ handlers.put("", currentHandlers); continue;
|
||||
/* */ }
|
||||
/* 375 */ for (String suffix : suffixes) {
|
||||
/* 376 */ List<EventHandler> currentHandlers = handlers.get(suffix);
|
||||
/* 377 */ if (CollectionUtils.isEmpty(currentHandlers)) {
|
||||
/* 378 */ currentHandlers = new ArrayList<>();
|
||||
/* */ }
|
||||
/* 380 */ currentHandlers.add(handler);
|
||||
/* 381 */ handlers.put(suffix, currentHandlers);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void registerCustomHandlerMapping(EventHandlerMapping eventHandlerMapping, EventHandler<? extends CustomEvent> handler, String topic, String serviceCode) {
|
||||
/* 392 */ List<String> groupIds = extractGroupIds(handler);
|
||||
/* */
|
||||
/* 394 */ for (String groupId : groupIds) {
|
||||
/* */
|
||||
/* */
|
||||
/* 397 */ Map<String, List<CustomEventHandler>> customHandlers = eventHandlerMapping.getServiceCodeCustomHandlerListMap(groupId, topic);
|
||||
/* */
|
||||
/* 399 */ if (null == customHandlers) {
|
||||
/* 400 */ customHandlers = new HashMap<>();
|
||||
/* 401 */ if (StringUtils.isEmpty(topic)) {
|
||||
/* 402 */ customHandlers.put("", Lists.newArrayList((Object[])new CustomEventHandler[] { (CustomEventHandler)handler }));
|
||||
/* */ } else {
|
||||
/* 404 */ customHandlers.put(serviceCode, Lists.newArrayList((Object[])new CustomEventHandler[] { (CustomEventHandler)handler }));
|
||||
/* */ }
|
||||
/* 406 */ eventHandlerMapping.registerCustomHandlers(groupId, topic, customHandlers); continue;
|
||||
/* */ }
|
||||
/* 408 */ if (StringUtils.isEmpty(serviceCode)) {
|
||||
/* 409 */ List<CustomEventHandler> list = customHandlers.get("");
|
||||
/* 410 */ if (CollectionUtils.isEmpty(list)) {
|
||||
/* 411 */ list = new ArrayList<>();
|
||||
/* */ }
|
||||
/* 413 */ list.add((CustomEventHandler)handler);
|
||||
/* 414 */ customHandlers.put("", list); continue;
|
||||
/* */ }
|
||||
/* 416 */ List<CustomEventHandler> currentHandlers = customHandlers.get(serviceCode);
|
||||
/* 417 */ if (CollectionUtils.isEmpty(currentHandlers)) {
|
||||
/* 418 */ currentHandlers = new ArrayList<>();
|
||||
/* */ }
|
||||
/* 420 */ currentHandlers.add((CustomEventHandler)handler);
|
||||
/* 421 */ customHandlers.put(serviceCode, currentHandlers);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\CloudwalkEventInitializing.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.EventClient;
|
||||
import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
import cn.cloudwalk.cwos.client.event.event.CustomEvent;
|
||||
import cn.cloudwalk.cwos.client.event.event.EventType;
|
||||
import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
import cn.cloudwalk.event.annotation.ConsumerGroup;
|
||||
import cn.cloudwalk.event.annotation.CustomTopic;
|
||||
import cn.cloudwalk.event.annotation.EventTopicSuffix;
|
||||
import cn.cloudwalk.event.autoconfig.EventProperties;
|
||||
import cn.cloudwalk.event.handler.CustomEventHandler;
|
||||
import cn.cloudwalk.event.handler.EventHandler;
|
||||
import cn.cloudwalk.event.handler.EventHandlerMapping;
|
||||
import cn.cloudwalk.event.handler.EventHandlerWorker;
|
||||
import cn.cloudwalk.event.handler.NamedThreadFactory;
|
||||
import cn.cloudwalk.event.listener.CloudwalkEventListener;
|
||||
import cn.cloudwalk.event.listener.GroupEventListener;
|
||||
import cn.cloudwalk.event.listener.GroupListnerClassMapping;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.collect.Sets;
|
||||
import java.lang.reflect.ParameterizedType;
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.SynchronousQueue;
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
public class CloudwalkEventInitializing
|
||||
implements CommandLineRunner {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(CloudwalkEventInitializing.class);
|
||||
|
||||
@Autowired(required = false)
|
||||
private List<EventHandler> eventHandlers;
|
||||
|
||||
@Autowired
|
||||
private CloudwalkEventManager cloudwalkEventManager;
|
||||
|
||||
@Autowired
|
||||
private Environment environment;
|
||||
|
||||
private static final Pattern pattern = Pattern.compile("^\\$\\{(.*?)\\}$");
|
||||
|
||||
|
||||
private static final String DEFAULT_SUFFIX = "";
|
||||
|
||||
|
||||
private String defaultGroup;
|
||||
|
||||
|
||||
private EventClient defaultEventClient;
|
||||
|
||||
private Map<String, EventClient> eventClientMap = new HashMap<>();
|
||||
|
||||
private EventProperties eventProperties;
|
||||
|
||||
private static boolean isHandlerEnable = false;
|
||||
|
||||
|
||||
public void run(String... args) throws Exception {
|
||||
init();
|
||||
}
|
||||
|
||||
public void init() throws Exception {
|
||||
initEventClient();
|
||||
initHandlerMapping();
|
||||
initHandlerExecutor();
|
||||
subscribeEvent();
|
||||
}
|
||||
|
||||
public CloudwalkEventInitializing(EventProperties eventProperties) {
|
||||
this.eventProperties = eventProperties;
|
||||
}
|
||||
|
||||
|
||||
private void initEventClient() throws ClassNotFoundException {
|
||||
String[] groupIds = this.eventProperties.getGroupId().split(",");
|
||||
|
||||
if (groupIds.length == 0) {
|
||||
throw new IllegalArgumentException("消费组ID不能为空");
|
||||
}
|
||||
|
||||
Map<String, String> listenerClassMap = this.eventProperties.getListenerClass();
|
||||
|
||||
GroupListnerClassMapping groupListnerClassMapping = new GroupListnerClassMapping();
|
||||
|
||||
for (int i = 0; i < groupIds.length; i++) {
|
||||
Class<? extends EventListener> listenerClass; boolean isFirst = (i == 0);
|
||||
String groupId = groupIds[i];
|
||||
|
||||
|
||||
|
||||
if (null == listenerClassMap || StringUtils.isEmpty(listenerClassMap.get(groupId))) {
|
||||
if (isFirst) {
|
||||
Class<CloudwalkEventListener> clazz = CloudwalkEventListener.class;
|
||||
} else {
|
||||
throw new IllegalArgumentException(String.format("groupId[%s]缺少listener-class的配置", new Object[] { groupId }));
|
||||
}
|
||||
} else {
|
||||
listenerClass = (Class)Class.forName(listenerClassMap.get(groupId));
|
||||
}
|
||||
|
||||
initEventClient(this.eventProperties.getBootstrapServers(), groupId, listenerClass, isFirst);
|
||||
groupListnerClassMapping.register(listenerClass, groupId);
|
||||
}
|
||||
|
||||
this.cloudwalkEventManager.setGroupListnerClassMapping(groupListnerClassMapping);
|
||||
this.cloudwalkEventManager.setEventClient(this.defaultEventClient);
|
||||
}
|
||||
|
||||
@Autowired
|
||||
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
|
||||
GroupEventListener.applicationContext = applicationContext;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private List<String> extractGroupIds(EventHandler eventHandler) {
|
||||
if (eventHandler.getClass().isAnnotationPresent((Class)ConsumerGroup.class)) {
|
||||
ConsumerGroup consumerGroup = eventHandler.getClass().<ConsumerGroup>getAnnotation(ConsumerGroup.class);
|
||||
|
||||
List<String> groupIds = new LinkedList<>();
|
||||
for (String groupId : consumerGroup.groupIds()) {
|
||||
Matcher matcher = pattern.matcher(groupId);
|
||||
if (matcher.find()) {
|
||||
String propertyKey = groupId.substring(2, groupId.length() - 1).trim();
|
||||
String propertyValue = this.environment.getProperty(propertyKey);
|
||||
if (!StringUtils.isEmpty(propertyValue)) {
|
||||
groupId = propertyValue;
|
||||
}
|
||||
}
|
||||
groupIds.add(groupId);
|
||||
}
|
||||
|
||||
return groupIds;
|
||||
}
|
||||
return Lists.newArrayList((Object[])new String[] { this.defaultGroup });
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void initHandlerMapping() {
|
||||
if (CollectionUtils.isEmpty(this.eventHandlers)) {
|
||||
return;
|
||||
}
|
||||
|
||||
isHandlerEnable = true;
|
||||
|
||||
EventHandlerMapping eventHandlerMapping = new EventHandlerMapping();
|
||||
|
||||
for (EventHandler<BaseEvent> handler : this.eventHandlers) {
|
||||
if (handler.getClass().isAnnotationPresent((Class)EventTopicSuffix.class)) {
|
||||
Type type = handler.getClass().getGenericInterfaces()[0];
|
||||
ParameterizedType p = (ParameterizedType)type;
|
||||
Class<BaseEvent> eventClass = (Class)p.getActualTypeArguments()[0];
|
||||
EventTopicSuffix eventTopicSuffix = handler.getClass().<EventTopicSuffix>getAnnotation(EventTopicSuffix.class);
|
||||
|
||||
registerHandlerMapping(eventHandlerMapping, handler, eventClass, eventTopicSuffix.value()); continue;
|
||||
} if (handler.getClass().isAnnotationPresent((Class)CustomTopic.class)) {
|
||||
CustomTopic customTopic = handler.getClass().<CustomTopic>getAnnotation(CustomTopic.class);
|
||||
String topic = customTopic.topic();
|
||||
if (StringUtils.isEmpty(topic)) {
|
||||
continue;
|
||||
}
|
||||
registerCustomHandlerMapping(eventHandlerMapping, (EventHandler)handler, topic, customTopic.suffix());
|
||||
}
|
||||
}
|
||||
this.cloudwalkEventManager.setEventHandlerMapping(eventHandlerMapping);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void initHandlerExecutor() {
|
||||
if (isHandlerEnable) {
|
||||
EventHandlerWorker eventHandlerWorker = new EventHandlerWorker();
|
||||
EventProperties.HandlerExecutorConfig handlerExecutorConfig = this.eventProperties.getHandlerExecutorConfig();
|
||||
eventHandlerWorker.setPoolExecutor(new ThreadPoolExecutor(handlerExecutorConfig.getCorePoolSize().intValue(), handlerExecutorConfig
|
||||
.getMaximumPoolSize().intValue(), 1000L, TimeUnit.MILLISECONDS, new SynchronousQueue<>(), (ThreadFactory)new NamedThreadFactory(this.eventProperties
|
||||
.getWorkerNamePrefix()), new ThreadPoolExecutor.CallerRunsPolicy()));
|
||||
this.cloudwalkEventManager.setEventHandlerWorker(eventHandlerWorker);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private EventType getEventType(Class<? extends BaseEvent> eventClass) {
|
||||
for (EventType eventType : EventType.values()) {
|
||||
if (eventType.getEventClass().getClass().equals(eventClass)) {
|
||||
return eventType;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void subscribeEvent() throws IllegalAccessException, InstantiationException {
|
||||
EventHandlerMapping eventHandlerMapping = this.cloudwalkEventManager.getEventHandlerMapping();
|
||||
|
||||
Map<String, Map<EventType, Set<String>>> subscribedMap = new HashMap<>();
|
||||
|
||||
for (Map.Entry<String, Map<EventType, Map<String, List<EventHandler>>>> entry : (Iterable<Map.Entry<String, Map<EventType, Map<String, List<EventHandler>>>>>)eventHandlerMapping.getHandlerMap().entrySet()) {
|
||||
for (Map.Entry<EventType, Map<String, List<EventHandler>>> eventTypeMapEntry : (Iterable<Map.Entry<EventType, Map<String, List<EventHandler>>>>)((Map)entry.getValue()).entrySet()) {
|
||||
for (String serviceCode : ((Map)eventTypeMapEntry.getValue()).keySet()) {
|
||||
subscribe(subscribedMap, entry.getKey(), eventTypeMapEntry.getKey(), serviceCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, Map<String, Set<String>>> customSubscribedMap = new HashMap<>();
|
||||
|
||||
for (Map.Entry<String, Map<String, Map<String, List<CustomEventHandler>>>> entry : (Iterable<Map.Entry<String, Map<String, Map<String, List<CustomEventHandler>>>>>)eventHandlerMapping.getCustomHandlerMap().entrySet()) {
|
||||
for (Map.Entry<String, Map<String, List<CustomEventHandler>>> subEntry : (Iterable<Map.Entry<String, Map<String, List<CustomEventHandler>>>>)((Map)entry.getValue()).entrySet()) {
|
||||
for (Map.Entry<String, List<CustomEventHandler>> handlerEntry : (Iterable<Map.Entry<String, List<CustomEventHandler>>>)((Map)subEntry.getValue()).entrySet()) {
|
||||
for (CustomEventHandler customEventHandler : handlerEntry.getValue()) {
|
||||
Type type = customEventHandler.getClass().getGenericInterfaces()[0];
|
||||
ParameterizedType p = (ParameterizedType)type;
|
||||
Class<? extends CustomEvent> eventClass = (Class)p.getActualTypeArguments()[0];
|
||||
customSubscribe(customSubscribedMap, entry.getKey(), subEntry.getKey(), handlerEntry
|
||||
.getKey(), eventClass);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void subscribe(Map<String, Map<EventType, Set<String>>> subscribedMap, String groupId, EventType eventType, String serviceCode) {
|
||||
if (StringUtils.isEmpty(groupId)) {
|
||||
groupId = this.defaultGroup;
|
||||
}
|
||||
|
||||
Map<EventType, Set<String>> eventTypeServiceCodeMap = subscribedMap.get(groupId);
|
||||
if (null != eventTypeServiceCodeMap) {
|
||||
Set<String> serviceCodesSet = eventTypeServiceCodeMap.get(eventType);
|
||||
if (CollectionUtils.isEmpty(serviceCodesSet)) {
|
||||
eventTypeServiceCodeMap.put(eventType, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
} else {
|
||||
serviceCodesSet.add(serviceCode);
|
||||
}
|
||||
} else {
|
||||
eventTypeServiceCodeMap = new HashMap<>();
|
||||
eventTypeServiceCodeMap.put(eventType, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
subscribedMap.put(groupId, eventTypeServiceCodeMap);
|
||||
}
|
||||
((EventClient)this.eventClientMap.get(groupId)).subEvent(eventType, serviceCode);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void customSubscribe(Map<String, Map<String, Set<String>>> customSubscribedMap, String groupId, String topic, String serviceCode, Class<? extends CustomEvent> eventClass) throws IllegalAccessException, InstantiationException {
|
||||
if (StringUtils.isEmpty(groupId)) {
|
||||
groupId = this.defaultGroup;
|
||||
}
|
||||
|
||||
Map<String, Set<String>> topicServiceCodeMap = customSubscribedMap.get(groupId);
|
||||
if (null != topicServiceCodeMap) {
|
||||
Set<String> serviceCodesSet = topicServiceCodeMap.get(topic);
|
||||
if (CollectionUtils.isEmpty(serviceCodesSet)) {
|
||||
topicServiceCodeMap.put(topic, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
} else {
|
||||
serviceCodesSet.add(serviceCode);
|
||||
}
|
||||
} else {
|
||||
topicServiceCodeMap = new HashMap<>();
|
||||
topicServiceCodeMap.put(topic, Sets.newHashSet((Object[])new String[] { serviceCode }));
|
||||
customSubscribedMap.put(groupId, topicServiceCodeMap);
|
||||
}
|
||||
EventClient eventClient = this.eventClientMap.get(groupId);
|
||||
if (null == eventClient) {
|
||||
throw new IllegalArgumentException(String.format("没有找到groupId[%s]对应的配置,请检查 ${cloudwalk.event.group-id} 配置", new Object[] { groupId }));
|
||||
}
|
||||
|
||||
eventClient.subEvent(topic, serviceCode, eventClass.newInstance());
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void initEventClient(String bootstrapServers, String groupId, Class<? extends EventListener> listenerClass, boolean isDefault) {
|
||||
EventClient eventClient = this.eventClientMap.get(groupId);
|
||||
|
||||
if (null == eventClient) {
|
||||
eventClient = EventClient.getInstance(bootstrapServers, groupId);
|
||||
eventClient.init();
|
||||
if (null != this.eventProperties.getFetchDataWorkerNumber()) {
|
||||
eventClient.setWorkNum(this.eventProperties.getFetchDataWorkerNumber());
|
||||
}
|
||||
eventClient.setListenerClass(listenerClass);
|
||||
|
||||
this.eventClientMap.put(groupId, eventClient);
|
||||
}
|
||||
|
||||
if (isDefault) {
|
||||
this.defaultGroup = groupId;
|
||||
this.defaultEventClient = eventClient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private <E extends BaseEvent> void registerHandlerMapping(EventHandlerMapping eventHandlerMapping, EventHandler<E> handler, Class<E> eventClass, String[] suffixes) {
|
||||
List<String> groupIds = extractGroupIds(handler);
|
||||
EventType eventType = getEventType(eventClass);
|
||||
|
||||
for (String groupId : groupIds) {
|
||||
Map<String, List<EventHandler>> handlers = eventHandlerMapping.getServiceCodeHandlerListMap(groupId, eventType);
|
||||
|
||||
if (CollectionUtils.isEmpty(handlers)) {
|
||||
handlers = new HashMap<>();
|
||||
if (null == suffixes || suffixes.length == 0) {
|
||||
handlers.put("", Lists.newArrayList((Object[])new EventHandler[] { handler }));
|
||||
} else {
|
||||
for (String suffix : suffixes) {
|
||||
handlers.put(suffix, Lists.newArrayList((Object[])new EventHandler[] { handler }));
|
||||
}
|
||||
}
|
||||
|
||||
eventHandlerMapping.registerHandlers(groupId, eventType, handlers); continue;
|
||||
}
|
||||
if (null == suffixes || suffixes.length == 0) {
|
||||
List<EventHandler> currentHandlers = handlers.get("");
|
||||
if (CollectionUtils.isEmpty(currentHandlers)) {
|
||||
currentHandlers = new ArrayList<>();
|
||||
}
|
||||
currentHandlers.add(handler);
|
||||
handlers.put("", currentHandlers); continue;
|
||||
}
|
||||
for (String suffix : suffixes) {
|
||||
List<EventHandler> currentHandlers = handlers.get(suffix);
|
||||
if (CollectionUtils.isEmpty(currentHandlers)) {
|
||||
currentHandlers = new ArrayList<>();
|
||||
}
|
||||
currentHandlers.add(handler);
|
||||
handlers.put(suffix, currentHandlers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void registerCustomHandlerMapping(EventHandlerMapping eventHandlerMapping, EventHandler<? extends CustomEvent> handler, String topic, String serviceCode) {
|
||||
List<String> groupIds = extractGroupIds(handler);
|
||||
|
||||
for (String groupId : groupIds) {
|
||||
|
||||
|
||||
Map<String, List<CustomEventHandler>> customHandlers = eventHandlerMapping.getServiceCodeCustomHandlerListMap(groupId, topic);
|
||||
|
||||
if (null == customHandlers) {
|
||||
customHandlers = new HashMap<>();
|
||||
if (StringUtils.isEmpty(topic)) {
|
||||
customHandlers.put("", Lists.newArrayList((Object[])new CustomEventHandler[] { (CustomEventHandler)handler }));
|
||||
} else {
|
||||
customHandlers.put(serviceCode, Lists.newArrayList((Object[])new CustomEventHandler[] { (CustomEventHandler)handler }));
|
||||
}
|
||||
eventHandlerMapping.registerCustomHandlers(groupId, topic, customHandlers); continue;
|
||||
}
|
||||
if (StringUtils.isEmpty(serviceCode)) {
|
||||
List<CustomEventHandler> list = customHandlers.get("");
|
||||
if (CollectionUtils.isEmpty(list)) {
|
||||
list = new ArrayList<>();
|
||||
}
|
||||
list.add((CustomEventHandler)handler);
|
||||
customHandlers.put("", list); continue;
|
||||
}
|
||||
List<CustomEventHandler> currentHandlers = customHandlers.get(serviceCode);
|
||||
if (CollectionUtils.isEmpty(currentHandlers)) {
|
||||
currentHandlers = new ArrayList<>();
|
||||
}
|
||||
currentHandlers.add((CustomEventHandler)handler);
|
||||
customHandlers.put(serviceCode, currentHandlers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+108
-112
@@ -1,112 +1,108 @@
|
||||
/* */ package cn.cloudwalk.event;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.EventClient;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.CustomEvent;
|
||||
/* */ import cn.cloudwalk.event.handler.CustomEventHandler;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandler;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandlerMapping;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandlerWorker;
|
||||
/* */ import cn.cloudwalk.event.listener.GroupEventListener;
|
||||
/* */ import cn.cloudwalk.event.listener.GroupListnerClassMapping;
|
||||
/* */ import cn.cloudwalk.event.task.EventHandleTask;
|
||||
/* */ import java.util.List;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.util.CollectionUtils;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class CloudwalkEventManager
|
||||
/* */ {
|
||||
/* 30 */ private static final Logger LOGGER = LoggerFactory.getLogger(CloudwalkEventManager.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private EventHandlerMapping eventHandlerMapping;
|
||||
/* */
|
||||
/* */
|
||||
/* */ private EventHandlerWorker eventHandlerWorker;
|
||||
/* */
|
||||
/* */
|
||||
/* */ private GroupListnerClassMapping groupListnerClassMapping;
|
||||
/* */
|
||||
/* */
|
||||
/* */ private EventClient eventClient;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void handle(Class<? extends GroupEventListener> eventListnerClass, BaseEvent baseEvent) {
|
||||
/* 48 */ String groupId = this.groupListnerClassMapping.getGroupId(eventListnerClass);
|
||||
/* */
|
||||
/* 50 */ if (baseEvent instanceof CustomEvent) {
|
||||
/* */
|
||||
/* */
|
||||
/* 53 */ List<CustomEventHandler> customEventHandlers = (List<CustomEventHandler>)this.eventHandlerMapping.getServiceCodeCustomHandlerListMap(groupId, ((CustomEvent)baseEvent).getTopic()).get(baseEvent.getServiceCode());
|
||||
/* 54 */ eventHandle(baseEvent, customEventHandlers);
|
||||
/* */
|
||||
/* */ return;
|
||||
/* */ }
|
||||
/* */
|
||||
/* 59 */ List<EventHandler> handlerList = (List<EventHandler>)this.eventHandlerMapping.getServiceCodeHandlerListMap(groupId, baseEvent.getClass()).get(baseEvent.getServiceCode());
|
||||
/* 60 */ eventHandle(baseEvent, handlerList);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ private <H extends EventHandler> void eventHandle(BaseEvent baseEvent, List<H> handlers) {
|
||||
/* 64 */ if (CollectionUtils.isEmpty(handlers)) {
|
||||
/* 65 */ LOGGER.error("没有相应的事件处理程序");
|
||||
/* */ return;
|
||||
/* */ }
|
||||
/* 68 */ for (EventHandler eventHandler : handlers) {
|
||||
/* 69 */ this.eventHandlerWorker.work(new EventHandleTask(baseEvent, eventHandler));
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void publish(BaseEvent baseEvent) {
|
||||
/* 79 */ this.eventClient.pubEvent(baseEvent);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEventHandlerMapping(EventHandlerMapping eventHandlerMapping) {
|
||||
/* 83 */ this.eventHandlerMapping = eventHandlerMapping;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public EventHandlerMapping getEventHandlerMapping() {
|
||||
/* 87 */ return this.eventHandlerMapping;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEventHandlerWorker(EventHandlerWorker eventHandlerWorker) {
|
||||
/* 91 */ this.eventHandlerWorker = eventHandlerWorker;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void setEventClient(EventClient eventClient) {
|
||||
/* 100 */ this.eventClient = eventClient;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setGroupListnerClassMapping(GroupListnerClassMapping groupListnerClassMapping) {
|
||||
/* 104 */ this.groupListnerClassMapping = groupListnerClassMapping;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\CloudwalkEventManager.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.EventClient;
|
||||
import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
import cn.cloudwalk.cwos.client.event.event.CustomEvent;
|
||||
import cn.cloudwalk.event.handler.CustomEventHandler;
|
||||
import cn.cloudwalk.event.handler.EventHandler;
|
||||
import cn.cloudwalk.event.handler.EventHandlerMapping;
|
||||
import cn.cloudwalk.event.handler.EventHandlerWorker;
|
||||
import cn.cloudwalk.event.listener.GroupEventListener;
|
||||
import cn.cloudwalk.event.listener.GroupListnerClassMapping;
|
||||
import cn.cloudwalk.event.task.EventHandleTask;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class CloudwalkEventManager
|
||||
{
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(CloudwalkEventManager.class);
|
||||
|
||||
|
||||
|
||||
private EventHandlerMapping eventHandlerMapping;
|
||||
|
||||
|
||||
private EventHandlerWorker eventHandlerWorker;
|
||||
|
||||
|
||||
private GroupListnerClassMapping groupListnerClassMapping;
|
||||
|
||||
|
||||
private EventClient eventClient;
|
||||
|
||||
|
||||
|
||||
public void handle(Class<? extends GroupEventListener> eventListnerClass, BaseEvent baseEvent) {
|
||||
String groupId = this.groupListnerClassMapping.getGroupId(eventListnerClass);
|
||||
|
||||
if (baseEvent instanceof CustomEvent) {
|
||||
|
||||
|
||||
List<CustomEventHandler> customEventHandlers = (List<CustomEventHandler>)this.eventHandlerMapping.getServiceCodeCustomHandlerListMap(groupId, ((CustomEvent)baseEvent).getTopic()).get(baseEvent.getServiceCode());
|
||||
eventHandle(baseEvent, customEventHandlers);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
List<EventHandler> handlerList = (List<EventHandler>)this.eventHandlerMapping.getServiceCodeHandlerListMap(groupId, baseEvent.getClass()).get(baseEvent.getServiceCode());
|
||||
eventHandle(baseEvent, handlerList);
|
||||
}
|
||||
|
||||
private <H extends EventHandler> void eventHandle(BaseEvent baseEvent, List<H> handlers) {
|
||||
if (CollectionUtils.isEmpty(handlers)) {
|
||||
LOGGER.error("没有相应的事件处理程序");
|
||||
return;
|
||||
}
|
||||
for (EventHandler eventHandler : handlers) {
|
||||
this.eventHandlerWorker.work(new EventHandleTask(baseEvent, eventHandler));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void publish(BaseEvent baseEvent) {
|
||||
this.eventClient.pubEvent(baseEvent);
|
||||
}
|
||||
|
||||
public void setEventHandlerMapping(EventHandlerMapping eventHandlerMapping) {
|
||||
this.eventHandlerMapping = eventHandlerMapping;
|
||||
}
|
||||
|
||||
public EventHandlerMapping getEventHandlerMapping() {
|
||||
return this.eventHandlerMapping;
|
||||
}
|
||||
|
||||
public void setEventHandlerWorker(EventHandlerWorker eventHandlerWorker) {
|
||||
this.eventHandlerWorker = eventHandlerWorker;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void setEventClient(EventClient eventClient) {
|
||||
this.eventClient = eventClient;
|
||||
}
|
||||
|
||||
public void setGroupListnerClassMapping(GroupListnerClassMapping groupListnerClassMapping) {
|
||||
this.groupListnerClassMapping = groupListnerClassMapping;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-21
@@ -1,21 +1,17 @@
|
||||
package cn.cloudwalk.event;
|
||||
|
||||
import cn.cloudwalk.event.autoconfig.EventConfiguration;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Import({EventConfiguration.class})
|
||||
public @interface EnableCloudwalkEvent {}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\EnableCloudwalkEvent.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event;
|
||||
|
||||
import cn.cloudwalk.event.autoconfig.EventConfiguration;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Import({EventConfiguration.class})
|
||||
public @interface EnableCloudwalkEvent {}
|
||||
|
||||
|
||||
|
||||
+16
-20
@@ -1,20 +1,16 @@
|
||||
package cn.cloudwalk.event.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
public @interface ConsumerGroup {
|
||||
String[] groupIds() default {};
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\annotation\ConsumerGroup.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
public @interface ConsumerGroup {
|
||||
String[] groupIds() default {};
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-25
@@ -1,25 +1,21 @@
|
||||
package cn.cloudwalk.event.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@EventTopicSuffix
|
||||
public @interface CustomTopic {
|
||||
String topic();
|
||||
|
||||
@AliasFor(annotation = EventTopicSuffix.class)
|
||||
String suffix() default "";
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\annotation\CustomTopic.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@EventTopicSuffix
|
||||
public @interface CustomTopic {
|
||||
String topic();
|
||||
|
||||
@AliasFor(annotation = EventTopicSuffix.class)
|
||||
String suffix() default "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-25
@@ -1,25 +1,21 @@
|
||||
package cn.cloudwalk.event.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
public @interface EventTopicSuffix {
|
||||
@AliasFor(attribute = "suffix")
|
||||
String[] value() default {};
|
||||
|
||||
@AliasFor(attribute = "value")
|
||||
String[] suffix() default {};
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\annotation\EventTopicSuffix.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
public @interface EventTopicSuffix {
|
||||
@AliasFor(attribute = "suffix")
|
||||
String[] value() default {};
|
||||
|
||||
@AliasFor(attribute = "value")
|
||||
String[] suffix() default {};
|
||||
}
|
||||
|
||||
|
||||
|
||||
+31
-35
@@ -1,35 +1,31 @@
|
||||
/* */ package cn.cloudwalk.event.autoconfig;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.event.CloudwalkEventInitializing;
|
||||
/* */ import cn.cloudwalk.event.CloudwalkEventManager;
|
||||
/* */ import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
/* */ import org.springframework.context.annotation.Bean;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @EnableConfigurationProperties({EventProperties.class})
|
||||
/* */ public class EventConfiguration
|
||||
/* */ {
|
||||
/* */ @Bean
|
||||
/* */ public CloudwalkEventManager cloudwalkEventManager() {
|
||||
/* 22 */ return new CloudwalkEventManager();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ @Bean
|
||||
/* */ public CloudwalkEventInitializing CloudwalkEventInitializing(EventProperties eventProperties) {
|
||||
/* 27 */ return new CloudwalkEventInitializing(eventProperties);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\autoconfig\EventConfiguration.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.autoconfig;
|
||||
|
||||
import cn.cloudwalk.event.CloudwalkEventInitializing;
|
||||
import cn.cloudwalk.event.CloudwalkEventManager;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@EnableConfigurationProperties({EventProperties.class})
|
||||
public class EventConfiguration
|
||||
{
|
||||
@Bean
|
||||
public CloudwalkEventManager cloudwalkEventManager() {
|
||||
return new CloudwalkEventManager();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public CloudwalkEventInitializing CloudwalkEventInitializing(EventProperties eventProperties) {
|
||||
return new CloudwalkEventInitializing(eventProperties);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+127
-131
@@ -1,131 +1,127 @@
|
||||
/* */ package cn.cloudwalk.event.autoconfig;
|
||||
/* */
|
||||
/* */ import java.util.Map;
|
||||
/* */ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @ConfigurationProperties(prefix = "cloudwalk.event")
|
||||
/* */ public class EventProperties
|
||||
/* */ {
|
||||
/* */ protected static final String CONF_PREFIX = "cloudwalk.event";
|
||||
/* */ private String bootstrapServers;
|
||||
/* */ private String groupId;
|
||||
/* */ private Map<String, String> listenerClass;
|
||||
/* */ private Integer fetchDataWorkerNumber;
|
||||
/* */ private String workerNamePrefix;
|
||||
/* 49 */ private HandlerExecutorConfig handlerExecutorConfig = new HandlerExecutorConfig(Integer.valueOf(5), Integer.valueOf(10));
|
||||
/* */
|
||||
/* */ public static class HandlerExecutorConfig
|
||||
/* */ {
|
||||
/* */ private Integer corePoolSize;
|
||||
/* */ private Integer maximumPoolSize;
|
||||
/* */
|
||||
/* */ public HandlerExecutorConfig(Integer corePoolSize, Integer maximumPoolSize) {
|
||||
/* 57 */ this.corePoolSize = corePoolSize;
|
||||
/* 58 */ this.maximumPoolSize = maximumPoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCorePoolSize() {
|
||||
/* 62 */ return this.corePoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCorePoolSize(Integer corePoolSize) {
|
||||
/* 66 */ this.corePoolSize = corePoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getMaximumPoolSize() {
|
||||
/* 70 */ return this.maximumPoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setMaximumPoolSize(Integer maximumPoolSize) {
|
||||
/* 74 */ this.maximumPoolSize = maximumPoolSize;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBootstrapServers() {
|
||||
/* 79 */ return this.bootstrapServers;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBootstrapServers(String bootstrapServers) {
|
||||
/* 83 */ this.bootstrapServers = bootstrapServers;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getGroupId() {
|
||||
/* 87 */ return this.groupId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setGroupId(String groupId) {
|
||||
/* 91 */ this.groupId = groupId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Map<String, String> getListenerClass() {
|
||||
/* 95 */ return this.listenerClass;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setListenerClass(Map<String, String> listenerClass) {
|
||||
/* 99 */ this.listenerClass = listenerClass;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getFetchDataWorkerNumber() {
|
||||
/* 103 */ return this.fetchDataWorkerNumber;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setFetchDataWorkerNumber(Integer fetchDataWorkerNumber) {
|
||||
/* 107 */ this.fetchDataWorkerNumber = fetchDataWorkerNumber;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public HandlerExecutorConfig getHandlerExecutorConfig() {
|
||||
/* 111 */ return this.handlerExecutorConfig;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setHandlerExecutorConfig(HandlerExecutorConfig handlerExecutorConfig) {
|
||||
/* 115 */ this.handlerExecutorConfig = handlerExecutorConfig;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getWorkerNamePrefix() {
|
||||
/* 119 */ return this.workerNamePrefix;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setWorkerNamePrefix(String workerNamePrefix) {
|
||||
/* 123 */ this.workerNamePrefix = workerNamePrefix;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\autoconfig\EventProperties.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.autoconfig;
|
||||
|
||||
import java.util.Map;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ConfigurationProperties(prefix = "cloudwalk.event")
|
||||
public class EventProperties
|
||||
{
|
||||
protected static final String CONF_PREFIX = "cloudwalk.event";
|
||||
private String bootstrapServers;
|
||||
private String groupId;
|
||||
private Map<String, String> listenerClass;
|
||||
private Integer fetchDataWorkerNumber;
|
||||
private String workerNamePrefix;
|
||||
private HandlerExecutorConfig handlerExecutorConfig = new HandlerExecutorConfig(Integer.valueOf(5), Integer.valueOf(10));
|
||||
|
||||
public static class HandlerExecutorConfig
|
||||
{
|
||||
private Integer corePoolSize;
|
||||
private Integer maximumPoolSize;
|
||||
|
||||
public HandlerExecutorConfig(Integer corePoolSize, Integer maximumPoolSize) {
|
||||
this.corePoolSize = corePoolSize;
|
||||
this.maximumPoolSize = maximumPoolSize;
|
||||
}
|
||||
|
||||
public Integer getCorePoolSize() {
|
||||
return this.corePoolSize;
|
||||
}
|
||||
|
||||
public void setCorePoolSize(Integer corePoolSize) {
|
||||
this.corePoolSize = corePoolSize;
|
||||
}
|
||||
|
||||
public Integer getMaximumPoolSize() {
|
||||
return this.maximumPoolSize;
|
||||
}
|
||||
|
||||
public void setMaximumPoolSize(Integer maximumPoolSize) {
|
||||
this.maximumPoolSize = maximumPoolSize;
|
||||
}
|
||||
}
|
||||
|
||||
public String getBootstrapServers() {
|
||||
return this.bootstrapServers;
|
||||
}
|
||||
|
||||
public void setBootstrapServers(String bootstrapServers) {
|
||||
this.bootstrapServers = bootstrapServers;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public Map<String, String> getListenerClass() {
|
||||
return this.listenerClass;
|
||||
}
|
||||
|
||||
public void setListenerClass(Map<String, String> listenerClass) {
|
||||
this.listenerClass = listenerClass;
|
||||
}
|
||||
|
||||
public Integer getFetchDataWorkerNumber() {
|
||||
return this.fetchDataWorkerNumber;
|
||||
}
|
||||
|
||||
public void setFetchDataWorkerNumber(Integer fetchDataWorkerNumber) {
|
||||
this.fetchDataWorkerNumber = fetchDataWorkerNumber;
|
||||
}
|
||||
|
||||
public HandlerExecutorConfig getHandlerExecutorConfig() {
|
||||
return this.handlerExecutorConfig;
|
||||
}
|
||||
|
||||
public void setHandlerExecutorConfig(HandlerExecutorConfig handlerExecutorConfig) {
|
||||
this.handlerExecutorConfig = handlerExecutorConfig;
|
||||
}
|
||||
|
||||
public String getWorkerNamePrefix() {
|
||||
return this.workerNamePrefix;
|
||||
}
|
||||
|
||||
public void setWorkerNamePrefix(String workerNamePrefix) {
|
||||
this.workerNamePrefix = workerNamePrefix;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+59
-63
@@ -1,63 +1,59 @@
|
||||
/* */ package cn.cloudwalk.event.client;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.EventType;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandler;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class EventSubscribeHandlers
|
||||
/* */ {
|
||||
/* */ private EventType eventType;
|
||||
/* */ private String serviceCode;
|
||||
/* */ private List<EventHandler> eventHandlerList;
|
||||
/* */
|
||||
/* */ public EventType getEventType() {
|
||||
/* 35 */ return this.eventType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEventType(EventType eventType) {
|
||||
/* 39 */ this.eventType = eventType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getServiceCode() {
|
||||
/* 43 */ return this.serviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setServiceCode(String serviceCode) {
|
||||
/* 47 */ this.serviceCode = serviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<EventHandler> getEventHandlerList() {
|
||||
/* 51 */ return this.eventHandlerList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEventHandlerList(List<EventHandler> eventHandlerList) {
|
||||
/* 55 */ this.eventHandlerList = eventHandlerList;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\client\EventSubscribeHandlers.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.client;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.event.EventType;
|
||||
import cn.cloudwalk.event.handler.EventHandler;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EventSubscribeHandlers
|
||||
{
|
||||
private EventType eventType;
|
||||
private String serviceCode;
|
||||
private List<EventHandler> eventHandlerList;
|
||||
|
||||
public EventType getEventType() {
|
||||
return this.eventType;
|
||||
}
|
||||
|
||||
public void setEventType(EventType eventType) {
|
||||
this.eventType = eventType;
|
||||
}
|
||||
|
||||
public String getServiceCode() {
|
||||
return this.serviceCode;
|
||||
}
|
||||
|
||||
public void setServiceCode(String serviceCode) {
|
||||
this.serviceCode = serviceCode;
|
||||
}
|
||||
|
||||
public List<EventHandler> getEventHandlerList() {
|
||||
return this.eventHandlerList;
|
||||
}
|
||||
|
||||
public void setEventHandlerList(List<EventHandler> eventHandlerList) {
|
||||
this.eventHandlerList = eventHandlerList;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5
-9
@@ -1,9 +1,5 @@
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
public interface CustomEventHandler<E extends cn.cloudwalk.cwos.client.event.event.CustomEvent> extends EventHandler<E> {}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\handler\CustomEventHandler.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
public interface CustomEventHandler<E extends cn.cloudwalk.cwos.client.event.event.CustomEvent> extends EventHandler<E> {}
|
||||
|
||||
|
||||
|
||||
+7
-11
@@ -1,11 +1,7 @@
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
public interface EventHandler<E extends cn.cloudwalk.cwos.client.event.event.BaseEvent> {
|
||||
void onEvent(E paramE);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\handler\EventHandler.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
public interface EventHandler<E extends cn.cloudwalk.cwos.client.event.event.BaseEvent> {
|
||||
void onEvent(E paramE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+122
-126
@@ -1,126 +1,122 @@
|
||||
/* */ package cn.cloudwalk.event.handler;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.EventType;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
/* */ import java.util.HashMap;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.Map;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class EventHandlerMapping
|
||||
/* */ {
|
||||
/* 26 */ private final Map<String, Map<EventType, Map<String, List<EventHandler>>>> handlerMap = new HashMap<>();
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 32 */ private final Map<String, Map<String, Map<String, List<CustomEventHandler>>>> customHandlerMap = new HashMap<>();
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 38 */ private final Map<Class<? extends EventListener>, String> listenerClassGroupMap = new HashMap<>();
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void registerHandlers(String groupId, EventType eventType, Map<String, List<EventHandler>> handlers) {
|
||||
/* 48 */ Map<EventType, Map<String, List<EventHandler>>> map = this.handlerMap.get(groupId);
|
||||
/* 49 */ if (null == map) {
|
||||
/* 50 */ map = new HashMap<>();
|
||||
/* 51 */ map.put(eventType, handlers);
|
||||
/* 52 */ this.handlerMap.put(groupId, map);
|
||||
/* */ } else {
|
||||
/* 54 */ map.put(eventType, handlers);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Map<String, List<EventHandler>> getServiceCodeHandlerListMap(String groupId, Class<? extends BaseEvent> eventClass) {
|
||||
/* 60 */ for (EventType eventType : EventType.values()) {
|
||||
/* 61 */ if (eventType.getEventClass().getClass().equals(eventClass)) {
|
||||
/* 62 */ return getServiceCodeHandlerListMap(groupId, eventType);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 65 */ throw new IllegalArgumentException("没有找到合适的事件类型");
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Map<String, List<EventHandler>> getServiceCodeHandlerListMap(String groupId, EventType eventType) {
|
||||
/* 76 */ Map<EventType, Map<String, List<EventHandler>>> map = this.handlerMap.get(groupId);
|
||||
/* 77 */ if (null != map) {
|
||||
/* 78 */ return map.get(eventType);
|
||||
/* */ }
|
||||
/* 80 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Map<String, List<CustomEventHandler>> getServiceCodeCustomHandlerListMap(String groupId, String topic) {
|
||||
/* 84 */ Map<String, Map<String, List<CustomEventHandler>>> map = this.customHandlerMap.get(groupId);
|
||||
/* 85 */ if (null != map) {
|
||||
/* 86 */ return map.get(topic);
|
||||
/* */ }
|
||||
/* 88 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void registerCustomHandlers(String groupId, String topic, Map<String, List<CustomEventHandler>> handlers) {
|
||||
/* 99 */ Map<String, Map<String, List<CustomEventHandler>>> map = this.customHandlerMap.get(groupId);
|
||||
/* 100 */ if (null == map) {
|
||||
/* 101 */ map = new HashMap<>();
|
||||
/* 102 */ map.put(topic, handlers);
|
||||
/* 103 */ this.customHandlerMap.put(groupId, map);
|
||||
/* */ } else {
|
||||
/* 105 */ map.put(topic, handlers);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Map<String, Map<EventType, Map<String, List<EventHandler>>>> getHandlerMap() {
|
||||
/* 110 */ return this.handlerMap;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Map<String, Map<String, Map<String, List<CustomEventHandler>>>> getCustomHandlerMap() {
|
||||
/* 114 */ return this.customHandlerMap;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Map<Class<? extends EventListener>, String> getListenerClassGroupMap() {
|
||||
/* 118 */ return this.listenerClassGroupMap;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\handler\EventHandlerMapping.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
import cn.cloudwalk.cwos.client.event.event.EventType;
|
||||
import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EventHandlerMapping
|
||||
{
|
||||
private final Map<String, Map<EventType, Map<String, List<EventHandler>>>> handlerMap = new HashMap<>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private final Map<String, Map<String, Map<String, List<CustomEventHandler>>>> customHandlerMap = new HashMap<>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private final Map<Class<? extends EventListener>, String> listenerClassGroupMap = new HashMap<>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void registerHandlers(String groupId, EventType eventType, Map<String, List<EventHandler>> handlers) {
|
||||
Map<EventType, Map<String, List<EventHandler>>> map = this.handlerMap.get(groupId);
|
||||
if (null == map) {
|
||||
map = new HashMap<>();
|
||||
map.put(eventType, handlers);
|
||||
this.handlerMap.put(groupId, map);
|
||||
} else {
|
||||
map.put(eventType, handlers);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public Map<String, List<EventHandler>> getServiceCodeHandlerListMap(String groupId, Class<? extends BaseEvent> eventClass) {
|
||||
for (EventType eventType : EventType.values()) {
|
||||
if (eventType.getEventClass().getClass().equals(eventClass)) {
|
||||
return getServiceCodeHandlerListMap(groupId, eventType);
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("没有找到合适的事件类型");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Map<String, List<EventHandler>> getServiceCodeHandlerListMap(String groupId, EventType eventType) {
|
||||
Map<EventType, Map<String, List<EventHandler>>> map = this.handlerMap.get(groupId);
|
||||
if (null != map) {
|
||||
return map.get(eventType);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Map<String, List<CustomEventHandler>> getServiceCodeCustomHandlerListMap(String groupId, String topic) {
|
||||
Map<String, Map<String, List<CustomEventHandler>>> map = this.customHandlerMap.get(groupId);
|
||||
if (null != map) {
|
||||
return map.get(topic);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void registerCustomHandlers(String groupId, String topic, Map<String, List<CustomEventHandler>> handlers) {
|
||||
Map<String, Map<String, List<CustomEventHandler>>> map = this.customHandlerMap.get(groupId);
|
||||
if (null == map) {
|
||||
map = new HashMap<>();
|
||||
map.put(topic, handlers);
|
||||
this.customHandlerMap.put(groupId, map);
|
||||
} else {
|
||||
map.put(topic, handlers);
|
||||
}
|
||||
}
|
||||
|
||||
public Map<String, Map<EventType, Map<String, List<EventHandler>>>> getHandlerMap() {
|
||||
return this.handlerMap;
|
||||
}
|
||||
|
||||
public Map<String, Map<String, Map<String, List<CustomEventHandler>>>> getCustomHandlerMap() {
|
||||
return this.customHandlerMap;
|
||||
}
|
||||
|
||||
public Map<Class<? extends EventListener>, String> getListenerClassGroupMap() {
|
||||
return this.listenerClassGroupMap;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+37
-41
@@ -1,41 +1,37 @@
|
||||
/* */ package cn.cloudwalk.event.handler;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.event.task.EventHandleTask;
|
||||
/* */ import java.util.concurrent.Callable;
|
||||
/* */ import java.util.concurrent.Future;
|
||||
/* */ import java.util.concurrent.ThreadPoolExecutor;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class EventHandlerWorker
|
||||
/* */ {
|
||||
/* */ private ThreadPoolExecutor poolExecutor;
|
||||
/* */
|
||||
/* */ public void setPoolExecutor(ThreadPoolExecutor poolExecutor) {
|
||||
/* 24 */ this.poolExecutor = poolExecutor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Future<String> work(final EventHandleTask task) {
|
||||
/* 28 */ return this.poolExecutor.submit(new Callable<String>()
|
||||
/* */ {
|
||||
/* */ public String call() throws Exception {
|
||||
/* 31 */ return task.start();
|
||||
/* */ }
|
||||
/* */ });
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\handler\EventHandlerWorker.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
import cn.cloudwalk.event.task.EventHandleTask;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.Future;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EventHandlerWorker
|
||||
{
|
||||
private ThreadPoolExecutor poolExecutor;
|
||||
|
||||
public void setPoolExecutor(ThreadPoolExecutor poolExecutor) {
|
||||
this.poolExecutor = poolExecutor;
|
||||
}
|
||||
|
||||
public Future<String> work(final EventHandleTask task) {
|
||||
return this.poolExecutor.submit(new Callable<String>()
|
||||
{
|
||||
public String call() throws Exception {
|
||||
return task.start();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+58
-62
@@ -1,62 +1,58 @@
|
||||
/* */ package cn.cloudwalk.event.handler;
|
||||
/* */
|
||||
/* */ import java.util.concurrent.ThreadFactory;
|
||||
/* */ import java.util.concurrent.atomic.AtomicInteger;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class NamedThreadFactory
|
||||
/* */ implements ThreadFactory
|
||||
/* */ {
|
||||
/* */ private static final String DEFAULT_POOL_NAME = "cloudwalk-common-event";
|
||||
/* 19 */ protected static final AtomicInteger POOL_SEQ = new AtomicInteger(1);
|
||||
/* */
|
||||
/* 21 */ private final AtomicInteger threadNumber = new AtomicInteger(1);
|
||||
/* */
|
||||
/* */
|
||||
/* */ private final String namePrefix;
|
||||
/* */
|
||||
/* */
|
||||
/* */ private final ThreadGroup threadGroup;
|
||||
/* */
|
||||
/* */
|
||||
/* */ public NamedThreadFactory() {
|
||||
/* 31 */ this("cloudwalk-common-event");
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public NamedThreadFactory(String namePrefix) {
|
||||
/* 35 */ SecurityManager s = System.getSecurityManager();
|
||||
/* 36 */ this.threadGroup = (s != null) ? s.getThreadGroup() : Thread.currentThread().getThreadGroup();
|
||||
/* 37 */ if (null == namePrefix || "".equals(namePrefix.trim())) {
|
||||
/* 38 */ namePrefix = "cloudwalk-common-event";
|
||||
/* */ }
|
||||
/* 40 */ this.namePrefix = namePrefix + "-" + POOL_SEQ.getAndIncrement() + "-thread-";
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Thread newThread(Runnable r) {
|
||||
/* 46 */ Thread t = new Thread(this.threadGroup, r, this.namePrefix + this.threadNumber.getAndIncrement(), 0L);
|
||||
/* */
|
||||
/* 48 */ if (t.isDaemon()) {
|
||||
/* 49 */ t.setDaemon(false);
|
||||
/* */ }
|
||||
/* 51 */ if (t.getPriority() != 5) {
|
||||
/* 52 */ t.setPriority(5);
|
||||
/* */ }
|
||||
/* 54 */ return t;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\handler\NamedThreadFactory.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.handler;
|
||||
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class NamedThreadFactory
|
||||
implements ThreadFactory
|
||||
{
|
||||
private static final String DEFAULT_POOL_NAME = "cloudwalk-common-event";
|
||||
protected static final AtomicInteger POOL_SEQ = new AtomicInteger(1);
|
||||
|
||||
private final AtomicInteger threadNumber = new AtomicInteger(1);
|
||||
|
||||
|
||||
private final String namePrefix;
|
||||
|
||||
|
||||
private final ThreadGroup threadGroup;
|
||||
|
||||
|
||||
public NamedThreadFactory() {
|
||||
this("cloudwalk-common-event");
|
||||
}
|
||||
|
||||
public NamedThreadFactory(String namePrefix) {
|
||||
SecurityManager s = System.getSecurityManager();
|
||||
this.threadGroup = (s != null) ? s.getThreadGroup() : Thread.currentThread().getThreadGroup();
|
||||
if (null == namePrefix || "".equals(namePrefix.trim())) {
|
||||
namePrefix = "cloudwalk-common-event";
|
||||
}
|
||||
this.namePrefix = namePrefix + "-" + POOL_SEQ.getAndIncrement() + "-thread-";
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Thread newThread(Runnable r) {
|
||||
Thread t = new Thread(this.threadGroup, r, this.namePrefix + this.threadNumber.getAndIncrement(), 0L);
|
||||
|
||||
if (t.isDaemon()) {
|
||||
t.setDaemon(false);
|
||||
}
|
||||
if (t.getPriority() != 5) {
|
||||
t.setPriority(5);
|
||||
}
|
||||
return t;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5
-9
@@ -1,9 +1,5 @@
|
||||
package cn.cloudwalk.event.listener;
|
||||
|
||||
public class CloudwalkEventListener extends GroupEventListener {}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\listener\CloudwalkEventListener.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.listener;
|
||||
|
||||
public class CloudwalkEventListener extends GroupEventListener {}
|
||||
|
||||
|
||||
|
||||
+37
-41
@@ -1,41 +1,37 @@
|
||||
/* */ package cn.cloudwalk.event.listener;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
/* */ import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
/* */ import cn.cloudwalk.event.CloudwalkEventManager;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.context.ApplicationContext;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public abstract class GroupEventListener
|
||||
/* */ implements EventListener
|
||||
/* */ {
|
||||
/* */ public static ApplicationContext applicationContext;
|
||||
/* 23 */ private static final Logger LOGGER = LoggerFactory.getLogger(CloudwalkEventListener.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void messageListener(BaseEvent baseEvent) throws RuntimeException {
|
||||
/* */ try {
|
||||
/* 28 */ CloudwalkEventManager cloudwalkEventManager = (CloudwalkEventManager)applicationContext.getBean(CloudwalkEventManager.class);
|
||||
/* 29 */ cloudwalkEventManager.handle(getClass(), baseEvent);
|
||||
/* 30 */ } catch (Exception e) {
|
||||
/* 31 */ LOGGER.error("事件处理出现异常,原因:", e);
|
||||
/* 32 */ throw new RuntimeException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\listener\GroupEventListener.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.listener;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
import cn.cloudwalk.event.CloudwalkEventManager;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public abstract class GroupEventListener
|
||||
implements EventListener
|
||||
{
|
||||
public static ApplicationContext applicationContext;
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(CloudwalkEventListener.class);
|
||||
|
||||
|
||||
public void messageListener(BaseEvent baseEvent) throws RuntimeException {
|
||||
try {
|
||||
CloudwalkEventManager cloudwalkEventManager = (CloudwalkEventManager)applicationContext.getBean(CloudwalkEventManager.class);
|
||||
cloudwalkEventManager.handle(getClass(), baseEvent);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("事件处理出现异常,原因:", e);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+38
-42
@@ -1,42 +1,38 @@
|
||||
/* */ package cn.cloudwalk.event.listener;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
/* */ import java.util.HashMap;
|
||||
/* */ import java.util.Map;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class GroupListnerClassMapping
|
||||
/* */ {
|
||||
/* 23 */ private final Map<Class<? extends EventListener>, String> mapping = new HashMap<>();
|
||||
/* */
|
||||
/* */ public void register(Class<? extends EventListener> eventListnerClass, String groupId) {
|
||||
/* 26 */ if (this.mapping.containsKey(eventListnerClass)) {
|
||||
/* 27 */ throw new IllegalArgumentException(String.format("eventListnerClass[%s]已经存在,不允许重复", new Object[] { eventListnerClass
|
||||
/* 28 */ .toString() }));
|
||||
/* */ }
|
||||
/* 30 */ this.mapping.put(eventListnerClass, groupId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getGroupId(Class<? extends EventListener> eventListnerClass) {
|
||||
/* 34 */ return this.mapping.get(eventListnerClass);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\listener\GroupListnerClassMapping.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.listener;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.handler.EventListener;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class GroupListnerClassMapping
|
||||
{
|
||||
private final Map<Class<? extends EventListener>, String> mapping = new HashMap<>();
|
||||
|
||||
public void register(Class<? extends EventListener> eventListnerClass, String groupId) {
|
||||
if (this.mapping.containsKey(eventListnerClass)) {
|
||||
throw new IllegalArgumentException(String.format("eventListnerClass[%s]已经存在,不允许重复", new Object[] { eventListnerClass
|
||||
.toString() }));
|
||||
}
|
||||
this.mapping.put(eventListnerClass, groupId);
|
||||
}
|
||||
|
||||
public String getGroupId(Class<? extends EventListener> eventListnerClass) {
|
||||
return this.mapping.get(eventListnerClass);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+54
-58
@@ -1,58 +1,54 @@
|
||||
/* */ package cn.cloudwalk.event.task;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
/* */ import cn.cloudwalk.event.handler.EventHandler;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class EventHandleTask<E extends BaseEvent>
|
||||
/* */ {
|
||||
/* */ private E event;
|
||||
/* */ private EventHandler<E> handler;
|
||||
/* */
|
||||
/* */ public EventHandleTask(E event, EventHandler<E> handler) {
|
||||
/* 28 */ this.event = event;
|
||||
/* 29 */ this.handler = handler;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String start() {
|
||||
/* 33 */ this.handler.onEvent((BaseEvent)this.event);
|
||||
/* 34 */ return this.event.getMessageId();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public E getEvent() {
|
||||
/* 38 */ return this.event;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEvent(E event) {
|
||||
/* 42 */ this.event = event;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public EventHandler<E> getHandler() {
|
||||
/* 46 */ return this.handler;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setHandler(EventHandler<E> handler) {
|
||||
/* 50 */ this.handler = handler;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\task\EventHandleTask.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.event.task;
|
||||
|
||||
import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
||||
import cn.cloudwalk.event.handler.EventHandler;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class EventHandleTask<E extends BaseEvent>
|
||||
{
|
||||
private E event;
|
||||
private EventHandler<E> handler;
|
||||
|
||||
public EventHandleTask(E event, EventHandler<E> handler) {
|
||||
this.event = event;
|
||||
this.handler = handler;
|
||||
}
|
||||
|
||||
public String start() {
|
||||
this.handler.onEvent((BaseEvent)this.event);
|
||||
return this.event.getMessageId();
|
||||
}
|
||||
|
||||
public E getEvent() {
|
||||
return this.event;
|
||||
}
|
||||
|
||||
public void setEvent(E event) {
|
||||
this.event = event;
|
||||
}
|
||||
|
||||
public EventHandler<E> getHandler() {
|
||||
return this.handler;
|
||||
}
|
||||
|
||||
public void setHandler(EventHandler<E> handler) {
|
||||
this.handler = handler;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+123
-127
@@ -1,127 +1,123 @@
|
||||
/* */ package cn.cloudwalk.service.aop;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.annotation.CloudwalkParamsValidate;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import java.lang.reflect.Method;
|
||||
/* */ import java.util.Iterator;
|
||||
/* */ import java.util.Set;
|
||||
/* */ import javax.validation.ConstraintViolation;
|
||||
/* */ import javax.validation.Validator;
|
||||
/* */ import javax.validation.groups.Default;
|
||||
/* */ import org.aspectj.lang.ProceedingJoinPoint;
|
||||
/* */ import org.aspectj.lang.annotation.Around;
|
||||
/* */ import org.aspectj.lang.annotation.Aspect;
|
||||
/* */ import org.aspectj.lang.annotation.Pointcut;
|
||||
/* */ import org.aspectj.lang.reflect.MethodSignature;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.context.MessageSource;
|
||||
/* */ import org.springframework.context.i18n.LocaleContextHolder;
|
||||
/* */ import org.springframework.core.annotation.Order;
|
||||
/* */ import org.springframework.stereotype.Component;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Aspect
|
||||
/* */ @Order(-100)
|
||||
/* */ @Component
|
||||
/* */ public class CloudwalkParamsValidateAspect
|
||||
/* */ {
|
||||
/* 43 */ private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ private Validator validator;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ private MessageSource messageSource;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getMessage(String code) {
|
||||
/* 64 */ return this.messageSource.getMessage(code, null, LocaleContextHolder.getLocale());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Pointcut("@annotation(cn.cloudwalk.cloud.annotation.CloudwalkParamsValidate)")
|
||||
/* */ public void validatePointcat() {}
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Around("validatePointcat()")
|
||||
/* */ public Object around(ProceedingJoinPoint joinPoint) throws Throwable {
|
||||
/* 80 */ MethodSignature methodSignature = (MethodSignature)joinPoint.getSignature();
|
||||
/* 81 */ Method targetMethod = joinPoint.getTarget().getClass().getMethod(methodSignature
|
||||
/* 82 */ .getName(), methodSignature.getParameterTypes());
|
||||
/* */
|
||||
/* 84 */ this.logger.debug("正在进行对类{}中方法{}进行参数检查开始", joinPoint.getTarget().getClass().getName(), targetMethod.getName());
|
||||
/* */
|
||||
/* */
|
||||
/* 87 */ CloudwalkParamsValidate paramsValidate = targetMethod.<CloudwalkParamsValidate>getAnnotation(CloudwalkParamsValidate.class);
|
||||
/* 88 */ if (paramsValidate == null) {
|
||||
/* 89 */ return joinPoint.proceed();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* 93 */ int[] needCheckParamIndexs = paramsValidate.argsIndexs();
|
||||
/* 94 */ if (needCheckParamIndexs == null) {
|
||||
/* 95 */ return joinPoint.proceed();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* 99 */ Class<?>[] groupsClazz = paramsValidate.groups();
|
||||
/* 100 */ if (groupsClazz == null) {
|
||||
/* 101 */ groupsClazz = new Class[] { Default.class };
|
||||
/* */ }
|
||||
/* */
|
||||
/* 104 */ Object[] args = joinPoint.getArgs();
|
||||
/* 105 */ for (int index : needCheckParamIndexs) {
|
||||
/* 106 */ Object arg = args[index];
|
||||
/* */
|
||||
/* 108 */ Set<ConstraintViolation<Object>> constraintViolationSet = this.validator.validate(arg, groupsClazz);
|
||||
/* 109 */ if (constraintViolationSet != null && constraintViolationSet.size() > 0) {
|
||||
/* 110 */ Iterator<ConstraintViolation<Object>> iterator = constraintViolationSet.iterator(); if (iterator.hasNext()) { ConstraintViolation<Object> constraintViolation = iterator.next();
|
||||
/* 111 */ String code = constraintViolation.getMessage();
|
||||
/* 112 */ return CloudwalkResult.fail(code, getMessage(code)); }
|
||||
/* */
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* 117 */ this.logger.debug("正在进行对类{}中方法{}进行参数检查通过", joinPoint.getTarget().getClass().getName(), targetMethod.getName());
|
||||
/* */
|
||||
/* 119 */ return joinPoint.proceed();
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-service-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\service\aop\CloudwalkParamsValidateAspect.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.service.aop;
|
||||
|
||||
import cn.cloudwalk.cloud.annotation.CloudwalkParamsValidate;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import javax.validation.ConstraintViolation;
|
||||
import javax.validation.Validator;
|
||||
import javax.validation.groups.Default;
|
||||
import org.aspectj.lang.ProceedingJoinPoint;
|
||||
import org.aspectj.lang.annotation.Around;
|
||||
import org.aspectj.lang.annotation.Aspect;
|
||||
import org.aspectj.lang.annotation.Pointcut;
|
||||
import org.aspectj.lang.reflect.MethodSignature;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.MessageSource;
|
||||
import org.springframework.context.i18n.LocaleContextHolder;
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Aspect
|
||||
@Order(-100)
|
||||
@Component
|
||||
public class CloudwalkParamsValidateAspect
|
||||
{
|
||||
private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Autowired
|
||||
private Validator validator;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Autowired
|
||||
private MessageSource messageSource;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getMessage(String code) {
|
||||
return this.messageSource.getMessage(code, null, LocaleContextHolder.getLocale());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Pointcut("@annotation(cn.cloudwalk.cloud.annotation.CloudwalkParamsValidate)")
|
||||
public void validatePointcat() {}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Around("validatePointcat()")
|
||||
public Object around(ProceedingJoinPoint joinPoint) throws Throwable {
|
||||
MethodSignature methodSignature = (MethodSignature)joinPoint.getSignature();
|
||||
Method targetMethod = joinPoint.getTarget().getClass().getMethod(methodSignature
|
||||
.getName(), methodSignature.getParameterTypes());
|
||||
|
||||
this.logger.debug("正在进行对类{}中方法{}进行参数检查开始", joinPoint.getTarget().getClass().getName(), targetMethod.getName());
|
||||
|
||||
|
||||
CloudwalkParamsValidate paramsValidate = targetMethod.<CloudwalkParamsValidate>getAnnotation(CloudwalkParamsValidate.class);
|
||||
if (paramsValidate == null) {
|
||||
return joinPoint.proceed();
|
||||
}
|
||||
|
||||
|
||||
int[] needCheckParamIndexs = paramsValidate.argsIndexs();
|
||||
if (needCheckParamIndexs == null) {
|
||||
return joinPoint.proceed();
|
||||
}
|
||||
|
||||
|
||||
Class<?>[] groupsClazz = paramsValidate.groups();
|
||||
if (groupsClazz == null) {
|
||||
groupsClazz = new Class[] { Default.class };
|
||||
}
|
||||
|
||||
Object[] args = joinPoint.getArgs();
|
||||
for (int index : needCheckParamIndexs) {
|
||||
Object arg = args[index];
|
||||
|
||||
Set<ConstraintViolation<Object>> constraintViolationSet = this.validator.validate(arg, groupsClazz);
|
||||
if (constraintViolationSet != null && constraintViolationSet.size() > 0) {
|
||||
Iterator<ConstraintViolation<Object>> iterator = constraintViolationSet.iterator(); if (iterator.hasNext()) { ConstraintViolation<Object> constraintViolation = iterator.next();
|
||||
String code = constraintViolation.getMessage();
|
||||
return CloudwalkResult.fail(code, getMessage(code)); }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
this.logger.debug("正在进行对类{}中方法{}进行参数检查通过", joinPoint.getTarget().getClass().getName(), targetMethod.getName());
|
||||
|
||||
return joinPoint.proceed();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+50
-54
@@ -1,54 +1,50 @@
|
||||
/* */ package cn.cloudwalk.service.config;
|
||||
/* */
|
||||
/* */ import javax.validation.Validation;
|
||||
/* */ import javax.validation.Validator;
|
||||
/* */ import javax.validation.ValidatorFactory;
|
||||
/* */ import org.hibernate.validator.HibernateValidator;
|
||||
/* */ import org.hibernate.validator.HibernateValidatorConfiguration;
|
||||
/* */ import org.springframework.context.annotation.Bean;
|
||||
/* */ import org.springframework.context.annotation.Configuration;
|
||||
/* */ import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Configuration
|
||||
/* */ public class ValidatorConfig
|
||||
/* */ {
|
||||
/* */ @Bean
|
||||
/* */ public Validator validator() {
|
||||
/* 33 */ ValidatorFactory validatorFactory = ((HibernateValidatorConfiguration)Validation.byProvider(HibernateValidator.class).configure()).failFast(true).buildValidatorFactory();
|
||||
/* */
|
||||
/* 35 */ return validatorFactory.getValidator();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Bean
|
||||
/* */ public MethodValidationPostProcessor methodValidationPostProcessor() {
|
||||
/* 44 */ MethodValidationPostProcessor postProcessor = new MethodValidationPostProcessor();
|
||||
/* 45 */ postProcessor.setValidator(validator());
|
||||
/* 46 */ return postProcessor;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-service-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\service\config\ValidatorConfig.class
|
||||
* Java compiler version: 7 (51.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.service.config;
|
||||
|
||||
import javax.validation.Validation;
|
||||
import javax.validation.Validator;
|
||||
import javax.validation.ValidatorFactory;
|
||||
import org.hibernate.validator.HibernateValidator;
|
||||
import org.hibernate.validator.HibernateValidatorConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Configuration
|
||||
public class ValidatorConfig
|
||||
{
|
||||
@Bean
|
||||
public Validator validator() {
|
||||
ValidatorFactory validatorFactory = ((HibernateValidatorConfiguration)Validation.byProvider(HibernateValidator.class).configure()).failFast(true).buildValidatorFactory();
|
||||
|
||||
return validatorFactory.getValidator();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Bean
|
||||
public MethodValidationPostProcessor methodValidationPostProcessor() {
|
||||
MethodValidationPostProcessor postProcessor = new MethodValidationPostProcessor();
|
||||
postProcessor.setValidator(validator());
|
||||
return postProcessor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-16
@@ -1,16 +1,12 @@
|
||||
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({ElementType.FIELD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface DavinciPic {}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\annontation\DavinciPic.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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({ElementType.FIELD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface DavinciPic {}
|
||||
|
||||
|
||||
|
||||
+75
-79
@@ -1,79 +1,75 @@
|
||||
/* */ 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({"redisTemplate"})
|
||||
/* */ public RedisTemplate<Object, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) {
|
||||
/* 53 */ RedisTemplate<Object, Object> redisTemplate = new RedisTemplate();
|
||||
/* 54 */ redisTemplate.setConnectionFactory(redisConnectionFactory);
|
||||
/* */
|
||||
/* 56 */ StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
|
||||
/* */
|
||||
/* 58 */ Jackson2JsonRedisSerializer jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer(Object.class);
|
||||
/* */
|
||||
/* 60 */ ObjectMapper objectMapper = new ObjectMapper();
|
||||
/* 61 */ objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
|
||||
/* 62 */ objectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);
|
||||
/* */
|
||||
/* 64 */ jackson2JsonRedisSerializer.setObjectMapper(objectMapper);
|
||||
/* */
|
||||
/* */
|
||||
/* 67 */ redisTemplate.setValueSerializer((RedisSerializer)jackson2JsonRedisSerializer);
|
||||
/* 68 */ redisTemplate.setKeySerializer((RedisSerializer)stringRedisSerializer);
|
||||
/* 69 */ redisTemplate.afterPropertiesSet();
|
||||
/* */
|
||||
/* 71 */ return redisTemplate;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\cache\CacheOverrideConfig.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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({"redisTemplate"})
|
||||
public RedisTemplate<Object, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) {
|
||||
RedisTemplate<Object, Object> 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+40
-44
@@ -1,44 +1,40 @@
|
||||
/* */ package cn.cloudwalk.elevator.config;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsConstants
|
||||
/* */ {
|
||||
/* */ public static final String SUCCESS_CODE = "00000000";
|
||||
/* */ public static final String SERVICE_CODE = "elevator-app";
|
||||
/* 27 */ public static final Long ONE_DAY_MILLISECONDS = Long.valueOf(86400000L);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 32 */ public static final Long ONE_YEAR_MILLISECONDS = Long.valueOf(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:";
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\AcsConstants.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 = Long.valueOf(86400000L);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Long ONE_YEAR_MILLISECONDS = Long.valueOf(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:";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-17
@@ -1,17 +1,13 @@
|
||||
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:";
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\AcsLockConstants.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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:";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+24
-28
@@ -1,28 +1,24 @@
|
||||
/* */ 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() {
|
||||
/* 16 */ return this.relativePrefix;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRelativePrefix(String relativePrefix) {
|
||||
/* 20 */ this.relativePrefix = relativePrefix;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\ElevatorCwosConfig.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+459
-463
@@ -1,463 +1,459 @@
|
||||
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";
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\ErrorCode.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+19
-23
@@ -1,23 +1,19 @@
|
||||
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";
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\FeignRemoteConfig.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+104
-108
@@ -1,108 +1,104 @@
|
||||
/* */ 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
|
||||
/* */ {
|
||||
/* 23 */ private static ThreadLocal<Map<String, String>> threadLocal = new ThreadLocal<>();
|
||||
/* */
|
||||
/* */ public static void set(Map<String, String> t) {
|
||||
/* 26 */ threadLocal.remove();
|
||||
/* 27 */ threadLocal.set(t);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static Map<String, String> get() {
|
||||
/* 31 */ return threadLocal.get();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static void remove() {
|
||||
/* 35 */ threadLocal.remove();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static Map<String, String> getRequestHeader(HttpServletRequest request) {
|
||||
/* 45 */ Map<String, String> map = new ConcurrentHashMap<>(10);
|
||||
/* 46 */ if (null != request.getHeader("platformuserid")) {
|
||||
/* 47 */ map.put("platformuserid", request.getHeader("platformuserid"));
|
||||
/* */ }
|
||||
/* 49 */ if (null != request.getHeader("loginid")) {
|
||||
/* 50 */ map.put("loginid", request.getHeader("loginid"));
|
||||
/* */ }
|
||||
/* 52 */ if (null != request.getHeader("businessid")) {
|
||||
/* 53 */ map.put("businessid", request.getHeader("businessid"));
|
||||
/* */ }
|
||||
/* 55 */ if (null != request.getHeader("username")) {
|
||||
/* 56 */ map.put("username", request.getHeader("username"));
|
||||
/* */ }
|
||||
/* 58 */ if (null != request.getHeader("applicationid")) {
|
||||
/* 59 */ map.put("applicationid", request.getHeader("applicationid"));
|
||||
/* */ }
|
||||
/* 61 */ if (null != request.getHeader("authorization")) {
|
||||
/* 62 */ map.put("authorization", request.getHeader("authorization"));
|
||||
/* */ }
|
||||
/* 64 */ return map;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static Map<String, String> getDefaultReqesutHeader(String businessId) {
|
||||
/* 69 */ Map<String, String> map = new ConcurrentHashMap<>(2);
|
||||
/* 70 */ map.put("businessid", businessId);
|
||||
/* 71 */ map.put("username", "default");
|
||||
/* 72 */ return map;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static void setRequestHeader(Map<String, String> headerMap) {
|
||||
/* 81 */ set(headerMap);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static Map<String, String> getDefaultRequestHeader(CloudwalkCallContext context) {
|
||||
/* 85 */ Map<String, String> map = new HashMap<>(10);
|
||||
/* */
|
||||
/* 87 */ DefaultExtendContext<CloudWalkExtendContextValue> extendContext = (DefaultExtendContext<CloudWalkExtendContextValue>)context.getExt();
|
||||
/* */
|
||||
/* 89 */ map.put("platformuserid", context.getUser().getCaller());
|
||||
/* 90 */ map.put("loginid", ((CloudWalkExtendContextValue)extendContext.getValue()).getLoginId());
|
||||
/* 91 */ map.put("businessid", context.getCompany().getCompanyId());
|
||||
/* 92 */ map.put("username", StringUtils.isEmpty(context.getUser().getCallerName()) ? "default" : context.getUser().getCallerName());
|
||||
/* 93 */ map.put("applicationid", context.getApplicationId());
|
||||
/* 94 */ map.put("authorization", ((CloudWalkExtendContextValue)extendContext.getValue()).getAuthorization());
|
||||
/* */
|
||||
/* 96 */ return map;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static void setRequestHeader(CloudwalkCallContext context) {
|
||||
/* 100 */ set(getDefaultRequestHeader(context));
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\FeignThreadLocalUtil.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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) {
|
||||
Map<String, String> map = new ConcurrentHashMap<>(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) {
|
||||
Map<String, String> map = new ConcurrentHashMap<>(2);
|
||||
map.put("businessid", businessId);
|
||||
map.put("username", "default");
|
||||
return map;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static void setRequestHeader(Map<String, String> headerMap) {
|
||||
set(headerMap);
|
||||
}
|
||||
|
||||
public static Map<String, String> getDefaultRequestHeader(CloudwalkCallContext context) {
|
||||
Map<String, String> map = new HashMap<>(10);
|
||||
|
||||
DefaultExtendContext<CloudWalkExtendContextValue> extendContext = (DefaultExtendContext<CloudWalkExtendContextValue>)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(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) {
|
||||
set(getDefaultRequestHeader(context));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+188
-192
@@ -1,192 +1,188 @@
|
||||
/* */ 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";
|
||||
/* 58 */ public static final Integer COMMON_PROPERTIES_STATUS = Integer.valueOf(99);
|
||||
/* 59 */ public static final Integer COMMON_UNIT_PROPERTIES_STATUS = Integer.valueOf(98);
|
||||
/* 60 */ public static final Integer COMMON_PARK_PROPERTIES_STATUS = Integer.valueOf(97);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 65 */ private static final List<String> CUST_PROPERTIES = Arrays.asList(new String[] { "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 List<String> getCustProperties() {
|
||||
/* 68 */ return CUST_PROPERTIES;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ 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 = "同步创建账号";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String SYS_ACCOUNT_ID_CODE = "sysAccountId";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String SYS_ACCOUNT_ID_NAME = "同步创建账号系统ID";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 153 */ public static final Integer AGREE = Integer.valueOf(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;
|
||||
/* */
|
||||
/* 178 */ public static final Integer MAX_FILE = Integer.valueOf(3145728);
|
||||
/* */ 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;
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\config\ImageStoreConstants.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 = Integer.valueOf(99);
|
||||
public static final Integer COMMON_UNIT_PROPERTIES_STATUS = Integer.valueOf(98);
|
||||
public static final Integer COMMON_PARK_PROPERTIES_STATUS = Integer.valueOf(97);
|
||||
|
||||
|
||||
|
||||
|
||||
private static final List<String> CUST_PROPERTIES = Arrays.asList(new String[] { "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 List<String> getCustProperties() {
|
||||
return CUST_PROPERTIES;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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 = "同步创建账号";
|
||||
|
||||
|
||||
|
||||
public static final String SYS_ACCOUNT_ID_CODE = "sysAccountId";
|
||||
|
||||
|
||||
|
||||
public static final String SYS_ACCOUNT_ID_NAME = "同步创建账号系统ID";
|
||||
|
||||
|
||||
|
||||
public static final Integer AGREE = Integer.valueOf(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 = Integer.valueOf(3145728);
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+34
-38
@@ -1,38 +1,34 @@
|
||||
/* */ package cn.cloudwalk.elevator.context;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class CloudWalkExtendContextValue
|
||||
/* */ {
|
||||
/* */ private String loginId;
|
||||
/* */ private String authorization;
|
||||
/* */
|
||||
/* */ public String getLoginId() {
|
||||
/* 18 */ return this.loginId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setLoginId(String loginId) {
|
||||
/* 22 */ this.loginId = loginId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAuthorization() {
|
||||
/* 26 */ return this.authorization;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAuthorization(String authorization) {
|
||||
/* 30 */ this.authorization = authorization;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\context\CloudWalkExtendContextValue.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+49
-53
@@ -1,53 +1,49 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsApplicationSourceEnum
|
||||
/* */ {
|
||||
/* 16 */ ACCESS_CONTROL("ACCESS_CONTROL", "门禁应用"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 20 */ CWOS_PORTAL("CWOS_PORTAL", "平台应用");
|
||||
/* */
|
||||
/* */ private final String code;
|
||||
/* */
|
||||
/* */ private final String name;
|
||||
/* */
|
||||
/* */ AcsApplicationSourceEnum(String code, String name) {
|
||||
/* 27 */ this.code = code;
|
||||
/* 28 */ this.name = name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsApplicationSourceEnum getEnumByCode(String code) {
|
||||
/* 32 */ for (AcsApplicationSourceEnum item : values()) {
|
||||
/* 33 */ if (code.equals(item.code)) {
|
||||
/* 34 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 37 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 41 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 45 */ return this.name;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsApplicationSourceEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsApplicationSourceEnum
|
||||
{
|
||||
ACCESS_CONTROL("ACCESS_CONTROL", "门禁应用"),
|
||||
|
||||
|
||||
|
||||
CWOS_PORTAL("CWOS_PORTAL", "平台应用");
|
||||
|
||||
private final String code;
|
||||
|
||||
private final String name;
|
||||
|
||||
AcsApplicationSourceEnum(String code, String name) {
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public static AcsApplicationSourceEnum getEnumByCode(String code) {
|
||||
for (AcsApplicationSourceEnum item : values()) {
|
||||
if (code.equals(item.code)) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+49
-53
@@ -1,53 +1,49 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsDeviceIdentifyTypeEnum
|
||||
/* */ {
|
||||
/* 16 */ FRONT_REG(Integer.valueOf(0), "前端识别"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 20 */ BACKEND_REG(Integer.valueOf(1), "后端识别");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String name;
|
||||
/* */
|
||||
/* */ AcsDeviceIdentifyTypeEnum(Integer code, String name) {
|
||||
/* 27 */ this.code = code;
|
||||
/* 28 */ this.name = name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsDeviceIdentifyTypeEnum getEnumByCode(Integer code) {
|
||||
/* 32 */ for (AcsDeviceIdentifyTypeEnum item : values()) {
|
||||
/* 33 */ if (code.equals(item.getCode())) {
|
||||
/* 34 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 37 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 41 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 45 */ return this.name;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsDeviceIdentifyTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsDeviceIdentifyTypeEnum
|
||||
{
|
||||
FRONT_REG(Integer.valueOf(0), "前端识别"),
|
||||
|
||||
|
||||
|
||||
BACKEND_REG(Integer.valueOf(1), "后端识别");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String name;
|
||||
|
||||
AcsDeviceIdentifyTypeEnum(Integer code, String name) {
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public static AcsDeviceIdentifyTypeEnum getEnumByCode(Integer code) {
|
||||
for (AcsDeviceIdentifyTypeEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+49
-53
@@ -1,53 +1,49 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsDeviceQueryTypeEnum
|
||||
/* */ {
|
||||
/* 16 */ QUERY_MAIN(Integer.valueOf(1), "只查询主设备"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 20 */ QUERY_MAIN_AND_SUB(Integer.valueOf(2), "查询主设备及其子设备");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ AcsDeviceQueryTypeEnum(Integer code, String message) {
|
||||
/* 27 */ this.code = code;
|
||||
/* 28 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsDeviceQueryTypeEnum getEnumByCode(Integer code) {
|
||||
/* 32 */ for (AcsDeviceQueryTypeEnum item : values()) {
|
||||
/* 33 */ if (code.equals(item.getCode())) {
|
||||
/* 34 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 37 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 41 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 45 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsDeviceQueryTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsDeviceQueryTypeEnum
|
||||
{
|
||||
QUERY_MAIN(Integer.valueOf(1), "只查询主设备"),
|
||||
|
||||
|
||||
|
||||
QUERY_MAIN_AND_SUB(Integer.valueOf(2), "查询主设备及其子设备");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
AcsDeviceQueryTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsDeviceQueryTypeEnum getEnumByCode(Integer code) {
|
||||
for (AcsDeviceQueryTypeEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+112
-116
@@ -1,116 +1,112 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */ import java.util.ArrayList;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsDeviceSettingEnum
|
||||
/* */ {
|
||||
/* 21 */ QUALITY_SCORE("qualityScore", "人脸抓拍质量分", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 25 */ TEMP_THRESHOLD("tempThreshold", "温度报警阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 29 */ TEMP_MIN("tempMin", "温度最低值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 33 */ MASK_THRESHOLD("maskThreshold", "口罩阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 37 */ LIVE_STATE("liveState", "活体检测开关", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 41 */ TEMP_STATE("tempState", "温度控制开关", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 45 */ FACE_SIZE_MIN("faceSizeMin", "人脸最小尺寸", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 49 */ FACE_SIZE_MAX("faceSizeMax", "人脸最大尺寸", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 53 */ FACE_ONE_THRESHOLD("faceOneThreshold", "人脸1:1识别阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 57 */ FACE_MANY_THRESHOLD("faceManyThreshold", "人脸1:N识别阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 64 */ ACS_FACE_REG_THRESHOLD("ACS_FACE_REG_THRESHOLD", "人脸抓拍识别阈值", AcsApplicationSourceEnum.ACCESS_CONTROL);
|
||||
/* */
|
||||
/* */
|
||||
/* */ private String code;
|
||||
/* */
|
||||
/* */ private String remark;
|
||||
/* */
|
||||
/* */ private AcsApplicationSourceEnum source;
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 75 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getRemark() {
|
||||
/* 79 */ return this.remark;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public AcsApplicationSourceEnum getSource() {
|
||||
/* 83 */ return this.source;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ AcsDeviceSettingEnum(String code, String remark, AcsApplicationSourceEnum source) {
|
||||
/* 87 */ this.code = code;
|
||||
/* 88 */ this.remark = remark;
|
||||
/* 89 */ this.source = source;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsDeviceSettingEnum getEnumByCode(String code) {
|
||||
/* 93 */ for (AcsDeviceSettingEnum item : values()) {
|
||||
/* 94 */ if (code.equals(item.code)) {
|
||||
/* 95 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 98 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static List<AcsDeviceSettingEnum> getEnumBySource(String source) {
|
||||
/* 102 */ List<AcsDeviceSettingEnum> list = new ArrayList<>();
|
||||
/* 103 */ for (AcsDeviceSettingEnum item : values()) {
|
||||
/* 104 */ if (source.equals(item.source.getCode())) {
|
||||
/* 105 */ list.add(item);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 108 */ return list;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsDeviceSettingEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsDeviceSettingEnum
|
||||
{
|
||||
QUALITY_SCORE("qualityScore", "人脸抓拍质量分", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
TEMP_THRESHOLD("tempThreshold", "温度报警阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
TEMP_MIN("tempMin", "温度最低值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
MASK_THRESHOLD("maskThreshold", "口罩阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
LIVE_STATE("liveState", "活体检测开关", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
TEMP_STATE("tempState", "温度控制开关", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
FACE_SIZE_MIN("faceSizeMin", "人脸最小尺寸", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
FACE_SIZE_MAX("faceSizeMax", "人脸最大尺寸", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
FACE_ONE_THRESHOLD("faceOneThreshold", "人脸1:1识别阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
FACE_MANY_THRESHOLD("faceManyThreshold", "人脸1:N识别阈值", AcsApplicationSourceEnum.CWOS_PORTAL),
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ACS_FACE_REG_THRESHOLD("ACS_FACE_REG_THRESHOLD", "人脸抓拍识别阈值", 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;
|
||||
}
|
||||
|
||||
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 : values()) {
|
||||
if (code.equals(item.code)) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<AcsDeviceSettingEnum> getEnumBySource(String source) {
|
||||
List<AcsDeviceSettingEnum> list = new ArrayList<>();
|
||||
for (AcsDeviceSettingEnum item : values()) {
|
||||
if (source.equals(item.source.getCode())) {
|
||||
list.add(item);
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+56
-60
@@ -1,60 +1,56 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsOpenDoorStatusEnum
|
||||
/* */ {
|
||||
/* 17 */ INIT(Integer.valueOf(0), "初始化"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 21 */ SUCESS(Integer.valueOf(1), "成功"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 25 */ FAIL(Integer.valueOf(2), "失败");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */
|
||||
/* */ AcsOpenDoorStatusEnum(Integer code, String message) {
|
||||
/* 33 */ this.code = code;
|
||||
/* 34 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsOpenDoorStatusEnum getEnumByCode(Integer code) {
|
||||
/* 38 */ for (AcsOpenDoorStatusEnum item : values()) {
|
||||
/* 39 */ if (code.equals(item.getCode())) {
|
||||
/* 40 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 43 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 48 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 52 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsOpenDoorStatusEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsOpenDoorStatusEnum
|
||||
{
|
||||
INIT(Integer.valueOf(0), "初始化"),
|
||||
|
||||
|
||||
|
||||
SUCESS(Integer.valueOf(1), "成功"),
|
||||
|
||||
|
||||
|
||||
FAIL(Integer.valueOf(2), "失败");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
AcsOpenDoorStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsOpenDoorStatusEnum getEnumByCode(Integer code) {
|
||||
for (AcsOpenDoorStatusEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-55
@@ -1,55 +1,51 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsOperateStatusEnum
|
||||
/* */ {
|
||||
/* 17 */ INIT(Integer.valueOf(0), "初始化"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 22 */ MATCHED(Integer.valueOf(1), "已匹配");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ AcsOperateStatusEnum(Integer code, String message) {
|
||||
/* 29 */ this.code = code;
|
||||
/* 30 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsOperateStatusEnum getEnumByCode(Integer code) {
|
||||
/* 34 */ for (AcsOperateStatusEnum item : values()) {
|
||||
/* 35 */ if (code.equals(item.getCode())) {
|
||||
/* 36 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 39 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 43 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 47 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsOperateStatusEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsOperateStatusEnum
|
||||
{
|
||||
INIT(Integer.valueOf(0), "初始化"),
|
||||
|
||||
|
||||
|
||||
|
||||
MATCHED(Integer.valueOf(1), "已匹配");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
AcsOperateStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsOperateStatusEnum getEnumByCode(Integer code) {
|
||||
for (AcsOperateStatusEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-55
@@ -1,55 +1,51 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsOperateTypeEnum
|
||||
/* */ {
|
||||
/* 17 */ REMOTE_OPEN_DOOR("REMOTE_OPEN_DOOR", "远程开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 22 */ QRCODE_OPEN_DOOR("QRCODE_OPEN_DOOR", "小程序扫码开门");
|
||||
/* */
|
||||
/* */ private String code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ AcsOperateTypeEnum(String code, String message) {
|
||||
/* 29 */ this.code = code;
|
||||
/* 30 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsOperateTypeEnum getEnumByCode(String code) {
|
||||
/* 34 */ for (AcsOperateTypeEnum item : values()) {
|
||||
/* 35 */ if (code.equals(item.getCode())) {
|
||||
/* 36 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 39 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 43 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 47 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsOperateTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsOperateTypeEnum
|
||||
{
|
||||
REMOTE_OPEN_DOOR("REMOTE_OPEN_DOOR", "远程开门"),
|
||||
|
||||
|
||||
|
||||
|
||||
QRCODE_OPEN_DOOR("QRCODE_OPEN_DOOR", "小程序扫码开门");
|
||||
|
||||
private String code;
|
||||
|
||||
private String message;
|
||||
|
||||
AcsOperateTypeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsOperateTypeEnum getEnumByCode(String code) {
|
||||
for (AcsOperateTypeEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+55
-59
@@ -1,59 +1,55 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsPassTypeEnum
|
||||
/* */ {
|
||||
/* 16 */ LONG_TIME(Integer.valueOf(0), "长期"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 21 */ AUTO_PASS(Integer.valueOf(1), "自定义时间"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 26 */ PASS_TIME(Integer.valueOf(2), "通行时间段");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ AcsPassTypeEnum(Integer code, String message) {
|
||||
/* 33 */ this.code = code;
|
||||
/* 34 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static YesNoTypeEnum getEnumByCode(Integer code) {
|
||||
/* 38 */ for (YesNoTypeEnum item : YesNoTypeEnum.values()) {
|
||||
/* 39 */ if (code.equals(item.getCode())) {
|
||||
/* 40 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 43 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 47 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 51 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AcsPassTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsPassTypeEnum
|
||||
{
|
||||
LONG_TIME(Integer.valueOf(0), "长期"),
|
||||
|
||||
|
||||
|
||||
|
||||
AUTO_PASS(Integer.valueOf(1), "自定义时间"),
|
||||
|
||||
|
||||
|
||||
|
||||
PASS_TIME(Integer.valueOf(2), "通行时间段");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
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())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+116
-120
@@ -1,120 +1,116 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AlarmStateCodeEnum
|
||||
/* */ {
|
||||
/* 10 */ OPERATION_FAILED("36000001", "操作失败"),
|
||||
/* 11 */ EMPTY_PARAMETERS_WRONG("36000002", "参数不能为空"),
|
||||
/* 12 */ INSERT_DATABSE_EREEOR("36000003", "插入数据库异常"),
|
||||
/* 13 */ EMPTY_USER_ID("36000004", "ID不能为空"),
|
||||
/* 14 */ PARAM_ERROR("36000005", "参数不符合要求"),
|
||||
/* 15 */ SEARCH_INFORMATION_FAILED("36000006", "查询信息失败"),
|
||||
/* 16 */ TASK_NAME_EXIST("36000007", "布控名称重复"),
|
||||
/* 17 */ TASK_TYPE_NAME_EXIST("36000012", "布控类型名称重复"),
|
||||
/* 18 */ DELETE_NOT_EXIST("36000008", "被删除资源不存在"),
|
||||
/* 19 */ CONTROL_TASK_TYPE_HAS_TASK("36000009", "存在关联任务"),
|
||||
/* 20 */ SAVE_TASK_TYPE_ERROR("36000010", "保存区控类型失败"),
|
||||
/* 21 */ UPDATE_TASK_TYPE_ERROR("36000011", "更新区控类型失败"),
|
||||
/* 22 */ FILE_SIZE_ILLEGAL("3600030", "文件大小超过"),
|
||||
/* 23 */ WRONG_PARAMETERS("400", "参数错误"),
|
||||
/* 24 */ SERVER_EXCEPTION("500", "服务器异常"),
|
||||
/* 25 */ SUCCESS("00000000", "成功"),
|
||||
/* 26 */ CWOS_FEIGN_FAILED("36000007", "调用cwos接口异常"),
|
||||
/* 27 */ PAGE_QUERY_FAILED("36000008", "分页查询失败"),
|
||||
/* 28 */ PARAM_REPEAT("36000009", "证件类型+证件号重复"),
|
||||
/* 29 */ CONTROL_TASK_ID_NOT_EXIST("36000010", "任务编号不存在"),
|
||||
/* 30 */ DEVICE_NOT_EXIST("36000011", "回放链接已失效"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 35 */ LABEL_NAME_DUPLICATE_FAILED("10001056", "库名称重复"),
|
||||
/* 36 */ LABEL_NAME_INVALID("10001050", "库名称无效"),
|
||||
/* 37 */ LABEL_QUERY_FAILED("10001051", "标签查询失败"),
|
||||
/* 38 */ LABEL_SAVE_FAILED("10001052", "标签保存失败"),
|
||||
/* 39 */ LABEL_UPDATE_FAILED("10001053", "标签更新失败"),
|
||||
/* 40 */ LABEL_DELETE_FAILED("10001054", "标签删除失败"),
|
||||
/* 41 */ EMPTY_LABEL_NAME("10001055", "标签名称为空"),
|
||||
/* 42 */ LABEL_PAGE_FAILED("10001055", "分页查询标签异常"),
|
||||
/* 43 */ LABEL_LIST_FAILED("10001057", "列表查询标签异常"),
|
||||
/* 44 */ LABEL_BRAND_FAILED("10001060", "查询车辆品牌异常"),
|
||||
/* 45 */ VEHICLE_TYPE_FAILED("10001061", "查询车辆类型异常"),
|
||||
/* 46 */ VEHICLE_DETAIL_ERROR("10001062", "车辆详情查询失败"),
|
||||
/* 47 */ CODE_QUERY_ERROR("10001063", "查询失败"),
|
||||
/* 48 */ LABEL_SIZE_FAILED("10001067", "库名称超过最大长度"),
|
||||
/* 49 */ PLATE_NO_DUPLICATE("10001070", "车牌号重复添加"),
|
||||
/* 50 */ VEHICLE_ADD_ERROR("10001071", "车辆添加失败"),
|
||||
/* 51 */ VEHICLE_PROPERTY_UNQUALIFIED("10001087", "车辆属性不合格"),
|
||||
/* 52 */ PLATE_NO_INVALID("10005202", "车牌号无效"),
|
||||
/* 53 */ VEHICLE_TYPE_INVALID("10005203", "车牌类型无效"),
|
||||
/* 54 */ VEHICLE_BRAND_INVALID("10005204", "车辆品牌无效"),
|
||||
/* 55 */ VEHICLE_EDIT_FAIL("10001069", "车辆编辑失败"),
|
||||
/* 56 */ VEHICLE_DELETE_ERROR("10001076", "车辆删除失败"),
|
||||
/* 57 */ VEHICLE_PAGE_FAILED("10001064", "车辆分页查询失败"),
|
||||
/* 58 */ VEHICLE_LIST_FAILED("10001065", "车辆LIST查询失败"),
|
||||
/* 59 */ LABEL_BIND_VEHICLE("10001058", "该标签已被绑定具体车辆"),
|
||||
/* 60 */ EMPTY_PIC_NAME("10001059", "图片地址为空"),
|
||||
/* 61 */ PICTURE_FAILED("10001070", "图片不合法"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 66 */ LABEL_BIND_PERSON("10002058", "该标签已被绑定具体人员"),
|
||||
/* 67 */ LABEL_BIND_FIELD("10002059", "该标签绑定人员失败"),
|
||||
/* 68 */ PERSON_PROPERTY_UNQUALIFIED("10002087", "人脸属性不合格"),
|
||||
/* 69 */ PERSON_PIC_UNQUALIFIED("10002088", "人脸图片不合格"),
|
||||
/* 70 */ PERSON_ORG_ADD_FEILD("10002089", "人员管理添加人员失败"),
|
||||
/* 71 */ PERSON_ADD_ERROR("10002071", "人员添加失败"),
|
||||
/* 72 */ PERSON_DUPLICATE("10002070", "人员重复添加"),
|
||||
/* 73 */ PHONE_NO_INVALID("10005205", "手机号无效"),
|
||||
/* 74 */ CARD_NO_INVALID("10005206", "身份证无效"),
|
||||
/* 75 */ NAME_NO_INVALID("10005207", "名称无效"),
|
||||
/* 76 */ CARD_NO_DUPLICATE("10005208", "身份证重复添加"),
|
||||
/* 77 */ PERSON_EDIT_FAIL("10002069", "人员编辑失败"),
|
||||
/* 78 */ PERSON_DELETE_ERROR("10002076", "人员删除失败"),
|
||||
/* 79 */ PERSON_PAGE_FAILED("10002064", "人员分页查询失败"),
|
||||
/* 80 */ PERSON_LIST_FAILED("10002065", "人员LIST查询失败"),
|
||||
/* 81 */ ORGANIZATION_PERSONS_EMPTY("10002066", "人员管理人员信息为空"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 85 */ FILE_TYPE_IS_INVALID("53060429", "上传文件类型不合法"),
|
||||
/* 86 */ FILE_MAX_IS_ERROR("53060428", "上传文件超过最大大小"),
|
||||
/* 87 */ FILE_UPLOAD_CONTROLLER_ERROR("80014013", "模块文件上传异常"),
|
||||
/* 88 */ PIC_DELETE_ERROR("10001084", "图片删除失败"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 93 */ EXPORT_TASK_DOWNLOAD_CENTER_FAILURE("36000008", "下载中心创建下载任务失败"),
|
||||
/* 94 */ EXPORT_TASK_FAILURE("36000009", "添加导出任务失败"),
|
||||
/* 95 */ EXPORT_TASK_TYPE_ERROR("36000010", "导出任务类型错误"),
|
||||
/* 96 */ EXPORT_TASK_OVERLOAD_THRESHOLD("36000011", "查询导出记录超过设定阈值");
|
||||
/* */
|
||||
/* */ private String code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ AlarmStateCodeEnum(String code, String message) {
|
||||
/* 103 */ this.code = code;
|
||||
/* 104 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 108 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 112 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\AlarmStateCodeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AlarmStateCodeEnum
|
||||
{
|
||||
OPERATION_FAILED("36000001", "操作失败"),
|
||||
EMPTY_PARAMETERS_WRONG("36000002", "参数不能为空"),
|
||||
INSERT_DATABSE_EREEOR("36000003", "插入数据库异常"),
|
||||
EMPTY_USER_ID("36000004", "ID不能为空"),
|
||||
PARAM_ERROR("36000005", "参数不符合要求"),
|
||||
SEARCH_INFORMATION_FAILED("36000006", "查询信息失败"),
|
||||
TASK_NAME_EXIST("36000007", "布控名称重复"),
|
||||
TASK_TYPE_NAME_EXIST("36000012", "布控类型名称重复"),
|
||||
DELETE_NOT_EXIST("36000008", "被删除资源不存在"),
|
||||
CONTROL_TASK_TYPE_HAS_TASK("36000009", "存在关联任务"),
|
||||
SAVE_TASK_TYPE_ERROR("36000010", "保存区控类型失败"),
|
||||
UPDATE_TASK_TYPE_ERROR("36000011", "更新区控类型失败"),
|
||||
FILE_SIZE_ILLEGAL("3600030", "文件大小超过"),
|
||||
WRONG_PARAMETERS("400", "参数错误"),
|
||||
SERVER_EXCEPTION("500", "服务器异常"),
|
||||
SUCCESS("00000000", "成功"),
|
||||
CWOS_FEIGN_FAILED("36000007", "调用cwos接口异常"),
|
||||
PAGE_QUERY_FAILED("36000008", "分页查询失败"),
|
||||
PARAM_REPEAT("36000009", "证件类型+证件号重复"),
|
||||
CONTROL_TASK_ID_NOT_EXIST("36000010", "任务编号不存在"),
|
||||
DEVICE_NOT_EXIST("36000011", "回放链接已失效"),
|
||||
|
||||
|
||||
|
||||
|
||||
LABEL_NAME_DUPLICATE_FAILED("10001056", "库名称重复"),
|
||||
LABEL_NAME_INVALID("10001050", "库名称无效"),
|
||||
LABEL_QUERY_FAILED("10001051", "标签查询失败"),
|
||||
LABEL_SAVE_FAILED("10001052", "标签保存失败"),
|
||||
LABEL_UPDATE_FAILED("10001053", "标签更新失败"),
|
||||
LABEL_DELETE_FAILED("10001054", "标签删除失败"),
|
||||
EMPTY_LABEL_NAME("10001055", "标签名称为空"),
|
||||
LABEL_PAGE_FAILED("10001055", "分页查询标签异常"),
|
||||
LABEL_LIST_FAILED("10001057", "列表查询标签异常"),
|
||||
LABEL_BRAND_FAILED("10001060", "查询车辆品牌异常"),
|
||||
VEHICLE_TYPE_FAILED("10001061", "查询车辆类型异常"),
|
||||
VEHICLE_DETAIL_ERROR("10001062", "车辆详情查询失败"),
|
||||
CODE_QUERY_ERROR("10001063", "查询失败"),
|
||||
LABEL_SIZE_FAILED("10001067", "库名称超过最大长度"),
|
||||
PLATE_NO_DUPLICATE("10001070", "车牌号重复添加"),
|
||||
VEHICLE_ADD_ERROR("10001071", "车辆添加失败"),
|
||||
VEHICLE_PROPERTY_UNQUALIFIED("10001087", "车辆属性不合格"),
|
||||
PLATE_NO_INVALID("10005202", "车牌号无效"),
|
||||
VEHICLE_TYPE_INVALID("10005203", "车牌类型无效"),
|
||||
VEHICLE_BRAND_INVALID("10005204", "车辆品牌无效"),
|
||||
VEHICLE_EDIT_FAIL("10001069", "车辆编辑失败"),
|
||||
VEHICLE_DELETE_ERROR("10001076", "车辆删除失败"),
|
||||
VEHICLE_PAGE_FAILED("10001064", "车辆分页查询失败"),
|
||||
VEHICLE_LIST_FAILED("10001065", "车辆LIST查询失败"),
|
||||
LABEL_BIND_VEHICLE("10001058", "该标签已被绑定具体车辆"),
|
||||
EMPTY_PIC_NAME("10001059", "图片地址为空"),
|
||||
PICTURE_FAILED("10001070", "图片不合法"),
|
||||
|
||||
|
||||
|
||||
|
||||
LABEL_BIND_PERSON("10002058", "该标签已被绑定具体人员"),
|
||||
LABEL_BIND_FIELD("10002059", "该标签绑定人员失败"),
|
||||
PERSON_PROPERTY_UNQUALIFIED("10002087", "人脸属性不合格"),
|
||||
PERSON_PIC_UNQUALIFIED("10002088", "人脸图片不合格"),
|
||||
PERSON_ORG_ADD_FEILD("10002089", "人员管理添加人员失败"),
|
||||
PERSON_ADD_ERROR("10002071", "人员添加失败"),
|
||||
PERSON_DUPLICATE("10002070", "人员重复添加"),
|
||||
PHONE_NO_INVALID("10005205", "手机号无效"),
|
||||
CARD_NO_INVALID("10005206", "身份证无效"),
|
||||
NAME_NO_INVALID("10005207", "名称无效"),
|
||||
CARD_NO_DUPLICATE("10005208", "身份证重复添加"),
|
||||
PERSON_EDIT_FAIL("10002069", "人员编辑失败"),
|
||||
PERSON_DELETE_ERROR("10002076", "人员删除失败"),
|
||||
PERSON_PAGE_FAILED("10002064", "人员分页查询失败"),
|
||||
PERSON_LIST_FAILED("10002065", "人员LIST查询失败"),
|
||||
ORGANIZATION_PERSONS_EMPTY("10002066", "人员管理人员信息为空"),
|
||||
|
||||
|
||||
|
||||
FILE_TYPE_IS_INVALID("53060429", "上传文件类型不合法"),
|
||||
FILE_MAX_IS_ERROR("53060428", "上传文件超过最大大小"),
|
||||
FILE_UPLOAD_CONTROLLER_ERROR("80014013", "模块文件上传异常"),
|
||||
PIC_DELETE_ERROR("10001084", "图片删除失败"),
|
||||
|
||||
|
||||
|
||||
|
||||
EXPORT_TASK_DOWNLOAD_CENTER_FAILURE("36000008", "下载中心创建下载任务失败"),
|
||||
EXPORT_TASK_FAILURE("36000009", "添加导出任务失败"),
|
||||
EXPORT_TASK_TYPE_ERROR("36000010", "导出任务类型错误"),
|
||||
EXPORT_TASK_OVERLOAD_THRESHOLD("36000011", "查询导出记录超过设定阈值");
|
||||
|
||||
private String code;
|
||||
|
||||
private String message;
|
||||
|
||||
AlarmStateCodeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+60
-64
@@ -1,64 +1,60 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum CompareTypeEnum
|
||||
/* */ {
|
||||
/* 16 */ RECOG(Integer.valueOf(1), "1:N比对"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 21 */ PERSON_CARD(Integer.valueOf(2), "人证比对"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 26 */ ACS_BACK_RECOG(Integer.valueOf(3), "门禁1:N比对"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 31 */ APP_BACK_RECOG(Integer.valueOf(4), "应用端1:N比对");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ CompareTypeEnum(Integer code, String message) {
|
||||
/* 38 */ this.code = code;
|
||||
/* 39 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static CompareTypeEnum getEnumByCode(Integer code) {
|
||||
/* 43 */ for (CompareTypeEnum item : values()) {
|
||||
/* 44 */ if (code.equals(item.getCode())) {
|
||||
/* 45 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 48 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 52 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 56 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\CompareTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum CompareTypeEnum
|
||||
{
|
||||
RECOG(Integer.valueOf(1), "1:N比对"),
|
||||
|
||||
|
||||
|
||||
|
||||
PERSON_CARD(Integer.valueOf(2), "人证比对"),
|
||||
|
||||
|
||||
|
||||
|
||||
ACS_BACK_RECOG(Integer.valueOf(3), "门禁1:N比对"),
|
||||
|
||||
|
||||
|
||||
|
||||
APP_BACK_RECOG(Integer.valueOf(4), "应用端1:N比对");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
CompareTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static CompareTypeEnum getEnumByCode(Integer code) {
|
||||
for (CompareTypeEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+144
-148
@@ -1,148 +1,144 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum EngineAddressEnum
|
||||
/* */ {
|
||||
/* 15 */ PORTAL_USER_PAGE("用户查询接口", "/portal/user/manage/page"),
|
||||
/* 16 */ PERSON_PROPERTIES_LIST("查询商户对应的员工属性", "/component/person/properties/list"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 21 */ NINCACOMMON_AREA_GET_ALL_TREE("获取区域树状结构", "/sysetting/deviceArea/tree"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 26 */ COMMON_VEHICLE_GET_ALL_LABLES("获取车辆管理标签信息", "/vm/label/list"),
|
||||
/* 27 */ COMMON_VEHICLE_VM_VEHICLE_LABELREF("获取车辆管理车辆分页信息", "/vm/vehicle/control/labelRef"),
|
||||
/* 28 */ COMMON_VEHICLE_VM_VEHICLE_LIST("批量获取车辆管理车辆信息", "/vm/vehicle/list"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 33 */ CWOS_DEVICE_GET("设备列表查询", "/component/device/list"),
|
||||
/* 34 */ CW0S_DEVICE_DETAIL("设备详情", "/core/atomic/device/detail"),
|
||||
/* 35 */ CWOS_DEVICE_SETTING("下发参数到设备", "/server/push/55000"),
|
||||
/* 36 */ CWOS_AREA_GET_ALL_TREE("获取区域树状结构", "/component/device/area/get/alltree"),
|
||||
/* 37 */ CWOS_QUERY_DEVICE_APPLICATION("查询设备与应用关联列表", "/component/device/app/list"),
|
||||
/* 38 */ CWOS_BIND_DEVICE_APPLICATION("绑定设备与应用", "/component/device/app/add"),
|
||||
/* 39 */ CWOS_SPLIT_DEVICE_APPLICATION("解绑设备与应用", "/component/device/app/delete"),
|
||||
/* 40 */ CWOS_QUERY_APPLICATION_ID("查询应用ID", "/res/application/instance/query"),
|
||||
/* 41 */ CWOS_BIND_DEVICE_IMAGESTORE("绑定图库与设备", "/component/device/imagestore/add"),
|
||||
/* 42 */ CWOS_SPLIT_DEVICE_IMAGESTORE("解除绑定图库与设备", "/component/device/imagestore/delete"),
|
||||
/* 43 */ CWOS_BIND_IMAGESTORE_APPLICATION("绑定图库与应用", "/core/application/group/add"),
|
||||
/* 44 */ CWOS_SPLIT_IMAGESTORE_APPLICATION("解绑图库与应用", "/core/application/group/delete"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 49 */ CWOS_ORGANIZATION_TREE("查询机构树型结构", "/component/organization/tree"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 54 */ CWOS_BIOLOGY_IMAGE_COMPARE("单库或多库比对", "/component/biology/tool/feature/query"),
|
||||
/* 55 */ CWOS_BIOLOGY_PERSON_DETAIL("查询人员信息详情", "/component/person/detail"),
|
||||
/* 56 */ CWOS_BIOLOGY_PERSON_LIST("查询人员信息", "/component/person/listPerson"),
|
||||
/* 57 */ CWOS_BIOLOGY_IMAGESTORE_ADD("新增图库", "/component/imagestore/add"),
|
||||
/* 58 */ CWOS_BIOLOGY_IMAGESTORE_EDIT("编辑图库", "/component/imagestore/edit"),
|
||||
/* 59 */ CWOS_BIOLOGY_IMAGESTORE_LIST("查询图库", "/component/imagestore/list"),
|
||||
/* 60 */ COWS_BIOLOGY_IMAGESTORE_DELETE("删除图库", "/component/imagestore/delete"),
|
||||
/* 61 */ CWOS_BIOLOGY_IMAGESTORE_DETAIL("图库详情", "/component/imagestore/detail"),
|
||||
/* 62 */ CWOS_BIOLOGY_PERSON_PAGE("分页查询人员", "/component/person/page"),
|
||||
/* 63 */ CWOS_BIOLOGY_PERSON_ADD("新增人员", "/component/person/add"),
|
||||
/* 64 */ CWOS_BIOLOGY_PERSON_EDIT("编辑人员", "/component/person/edit"),
|
||||
/* 65 */ CWOS_BIOLOGY_PERSON_DELETE("删除人员", "/component/person/delete"),
|
||||
/* 66 */ CWOS_BIOLOGY_LABEL_GETALLLABELS("查询标签列表", "/biology/label/getAllLabels"),
|
||||
/* 67 */ CWOS_BIOLOGY_LABLE_ADD("新增标签", "/biology/label/add"),
|
||||
/* 68 */ CWOS_BIOLOGY_LABLE_EDIT("编辑标签", "/biology/label/edit"),
|
||||
/* 69 */ CWOS_BIOLOGY_LABLE_DELETE("删除标签", "/biology/label/delete"),
|
||||
/* 70 */ CWOS_BIOLOGY_LABLE_PERSONS_ADD("标签人员新增", "/biology/label/personsAdd"),
|
||||
/* 71 */ CWOS_BIOLOGY_LABLE_PERSONS_DEL("标签人员删除", "/biology/label/personsDel"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 76 */ CWOS_FILE_UPLOAD("文件上传", "/portal/fileManager/{moduleCategory}/fileUpload"),
|
||||
/* 77 */ CWOS_FILE_DELETE("文件删除", "/portal/fileManager/remove/images"),
|
||||
/* 78 */ CWOS_FILE_PART_INIT("分片上传文件初始化", "/portal/file/part/init"),
|
||||
/* 79 */ CWOS_FILE_PART_FINISH("分片上传文件结束", "/portal/file/part/finish"),
|
||||
/* 80 */ CWOS_FILE_APPEND("文件追加", "/portal/file/part/append"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 87 */ PINEAPPLE_FACE_FEATURE_GET("人脸特征提取", "staticdb/search/feature"),
|
||||
/* 88 */ PINEAPPLE_FACE_SEARCH_MULTIPLE("多库人脸检索", "staticdb/search/multiple"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 92 */ PINEAPPLE_STRUCTURE_ATTRIBUTE("全结构化属性", "structure/recognize"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 97 */ PINEAPPLE_CLUSTER_FACE_ADD("特征入库", "api/cluster/feature/add"),
|
||||
/* 98 */ PINEAPPLE_CLUSTER_START_DEVICE("按groupId聚类", "api/cluster/doClusterByDeviceId"),
|
||||
/* 99 */ PINEAPPLE_CLUSTER_GET_TASK_INFO("获取聚类任务信息", "api/cluster/getAllTaskInfo"),
|
||||
/* 100 */ PINEAPPLE_CLUSTER_STOP("停止聚类", "api/cluster/stopIncreCluster"),
|
||||
/* 101 */ PINEAPPLE_CLUSTER_GROUP_REMOVE("删除聚类库", "api/cluster/group/base/remove"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 106 */ PINEAPPLE_ENGINE_PAGE_INFO("引擎分页查询", "gateway/config/server/getbypage"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 111 */ SEND_MESSAGE_TO_MQTT("发送数据到mqtt", "mqtt/publish"),
|
||||
/* 112 */ GET_ALIVE_CLIENTS_OF_MQTT("获得所有存活的客户端", "mqtt/getClients"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 117 */ ALARM_OCCUR("声光报警器触发", "mqtt/publish"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 122 */ VISITOR_QUERY("查询识别记录详情", "/intelligent/visitor/record/query");
|
||||
/* */
|
||||
/* */ private final String api;
|
||||
/* */
|
||||
/* */ private final String address;
|
||||
/* */
|
||||
/* */
|
||||
/* */ EngineAddressEnum(String api, String address) {
|
||||
/* 130 */ this.api = api;
|
||||
/* 131 */ this.address = address;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getApi() {
|
||||
/* 135 */ return this.api;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getAddress() {
|
||||
/* 140 */ return this.address;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\EngineAddressEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum EngineAddressEnum
|
||||
{
|
||||
PORTAL_USER_PAGE("用户查询接口", "/portal/user/manage/page"),
|
||||
PERSON_PROPERTIES_LIST("查询商户对应的员工属性", "/component/person/properties/list"),
|
||||
|
||||
|
||||
|
||||
|
||||
NINCACOMMON_AREA_GET_ALL_TREE("获取区域树状结构", "/sysetting/deviceArea/tree"),
|
||||
|
||||
|
||||
|
||||
|
||||
COMMON_VEHICLE_GET_ALL_LABLES("获取车辆管理标签信息", "/vm/label/list"),
|
||||
COMMON_VEHICLE_VM_VEHICLE_LABELREF("获取车辆管理车辆分页信息", "/vm/vehicle/control/labelRef"),
|
||||
COMMON_VEHICLE_VM_VEHICLE_LIST("批量获取车辆管理车辆信息", "/vm/vehicle/list"),
|
||||
|
||||
|
||||
|
||||
|
||||
CWOS_DEVICE_GET("设备列表查询", "/component/device/list"),
|
||||
CW0S_DEVICE_DETAIL("设备详情", "/core/atomic/device/detail"),
|
||||
CWOS_DEVICE_SETTING("下发参数到设备", "/server/push/55000"),
|
||||
CWOS_AREA_GET_ALL_TREE("获取区域树状结构", "/component/device/area/get/alltree"),
|
||||
CWOS_QUERY_DEVICE_APPLICATION("查询设备与应用关联列表", "/component/device/app/list"),
|
||||
CWOS_BIND_DEVICE_APPLICATION("绑定设备与应用", "/component/device/app/add"),
|
||||
CWOS_SPLIT_DEVICE_APPLICATION("解绑设备与应用", "/component/device/app/delete"),
|
||||
CWOS_QUERY_APPLICATION_ID("查询应用ID", "/res/application/instance/query"),
|
||||
CWOS_BIND_DEVICE_IMAGESTORE("绑定图库与设备", "/component/device/imagestore/add"),
|
||||
CWOS_SPLIT_DEVICE_IMAGESTORE("解除绑定图库与设备", "/component/device/imagestore/delete"),
|
||||
CWOS_BIND_IMAGESTORE_APPLICATION("绑定图库与应用", "/core/application/group/add"),
|
||||
CWOS_SPLIT_IMAGESTORE_APPLICATION("解绑图库与应用", "/core/application/group/delete"),
|
||||
|
||||
|
||||
|
||||
|
||||
CWOS_ORGANIZATION_TREE("查询机构树型结构", "/component/organization/tree"),
|
||||
|
||||
|
||||
|
||||
|
||||
CWOS_BIOLOGY_IMAGE_COMPARE("单库或多库比对", "/component/biology/tool/feature/query"),
|
||||
CWOS_BIOLOGY_PERSON_DETAIL("查询人员信息详情", "/component/person/detail"),
|
||||
CWOS_BIOLOGY_PERSON_LIST("查询人员信息", "/component/person/listPerson"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_ADD("新增图库", "/component/imagestore/add"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_EDIT("编辑图库", "/component/imagestore/edit"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_LIST("查询图库", "/component/imagestore/list"),
|
||||
COWS_BIOLOGY_IMAGESTORE_DELETE("删除图库", "/component/imagestore/delete"),
|
||||
CWOS_BIOLOGY_IMAGESTORE_DETAIL("图库详情", "/component/imagestore/detail"),
|
||||
CWOS_BIOLOGY_PERSON_PAGE("分页查询人员", "/component/person/page"),
|
||||
CWOS_BIOLOGY_PERSON_ADD("新增人员", "/component/person/add"),
|
||||
CWOS_BIOLOGY_PERSON_EDIT("编辑人员", "/component/person/edit"),
|
||||
CWOS_BIOLOGY_PERSON_DELETE("删除人员", "/component/person/delete"),
|
||||
CWOS_BIOLOGY_LABEL_GETALLLABELS("查询标签列表", "/biology/label/getAllLabels"),
|
||||
CWOS_BIOLOGY_LABLE_ADD("新增标签", "/biology/label/add"),
|
||||
CWOS_BIOLOGY_LABLE_EDIT("编辑标签", "/biology/label/edit"),
|
||||
CWOS_BIOLOGY_LABLE_DELETE("删除标签", "/biology/label/delete"),
|
||||
CWOS_BIOLOGY_LABLE_PERSONS_ADD("标签人员新增", "/biology/label/personsAdd"),
|
||||
CWOS_BIOLOGY_LABLE_PERSONS_DEL("标签人员删除", "/biology/label/personsDel"),
|
||||
|
||||
|
||||
|
||||
|
||||
CWOS_FILE_UPLOAD("文件上传", "/portal/fileManager/{moduleCategory}/fileUpload"),
|
||||
CWOS_FILE_DELETE("文件删除", "/portal/fileManager/remove/images"),
|
||||
CWOS_FILE_PART_INIT("分片上传文件初始化", "/portal/file/part/init"),
|
||||
CWOS_FILE_PART_FINISH("分片上传文件结束", "/portal/file/part/finish"),
|
||||
CWOS_FILE_APPEND("文件追加", "/portal/file/part/append"),
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PINEAPPLE_FACE_FEATURE_GET("人脸特征提取", "staticdb/search/feature"),
|
||||
PINEAPPLE_FACE_SEARCH_MULTIPLE("多库人脸检索", "staticdb/search/multiple"),
|
||||
|
||||
|
||||
|
||||
PINEAPPLE_STRUCTURE_ATTRIBUTE("全结构化属性", "structure/recognize"),
|
||||
|
||||
|
||||
|
||||
|
||||
PINEAPPLE_CLUSTER_FACE_ADD("特征入库", "api/cluster/feature/add"),
|
||||
PINEAPPLE_CLUSTER_START_DEVICE("按groupId聚类", "api/cluster/doClusterByDeviceId"),
|
||||
PINEAPPLE_CLUSTER_GET_TASK_INFO("获取聚类任务信息", "api/cluster/getAllTaskInfo"),
|
||||
PINEAPPLE_CLUSTER_STOP("停止聚类", "api/cluster/stopIncreCluster"),
|
||||
PINEAPPLE_CLUSTER_GROUP_REMOVE("删除聚类库", "api/cluster/group/base/remove"),
|
||||
|
||||
|
||||
|
||||
|
||||
PINEAPPLE_ENGINE_PAGE_INFO("引擎分页查询", "gateway/config/server/getbypage"),
|
||||
|
||||
|
||||
|
||||
|
||||
SEND_MESSAGE_TO_MQTT("发送数据到mqtt", "mqtt/publish"),
|
||||
GET_ALIVE_CLIENTS_OF_MQTT("获得所有存活的客户端", "mqtt/getClients"),
|
||||
|
||||
|
||||
|
||||
|
||||
ALARM_OCCUR("声光报警器触发", "mqtt/publish"),
|
||||
|
||||
|
||||
|
||||
|
||||
VISITOR_QUERY("查询识别记录详情", "/intelligent/visitor/record/query");
|
||||
|
||||
private final String api;
|
||||
|
||||
private final String address;
|
||||
|
||||
|
||||
EngineAddressEnum(String api, String address) {
|
||||
this.api = api;
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getApi() {
|
||||
return this.api;
|
||||
}
|
||||
|
||||
|
||||
public String getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+95
-99
@@ -1,99 +1,95 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum OpenDoorTypeEnum
|
||||
/* */ {
|
||||
/* 17 */ FACE("FACE", "人脸开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 21 */ APP("APP", "远程开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 25 */ GUARD_CARD("GUARD_CARD", "门禁卡开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 29 */ PASSWORD("PASSWORD", "密码开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 33 */ ID_CARD("ID_CARD", "身份证开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 37 */ FACE_GUARD_CARD("FACE_GUARD_CARD", "人脸门禁卡开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 41 */ INTERCOM("INTERCOM", "室内机开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 46 */ ONE("01", "人脸开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 51 */ TWO("02", "门禁卡开门"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 55 */ THREE("03", "二维码开门");
|
||||
/* */
|
||||
/* */
|
||||
/* */ private String code;
|
||||
/* */
|
||||
/* */ private String remark;
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 64 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getRemark() {
|
||||
/* 68 */ return this.remark;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ OpenDoorTypeEnum(String code, String remark) {
|
||||
/* 72 */ this.code = code;
|
||||
/* 73 */ this.remark = remark;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static String getEnumByCode(String code) {
|
||||
/* 77 */ for (OpenDoorTypeEnum item : values()) {
|
||||
/* 78 */ if (code.equals(item.code) || code.toUpperCase().equals(item.code)) {
|
||||
/* 79 */ return item.remark;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 82 */ return code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static OpenDoorTypeEnum getOpenDoorTypeEnumByCode(String code) {
|
||||
/* 86 */ for (OpenDoorTypeEnum item : values()) {
|
||||
/* 87 */ if (code.equals(item.code) || code.toUpperCase().equals(item.code)) {
|
||||
/* 88 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 91 */ return null;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\OpenDoorTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum OpenDoorTypeEnum
|
||||
{
|
||||
FACE("FACE", "人脸开门"),
|
||||
|
||||
|
||||
|
||||
APP("APP", "远程开门"),
|
||||
|
||||
|
||||
|
||||
GUARD_CARD("GUARD_CARD", "门禁卡开门"),
|
||||
|
||||
|
||||
|
||||
PASSWORD("PASSWORD", "密码开门"),
|
||||
|
||||
|
||||
|
||||
ID_CARD("ID_CARD", "身份证开门"),
|
||||
|
||||
|
||||
|
||||
FACE_GUARD_CARD("FACE_GUARD_CARD", "人脸门禁卡开门"),
|
||||
|
||||
|
||||
|
||||
INTERCOM("INTERCOM", "室内机开门"),
|
||||
|
||||
|
||||
|
||||
|
||||
ONE("01", "人脸开门"),
|
||||
|
||||
|
||||
|
||||
|
||||
TWO("02", "门禁卡开门"),
|
||||
|
||||
|
||||
|
||||
THREE("03", "二维码开门");
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
private String remark;
|
||||
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
OpenDoorTypeEnum(String code, String remark) {
|
||||
this.code = code;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public static String getEnumByCode(String code) {
|
||||
for (OpenDoorTypeEnum item : values()) {
|
||||
if (code.equals(item.code) || code.toUpperCase().equals(item.code)) {
|
||||
return item.remark;
|
||||
}
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
public static OpenDoorTypeEnum getOpenDoorTypeEnumByCode(String code) {
|
||||
for (OpenDoorTypeEnum item : values()) {
|
||||
if (code.equals(item.code) || code.toUpperCase().equals(item.code)) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-55
@@ -1,55 +1,51 @@
|
||||
/* */ package cn.cloudwalk.elevator.em;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum YesNoTypeEnum
|
||||
/* */ {
|
||||
/* 17 */ N(Integer.valueOf(0), "否"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 22 */ Y(Integer.valueOf(1), "是");
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */ YesNoTypeEnum(Integer code, String message) {
|
||||
/* 29 */ this.code = code;
|
||||
/* 30 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static YesNoTypeEnum getEnumByCode(Integer code) {
|
||||
/* 34 */ for (YesNoTypeEnum item : values()) {
|
||||
/* 35 */ if (code.equals(item.getCode())) {
|
||||
/* 36 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 39 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 43 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 47 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\em\YesNoTypeEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.em;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum YesNoTypeEnum
|
||||
{
|
||||
N(Integer.valueOf(0), "否"),
|
||||
|
||||
|
||||
|
||||
|
||||
Y(Integer.valueOf(1), "是");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
YesNoTypeEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static YesNoTypeEnum getEnumByCode(Integer code) {
|
||||
for (YesNoTypeEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+62
-66
@@ -1,66 +1,62 @@
|
||||
/* */ package cn.cloudwalk.elevator.util;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsCacheKeyUtil
|
||||
/* */ {
|
||||
/* */ public static String getOpenDoorCountKey(String date, String businessId) {
|
||||
/* 25 */ return "elevator:passCount:" + date + ":" + businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static String getRecogCountKey(String date, String businessId) {
|
||||
/* 36 */ return "acs_recogCount_" + date + "_" + businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static String getBackendRegLogIdKey(String deviceCode, String businessId, String captureId) {
|
||||
/* 47 */ return "acs:backendRegLogId:" + deviceCode + "_" + businessId + "_" + captureId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static String getBackendRegExpireKey(String businessId, String openDoorLogId) {
|
||||
/* 58 */ return "acs:backendRegExpire:#" + businessId + "#" + openDoorLogId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevato\\util\AcsCacheKeyUtil.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1169
-1173
File diff suppressed because it is too large
Load Diff
+399
-403
@@ -1,403 +1,399 @@
|
||||
/* */ package cn.cloudwalk.elevator.util;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class CommunityConstants
|
||||
/* */ {
|
||||
/* */ 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 = "门禁";
|
||||
/* 41 */ public static final Integer ACCESS_AUTO = Integer.valueOf(0);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 46 */ public static final Integer ONE_HUNDRED = Integer.valueOf(100);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 51 */ public static final Integer BATCH_SIZE = Integer.valueOf(500);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 56 */ public static final Integer MAX_SHOW_CAPTURE = Integer.valueOf(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";
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ 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 Symbol
|
||||
/* */ {
|
||||
/* */ public static final String COMMA = ",";
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String HYPHEN = "-";
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String COLON = ":";
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static interface Alarm
|
||||
/* */ {
|
||||
/* 123 */ public static final Integer IN = Integer.valueOf(1);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 128 */ public static final Integer OUT = Integer.valueOf(0);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String STRANGER = "STRANGER";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String BLACK_LIST = "BLACK_LIST";
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static interface Redis
|
||||
/* */ {
|
||||
/* */ public static final String EVENT_CODE_INC_KEY = "EVENT_CODE:INC_KEY";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 154 */ public static final Integer EVENT_CODE_INC_MAX_VALUE = Integer.valueOf(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";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 209 */ public static final Long VALUE_CHANGE_EXPIRE_TIME = Long.valueOf(1L);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String PROVINCE_TREE = "tree:province:level:%s";
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static interface Data
|
||||
/* */ {
|
||||
/* */ public static final String MALE = "男";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static final String FEMALE = "女";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ 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";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 259 */ public static final Integer TOP_VALUE = Integer.valueOf(1);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 264 */ public static final Integer NO_TOP_VALUE = Integer.valueOf(0);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 269 */ public static final Integer PUBLISH_STATUS_1 = Integer.valueOf(1);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 273 */ public static final Integer PUBLISH_STATUS_2 = Integer.valueOf(2);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 278 */ public static final Integer PUBLISH_STATUS_3 = Integer.valueOf(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 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 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";
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 384 */ public static final Integer MAX_DOWNLOAD_SIZE = Integer.valueOf(16000000);
|
||||
/* */ public static final String OFFSET = "&offset=";
|
||||
/* */ public static final String SIZE = "&size=";
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ 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;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevato\\util\CommunityConstants.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class CommunityConstants
|
||||
{
|
||||
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 = "门禁";
|
||||
public static final Integer ACCESS_AUTO = Integer.valueOf(0);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer ONE_HUNDRED = Integer.valueOf(100);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer BATCH_SIZE = Integer.valueOf(500);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer MAX_SHOW_CAPTURE = Integer.valueOf(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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
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 Symbol
|
||||
{
|
||||
public static final String COMMA = ",";
|
||||
|
||||
|
||||
public static final String HYPHEN = "-";
|
||||
|
||||
|
||||
public static final String COLON = ":";
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static interface Alarm
|
||||
{
|
||||
public static final Integer IN = Integer.valueOf(1);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer OUT = Integer.valueOf(0);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static final String STRANGER = "STRANGER";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static final String BLACK_LIST = "BLACK_LIST";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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 = Integer.valueOf(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 = Long.valueOf(1L);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static final String PROVINCE_TREE = "tree:province:level:%s";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static interface Data
|
||||
{
|
||||
public static final String MALE = "男";
|
||||
|
||||
|
||||
|
||||
|
||||
public static final String FEMALE = "女";
|
||||
|
||||
|
||||
|
||||
|
||||
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 = Integer.valueOf(1);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer NO_TOP_VALUE = Integer.valueOf(0);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer PUBLISH_STATUS_1 = Integer.valueOf(1);
|
||||
|
||||
|
||||
|
||||
public static final Integer PUBLISH_STATUS_2 = Integer.valueOf(2);
|
||||
|
||||
|
||||
|
||||
|
||||
public static final Integer PUBLISH_STATUS_3 = Integer.valueOf(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 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 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 = Integer.valueOf(16000000);
|
||||
public static final String OFFSET = "&offset=";
|
||||
public static final String SIZE = "&size=";
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+664
-668
File diff suppressed because it is too large
Load Diff
+92
-96
@@ -1,96 +1,92 @@
|
||||
/* */ package cn.cloudwalk.elevator.util;
|
||||
/* */
|
||||
/* */ 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
|
||||
/* */ {
|
||||
/* 25 */ private static final Logger log = LoggerFactory.getLogger(JsonUtils.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 31 */ private static final Logger logger = LoggerFactory.getLogger(DateUtils.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static String toJson(Object obj) {
|
||||
/* 35 */ ObjectMapper mapper = objectMapper();
|
||||
/* */ try {
|
||||
/* 37 */ return mapper.writeValueAsString(obj);
|
||||
/* 38 */ } catch (JsonProcessingException e) {
|
||||
/* 39 */ logger.warn("json parase exception :{}", e.getMessage());
|
||||
/* */
|
||||
/* 41 */ return null;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ public static <T> T toObj(String json, Class<T> clazz) {
|
||||
/* 45 */ ObjectMapper mapper = objectMapper();
|
||||
/* 46 */ T value = null;
|
||||
/* */ try {
|
||||
/* 48 */ value = (T)mapper.readValue(json, clazz);
|
||||
/* 49 */ } catch (IOException e) {
|
||||
/* 50 */ logger.warn("json parase exception :{}", e.getMessage());
|
||||
/* */ }
|
||||
/* 52 */ return value;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static <T> T toObj(String json, TypeReference<T> tTypeReference) {
|
||||
/* 57 */ ObjectMapper mapper = objectMapper();
|
||||
/* 58 */ T value = null;
|
||||
/* */ try {
|
||||
/* 60 */ value = (T)mapper.readValue(json, tTypeReference);
|
||||
/* 61 */ } catch (IOException e) {
|
||||
/* 62 */ logger.warn("json parase exception :{}", e.getMessage());
|
||||
/* */ }
|
||||
/* 64 */ return value;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static <T> List<T> toObjList(String json, Class<T> clazz) {
|
||||
/* 69 */ ObjectMapper mapper = objectMapper();
|
||||
/* 70 */ List<T> value = null;
|
||||
/* */ try {
|
||||
/* 72 */ JavaType jt = mapper.getTypeFactory().constructParametricType(ArrayList.class, new Class[] { clazz });
|
||||
/* 73 */ value = (List<T>)mapper.readValue(json, jt);
|
||||
/* 74 */ } catch (IOException e) {
|
||||
/* 75 */ logger.warn("json parase exception :{}", e.getMessage());
|
||||
/* */ }
|
||||
/* 77 */ return value;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static ObjectMapper objectMapper() {
|
||||
/* 83 */ ObjectMapper mapper = new ObjectMapper();
|
||||
/* 84 */ mapper.registerModule((Module)new JavaTimeModule());
|
||||
/* 85 */ mapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
|
||||
/* 86 */ mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
/* 87 */ mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
|
||||
/* 88 */ return mapper;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevato\\util\JsonUtils.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
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 = objectMapper();
|
||||
try {
|
||||
return mapper.writeValueAsString(obj);
|
||||
} catch (JsonProcessingException e) {
|
||||
logger.warn("json parase exception :{}", e.getMessage());
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public static <T> T toObj(String json, Class<T> clazz) {
|
||||
ObjectMapper mapper = objectMapper();
|
||||
T value = null;
|
||||
try {
|
||||
value = (T)mapper.readValue(json, clazz);
|
||||
} catch (IOException e) {
|
||||
logger.warn("json parase exception :{}", e.getMessage());
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
public static <T> T toObj(String json, TypeReference<T> tTypeReference) {
|
||||
ObjectMapper mapper = objectMapper();
|
||||
T value = null;
|
||||
try {
|
||||
value = (T)mapper.readValue(json, tTypeReference);
|
||||
} catch (IOException e) {
|
||||
logger.warn("json parase exception :{}", e.getMessage());
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
public static <T> List<T> toObjList(String json, Class<T> clazz) {
|
||||
ObjectMapper mapper = objectMapper();
|
||||
List<T> value = null;
|
||||
try {
|
||||
JavaType jt = mapper.getTypeFactory().constructParametricType(ArrayList.class, new Class[] { clazz });
|
||||
value = (List<T>)mapper.readValue(json, jt);
|
||||
} catch (IOException e) {
|
||||
logger.warn("json parase exception :{}", 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+235
-239
@@ -1,239 +1,235 @@
|
||||
/* */ package cn.cloudwalk.elevator.util;
|
||||
/* */
|
||||
/* */ 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
|
||||
/* */ {
|
||||
/* 35 */ private static final Logger logger = LoggerFactory.getLogger(DateUtils.class);
|
||||
/* */ private static RestTemplate restTemplate;
|
||||
/* */
|
||||
/* */ private static class SingletonRestTemplate
|
||||
/* */ {
|
||||
/* 40 */ static SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory();
|
||||
/* */
|
||||
/* */ static {
|
||||
/* 43 */ requestFactory.setConnectTimeout(10000);
|
||||
/* 44 */ requestFactory.setReadTimeout(10000);
|
||||
/* */ }
|
||||
/* */
|
||||
/* 47 */ static final RestTemplate INSTANCE = new RestTemplate((ClientHttpRequestFactory)requestFactory);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @PostConstruct
|
||||
/* */ public void getInstance() {
|
||||
/* 56 */ RestTemplate restTemplate = SingletonRestTemplate.INSTANCE;
|
||||
/* 57 */ List<HttpMessageConverter<?>> converterList = restTemplate.getMessageConverters();
|
||||
/* 58 */ HttpMessageConverter<?> converterTarget = null;
|
||||
/* 59 */ for (HttpMessageConverter<?> item : converterList) {
|
||||
/* 60 */ if (MappingJackson2HttpMessageConverter.class == item.getClass()) {
|
||||
/* 61 */ converterTarget = item;
|
||||
/* */ break;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 65 */ if (null != converterTarget) {
|
||||
/* 66 */ converterList.remove(converterTarget);
|
||||
/* */ }
|
||||
/* 68 */ ObjectMapper objectMapper = new ObjectMapper();
|
||||
/* 69 */ objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
/* 70 */ objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
|
||||
/* */
|
||||
/* 72 */ converterList.add(new MappingJackson2HttpMessageConverter(objectMapper));
|
||||
/* 73 */ RestTemplateUtil.restTemplate = restTemplate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static String get(String url) {
|
||||
/* 83 */ HttpHeaders headers = new HttpHeaders();
|
||||
/* 84 */ headers.add("Accept", "application/json");
|
||||
/* 85 */ headers.add("Content-Encoding", "UTF-8");
|
||||
/* 86 */ headers.add("Content-Type", "application/json; charset=UTF-8");
|
||||
/* 87 */ HttpEntity<String> requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
/* */
|
||||
/* 89 */ ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, requestEntity, String.class, new Object[0]);
|
||||
/* 90 */ return (String)response.getBody();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static String get(URI url, HttpHeaders headers) {
|
||||
/* 99 */ HttpEntity<String> requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
/* */
|
||||
/* 101 */ ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, requestEntity, String.class);
|
||||
/* 102 */ return (String)response.getBody();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static <T> T get(URI url, HttpHeaders headers, Class<T> responseType) {
|
||||
/* 111 */ HttpEntity<Object> requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
/* 112 */ T resultEntity = null;
|
||||
/* */
|
||||
/* */ try {
|
||||
/* 115 */ ResponseEntity<T> result = restTemplate.exchange(url, HttpMethod.GET, requestEntity, responseType);
|
||||
/* 116 */ resultEntity = getResultEntity(result, url);
|
||||
/* 117 */ } catch (Exception e) {
|
||||
/* 118 */ logger.warn(">>>>>>>>>>>>>>>>>【{}】接口调用失败,错误信息", url, e);
|
||||
/* */ }
|
||||
/* 120 */ return resultEntity;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static <T> T post(URI url, Object data, HttpHeaders headers, Class<T> responseType) {
|
||||
/* 131 */ HttpEntity<Object> requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
/* 132 */ T resultEntity = null;
|
||||
/* */ try {
|
||||
/* 134 */ logger.info(">>>>>>>>>>>>>>>>>开始请求接口:{},payload:{},", url.toString(), data);
|
||||
/* 135 */ ResponseEntity<T> result = restTemplate.postForEntity(url, requestEntity, responseType);
|
||||
/* 136 */ resultEntity = getResultEntity(result, url);
|
||||
/* 137 */ } catch (Exception e) {
|
||||
/* 138 */ logger.warn(">>>>>>>>>>>>>>>>>接口调用失败,错误信息:{}", e.getMessage());
|
||||
/* */ }
|
||||
/* 140 */ return resultEntity;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static <T> T postTf(URI url, Object data, HttpHeaders headers, Class<T> responseType) throws Exception {
|
||||
/* 151 */ HttpEntity<Object> requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
/* 152 */ T resultEntity = null;
|
||||
/* */ try {
|
||||
/* 154 */ logger.info(">>>>>>>>>>>>>>>>>开始请求接口:{},payload:{},", url.toString(), data);
|
||||
/* 155 */ ResponseEntity<T> result = restTemplate.postForEntity(url, requestEntity, responseType);
|
||||
/* 156 */ resultEntity = getTfResultEntity(result, url);
|
||||
/* 157 */ } catch (Exception e) {
|
||||
/* 158 */ logger.warn(">>>>>>>>>>>>>>>>>接口调用失败,错误信息:{}", e.getMessage());
|
||||
/* 159 */ throw e;
|
||||
/* */ }
|
||||
/* 161 */ return resultEntity;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static <T> T post(URI url, Object data, HttpHeaders headers, TypeReference<T> tTypeReference) {
|
||||
/* 165 */ HttpEntity<Object> requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
/* 166 */ T resultEntity = null;
|
||||
/* */
|
||||
/* */ try {
|
||||
/* 169 */ ResponseEntity<String> result = restTemplate.postForEntity(url, requestEntity, String.class);
|
||||
/* 170 */ if (HttpStatus.OK == result.getStatusCode()) {
|
||||
/* */
|
||||
/* 172 */ if (logger.isDebugEnabled()) {
|
||||
/* 173 */ logger.debug("接口返回值:{}", JsonUtils.toJson(result.getBody()));
|
||||
/* */ }
|
||||
/* 175 */ return JsonUtils.toObj((String)result.getBody(), tTypeReference);
|
||||
/* */ }
|
||||
/* 177 */ logger.info(">>>>>>>>>>>>>>>>>接口调用失败,状态码:{},错误原因:{}", result.getStatusCode(),
|
||||
/* 178 */ JsonUtils.toJson(result.getBody()));
|
||||
/* */ }
|
||||
/* 180 */ catch (Exception e) {
|
||||
/* 181 */ logger.warn(">>>>>>>>>>>>>>>>>接口调用失败,错误信息:{}", e.getMessage());
|
||||
/* */ }
|
||||
/* 183 */ return resultEntity;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private static <T> T getTfResultEntity(ResponseEntity<T> result, URI url) throws Exception {
|
||||
/* 196 */ HttpStatus statusCode = result.getStatusCode();
|
||||
/* 197 */ if (HttpStatus.OK == statusCode) {
|
||||
/* 198 */ logger.info(">>>>>>>>>>>>>>>>>接口:{} 调用成功", url);
|
||||
/* 199 */ if (logger.isDebugEnabled()) {
|
||||
/* 200 */ logger.debug("接口返回值:{}", JsonUtils.toJson(result.getBody()));
|
||||
/* */ }
|
||||
/* 202 */ return (T)result.getBody();
|
||||
/* */ }
|
||||
/* 204 */ logger.info(">>>>>>>>>>>>>>>>>接口调用失败,状态码:{},错误原因:{}", statusCode,
|
||||
/* 205 */ JsonUtils.toJson(result.getBody()));
|
||||
/* 206 */ if (HttpStatus.UNAUTHORIZED == statusCode) {
|
||||
/* 207 */ throw new Exception(statusCode.toString());
|
||||
/* */ }
|
||||
/* 209 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private static <T> T getResultEntity(ResponseEntity<T> result, URI url) {
|
||||
/* 222 */ if (HttpStatus.OK == result.getStatusCode()) {
|
||||
/* 223 */ logger.info(">>>>>>>>>>>>>>>>>接口:{} 调用成功", url);
|
||||
/* 224 */ if (logger.isDebugEnabled()) {
|
||||
/* 225 */ logger.debug("接口返回值:{}", JsonUtils.toJson(result.getBody()));
|
||||
/* */ }
|
||||
/* 227 */ return (T)result.getBody();
|
||||
/* */ }
|
||||
/* 229 */ logger.info(">>>>>>>>>>>>>>>>>接口调用失败,状态码:{},错误原因:{}", result.getStatusCode(),
|
||||
/* 230 */ JsonUtils.toJson(result.getBody()));
|
||||
/* 231 */ return null;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevato\\util\RestTemplateUtil.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
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;
|
||||
|
||||
private static class SingletonRestTemplate
|
||||
{
|
||||
static SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory();
|
||||
|
||||
static {
|
||||
requestFactory.setConnectTimeout(10000);
|
||||
requestFactory.setReadTimeout(10000);
|
||||
}
|
||||
|
||||
static final RestTemplate INSTANCE = new RestTemplate((ClientHttpRequestFactory)requestFactory);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@PostConstruct
|
||||
public void getInstance() {
|
||||
RestTemplate restTemplate = SingletonRestTemplate.INSTANCE;
|
||||
List<HttpMessageConverter<?>> converterList = restTemplate.getMessageConverters();
|
||||
HttpMessageConverter<?> converterTarget = null;
|
||||
for (HttpMessageConverter<?> item : converterList) {
|
||||
if (MappingJackson2HttpMessageConverter.class == item.getClass()) {
|
||||
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<String> requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
|
||||
ResponseEntity<String> 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<String> requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
|
||||
ResponseEntity<String> 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<Object> requestEntity = new HttpEntity(null, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
|
||||
try {
|
||||
ResponseEntity<T> result = restTemplate.exchange(url, HttpMethod.GET, requestEntity, responseType);
|
||||
resultEntity = getResultEntity(result, url);
|
||||
} catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>【{}】接口调用失败,错误信息", url, e);
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static <T> T post(URI url, Object data, HttpHeaders headers, Class<T> responseType) {
|
||||
HttpEntity<Object> requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
try {
|
||||
logger.info(">>>>>>>>>>>>>>>>>开始请求接口:{},payload:{},", url.toString(), data);
|
||||
ResponseEntity<T> result = restTemplate.postForEntity(url, requestEntity, responseType);
|
||||
resultEntity = getResultEntity(result, url);
|
||||
} catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>接口调用失败,错误信息:{}", e.getMessage());
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static <T> T postTf(URI url, Object data, HttpHeaders headers, Class<T> responseType) throws Exception {
|
||||
HttpEntity<Object> requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
try {
|
||||
logger.info(">>>>>>>>>>>>>>>>>开始请求接口:{},payload:{},", url.toString(), data);
|
||||
ResponseEntity<T> result = restTemplate.postForEntity(url, requestEntity, responseType);
|
||||
resultEntity = getTfResultEntity(result, url);
|
||||
} catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>接口调用失败,错误信息:{}", e.getMessage());
|
||||
throw e;
|
||||
}
|
||||
return resultEntity;
|
||||
}
|
||||
|
||||
public static <T> T post(URI url, Object data, HttpHeaders headers, TypeReference<T> tTypeReference) {
|
||||
HttpEntity<Object> requestEntity = new HttpEntity(data, (MultiValueMap)headers);
|
||||
T resultEntity = null;
|
||||
|
||||
try {
|
||||
ResponseEntity<String> result = restTemplate.postForEntity(url, requestEntity, String.class);
|
||||
if (HttpStatus.OK == result.getStatusCode()) {
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("接口返回值:{}", JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
return JsonUtils.toObj((String)result.getBody(), tTypeReference);
|
||||
}
|
||||
logger.info(">>>>>>>>>>>>>>>>>接口调用失败,状态码:{},错误原因:{}", result.getStatusCode(),
|
||||
JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
catch (Exception e) {
|
||||
logger.warn(">>>>>>>>>>>>>>>>>接口调用失败,错误信息:{}", 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(">>>>>>>>>>>>>>>>>接口:{} 调用成功", url);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("接口返回值:{}", JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
return (T)result.getBody();
|
||||
}
|
||||
logger.info(">>>>>>>>>>>>>>>>>接口调用失败,状态码:{},错误原因:{}", statusCode,
|
||||
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(">>>>>>>>>>>>>>>>>接口:{} 调用成功", url);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("接口返回值:{}", JsonUtils.toJson(result.getBody()));
|
||||
}
|
||||
return (T)result.getBody();
|
||||
}
|
||||
logger.info(">>>>>>>>>>>>>>>>>接口调用失败,状态码:{},错误原因:{}", result.getStatusCode(),
|
||||
JsonUtils.toJson(result.getBody()));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+45
-49
@@ -1,49 +1,45 @@
|
||||
/* */ package cn.cloudwalk.elevator.util;
|
||||
/* */
|
||||
/* */ public class StartTimeAndEndTime
|
||||
/* */ {
|
||||
/* */ public StartTimeAndEndTime(Long startTime, Long endTime, String currentTime) {
|
||||
/* 6 */ this.startTime = startTime;
|
||||
/* 7 */ this.endTime = endTime;
|
||||
/* 8 */ this.currentTime = currentTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private Long startTime;
|
||||
/* */
|
||||
/* */ private Long endTime;
|
||||
/* */
|
||||
/* */ private String currentTime;
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 21 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStartTime(Long startTime) {
|
||||
/* 25 */ this.startTime = startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 29 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(Long endTime) {
|
||||
/* 33 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentTime() {
|
||||
/* 37 */ return this.currentTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentTime(String currentTime) {
|
||||
/* 41 */ this.currentTime = currentTime;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevato\\util\StartTimeAndEndTime.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
public class StartTimeAndEndTime
|
||||
{
|
||||
public StartTimeAndEndTime(Long startTime, Long endTime, String currentTime) {
|
||||
this.startTime = startTime;
|
||||
this.endTime = endTime;
|
||||
this.currentTime = currentTime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private Long startTime;
|
||||
|
||||
private Long endTime;
|
||||
|
||||
private String 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5517
-5521
File diff suppressed because it is too large
Load Diff
+34
-38
@@ -1,38 +1,34 @@
|
||||
/* */ package cn.cloudwalk.elevator.util;
|
||||
/* */
|
||||
/* */ import java.util.Set;
|
||||
/* */ import java.util.UUID;
|
||||
/* */ import java.util.concurrent.ConcurrentHashMap;
|
||||
/* */ import java.util.function.Function;
|
||||
/* */ import java.util.function.Predicate;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class ToolUtil
|
||||
/* */ {
|
||||
/* */ public static String generateUUID() {
|
||||
/* 17 */ String uuid = UUID.randomUUID().toString();
|
||||
/* */
|
||||
/* 19 */ return uuid.replaceAll("-", "");
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static <T> Predicate<T> distinctByKey(Function<? super T, ?> keyExtractor) {
|
||||
/* 29 */ Set<Object> seen = ConcurrentHashMap.newKeySet();
|
||||
/* 30 */ return t -> seen.add(keyExtractor.apply(t));
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-common-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevato\\util\ToolUtil.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.util;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.function.Function;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ToolUtil
|
||||
{
|
||||
public static String generateUUID() {
|
||||
String uuid = UUID.randomUUID().toString();
|
||||
|
||||
return uuid.replaceAll("-", "");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public static <T> Predicate<T> distinctByKey(Function<? super T, ?> keyExtractor) {
|
||||
Set<Object> seen = ConcurrentHashMap.newKeySet();
|
||||
return t -> seen.add(keyExtractor.apply(t));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+87
-91
@@ -1,91 +1,87 @@
|
||||
/* */ 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) {
|
||||
/* 36 */ Long time = (Long)shardingValue.getValue();
|
||||
/* 37 */ String suffix = DateUtils.formatDate(new Date(time.longValue()), "yyyy");
|
||||
/* 38 */ String logicTableName = shardingValue.getLogicTableName();
|
||||
/* 39 */ String actualTableName = logicTableName + "_" + suffix;
|
||||
/* 40 */ if (!availableTargetNames.contains(actualTableName));
|
||||
/* */
|
||||
/* */
|
||||
/* 43 */ return actualTableName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Collection<String> doSharding(Collection<String> availableTargetNames, RangeShardingValue<Long> shardingValue) {
|
||||
/* 56 */ Collection<String> availables = new ArrayList<>();
|
||||
/* 57 */ Range<Long> valueRange = shardingValue.getValueRange();
|
||||
/* */
|
||||
/* 59 */ if (!CollectionUtils.isEmpty(availableTargetNames)) {
|
||||
/* */
|
||||
/* 61 */ Integer lowerBoundYear = Integer.valueOf(-2147483648);
|
||||
/* 62 */ Integer upperBoundYear = Integer.valueOf(2147483647);
|
||||
/* */
|
||||
/* 64 */ if (valueRange.hasLowerBound()) {
|
||||
/* 65 */ lowerBoundYear = Integer.valueOf(Integer.parseInt(DateUtils.formatDate(new Date(((Long)valueRange.lowerEndpoint()).longValue()), "YYYY")));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* 69 */ if (valueRange.hasUpperBound()) {
|
||||
/* 70 */ upperBoundYear = Integer.valueOf(Integer.parseInt(DateUtils.formatDate(new Date(((Long)valueRange.upperEndpoint()).longValue()), "YYYY")));
|
||||
/* */ }
|
||||
/* */
|
||||
/* 73 */ for (String targetTable : availableTargetNames) {
|
||||
/* 74 */ Integer tableNameSuffix = Integer.valueOf(Integer.parseInt(targetTable.substring(targetTable.lastIndexOf('_') + 1, targetTable
|
||||
/* 75 */ .lastIndexOf('_') + 5)));
|
||||
/* 76 */ if (tableNameSuffix.compareTo(lowerBoundYear) < 0 || tableNameSuffix.compareTo(upperBoundYear) > 0) {
|
||||
/* */ continue;
|
||||
/* */ }
|
||||
/* 79 */ availables.add(targetTable);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* 83 */ return availables;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\YearlyShardingAlgorithm.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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(new Date(time.longValue()), "yyyy");
|
||||
String logicTableName = shardingValue.getLogicTableName();
|
||||
String actualTableName = logicTableName + "_" + suffix;
|
||||
if (!availableTargetNames.contains(actualTableName));
|
||||
|
||||
|
||||
return actualTableName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Collection<String> doSharding(Collection<String> availableTargetNames, RangeShardingValue<Long> shardingValue) {
|
||||
Collection<String> availables = new ArrayList<>();
|
||||
Range<Long> valueRange = shardingValue.getValueRange();
|
||||
|
||||
if (!CollectionUtils.isEmpty(availableTargetNames)) {
|
||||
|
||||
Integer lowerBoundYear = Integer.valueOf(-2147483648);
|
||||
Integer upperBoundYear = Integer.valueOf(2147483647);
|
||||
|
||||
if (valueRange.hasLowerBound()) {
|
||||
lowerBoundYear = Integer.valueOf(Integer.parseInt(DateUtils.formatDate(new Date(((Long)valueRange.lowerEndpoint()).longValue()), "YYYY")));
|
||||
}
|
||||
|
||||
|
||||
if (valueRange.hasUpperBound()) {
|
||||
upperBoundYear = Integer.valueOf(Integer.parseInt(DateUtils.formatDate(new Date(((Long)valueRange.upperEndpoint()).longValue()), "YYYY")));
|
||||
}
|
||||
|
||||
for (String targetTable : availableTargetNames) {
|
||||
Integer tableNameSuffix = Integer.valueOf(Integer.parseInt(targetTable.substring(targetTable.lastIndexOf('_') + 1, targetTable
|
||||
.lastIndexOf('_') + 5)));
|
||||
if (tableNameSuffix.compareTo(lowerBoundYear) < 0 || tableNameSuffix.compareTo(upperBoundYear) > 0) {
|
||||
continue;
|
||||
}
|
||||
availables.add(targetTable);
|
||||
}
|
||||
}
|
||||
|
||||
return availables;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-21
@@ -1,21 +1,17 @@
|
||||
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 {
|
||||
Integer insertNew(AcsElevatorCodeDTO paramAcsElevatorCodeDTO) throws ServiceException;
|
||||
|
||||
Integer updateOld(AcsElevatorCodeDTO paramAcsElevatorCodeDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\dao\AcsElevatorCodeDao.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 {
|
||||
Integer insertNew(AcsElevatorCodeDTO paramAcsElevatorCodeDTO) throws ServiceException;
|
||||
|
||||
Integer updateOld(AcsElevatorCodeDTO paramAcsElevatorCodeDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+70
-74
@@ -1,74 +1,70 @@
|
||||
/* */ 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() {
|
||||
/* 38 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 42 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 46 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCode(String code) {
|
||||
/* 50 */ this.code = code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsFirst() {
|
||||
/* 54 */ return this.isFirst;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsFirst(Integer isFirst) {
|
||||
/* 58 */ this.isFirst = isFirst;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 62 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 66 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\dto\AcsElevatorCodeDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+97
-101
@@ -1,101 +1,97 @@
|
||||
/* */ 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() {
|
||||
/* 49 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 53 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 57 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCode(String code) {
|
||||
/* 61 */ this.code = code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 65 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 69 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneType() {
|
||||
/* 73 */ return this.zoneType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneType(String zoneType) {
|
||||
/* 77 */ this.zoneType = zoneType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 81 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 85 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsFirst() {
|
||||
/* 89 */ return this.isFirst;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsFirst(Integer isFirst) {
|
||||
/* 93 */ this.isFirst = isFirst;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\dto\AcsElevatorCodeQueryDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+49
-53
@@ -1,53 +1,49 @@
|
||||
/* */ package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorCodeResultDTO
|
||||
/* */ {
|
||||
/* */ private String zoneId;
|
||||
/* */ private String code;
|
||||
/* */ private Integer isFirst;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 25 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 29 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 33 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCode(String code) {
|
||||
/* 37 */ this.code = code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsFirst() {
|
||||
/* 41 */ return this.isFirst;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsFirst(Integer isFirst) {
|
||||
/* 45 */ this.isFirst = isFirst;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\dto\AcsElevatorCodeResultDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+43
-47
@@ -1,47 +1,43 @@
|
||||
/* */ 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;
|
||||
/* */
|
||||
/* */ public Integer insertNew(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
/* 23 */ return Integer.valueOf(this.acsElevatorCodeMapper.insertNew(dto));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer updateOld(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
/* 29 */ return Integer.valueOf(this.acsElevatorCodeMapper.updateOld(dto));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO dto) {
|
||||
/* 34 */ return this.acsElevatorCodeMapper.get(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsElevatorCodeResultDTO getFirstByParentId(String parentId) {
|
||||
/* 39 */ return this.acsElevatorCodeMapper.getFirstByParentId(parentId);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\impl\AcsElevatorCodeDaoImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
|
||||
public Integer insertNew(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
return Integer.valueOf(this.acsElevatorCodeMapper.insertNew(dto));
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer updateOld(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
return Integer.valueOf(this.acsElevatorCodeMapper.updateOld(dto));
|
||||
}
|
||||
|
||||
|
||||
public AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO dto) {
|
||||
return this.acsElevatorCodeMapper.get(dto);
|
||||
}
|
||||
|
||||
|
||||
public AcsElevatorCodeResultDTO getFirstByParentId(String parentId) {
|
||||
return this.acsElevatorCodeMapper.getFirstByParentId(parentId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-20
@@ -1,20 +1,16 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
|
||||
public interface AcsElevatorCodeMapper {
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
int insertNew(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
int updateOld(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\mapper\AcsElevatorCodeMapper.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
|
||||
public interface AcsElevatorCodeMapper {
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
int insertNew(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
int updateOld(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-20
@@ -1,20 +1,16 @@
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskDao {
|
||||
Integer insert(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateBingDevices(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateIsStop(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
AcsDeviceTaskDTO getById(String paramString);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dao\AcsDeviceTaskDao.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskDao {
|
||||
Integer insert(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateBingDevices(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateIsStop(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
AcsDeviceTaskDTO getById(String paramString);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+42
-46
@@ -1,46 +1,42 @@
|
||||
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 {
|
||||
Integer add(AcsElevatorDeviceAddDTO paramAcsElevatorDeviceAddDTO) throws DataAccessException;
|
||||
|
||||
Integer edit(AcsElevatorDeviceEditDTO paramAcsElevatorDeviceEditDTO) throws DataAccessException;
|
||||
|
||||
Integer delete(List<String> paramList) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO, CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto paramAcsElevatorDeviceListByBuildingIdDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO paramAcsElevatorDeviceQueryByIdDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(String paramString) throws ServiceException;
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dao\AcsElevatorDeviceDao.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 {
|
||||
Integer add(AcsElevatorDeviceAddDTO paramAcsElevatorDeviceAddDTO) throws DataAccessException;
|
||||
|
||||
Integer edit(AcsElevatorDeviceEditDTO paramAcsElevatorDeviceEditDTO) throws DataAccessException;
|
||||
|
||||
Integer delete(List<String> paramList) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO, CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto paramAcsElevatorDeviceListByBuildingIdDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO paramAcsElevatorDeviceQueryByIdDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(String paramString) throws ServiceException;
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+11
-15
@@ -1,15 +1,11 @@
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
|
||||
public interface DeviceImageStoreDao {
|
||||
Boolean save(String paramString1, String paramString2) throws ServiceException;
|
||||
|
||||
String getByBuildingId(String paramString) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dao\DeviceImageStoreDao.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
|
||||
public interface DeviceImageStoreDao {
|
||||
Boolean save(String paramString1, String paramString2) throws ServiceException;
|
||||
|
||||
String getByBuildingId(String paramString) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+150
-154
@@ -1,154 +1,150 @@
|
||||
/* */ 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() {
|
||||
/* 70 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 74 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIds() {
|
||||
/* 78 */ return this.ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIds(List<String> ids) {
|
||||
/* 82 */ this.ids = ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 86 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 90 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 94 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 98 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getDeviceIds() {
|
||||
/* 102 */ return this.deviceIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceIds(List<String> deviceIds) {
|
||||
/* 106 */ this.deviceIds = deviceIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 110 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 114 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentDeviceId() {
|
||||
/* 118 */ return this.parentDeviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentDeviceId(String parentDeviceId) {
|
||||
/* 122 */ this.parentDeviceId = parentDeviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getParentDeviceIds() {
|
||||
/* 126 */ return this.parentDeviceIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentDeviceIds(List<String> parentDeviceIds) {
|
||||
/* 130 */ this.parentDeviceIds = parentDeviceIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getQueryParent() {
|
||||
/* 134 */ return this.queryParent;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setQueryParent(Integer queryParent) {
|
||||
/* 138 */ this.queryParent = queryParent;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getOpenStatus() {
|
||||
/* 142 */ return this.openStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOpenStatus(Integer openStatus) {
|
||||
/* 146 */ this.openStatus = openStatus;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsDeviceQueryDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+112
-116
@@ -1,116 +1,112 @@
|
||||
/* */ 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() {
|
||||
/* 55 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 60 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 64 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 68 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 72 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 76 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 80 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 84 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentDeviceId() {
|
||||
/* 88 */ return this.parentDeviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentDeviceId(String parentDeviceId) {
|
||||
/* 92 */ this.parentDeviceId = parentDeviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 96 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 100 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getOpenStatus() {
|
||||
/* 104 */ return this.openStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOpenStatus(Integer openStatus) {
|
||||
/* 108 */ this.openStatus = openStatus;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsDeviceResultDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+58
-62
@@ -1,62 +1,58 @@
|
||||
/* */ 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() {
|
||||
/* 34 */ return this.allDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAllDevices(Integer allDevices) {
|
||||
/* 38 */ this.allDevices = allDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getBindDevices() {
|
||||
/* 42 */ return this.bindDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBindDevices(Integer bindDevices) {
|
||||
/* 46 */ this.bindDevices = bindDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsStop() {
|
||||
/* 50 */ return this.isStop;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsStop(Integer isStop) {
|
||||
/* 54 */ this.isStop = isStop;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsDeviceTaskAddDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+71
-75
@@ -1,75 +1,71 @@
|
||||
/* */ 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() {
|
||||
/* 39 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 43 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getAllDevices() {
|
||||
/* 47 */ return this.allDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAllDevices(Integer allDevices) {
|
||||
/* 51 */ this.allDevices = allDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getBindDevices() {
|
||||
/* 55 */ return this.bindDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBindDevices(Integer bindDevices) {
|
||||
/* 59 */ this.bindDevices = bindDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsStop() {
|
||||
/* 63 */ return this.isStop;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsStop(Integer isStop) {
|
||||
/* 67 */ this.isStop = isStop;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsDeviceTaskDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+224
-228
@@ -1,228 +1,224 @@
|
||||
/* */ 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() {
|
||||
/* 98 */ return this.elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
/* 102 */ this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuildingId() {
|
||||
/* 106 */ return this.currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuildingId(String currentBuildingId) {
|
||||
/* 110 */ this.currentBuildingId = currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaId() {
|
||||
/* 114 */ return this.areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaId(String areaId) {
|
||||
/* 118 */ this.areaId = areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 122 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 126 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 130 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 134 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 138 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 142 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 146 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 150 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 154 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 158 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getElevatorFloorList() {
|
||||
/* 162 */ return this.elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorList(String elevatorFloorList) {
|
||||
/* 166 */ this.elevatorFloorList = elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 170 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 174 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloor() {
|
||||
/* 178 */ return this.currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloor(String currentFloor) {
|
||||
/* 182 */ this.currentFloor = currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuilding() {
|
||||
/* 186 */ return this.currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuilding(String currentBuilding) {
|
||||
/* 190 */ this.currentBuilding = currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaName() {
|
||||
/* 194 */ return this.areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaName(String areaName) {
|
||||
/* 198 */ this.areaName = areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getStatus() {
|
||||
/* 202 */ return this.status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStatus(Integer status) {
|
||||
/* 206 */ this.status = status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getDeleteFlag() {
|
||||
/* 210 */ return this.deleteFlag;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeleteFlag(Integer deleteFlag) {
|
||||
/* 214 */ this.deleteFlag = deleteFlag;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String toString() {
|
||||
/* 220 */ 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 + '}';
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceAddDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 + '}';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+119
-123
@@ -1,123 +1,119 @@
|
||||
/* */ 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() {
|
||||
/* 57 */ return this.elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
/* 61 */ this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaId() {
|
||||
/* 65 */ return this.areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaId(String areaId) {
|
||||
/* 69 */ this.areaId = areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getElevatorFloorList() {
|
||||
/* 74 */ return this.elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorList(String elevatorFloorList) {
|
||||
/* 78 */ this.elevatorFloorList = elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 82 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 86 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloor() {
|
||||
/* 90 */ return this.currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloor(String currentFloor) {
|
||||
/* 94 */ this.currentFloor = currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuilding() {
|
||||
/* 98 */ return this.currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuilding(String currentBuilding) {
|
||||
/* 102 */ this.currentBuilding = currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuildingId() {
|
||||
/* 106 */ return this.currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuildingId(String currentBuildingId) {
|
||||
/* 110 */ this.currentBuildingId = currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String toString() {
|
||||
/* 115 */ return "AcsElevatorDeciveEditDTO{elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + ", currentBuildingId='" + this.currentBuildingId + '\'' + '}';
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceEditDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 + '\'' + '}';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+30
-34
@@ -1,34 +1,30 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.dto;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceListByBuildingIdDto
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private String businessId;
|
||||
/* */ private String currentBuildingId;
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 15 */ 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; Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId(); if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId)) return false; Object this$currentBuildingId = getCurrentBuildingId(), 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; result = 1; Object $businessId = getBusinessId(); result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode()); Object $currentBuildingId = getCurrentBuildingId(); return result * 59 + (($currentBuildingId == null) ? 43 : $currentBuildingId.hashCode()); } public String toString() { return "AcsElevatorDeviceListByBuildingIdDto(businessId=" + getBusinessId() + ", currentBuildingId=" + getCurrentBuildingId() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 21 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getCurrentBuildingId() {
|
||||
/* 26 */ return this.currentBuildingId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceListByBuildingIdDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceListByBuildingIdDto
|
||||
implements Serializable
|
||||
{
|
||||
private String businessId;
|
||||
private String 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; Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId(); if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId)) return false; Object this$currentBuildingId = getCurrentBuildingId(), 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; result = 1; Object $businessId = getBusinessId(); result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode()); Object $currentBuildingId = getCurrentBuildingId(); return result * 59 + (($currentBuildingId == null) ? 43 : $currentBuildingId.hashCode()); } public String toString() { return "AcsElevatorDeviceListByBuildingIdDto(businessId=" + getBusinessId() + ", currentBuildingId=" + getCurrentBuildingId() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+55
-59
@@ -1,59 +1,55 @@
|
||||
/* */ 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() {
|
||||
/* 31 */ return this.currentFloorIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorIds(List<String> currentFloorIds) {
|
||||
/* 35 */ this.currentFloorIds = currentFloorIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 39 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 43 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 47 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 51 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceListDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+177
-181
File diff suppressed because one or more lines are too long
+31
-35
@@ -1,35 +1,31 @@
|
||||
/* */ 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() {
|
||||
/* 22 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 27 */ this.id = id;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceQueryByIdDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+144
-148
@@ -1,148 +1,144 @@
|
||||
/* */ 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() {
|
||||
/* 64 */ return this.ip;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIp(String ip) {
|
||||
/* 68 */ this.ip = ip;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getStatus() {
|
||||
/* 72 */ return this.status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStatus(Integer status) {
|
||||
/* 76 */ this.status = status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getOnlineStatus() {
|
||||
/* 80 */ return this.onlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOnlineStatus(Integer onlineStatus) {
|
||||
/* 84 */ this.onlineStatus = onlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 88 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 92 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 96 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 100 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getAreaIds() {
|
||||
/* 104 */ return this.areaIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaIds(List<String> areaIds) {
|
||||
/* 108 */ this.areaIds = areaIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaName() {
|
||||
/* 112 */ return this.areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaName(String areaName) {
|
||||
/* 116 */ this.areaName = areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 120 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 124 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 128 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 132 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 136 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 140 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceQueryDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+88
-92
File diff suppressed because one or more lines are too long
+32
-36
@@ -1,36 +1,32 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\dto\AcsElevatorDeviceQueryResultDTO.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+257
-261
File diff suppressed because one or more lines are too long
+48
-52
@@ -1,52 +1,48 @@
|
||||
/* */ 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;
|
||||
/* */
|
||||
/* */ public Integer insert(AcsDeviceTaskAddDto dto) {
|
||||
/* 29 */ return this.acsDeviceTaskMapper.insert(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer updateBingDevices(AcsDeviceTaskAddDto dto) {
|
||||
/* 34 */ return this.acsDeviceTaskMapper.updateBingDevices(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer updateIsStop(AcsDeviceTaskAddDto dto) {
|
||||
/* 39 */ return this.acsDeviceTaskMapper.updateIsStop(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsDeviceTaskDTO getById(String taskId) {
|
||||
/* 44 */ return this.acsDeviceTaskMapper.getById(taskId);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\impl\AcsDeviceTaskDaoImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
|
||||
public Integer insert(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.insert(dto);
|
||||
}
|
||||
|
||||
|
||||
public Integer updateBingDevices(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.updateBingDevices(dto);
|
||||
}
|
||||
|
||||
|
||||
public Integer updateIsStop(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.updateIsStop(dto);
|
||||
}
|
||||
|
||||
|
||||
public AcsDeviceTaskDTO getById(String taskId) {
|
||||
return this.acsDeviceTaskMapper.getById(taskId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+181
-185
@@ -1,185 +1,181 @@
|
||||
/* */ 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.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;
|
||||
/* 36 */ protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer add(AcsElevatorDeviceAddDTO dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 47 */ return Integer.valueOf(this.acsElevatorDeviceMapper.add(dto));
|
||||
/* 48 */ } catch (Exception e) {
|
||||
/* 49 */ this.logger.error("保存派梯设备信息失败,原因:", e);
|
||||
/* 50 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer edit(AcsElevatorDeviceEditDTO dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 63 */ return Integer.valueOf(this.acsElevatorDeviceMapper.edit(dto));
|
||||
/* 64 */ } catch (Exception e) {
|
||||
/* 65 */ this.logger.error("保存派梯设备信息失败,原因:", e);
|
||||
/* 66 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer delete(List<String> ids) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 79 */ return Integer.valueOf(this.acsElevatorDeviceMapper.delete(ids));
|
||||
/* 80 */ } catch (Exception e) {
|
||||
/* 81 */ this.logger.error("删除派梯设备信息失败,原因:", e);
|
||||
/* 82 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO dto, CloudwalkPageInfo page) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 97 */ PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
/* 98 */ Page<AcsElevatorDeviceResultDTO> result = (Page<AcsElevatorDeviceResultDTO>)this.acsElevatorDeviceMapper.page(dto);
|
||||
/* 99 */ return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), AcsElevatorDeviceResultDTO.class), page, result
|
||||
/* 100 */ .getTotal());
|
||||
/* 101 */ } catch (Exception e) {
|
||||
/* 102 */ this.logger.error("设备分页查询失败,原因:", e);
|
||||
/* 103 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 111 */ return this.acsElevatorDeviceMapper.listByZoneId(dto);
|
||||
/* 112 */ } catch (Exception e) {
|
||||
/* 113 */ this.logger.error("根据楼层id获取设备信息失败,原因:", e);
|
||||
/* 114 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 121 */ return this.acsElevatorDeviceMapper.listByZoneIds(dto);
|
||||
/* 122 */ } catch (Exception e) {
|
||||
/* 123 */ this.logger.error("根据楼层id集合获取设备信息失败,原因:", e);
|
||||
/* 124 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 132 */ return this.acsElevatorDeviceMapper.listBuBuildingId(dto);
|
||||
/* 133 */ } catch (Exception e) {
|
||||
/* 134 */ this.logger.error("根据楼栋id获取设备信息失败,原因:", e);
|
||||
/* 135 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
/* 142 */ return this.acsElevatorDeviceMapper.get(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO dto) throws ServiceException {
|
||||
/* 148 */ return this.acsElevatorDeviceMapper.getById(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsElevatorDeviceResultDTO getByDeciveCode(String deviceCode) throws ServiceException {
|
||||
/* 153 */ AcsElevatorDeviceQueryDTO dto = new AcsElevatorDeviceQueryDTO();
|
||||
/* 154 */ dto.setDeviceCode(deviceCode);
|
||||
/* 155 */ return this.acsElevatorDeviceMapper.getByDeciveCode(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getBuildingId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
/* 166 */ return this.acsElevatorDeviceMapper.getBuildingId(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getBusinessId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
/* 177 */ return this.acsElevatorDeviceMapper.getBusinessId(dto);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\impl\AcsElevatorDeviceDaoImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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.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(getClass());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Integer add(AcsElevatorDeviceAddDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorDeviceMapper.add(dto));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存派梯设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Integer edit(AcsElevatorDeviceEditDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorDeviceMapper.edit(dto));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存派梯设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Integer delete(List<String> ids) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorDeviceMapper.delete(ids));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("删除派梯设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO dto, CloudwalkPageInfo page) throws DataAccessException {
|
||||
try {
|
||||
PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
Page<AcsElevatorDeviceResultDTO> result = (Page<AcsElevatorDeviceResultDTO>)this.acsElevatorDeviceMapper.page(dto);
|
||||
return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), AcsElevatorDeviceResultDTO.class), page, result
|
||||
.getTotal());
|
||||
} catch (Exception e) {
|
||||
this.logger.error("设备分页查询失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listByZoneId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼层id获取设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listByZoneIds(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼层id集合获取设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listBuBuildingId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼栋id获取设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.get(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getById(dto);
|
||||
}
|
||||
|
||||
|
||||
public AcsElevatorDeviceResultDTO getByDeciveCode(String deviceCode) throws ServiceException {
|
||||
AcsElevatorDeviceQueryDTO dto = new AcsElevatorDeviceQueryDTO();
|
||||
dto.setDeviceCode(deviceCode);
|
||||
return this.acsElevatorDeviceMapper.getByDeciveCode(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getBuildingId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getBuildingId(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getBusinessId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getBusinessId(dto);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+45
-49
@@ -1,49 +1,45 @@
|
||||
/* */ 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;
|
||||
/* */
|
||||
/* */ public Boolean save(String buildingId, String imageStoreId) throws ServiceException {
|
||||
/* 30 */ return this.deviceImageStoreMapper.save(buildingId, imageStoreId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getByBuildingId(String buildingId) throws ServiceException {
|
||||
/* 41 */ return this.deviceImageStoreMapper.getByBuildingId(buildingId);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\impl\DeviceImageStoreDaoImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
|
||||
public Boolean save(String buildingId, String imageStoreId) throws ServiceException {
|
||||
return this.deviceImageStoreMapper.save(buildingId, imageStoreId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getByBuildingId(String buildingId) throws ServiceException {
|
||||
return this.deviceImageStoreMapper.getByBuildingId(buildingId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-20
@@ -1,20 +1,16 @@
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskMapper {
|
||||
Integer insert(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateBingDevices(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateIsStop(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
AcsDeviceTaskDTO getById(String paramString);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\mapper\AcsDeviceTaskMapper.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskMapper {
|
||||
Integer insert(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateBingDevices(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateIsStop(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
AcsDeviceTaskDTO getById(String paramString);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+38
-42
@@ -1,42 +1,38 @@
|
||||
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 {
|
||||
int add(AcsElevatorDeviceAddDTO paramAcsElevatorDeviceAddDTO);
|
||||
|
||||
int edit(AcsElevatorDeviceEditDTO paramAcsElevatorDeviceEditDTO);
|
||||
|
||||
int delete(List<String> paramList);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto paramAcsElevatorDeviceListByBuildingIdDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO paramAcsElevatorDeviceQueryByIdDTO);
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\mapper\AcsElevatorDeviceMapper.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 {
|
||||
int add(AcsElevatorDeviceAddDTO paramAcsElevatorDeviceAddDTO);
|
||||
|
||||
int edit(AcsElevatorDeviceEditDTO paramAcsElevatorDeviceEditDTO);
|
||||
|
||||
int delete(List<String> paramList);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto paramAcsElevatorDeviceListByBuildingIdDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO paramAcsElevatorDeviceQueryByIdDTO);
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+11
-15
@@ -1,15 +1,11 @@
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface DeviceImageStoreMapper {
|
||||
Boolean save(@Param("buildingId") String paramString1, @Param("imageStoreId") String paramString2);
|
||||
|
||||
String getByBuildingId(String paramString);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\mapper\DeviceImageStoreMapper.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface DeviceImageStoreMapper {
|
||||
Boolean save(@Param("buildingId") String paramString1, @Param("imageStoreId") String paramString2);
|
||||
|
||||
String getByBuildingId(String paramString);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+32
-36
@@ -1,36 +1,32 @@
|
||||
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 {
|
||||
Integer insert(AcsPassRuleAddDto paramAcsPassRuleAddDto) throws DataAccessException;
|
||||
|
||||
Integer update(AcsPassRuleEditDto paramAcsPassRuleEditDto) throws DataAccessException;
|
||||
|
||||
Integer delete(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto, CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto paramAcsPassRuleQueryDto) throws DataAccessException;
|
||||
|
||||
String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto paramAcsPassRuleIsDefaultDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dao\AcsPassRuleDao.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 {
|
||||
Integer insert(AcsPassRuleAddDto paramAcsPassRuleAddDto) throws DataAccessException;
|
||||
|
||||
Integer update(AcsPassRuleEditDto paramAcsPassRuleEditDto) throws DataAccessException;
|
||||
|
||||
Integer delete(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto, CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto paramAcsPassRuleQueryDto) throws DataAccessException;
|
||||
|
||||
String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto paramAcsPassRuleIsDefaultDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+72
-76
@@ -1,76 +1,72 @@
|
||||
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 {
|
||||
CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto, CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<String> listRuleByZoneIdExtDefault(String paramString);
|
||||
|
||||
List<ImageRuleRefResultDto> listByParentRule(List<String> paramList);
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonId(String paramString) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByLabelId(String paramString) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByOrgId(String paramString) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> paramList) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto paramAcsPassRuleQueryDto) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto paramAcsPassRulePersonListDto) throws DataAccessException;
|
||||
|
||||
List<String> listPersonDelByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
List<String> listPersonDelByPersonId(String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getDefaultByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getById(String paramString) throws DataAccessException;
|
||||
|
||||
String getByRuleName(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> paramList, String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getDelByPersonIdAndZoneId(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
List<String> countPersonIdByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
Boolean insert(ImageRuleRefAddDto paramImageRuleRefAddDto) throws DataAccessException;
|
||||
|
||||
Boolean insertList(List<ImageRuleRefAddDto> paramList) throws DataAccessException;
|
||||
|
||||
Boolean deleteById(String paramString) throws DataAccessException;
|
||||
|
||||
Boolean deleteByZoneIdAndName(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
Boolean deleteByPersonIdsIsDel(List<String> paramList, String paramString) throws DataAccessException;
|
||||
|
||||
Boolean deleteByPersonId(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto) throws DataAccessException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dao\ImageRuleRefDao.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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 {
|
||||
CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto, CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<String> listRuleByZoneIdExtDefault(String paramString);
|
||||
|
||||
List<ImageRuleRefResultDto> listByParentRule(List<String> paramList);
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonId(String paramString) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByLabelId(String paramString) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByOrgId(String paramString) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> paramList) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto paramAcsPassRuleQueryDto) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto paramAcsPassRulePersonListDto) throws DataAccessException;
|
||||
|
||||
List<String> listPersonDelByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
List<String> listPersonDelByPersonId(String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getDefaultByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getById(String paramString) throws DataAccessException;
|
||||
|
||||
String getByRuleName(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> paramList, String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getDelByPersonIdAndZoneId(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
List<String> countPersonIdByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
Boolean insert(ImageRuleRefAddDto paramImageRuleRefAddDto) throws DataAccessException;
|
||||
|
||||
Boolean insertList(List<ImageRuleRefAddDto> paramList) throws DataAccessException;
|
||||
|
||||
Boolean deleteById(String paramString) throws DataAccessException;
|
||||
|
||||
Boolean deleteByZoneIdAndName(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
Boolean deleteByPersonIdsIsDel(List<String> paramList, String paramString) throws DataAccessException;
|
||||
|
||||
Boolean deleteByPersonId(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto) throws DataAccessException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+150
-154
@@ -1,154 +1,150 @@
|
||||
/* */ 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() {
|
||||
/* 70 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 74 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 78 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 82 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 86 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 90 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 94 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setName(String name) {
|
||||
/* 98 */ this.name = name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 102 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 106 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 110 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 114 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 118 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 122 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 126 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 130 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 134 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 138 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 142 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsDefault(Integer isDefault) {
|
||||
/* 146 */ this.isDefault = isDefault;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleAddDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+96
-100
@@ -1,100 +1,96 @@
|
||||
/* */ 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() {
|
||||
/* 48 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 52 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getOrgId() {
|
||||
/* 56 */ return this.orgId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOrgId(String orgId) {
|
||||
/* 60 */ this.orgId = orgId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getLabelId() {
|
||||
/* 64 */ return this.labelId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setLabelId(String labelId) {
|
||||
/* 68 */ this.labelId = labelId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 72 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 76 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 80 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 84 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIds() {
|
||||
/* 88 */ return this.ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIds(List<String> ids) {
|
||||
/* 92 */ this.ids = ids;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleDeleteDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+110
-114
@@ -1,114 +1,110 @@
|
||||
/* */ 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() {
|
||||
/* 54 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 58 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 62 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setName(String name) {
|
||||
/* 66 */ this.name = name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 70 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 74 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 78 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 82 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 86 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 90 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 94 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 98 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 102 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 106 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleEditDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+82
-86
@@ -1,86 +1,82 @@
|
||||
/* */ 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() {
|
||||
/* 42 */ return this.imageStoreIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
/* 46 */ this.imageStoreIds = imageStoreIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 50 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 54 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 58 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 62 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeOrganizations() {
|
||||
/* 66 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
/* 70 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeLabels() {
|
||||
/* 74 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<String> includeLabels) {
|
||||
/* 78 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleImageDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+54
-58
@@ -1,58 +1,54 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.dto;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleImageResultDto
|
||||
/* */ {
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ private String imageStoreId;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 30 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 34 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 38 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 42 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 46 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 50 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleImageResultDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+46
-50
@@ -1,50 +1,46 @@
|
||||
/* */ 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() {
|
||||
/* 30 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 34 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 38 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 42 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleIsDefaultDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+54
-58
@@ -1,58 +1,54 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.dto;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleLabelResultDto
|
||||
/* */ {
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ private String labelId;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 30 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 34 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 38 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 42 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getLabelId() {
|
||||
/* 46 */ return this.labelId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setLabelId(String labelId) {
|
||||
/* 50 */ this.labelId = labelId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleLabelResultDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+68
-72
@@ -1,72 +1,68 @@
|
||||
/* */ 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() {
|
||||
/* 36 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 40 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getPersonIds() {
|
||||
/* 44 */ return this.personIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonIds(List<String> personIds) {
|
||||
/* 48 */ this.personIds = personIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeOrganizations() {
|
||||
/* 52 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
/* 56 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeLabels() {
|
||||
/* 60 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<String> includeLabels) {
|
||||
/* 64 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRulePersonListDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+43
-47
@@ -1,47 +1,43 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.dto;
|
||||
/* */
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRulePersonListResultDto
|
||||
/* */ {
|
||||
/* */ private String personId;
|
||||
/* */ private List<AcsPassRuleImageResultDto> zoneList;
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 27 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 31 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageResultDto> getZoneList() {
|
||||
/* 35 */ return this.zoneList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneList(List<AcsPassRuleImageResultDto> zoneList) {
|
||||
/* 39 */ this.zoneList = zoneList;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRulePersonListResultDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+110
-114
@@ -1,114 +1,110 @@
|
||||
/* */ 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() {
|
||||
/* 54 */ return this.zoneIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneIds(List<String> zoneIds) {
|
||||
/* 58 */ this.zoneIds = zoneIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIds() {
|
||||
/* 62 */ return this.ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIds(List<String> ids) {
|
||||
/* 66 */ this.ids = ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 70 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 74 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 78 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 82 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 86 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 90 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 94 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 98 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getImageStoreIds() {
|
||||
/* 102 */ return this.imageStoreIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
/* 106 */ this.imageStoreIds = imageStoreIds;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleQueryDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+149
-153
@@ -1,153 +1,149 @@
|
||||
/* */ 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() {
|
||||
/* 69 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 73 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 77 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 81 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 85 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setName(String name) {
|
||||
/* 89 */ this.name = name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 93 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 97 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 101 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 105 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 109 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 113 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 117 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 121 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 125 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 129 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 133 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 137 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 141 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsDefault(Integer isDefault) {
|
||||
/* 145 */ this.isDefault = isDefault;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\AcsPassRuleResultDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+88
-92
File diff suppressed because one or more lines are too long
+64
-68
@@ -1,68 +1,64 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.dto;
|
||||
/* */
|
||||
/* */ 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;
|
||||
/* */
|
||||
/* 17 */ 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; Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId(); if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId)) return false; Object this$name = getName(), other$name = other.getName(); if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false; Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId(); if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId)) return false; Object this$zoneName = getZoneName(), other$zoneName = other.getZoneName(); if ((this$zoneName == null) ? (other$zoneName != null) : !this$zoneName.equals(other$zoneName)) return false; Object this$personId = getPersonId(), other$personId = other.getPersonId(); if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId)) return false; Object<String> this$includeLabels = (Object<String>)getIncludeLabels(), other$includeLabels = (Object<String>)other.getIncludeLabels(); if ((this$includeLabels == null) ? (other$includeLabels != null) : !this$includeLabels.equals(other$includeLabels)) return false; Object<String> this$includeOrganizations = (Object<String>)getIncludeOrganizations(), other$includeOrganizations = (Object<String>)other.getIncludeOrganizations(); if ((this$includeOrganizations == null) ? (other$includeOrganizations != null) : !this$includeOrganizations.equals(other$includeOrganizations)) return false; Object<String> this$excludeLabels = (Object<String>)getExcludeLabels(), other$excludeLabels = (Object<String>)other.getExcludeLabels(); return !((this$excludeLabels == null) ? (other$excludeLabels != null) : !this$excludeLabels.equals(other$excludeLabels)); } protected boolean canEqual(Object other) { return other instanceof ImageRuleRefListResult; } public int hashCode() { int PRIME = 59; result = 1; Object $businessId = getBusinessId(); result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode()); Object $name = getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); Object $zoneId = getZoneId(); result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode()); Object $zoneName = getZoneName(); result = result * 59 + (($zoneName == null) ? 43 : $zoneName.hashCode()); Object $personId = getPersonId(); result = result * 59 + (($personId == null) ? 43 : $personId.hashCode()); Object<String> $includeLabels = (Object<String>)getIncludeLabels(); result = result * 59 + (($includeLabels == null) ? 43 : $includeLabels.hashCode()); Object<String> $includeOrganizations = (Object<String>)getIncludeOrganizations(); result = result * 59 + (($includeOrganizations == null) ? 43 : $includeOrganizations.hashCode()); Object<String> $excludeLabels = (Object<String>)getExcludeLabels(); return result * 59 + (($excludeLabels == null) ? 43 : $excludeLabels.hashCode()); } public String toString() { return "ImageRuleRefListResult(businessId=" + getBusinessId() + ", name=" + getName() + ", zoneId=" + getZoneId() + ", zoneName=" + getZoneName() + ", personId=" + getPersonId() + ", includeLabels=" + getIncludeLabels() + ", includeOrganizations=" + getIncludeOrganizations() + ", excludeLabels=" + getExcludeLabels() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 25 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 30 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 35 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 40 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 45 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> getIncludeLabels() {
|
||||
/* 50 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> getIncludeOrganizations() {
|
||||
/* 55 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> getExcludeLabels() {
|
||||
/* 60 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\ImageRuleRefListResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
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 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; Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId(); if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId)) return false; Object this$name = getName(), other$name = other.getName(); if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false; Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId(); if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId)) return false; Object this$zoneName = getZoneName(), other$zoneName = other.getZoneName(); if ((this$zoneName == null) ? (other$zoneName != null) : !this$zoneName.equals(other$zoneName)) return false; Object this$personId = getPersonId(), other$personId = other.getPersonId(); if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId)) return false; Object<String> this$includeLabels = (Object<String>)getIncludeLabels(), other$includeLabels = (Object<String>)other.getIncludeLabels(); if ((this$includeLabels == null) ? (other$includeLabels != null) : !this$includeLabels.equals(other$includeLabels)) return false; Object<String> this$includeOrganizations = (Object<String>)getIncludeOrganizations(), other$includeOrganizations = (Object<String>)other.getIncludeOrganizations(); if ((this$includeOrganizations == null) ? (other$includeOrganizations != null) : !this$includeOrganizations.equals(other$includeOrganizations)) return false; Object<String> this$excludeLabels = (Object<String>)getExcludeLabels(), other$excludeLabels = (Object<String>)other.getExcludeLabels(); return !((this$excludeLabels == null) ? (other$excludeLabels != null) : !this$excludeLabels.equals(other$excludeLabels)); } protected boolean canEqual(Object other) { return other instanceof ImageRuleRefListResult; } public int hashCode() { int PRIME = 59; result = 1; Object $businessId = getBusinessId(); result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode()); Object $name = getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); Object $zoneId = getZoneId(); result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode()); Object $zoneName = getZoneName(); result = result * 59 + (($zoneName == null) ? 43 : $zoneName.hashCode()); Object $personId = getPersonId(); result = result * 59 + (($personId == null) ? 43 : $personId.hashCode()); Object<String> $includeLabels = (Object<String>)getIncludeLabels(); result = result * 59 + (($includeLabels == null) ? 43 : $includeLabels.hashCode()); Object<String> $includeOrganizations = (Object<String>)getIncludeOrganizations(); result = result * 59 + (($includeOrganizations == null) ? 43 : $includeOrganizations.hashCode()); Object<String> $excludeLabels = (Object<String>)getExcludeLabels(); return result * 59 + (($excludeLabels == null) ? 43 : $excludeLabels.hashCode()); } public String toString() { return "ImageRuleRefListResult(businessId=" + getBusinessId() + ", name=" + getName() + ", zoneId=" + getZoneId() + ", zoneName=" + getZoneName() + ", personId=" + getPersonId() + ", includeLabels=" + getIncludeLabels() + ", includeOrganizations=" + getIncludeOrganizations() + ", excludeLabels=" + getExcludeLabels() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+100
-104
@@ -1,104 +1,100 @@
|
||||
/* */ 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;
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 18 */ this.id = id; } 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 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; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 26 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getCreateTime() {
|
||||
/* 31 */ return this.createTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getLastUpdateTime() {
|
||||
/* 36 */ return this.lastUpdateTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 41 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 46 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 51 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 56 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 61 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getIncludeLabels() {
|
||||
/* 66 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getIncludeOrganizations() {
|
||||
/* 71 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getExcludeLabels() {
|
||||
/* 76 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 81 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 86 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 91 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getParentRule() {
|
||||
/* 96 */ return this.parentRule;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\dto\ImageRuleRefResultDto.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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;
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id; } 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 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; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+102
-106
@@ -1,106 +1,102 @@
|
||||
/* */ 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.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;
|
||||
/* 46 */ protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer insert(AcsPassRuleAddDto dto) {
|
||||
/* 50 */ return this.acsPassRuleMapper.insert(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer update(AcsPassRuleEditDto dto) {
|
||||
/* 55 */ return this.acsPassRuleMapper.update(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer delete(AcsPassRuleDeleteDto dto) {
|
||||
/* 60 */ return this.acsPassRuleMapper.delete(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) {
|
||||
/* 65 */ PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
/* 66 */ Page<AcsPassRuleResultDto> result = (Page<AcsPassRuleResultDto>)this.acsPassRuleMapper.list(dto);
|
||||
/* 67 */ return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), AcsPassRuleResultDto.class), page, result
|
||||
/* 68 */ .getTotal());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 74 */ return this.acsPassRuleMapper.list(dto);
|
||||
/* 75 */ } catch (Exception e) {
|
||||
/* 76 */ this.logger.error("查询紧通行规则异常,原因:[{}]", e.getMessage(), e);
|
||||
/* 77 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 84 */ return this.acsPassRuleMapper.getIsDefaultByZoneId(dto);
|
||||
/* 85 */ } catch (Exception e) {
|
||||
/* 86 */ this.logger.error("根据楼层id获取默认图库id异常,原因:[{}]", e.getMessage(), e);
|
||||
/* 87 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
/* */ try {
|
||||
/* 94 */ return this.acsPassRuleMapper.listByImageId(dto);
|
||||
/* 95 */ } catch (Exception e) {
|
||||
/* 96 */ this.logger.error("根据图库id集合查询对应楼层信息异常,原因:[{}]", e.getMessage(), e);
|
||||
/* 97 */ throw new DataAccessException(e);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\impl\AcsPassRuleDaoImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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.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(getClass());
|
||||
|
||||
|
||||
public Integer insert(AcsPassRuleAddDto dto) {
|
||||
return this.acsPassRuleMapper.insert(dto);
|
||||
}
|
||||
|
||||
|
||||
public Integer update(AcsPassRuleEditDto dto) {
|
||||
return this.acsPassRuleMapper.update(dto);
|
||||
}
|
||||
|
||||
|
||||
public Integer delete(AcsPassRuleDeleteDto dto) {
|
||||
return this.acsPassRuleMapper.delete(dto);
|
||||
}
|
||||
|
||||
|
||||
public CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) {
|
||||
PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
Page<AcsPassRuleResultDto> result = (Page<AcsPassRuleResultDto>)this.acsPassRuleMapper.list(dto);
|
||||
return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), AcsPassRuleResultDto.class), page, result
|
||||
.getTotal());
|
||||
}
|
||||
|
||||
|
||||
public List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.list(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("查询紧通行规则异常,原因:[{}]", e.getMessage(), e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.getIsDefaultByZoneId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼层id获取默认图库id异常,原因:[{}]", e.getMessage(), e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.listByImageId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据图库id集合查询对应楼层信息异常,原因:[{}]", e.getMessage(), e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+366
-370
@@ -1,370 +1,366 @@
|
||||
/* */ 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.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;
|
||||
/* 47 */ protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) throws DataAccessException {
|
||||
/* 60 */ PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
/* 61 */ Page<ImageRuleRefResultDto> result = (Page<ImageRuleRefResultDto>)this.imageRuleRefMapper.page(dto);
|
||||
/* 62 */ return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), ImageRuleRefResultDto.class), page, result
|
||||
/* 63 */ .getTotal());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> listRuleByZoneIdExtDefault(String zoneId) {
|
||||
/* 74 */ return this.imageRuleRefMapper.listRuleByZoneIdExtDefault(zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<ImageRuleRefResultDto> listByParentRule(List<String> parentRuleIds) {
|
||||
/* 85 */ return this.imageRuleRefMapper.listByParentRule(parentRuleIds);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<ImageRuleRefResultDto> listByPersonId(String personId) throws DataAccessException {
|
||||
/* 96 */ return this.imageRuleRefMapper.listByPersonId(personId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<ImageRuleRefResultDto> listByLabelId(String labelId) throws DataAccessException {
|
||||
/* 107 */ return this.imageRuleRefMapper.listByLabelId(labelId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<ImageRuleRefResultDto> listByOrgId(String orgId) throws DataAccessException {
|
||||
/* 118 */ return this.imageRuleRefMapper.listByOrgId(orgId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
/* 130 */ return this.imageRuleRefMapper.listByPersonInfo(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
/* 142 */ return this.imageRuleRefMapper.listByRestructure(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
/* 154 */ return this.imageRuleRefMapper.listFloorsByRestructure(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> zoneIds) throws DataAccessException {
|
||||
/* 166 */ return this.imageRuleRefMapper.listZoneInfoByIds(zoneIds);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
/* 178 */ return this.imageRuleRefMapper.listByNotZoneIds(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto dto) throws DataAccessException {
|
||||
/* 190 */ return this.imageRuleRefMapper.listByPersonList(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> listPersonDelByZoneId(String zoneId) throws DataAccessException {
|
||||
/* 201 */ return this.imageRuleRefMapper.listPersonDelByZoneId(zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> listPersonDelByPersonId(String personId) throws DataAccessException {
|
||||
/* 212 */ return this.imageRuleRefMapper.listPersonDelByPersonId(personId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public ImageRuleRefResultDto getDefaultByZoneId(String zoneId) throws DataAccessException {
|
||||
/* 223 */ return this.imageRuleRefMapper.getDefaultByZoneId(zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public ImageRuleRefResultDto getById(String id) throws DataAccessException {
|
||||
/* 234 */ return this.imageRuleRefMapper.getById(id);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getByRuleName(String ruleName, String zoneId) throws DataAccessException {
|
||||
/* 246 */ return this.imageRuleRefMapper.getByRuleName(ruleName, zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> personId, String zoneId) throws DataAccessException {
|
||||
/* 258 */ return this.imageRuleRefMapper.getByPersonIdAndZoneId(personId, zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public ImageRuleRefResultDto getDelByPersonIdAndZoneId(String personId, String zoneId) throws DataAccessException {
|
||||
/* 270 */ return this.imageRuleRefMapper.getDelByPersonIdAndZoneId(personId, zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<String> countPersonIdByZoneId(String zoneId) throws DataAccessException {
|
||||
/* 281 */ return this.imageRuleRefMapper.countPersonIdByZoneId(zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean insert(ImageRuleRefAddDto dto) {
|
||||
/* 291 */ return this.imageRuleRefMapper.insert(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean insertList(List<ImageRuleRefAddDto> insertList) throws DataAccessException {
|
||||
/* 302 */ return this.imageRuleRefMapper.insertList(insertList);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean deleteById(String id) throws DataAccessException {
|
||||
/* 313 */ this.imageRuleRefMapper.deleteById(id);
|
||||
/* 314 */ this.imageRuleRefMapper.deleteByParentRule(id);
|
||||
/* 315 */ return Boolean.valueOf(true);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean deleteByZoneIdAndName(String zoneId, String oldName) throws DataAccessException {
|
||||
/* 327 */ return this.imageRuleRefMapper.deleteByZoneIdAndName(zoneId, oldName);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean deleteByPersonIdsIsDel(List<String> personId, String zoneId) throws DataAccessException {
|
||||
/* 339 */ return this.imageRuleRefMapper.deleteByPersonIdsIsDel(personId, zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean deleteByPersonId(String personId, String zoneId) throws DataAccessException {
|
||||
/* 351 */ return this.imageRuleRefMapper.deleteByPersonId(personId, zoneId);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto dto) throws DataAccessException {
|
||||
/* 362 */ return this.imageRuleRefMapper.deleteByOrgAndLabel(dto);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-data-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\impl\ImageRuleRefDaoImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
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.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(getClass());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) throws DataAccessException {
|
||||
PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
Page<ImageRuleRefResultDto> result = (Page<ImageRuleRefResultDto>)this.imageRuleRefMapper.page(dto);
|
||||
return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), ImageRuleRefResultDto.class), page, result
|
||||
.getTotal());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<String> listRuleByZoneIdExtDefault(String zoneId) {
|
||||
return this.imageRuleRefMapper.listRuleByZoneIdExtDefault(zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<ImageRuleRefResultDto> listByParentRule(List<String> parentRuleIds) {
|
||||
return this.imageRuleRefMapper.listByParentRule(parentRuleIds);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonId(String personId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonId(personId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<ImageRuleRefResultDto> listByLabelId(String labelId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByLabelId(labelId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<ImageRuleRefResultDto> listByOrgId(String orgId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByOrgId(orgId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonInfo(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByRestructure(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listFloorsByRestructure(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> zoneIds) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listZoneInfoByIds(zoneIds);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByNotZoneIds(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonList(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<String> listPersonDelByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listPersonDelByZoneId(zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<String> listPersonDelByPersonId(String personId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listPersonDelByPersonId(personId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ImageRuleRefResultDto getDefaultByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getDefaultByZoneId(zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ImageRuleRefResultDto getById(String id) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getById(id);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getByRuleName(String ruleName, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getByRuleName(ruleName, zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getByPersonIdAndZoneId(personId, zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public ImageRuleRefResultDto getDelByPersonIdAndZoneId(String personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getDelByPersonIdAndZoneId(personId, zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public List<String> countPersonIdByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.countPersonIdByZoneId(zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean insert(ImageRuleRefAddDto dto) {
|
||||
return this.imageRuleRefMapper.insert(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean insertList(List<ImageRuleRefAddDto> insertList) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.insertList(insertList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean deleteById(String id) throws DataAccessException {
|
||||
this.imageRuleRefMapper.deleteById(id);
|
||||
this.imageRuleRefMapper.deleteByParentRule(id);
|
||||
return Boolean.valueOf(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean deleteByZoneIdAndName(String zoneId, String oldName) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByZoneIdAndName(zoneId, oldName);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean deleteByPersonIdsIsDel(List<String> personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByPersonIdsIsDel(personId, zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean deleteByPersonId(String personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByPersonId(personId, zoneId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByOrgAndLabel(dto);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user