chore(v0.11): 全路径纳入版本库与走查整改

- .gitignore:显式放行全部 maven-*、scripts、dev-support、frontend、反1、artifacts、历史导出目录
- 新增跟踪:device-manager/device-sdk/legacy-public、davinci-manager、cwos-*、cwos-resource 等源码与附属资源
- davinci FileStorageManagerImpl:Feign Response 关闭、绝对 URL 拉流 SSRF 校验(协议/主机/解析地址)
- davinci OuterCallFeignClient:补充契约说明
- cwos-common-aks AksConstant:final 类 + 私有构造防误实例化
- device-manager DeviceConstant:沿用 DEFAULT_APPLICATIONID 拼写修正

Made-with: Cursor
This commit is contained in:
反编译工作区
2026-04-24 23:54:05 +08:00
parent de6245a492
commit 0a34c76a82
3193 changed files with 227337 additions and 1 deletions
@@ -0,0 +1,149 @@
/* */ package cn.cloudwalk.elevator.common;
/* */
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContextBuilder;
/* */ import cn.cloudwalk.cloud.context.CloudwalkSessionContextHolder;
/* */ import cn.cloudwalk.cloud.session.extend.DefaultExtendContext;
/* */ import cn.cloudwalk.cloud.session.extend.ExtendContext;
/* */ import cn.cloudwalk.elevator.context.CloudWalkExtendContextValue;
/* */ import java.net.URLEncoder;
/* */ import javax.servlet.http.HttpServletRequest;
/* */ import javax.servlet.http.HttpServletResponse;
/* */ 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.web.context.request.RequestContextHolder;
/* */ import org.springframework.web.context.request.ServletRequestAttributes;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public abstract class AbstractCloudwalkController
/* */ {
/* 34 */ protected final Logger LOGGER = LoggerFactory.getLogger(getClass());
/* */
/* */
/* */
/* */
/* */
/* */ @Autowired
/* */ private MessageSource messageSource;
/* */
/* */
/* */
/* */
/* */
/* */ @Autowired
/* */ private CloudwalkSessionContextHolder cloudwalkSessionContextHolder;
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public CloudwalkCallContext getCloudwalkContext() {
/* 56 */ CloudwalkCallContext cloudwalkCallContext = CloudwalkCallContextBuilder.buildContext(this.cloudwalkSessionContextHolder);
/* */
/* */
/* 59 */ ServletRequestAttributes attributes = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
/* 60 */ if (null != attributes) {
/* 61 */ DefaultExtendContext<CloudWalkExtendContextValue> extendContext = new DefaultExtendContext();
/* 62 */ CloudWalkExtendContextValue cloudWalkExtendContextValue = new CloudWalkExtendContextValue();
/* */
/* 64 */ HttpServletRequest request = attributes.getRequest();
/* 65 */ cloudWalkExtendContextValue.setLoginId(request.getHeader("loginid"));
/* 66 */ cloudWalkExtendContextValue.setAuthorization(request.getHeader("authorization"));
/* */
/* 68 */ extendContext.setValue(cloudWalkExtendContextValue);
/* 69 */ cloudwalkCallContext.setExt((ExtendContext)extendContext);
/* */ }
/* */
/* 72 */ return cloudwalkCallContext;
/* */ }
/* */
/* */ public String getToken() {
/* 76 */ ServletRequestAttributes attributes = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
/* 77 */ if (null != attributes) {
/* 78 */ return attributes.getRequest().getHeader("authorization");
/* */ }
/* 80 */ return null;
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ protected HttpServletRequest getHttpServletRequest() {
/* 89 */ return ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public String getMessage(String code, String defaultMsg) {
/* 100 */ return this.messageSource.getMessage(code, null, defaultMsg, LocaleContextHolder.getLocale());
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public String getMessage(String code) {
/* 110 */ return getMessage(code, "");
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ protected void makeExcelresponse(HttpServletRequest request, HttpServletResponse response, String fileName) {
/* 120 */ response.setContentType("application/vnd.ms-excel;charset=utf-8");
/* 121 */ response.setHeader("Content-Disposition", "attachment;filename=" +
/* 122 */ encodeFileName(fileName, request));
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ protected String encodeFileName(String fileNames, HttpServletRequest request) {
/* 135 */ String codedFilename = null;
/* */ try {
/* 137 */ codedFilename = URLEncoder.encode(fileNames, "UTF-8");
/* 138 */ } catch (Exception e) {
/* 139 */ this.LOGGER.error("转换文件名字符类型失败,原因:", e);
/* */ }
/* 141 */ return codedFilename;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\AbstractCloudwalkController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,9 @@
package cn.cloudwalk.elevator.common;
public class CloudwalkCallNewContext {}
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\CloudwalkCallNewContext.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,127 @@
/* */ package cn.cloudwalk.elevator.handler;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.param.DeviceQueryParam;
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceService;
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.session.company.CompanyContext;
/* */ import cn.cloudwalk.cloud.session.user.UserContext;
/* */ import cn.cloudwalk.cloud.utils.CloudwalkDateUtils;
/* */ import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
/* */ import cn.cloudwalk.elevator.record.service.AcsElevatorRecordService;
/* */ import java.util.Collection;
/* */ import java.util.HashMap;
/* */ import java.util.List;
/* */ import java.util.Map;
/* */ import javax.annotation.Resource;
/* */ import org.apache.commons.collections4.CollectionUtils;
/* */ 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.data.redis.core.RedisTemplate;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public abstract class AbstractEventHandler
/* */ {
/* 40 */ protected static final Logger LOGGER = LoggerFactory.getLogger(AbstractEventHandler.class);
/* */
/* */
/* */ @Resource
/* */ private DeviceService deviceService;
/* */
/* */
/* */ @Resource
/* */ private AcsElevatorRecordService acsElevatorRecordService;
/* */
/* */ @Resource
/* */ protected RedisTemplate<String, Object> redisTemplate;
/* */
/* */ @Autowired
/* */ private MessageSource messageSource;
/* */
/* */
/* */ public CloudwalkCallContext getCloudwalkContext(String businessId) {
/* 58 */ CloudwalkCallContext context = new CloudwalkCallContext();
/* 59 */ CompanyContext companyContext = new CompanyContext();
/* 60 */ companyContext.setCompanyId(businessId);
/* 61 */ context.setCompany(companyContext);
/* 62 */ UserContext userContext = new UserContext();
/* 63 */ userContext.setCaller("defaultUserId");
/* 64 */ userContext.setCallerName("defaultUserName");
/* 65 */ context.setUser(userContext);
/* 66 */ context.setCallTime(CloudwalkDateUtils.getCurrentDate());
/* */
/* 68 */ Map<String, String> feignThreadLoaclMap = new HashMap<>(3);
/* 69 */ feignThreadLoaclMap.put("businessid", businessId);
/* 70 */ feignThreadLoaclMap.put("platformuserid", "defaultUserId");
/* 71 */ feignThreadLoaclMap.put("username", "defaultUserName");
/* 72 */ FeignThreadLocalUtil.set(feignThreadLoaclMap);
/* 73 */ return context;
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ DeviceResult queryDeviceResult(String deviceCode, CloudwalkCallContext context) throws ServiceException {
/* 84 */ DeviceQueryParam deviceQueryParam = new DeviceQueryParam();
/* 85 */ deviceQueryParam.setDeviceCode(deviceCode);
/* */
/* 87 */ CloudwalkResult<List<DeviceResult>> deviceQueryResult = this.deviceService.list(deviceQueryParam, context);
/* 88 */ if (deviceQueryResult.isSuccess() && CollectionUtils.isNotEmpty((Collection)deviceQueryResult.getData())) {
/* 89 */ return ((List<DeviceResult>)deviceQueryResult.getData()).get(0);
/* */ }
/* 91 */ return null;
/* */ }
/* */
/* */ protected void statisticsAddCache(String key) {
/* 95 */ if (!this.redisTemplate.hasKey(key).booleanValue()) {
/* 96 */ this.acsElevatorRecordService.createCache(key, 0L);
/* */ }
/* 98 */ this.redisTemplate.opsForValue().increment(key, 1L);
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public String getMessage(String code, String defaultMsg) {
/* 109 */ return this.messageSource.getMessage(code, null, defaultMsg, LocaleContextHolder.getLocale());
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public String getMessage(String code) {
/* 119 */ return getMessage(code, "");
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\AbstractEventHandler.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,120 @@
/* */ package cn.cloudwalk.elevator.handler;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
/* */ import cn.cloudwalk.cwos.client.event.event.OpenDoorRecordEvent;
/* */ import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
/* */ import cn.cloudwalk.elevator.em.AcsDeviceIdentifyTypeEnum;
/* */ import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordExtraDTO;
/* */ import cn.cloudwalk.elevator.record.param.AcsElevatorRecordAddParam;
/* */ import cn.cloudwalk.elevator.record.param.AcsOpenDoorRecordAddParam;
/* */ import cn.cloudwalk.elevator.record.service.AcsElevatorRecordService;
/* */ import cn.cloudwalk.elevator.util.AcsCacheKeyUtil;
/* */ import cn.cloudwalk.elevator.util.DateUtils;
/* */ import cn.cloudwalk.event.annotation.EventTopicSuffix;
/* */ import cn.cloudwalk.event.handler.EventHandler;
/* */ import com.alibaba.fastjson.JSON;
/* */ import com.alibaba.fastjson.JSONObject;
/* */ import java.util.Date;
/* */ import javax.annotation.Resource;
/* */ import org.apache.commons.lang3.StringUtils;
/* */ import org.slf4j.Logger;
/* */ import org.slf4j.LoggerFactory;
/* */ import org.springframework.data.redis.core.RedisTemplate;
/* */ import org.springframework.stereotype.Component;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @Component
/* */ @EventTopicSuffix({"all"})
/* */ public class OpenDoorRecordEventHandler
/* */ extends AbstractEventHandler
/* */ implements EventHandler<OpenDoorRecordEvent>
/* */ {
/* 41 */ private static final Logger LOGGER = LoggerFactory.getLogger(OpenDoorRecordEventHandler.class);
/* */
/* */ @Resource
/* */ private AcsElevatorRecordService acsElevatorRecordService;
/* */
/* */ @Resource
/* */ private RedisTemplate<String, Object> redisTemplate;
/* */
/* */
/* */ public void onEvent(OpenDoorRecordEvent openDoorRecordEvent) {
/* 51 */ LOGGER.info("收到openDoorRecordEvent消息:{}", JSON.toJSONString(openDoorRecordEvent));
/* */ try {
/* 53 */ CloudwalkCallContext context = getCloudwalkContext(openDoorRecordEvent.getBusinessId());
/* 54 */ DeviceResult deviceResult = queryDeviceResult(openDoorRecordEvent.getDeviceId(), context);
/* 55 */ AcsOpenDoorRecordAddParam param = getParam(openDoorRecordEvent);
/* 56 */ param.setDeviceResult(deviceResult);
/* */
/* */
/* 59 */ AcsElevatorRecordExtraDTO elevatorRecordExtraDTO = null;
/* 60 */ if (StringUtils.isNotBlank(openDoorRecordEvent.getReserveInfo())) {
/* 61 */ JSONObject reserveInfo = JSON.parseObject(openDoorRecordEvent.getReserveInfo());
/* 62 */ if (!reserveInfo.isEmpty() && reserveInfo.containsKey("srcFloor")) {
/* 63 */ elevatorRecordExtraDTO = (AcsElevatorRecordExtraDTO)reserveInfo.toJavaObject(AcsElevatorRecordExtraDTO.class);
/* */ }
/* */ }
/* */
/* 67 */ if (deviceResult == null ||
/* 68 */ !AcsDeviceIdentifyTypeEnum.BACKEND_REG.getCode().equals(Integer.valueOf(deviceResult.getIdentifyType())))
/* */ {
/* */
/* 71 */ if (elevatorRecordExtraDTO != null) {
/* */
/* 73 */ AcsElevatorRecordAddParam elevatorParam = getElevatorParam(param, elevatorRecordExtraDTO);
/* 74 */ CloudwalkResult<Boolean> addResult = this.acsElevatorRecordService.add(elevatorParam, context);
/* */
/* 76 */ if (param.getRecordResult().intValue() == 1 && addResult.isSuccess() && "1".equals(elevatorRecordExtraDTO.getSrcFloor())) {
/* 77 */ statisticsAddCache(AcsCacheKeyUtil.getOpenDoorCountKey(DateUtils.parseDate(new Date(), "yyyy-MM-dd"), openDoorRecordEvent
/* 78 */ .getBusinessId()));
/* */ }
/* */ }
/* */ }
/* 82 */ } catch (Exception e) {
/* 83 */ LOGGER.error("消费开门记录失败,原因:", e);
/* */ } finally {
/* */
/* 86 */ FeignThreadLocalUtil.remove();
/* */ }
/* */ }
/* */
/* */ private void cleanCache(CloudwalkCallContext context, DeviceResult deviceResult, String openDoorLogId, String recognitionNo) {
/* 91 */ String backendRegLogIdKey = AcsCacheKeyUtil.getBackendRegLogIdKey(deviceResult.getDeviceCode(), context
/* 92 */ .getCompany().getCompanyId(), recognitionNo);
/* */
/* 94 */ String backendRegExpireKey = AcsCacheKeyUtil.getBackendRegExpireKey(context.getCompany().getCompanyId(), openDoorLogId);
/* 95 */ this.redisTemplate.delete(backendRegLogIdKey);
/* 96 */ this.redisTemplate.delete(backendRegExpireKey);
/* */ }
/* */
/* */
/* */ private AcsOpenDoorRecordAddParam getParam(OpenDoorRecordEvent event) {
/* 101 */ AcsOpenDoorRecordAddParam param = (AcsOpenDoorRecordAddParam)BeanCopyUtils.copyProperties(event, AcsOpenDoorRecordAddParam.class);
/* 102 */ param.setRecordResult(Integer.valueOf(Integer.parseInt(event.getRecordResult())));
/* 103 */ param.setDeviceCode(event.getDeviceId());
/* 104 */ param.setOpenDoorType(event.getOpenDoorType());
/* 105 */ return param;
/* */ }
/* */
/* */
/* */
/* */ private AcsElevatorRecordAddParam getElevatorParam(AcsOpenDoorRecordAddParam addParam, AcsElevatorRecordExtraDTO elevatorRecordExtraDTO) {
/* 111 */ AcsElevatorRecordAddParam param = (AcsElevatorRecordAddParam)BeanCopyUtils.copyProperties(addParam, AcsElevatorRecordAddParam.class);
/* 112 */ return (AcsElevatorRecordAddParam)BeanCopyUtils.copyProperties(elevatorRecordExtraDTO, param);
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\OpenDoorRecordEventHandler.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,108 @@
/* */ package cn.cloudwalk.elevator.handler;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
/* */ import cn.cloudwalk.cwos.client.event.event.PersonRecordUploadEvent;
/* */ import cn.cloudwalk.cwos.client.event.event.mode.Face;
/* */ import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
/* */ import cn.cloudwalk.elevator.em.CompareTypeEnum;
/* */ import cn.cloudwalk.elevator.record.param.AcsRecogRecordAddParam;
/* */ import cn.cloudwalk.elevator.record.service.AcsRecogRecordService;
/* */ import cn.cloudwalk.elevator.util.AcsCacheKeyUtil;
/* */ import cn.cloudwalk.elevator.util.DateUtils;
/* */ import cn.cloudwalk.event.annotation.EventTopicSuffix;
/* */ import cn.cloudwalk.event.handler.EventHandler;
/* */ import com.alibaba.fastjson.JSON;
/* */ import java.math.BigDecimal;
/* */ import java.util.Date;
/* */ import java.util.List;
/* */ import java.util.Map;
/* */ import java.util.stream.Collectors;
/* */ import javax.annotation.Resource;
/* */ import org.slf4j.Logger;
/* */ import org.slf4j.LoggerFactory;
/* */ import org.springframework.stereotype.Component;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @Component
/* */ @EventTopicSuffix({"all"})
/* */ public class PersonRecordEventHandler
/* */ extends AbstractEventHandler
/* */ implements EventHandler<PersonRecordUploadEvent>
/* */ {
/* 41 */ private static final Logger LOGGER = LoggerFactory.getLogger(PersonRecordEventHandler.class);
/* */
/* */ @Resource
/* */ private AcsRecogRecordService acsRecogRecordService;
/* */
/* */
/* */ public void onEvent(PersonRecordUploadEvent personRecordUploadEvent) {
/* 48 */ LOGGER.info("收到personRecordUploadEvent消息:{}", JSON.toJSONString(personRecordUploadEvent));
/* */ try {
/* 50 */ CloudwalkCallContext context = getCloudwalkContext(personRecordUploadEvent
/* 51 */ .getBusinessId());
/* */
/* 53 */ DeviceResult deviceResult = queryDeviceResult(personRecordUploadEvent.getDeviceId(), context);
/* */
/* 55 */ DeviceResult subDeviceResult = queryDeviceResult(personRecordUploadEvent.getSubDeviceId(), context);
/* */
/* */
/* */
/* 59 */ Map<String, List<Face>> faceMap = (Map<String, List<Face>>)personRecordUploadEvent.getFaces().stream().collect(Collectors.groupingBy(Face::getFaceId));
/* 60 */ for (String faceId : faceMap.keySet()) {
/* */ try {
/* 62 */ Face face = ((List<Face>)faceMap.get(faceId)).get(0);
/* 63 */ AcsRecogRecordAddParam param = getParam(personRecordUploadEvent, face);
/* 64 */ param.setDeviceResult(deviceResult);
/* 65 */ param.setSubDeviceResult(subDeviceResult);
/* 66 */ this.acsRecogRecordService.add(param, context);
/* */
/* 68 */ statisticsAddCache(AcsCacheKeyUtil.getRecogCountKey(DateUtils.parseDate(new Date(), "yyyy-MM-dd"), personRecordUploadEvent
/* 69 */ .getBusinessId()));
/* 70 */ } catch (Exception e) {
/* 71 */ LOGGER.error("保存人员识别记录失败,faceId:{},原因:", faceId, e);
/* */ }
/* */ }
/* 74 */ } catch (Exception e) {
/* 75 */ LOGGER.error("消费人员识别记录失败,原因:", e);
/* */ } finally {
/* */
/* 78 */ FeignThreadLocalUtil.remove();
/* */ }
/* */ }
/* */
/* */
/* */ private AcsRecogRecordAddParam getParam(PersonRecordUploadEvent event, Face face) {
/* 84 */ AcsRecogRecordAddParam param = (AcsRecogRecordAddParam)BeanCopyUtils.copyProperties(event, AcsRecogRecordAddParam.class);
/* 85 */ BeanCopyUtils.copyProperties(face, param);
/* 86 */ if (event.getPanoramaData() != null) {
/* 87 */ param.setPanoramaImagePath(event.getPanoramaData().getPanoramaImagePath());
/* */ }
/* 89 */ param.setDeviceCode(event.getDeviceId());
/* 90 */ param.setThreshold(BigDecimal.valueOf(event.getThreshold()));
/* 91 */ param.setScore(BigDecimal.valueOf(face.getScore().floatValue()));
/* 92 */ param.setQualityScore(BigDecimal.valueOf(face.getQualityScore().floatValue()));
/* 93 */ if (face.getMaskScore() != null) {
/* 94 */ param.setMaskScore(BigDecimal.valueOf(face.getMaskScore().floatValue()));
/* */ }
/* 96 */ if (face.getTempScore() != null) {
/* 97 */ param.setTempScore(BigDecimal.valueOf(face.getTempScore().floatValue()));
/* */ }
/* 99 */ param.setCompareType(CompareTypeEnum.RECOG.getCode());
/* 100 */ return param;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\PersonRecordEventHandler.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,337 @@
/* */ package cn.cloudwalk.elevator.handler.device.controller;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceService;
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageAble;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.param.AcsElevatorCodeParam;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.service.AcsElevatorCodeService;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
/* */ import cn.cloudwalk.elevator.device.param.AcsDeviceQueryParam;
/* */ import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceAddParam;
/* */ import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceEditParam;
/* */ import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceQueryByIdParam;
/* */ import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceQueryParam;
/* */ import cn.cloudwalk.elevator.device.service.AcsElevatorDeviceService;
/* */ import cn.cloudwalk.elevator.export.impl.ElevatorDeviceExportService;
/* */ import cn.cloudwalk.elevator.export.result.ElevatorDeviceRecordExcelResult;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsDeviceQueryForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorCodeForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorDeviceAddForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorDeviceDeleteForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorDeviceEditForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorDeviceQueryByIdForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorDeviceQueryForm;
/* */ import cn.cloudwalk.elevator.zone.param.ZoneNextTreeParam;
/* */ import cn.cloudwalk.elevator.zone.result.ZoneTreeResult;
/* */ import cn.cloudwalk.elevator.zone.service.ZoneService;
/* */ import com.alibaba.fastjson.JSON;
/* */ import com.alibaba.fastjson.JSONObject;
/* */ import java.util.ArrayList;
/* */ import java.util.HashMap;
/* */ import java.util.List;
/* */ import java.util.Map;
/* */ import javax.annotation.Resource;
/* */ import org.springframework.util.ObjectUtils;
/* */ import org.springframework.web.bind.annotation.PostMapping;
/* */ import org.springframework.web.bind.annotation.RequestBody;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/elevator/device/"})
/* */ public class AcsElevatorDeviceController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Resource
/* */ private AcsElevatorDeviceService elevatorDeviceService;
/* */ @Resource
/* */ private AcsElevatorCodeService elevatorCodeService;
/* */ @Resource
/* */ private ZoneService zoneService;
/* */ @Resource
/* */ private DeviceService deviceService;
/* */ @Resource
/* */ private ElevatorDeviceExportService elevatorDeviceExportService;
/* */
/* */ @PostMapping({"/add"})
/* */ public CloudwalkResult add(@RequestBody AcsElevatorDeviceAddForm form) throws ServiceException {
/* 75 */ this.LOGGER.info("添加派梯设备,请求参数:{}", JSON.toJSONString(form));
/* 76 */ AcsElevatorDeviceAddParam param = (AcsElevatorDeviceAddParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceAddParam.class);
/* 77 */ String deviceCode = form.getDeviceCode();
/* 78 */ AcsElevatorDeviceResultDTO queryResultDTO = this.elevatorDeviceService.getByDeciveCode(deviceCode);
/* 79 */ if (queryResultDTO != null) {
/* 80 */ return CloudwalkResult.success("该设备已添加过,请重新选择!");
/* */ }
/* 82 */ String businessId = getCloudwalkContext().getCompany().getCompanyId();
/* 83 */ param.setBusinessId(businessId);
/* */ try {
/* 85 */ int result = this.elevatorDeviceService.add(param, getCloudwalkContext()).intValue();
/* 86 */ return CloudwalkResult.success(Integer.valueOf(result));
/* 87 */ } catch (ServiceException e) {
/* 88 */ this.LOGGER.error("添加派梯设备失败,原因:", (Throwable)e);
/* 89 */ return CloudwalkResult.fail("添加派梯设备失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/edit"})
/* */ public CloudwalkResult edit(@RequestBody AcsElevatorDeviceEditForm form) {
/* 99 */ this.LOGGER.info("修改派梯设备,请求参数:{}", JSON.toJSONString(form));
/* 100 */ AcsElevatorDeviceEditParam param = (AcsElevatorDeviceEditParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceEditParam.class);
/* */ try {
/* 102 */ int result = this.elevatorDeviceService.edit(param, getCloudwalkContext()).intValue();
/* 103 */ return CloudwalkResult.success(Integer.valueOf(result));
/* 104 */ } catch (ServiceException e) {
/* 105 */ this.LOGGER.error("修改派梯设备失败,原因:", (Throwable)e);
/* 106 */ return CloudwalkResult.fail("修改派梯设备失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/getById"})
/* */ public CloudwalkResult<AcsElevatorDeviceResultDTO> getById(@RequestBody AcsElevatorDeviceQueryByIdForm form) {
/* 116 */ this.LOGGER.info("根据id获取派梯设备信息,请求参数:{}", JSON.toJSONString(form));
/* 117 */ AcsElevatorDeviceQueryByIdParam param = (AcsElevatorDeviceQueryByIdParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceQueryByIdParam.class);
/* */ try {
/* 119 */ AcsElevatorDeviceResultDTO result = this.elevatorDeviceService.getById(param, getCloudwalkContext());
/* 120 */ return CloudwalkResult.success(result);
/* 121 */ } catch (ServiceException e) {
/* 122 */ this.LOGGER.error("根据id获取派梯设备信息失败,原因:", (Throwable)e);
/* 123 */ return CloudwalkResult.fail("根据id获取派梯设备信息失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/delete"})
/* */ public CloudwalkResult delete(@RequestBody AcsElevatorDeviceDeleteForm form) {
/* */ try {
/* 137 */ this.LOGGER.info("删除派梯设备信息,请求参数:{}", JSON.toJSONString(form));
/* 138 */ if (form == null) {
/* 139 */ this.LOGGER.error("删除派梯设备信息失败,原因:无编号传输过来!");
/* 140 */ return CloudwalkResult.fail("无编号传输过来!", getMessage("无编号传输过来!"));
/* */ }
/* 142 */ List<String> idList = form.getIds();
/* 143 */ int result = this.elevatorDeviceService.delete(idList, getCloudwalkContext()).intValue();
/* 144 */ return CloudwalkResult.success(Integer.valueOf(result));
/* 145 */ } catch (ServiceException e) {
/* 146 */ this.LOGGER.error("修改派梯设备失败,原因:", (Throwable)e);
/* 147 */ return CloudwalkResult.fail("删除派梯设备信息失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/editCode"})
/* */ public CloudwalkResult editCode(@RequestBody AcsElevatorCodeForm form) {
/* */ try {
/* 160 */ this.LOGGER.info("设置电梯编码,请求参数:{}", JSON.toJSONString(form));
/* 161 */ AcsElevatorCodeParam param = (AcsElevatorCodeParam)BeanCopyUtils.copyProperties(form, AcsElevatorCodeParam.class);
/* 162 */ if (param.getIsFirst().intValue() == 1) {
/* */
/* 164 */ AcsElevatorCodeResultDTO firstResult = this.elevatorCodeService.getFirstByParentId(param.getParentId());
/* 165 */ if (!ObjectUtils.isEmpty(firstResult) && !firstResult.getZoneId().equals(param.getZoneId())) {
/* 166 */ return CloudwalkResult.fail("76260525", getMessage("76260525"));
/* */ }
/* */ }
/* 169 */ AcsElevatorCodeResultDTO result = this.elevatorCodeService.get(param);
/* 170 */ if (!ObjectUtils.isEmpty(result)) {
/* 171 */ this.elevatorCodeService.updateOld(param);
/* 172 */ return CloudwalkResult.success(Integer.valueOf(1));
/* */ }
/* 174 */ this.elevatorCodeService.insertNew(param);
/* 175 */ return CloudwalkResult.success(Integer.valueOf(1));
/* */ }
/* 177 */ catch (ServiceException e) {
/* 178 */ this.LOGGER.error("设置电梯编码失败,原因:", (Throwable)e);
/* 179 */ return CloudwalkResult.fail("设置电梯编码失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/get"})
/* */ public CloudwalkResult<CloudwalkPageAble<AcsElevatorDeviceResultDTO>> get(@RequestBody AcsElevatorDeviceQueryForm form) {
/* 192 */ this.LOGGER.info("分页查询派梯设备,请求参数:{}", JSON.toJSONString(form));
/* 193 */ AcsElevatorDeviceQueryParam param = (AcsElevatorDeviceQueryParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceQueryParam.class);
/* */ try {
/* 195 */ return this.elevatorDeviceService.get(param, getCloudwalkContext());
/* 196 */ } catch (ServiceException e) {
/* 197 */ this.LOGGER.error("查询派梯设备信息列表失败,原因:{}", (Throwable)e);
/* 198 */ return CloudwalkResult.fail("查询派梯设备信息列表失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/export"})
/* */ public CloudwalkResult<Boolean> export(@RequestBody AcsElevatorDeviceQueryForm form) {
/* 207 */ this.LOGGER.info("派梯设备导出,请求参数:{}", JSON.toJSONString(form));
/* 208 */ AcsElevatorDeviceQueryParam param = (AcsElevatorDeviceQueryParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceQueryParam.class);
/* */ try {
/* 210 */ CloudwalkCallContext cloudwalkContext = getCloudwalkContext();
/* 211 */ if (cloudwalkContext.getCompany().getCompanyId() == null) {
/* 212 */ cloudwalkContext.getCompany().setCompanyId("default");
/* */ }
/* 214 */ return this.elevatorDeviceExportService.startExportTask(param, ElevatorDeviceRecordExcelResult.class, null, cloudwalkContext);
/* 215 */ } catch (ServiceException e) {
/* 216 */ this.LOGGER.error("派梯设备信息导出失败", (Throwable)e);
/* 217 */ return CloudwalkResult.fail("查询派梯设备信息列表失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/zone/treeCode"})
/* */ public CloudwalkResult<List<ZoneTreeResult>> queryZoneTreeCode(@RequestBody ZoneNextTreeParam zoneNextTreeParam) {
/* */ try {
/* 229 */ this.LOGGER.info("获取区域的电梯编码,请求参数:{}", JSON.toJSONString(zoneNextTreeParam));
/* 230 */ CloudwalkResult<List<ZoneTreeResult>> query = this.zoneService.tree(zoneNextTreeParam, getCloudwalkContext());
/* 231 */ CloudwalkResult<List<ZoneTreeResult>> result = new CloudwalkResult();
/* 232 */ List<ZoneTreeResult> treeList = (List<ZoneTreeResult>)query.getData();
/* 233 */ List<ZoneTreeResult> treeResultList = new ArrayList<>();
/* 234 */ if (treeList != null && treeList.size() > 0) {
/* 235 */ for (ZoneTreeResult zoneTreeResult : treeList) {
/* 236 */ String zoneId = zoneTreeResult.getId();
/* 237 */ AcsElevatorCodeParam param = new AcsElevatorCodeParam();
/* 238 */ param.setZoneId(zoneId);
/* 239 */ AcsElevatorCodeResultDTO code = this.elevatorCodeService.get(param);
/* 240 */ if (!ObjectUtils.isEmpty(code)) {
/* 241 */ zoneTreeResult.setElevatorCode(code.getCode());
/* 242 */ zoneTreeResult.setIsFirst(code.getIsFirst());
/* */ }
/* 244 */ if (zoneTreeResult.getChildren() != null) {
/* 245 */ List<ZoneTreeResult> chidList = treeRecursionDataList(zoneTreeResult.getChildren());
/* 246 */ zoneTreeResult.setChildren(chidList);
/* */ }
/* 248 */ treeResultList.add(zoneTreeResult);
/* */ }
/* */ }
/* 251 */ query.setData(treeResultList);
/* 252 */ return query;
/* 253 */ } catch (Exception e) {
/* 254 */ this.LOGGER.error("获取区域的电梯编码失败,原因:", e);
/* 255 */ return CloudwalkResult.fail("获取区域的电梯编码失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */ public List<ZoneTreeResult> treeRecursionDataList(List<ZoneTreeResult> childList) throws ServiceException {
/* 260 */ List<ZoneTreeResult> childResultList = new ArrayList<>();
/* 261 */ for (ZoneTreeResult zoneTreeResult : childList) {
/* 262 */ String id = zoneTreeResult.getId();
/* 263 */ AcsElevatorCodeParam param = new AcsElevatorCodeParam();
/* 264 */ param.setZoneId(id);
/* 265 */ AcsElevatorCodeResultDTO code = this.elevatorCodeService.get(param);
/* 266 */ if (!ObjectUtils.isEmpty(code)) {
/* 267 */ zoneTreeResult.setElevatorCode(code.getCode());
/* 268 */ zoneTreeResult.setIsFirst(code.getIsFirst());
/* */ }
/* 270 */ if (zoneTreeResult.getChildren() != null && zoneTreeResult.getChildren().size() > 0) {
/* 271 */ zoneTreeResult.setChildren(treeRecursionDataList(zoneTreeResult.getChildren()));
/* */ }
/* 273 */ childResultList.add(zoneTreeResult);
/* */ }
/* 275 */ return childResultList;
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/devicePage"})
/* */ public CloudwalkResult<CloudwalkPageAble<DeviceResult>> devicePage(@RequestBody AcsDeviceQueryForm form) {
/* */ try {
/* 286 */ if (this.LOGGER.isDebugEnabled()) {
/* 287 */ this.LOGGER.debug("devicePage form {}", JSONObject.toJSONString(form));
/* */ }
/* 289 */ AcsDeviceQueryParam param = new AcsDeviceQueryParam();
/* 290 */ CloudwalkPageInfo pageInfo = new CloudwalkPageInfo(form.getCurrentPage(), form.getRowsOfPage());
/* 291 */ BeanCopyUtils.copyProperties(form, param);
/* */
/* 293 */ if (this.LOGGER.isDebugEnabled()) {
/* 294 */ this.LOGGER.debug("devicePage param {}", JSONObject.toJSONString(param));
/* */ }
/* 296 */ return this.elevatorDeviceService.devicePage(param, pageInfo, getCloudwalkContext());
/* 297 */ } catch (ServiceException e) {
/* 298 */ this.LOGGER.error("分页查询设备信息异常,原因:", (Throwable)e);
/* 299 */ return CloudwalkResult.fail("76260529", getMessage("76260529"));
/* */ }
/* */ }
/* */
/* */
/* */ public Map<String, String> queryZone() throws ServiceException {
/* 305 */ Map<String, String> zoneMap = new HashMap<>();
/* 306 */ CloudwalkResult<List<ZoneTreeResult>> query = this.zoneService.tree(new ZoneNextTreeParam(), getCloudwalkContext());
/* 307 */ List<ZoneTreeResult> treeList = (List<ZoneTreeResult>)query.getData();
/* 308 */ if (treeList != null && treeList.size() > 0) {
/* 309 */ for (ZoneTreeResult zoneTreeResult : treeList) {
/* 310 */ String zoneId = zoneTreeResult.getId();
/* 311 */ String zoneName = zoneTreeResult.getName();
/* 312 */ zoneMap.put(zoneId, zoneName);
/* 313 */ getZoneMap(zoneTreeResult.getChildren(), zoneMap);
/* */ }
/* */ }
/* 316 */ return zoneMap;
/* */ }
/* */
/* */ public Map<String, String> getZoneMap(List<ZoneTreeResult> childList, Map<String, String> zoneMap) throws ServiceException {
/* 320 */ List<ZoneTreeResult> childResultList = new ArrayList<>();
/* 321 */ for (ZoneTreeResult zoneTreeResult : childList) {
/* 322 */ String zoneId = zoneTreeResult.getId();
/* 323 */ String zoneName = zoneTreeResult.getName();
/* 324 */ zoneMap.put(zoneId, zoneName);
/* 325 */ if (zoneTreeResult.getChildren() != null && zoneTreeResult.getChildren().size() > 0) {
/* 326 */ getZoneMap(zoneTreeResult.getChildren(), zoneMap);
/* */ }
/* */ }
/* 329 */ return zoneMap;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\controller\AcsElevatorDeviceController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,295 @@
/* */ package cn.cloudwalk.elevator.handler.device.controller;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceService;
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeQueryDTO;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.param.AcsElevatorCodeParam;
/* */ import cn.cloudwalk.elevator.codeElevatorArea.service.AcsElevatorCodeService;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryFoDTO;
/* */ import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
/* */ import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceQueryParam;
/* */ import cn.cloudwalk.elevator.device.result.KeyValueResult;
/* */ import cn.cloudwalk.elevator.device.service.AcsElevatorDeviceService;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorCodeQueryForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorDeviceQueryForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsElevatorRecordAddForm;
/* */ import cn.cloudwalk.elevator.record.param.AcsElevatorRecordAddParam;
/* */ import cn.cloudwalk.elevator.record.service.AcsElevatorRecordService;
/* */ import cn.cloudwalk.elevator.util.StringUtils;
/* */ import cn.cloudwalk.elevator.zone.param.ZoneNextTreeParam;
/* */ import cn.cloudwalk.elevator.zone.result.ZoneTreeResult;
/* */ import cn.cloudwalk.elevator.zone.service.ZoneService;
/* */ import java.util.ArrayList;
/* */ import java.util.List;
/* */ import javax.annotation.Resource;
/* */ import org.springframework.beans.factory.annotation.Value;
/* */ import org.springframework.util.ObjectUtils;
/* */ import org.springframework.web.bind.annotation.PostMapping;
/* */ import org.springframework.web.bind.annotation.RequestBody;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/device/v2/"})
/* */ public class AcsElevatorDeviceGetWayController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Resource
/* */ private AcsElevatorDeviceService elevatorDeviceService;
/* */ @Resource
/* */ private AcsElevatorCodeService elevatorCodeService;
/* */ @Resource
/* */ private ZoneService zoneService;
/* */ @Resource
/* */ private DeviceService deviceService;
/* */ @Resource
/* */ private AcsElevatorRecordService elevatorRecordService;
/* */ @Value("${elevator.application.key}")
/* */ private String key;
/* */ @Value("${elevator.application.time}")
/* */ private Long time;
/* */ @Value("${elevator.application.keyA}")
/* */ private String keyA;
/* */
/* */ @PostMapping({"/39201"})
/* */ public CloudwalkResult<List<AcsElevatorDeviceQueryFoDTO>> get(@RequestBody AcsElevatorDeviceQueryForm form) {
/* 82 */ AcsElevatorDeviceQueryParam param = (AcsElevatorDeviceQueryParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceQueryParam.class);
/* */
/* */ try {
/* 85 */ List<AcsElevatorDeviceQueryFoDTO> list = this.elevatorDeviceService.getFo(param);
/* 86 */ if (list != null && list.size() > 0) {
/* 87 */ return CloudwalkResult.success(list);
/* */ }
/* 89 */ return CloudwalkResult.success(new ArrayList());
/* */ }
/* 91 */ catch (ServiceException e) {
/* 92 */ this.LOGGER.error("查询派梯设备信息列表失败,原因:{}", (Throwable)e);
/* 93 */ return CloudwalkResult.fail("查询派梯设备信息列表失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"39202"})
/* */ public CloudwalkResult<List<AcsElevatorCodeQueryDTO>> queryZoneTreeCode(@RequestBody AcsElevatorCodeQueryForm form) {
/* */ try {
/* 108 */ AcsElevatorDeviceQueryParam param = (AcsElevatorDeviceQueryParam)BeanCopyUtils.copyProperties(form, AcsElevatorDeviceQueryParam.class);
/* 109 */ String buildingId = "";
/* 110 */ String businessId = "";
/* 111 */ if (StringUtils.isNotBlank(form.getDeviceCode())) {
/* 112 */ buildingId = this.elevatorDeviceService.getBuildingId(param);
/* 113 */ businessId = this.elevatorDeviceService.getBusinessId(param);
/* */ }
/* */
/* */
/* 117 */ ZoneNextTreeParam zoneNextTreeParam = new ZoneNextTreeParam();
/* 118 */ if (StringUtils.isNotBlank(buildingId)) {
/* 119 */ zoneNextTreeParam.setParentId(buildingId);
/* */ }
/* */
/* 122 */ zoneNextTreeParam.setBusinessId(businessId);
/* 123 */ CloudwalkResult<List<ZoneTreeResult>> query = this.zoneService.tree(zoneNextTreeParam, getCloudwalkContext());
/* */
/* 125 */ List<ZoneTreeResult> treeList = (List<ZoneTreeResult>)query.getData();
/* */
/* 127 */ List<AcsElevatorCodeQueryDTO> treeResultList = new ArrayList<>();
/* 128 */ if (treeList != null && treeList.size() > 0) {
/* 129 */ for (ZoneTreeResult zoneTreeResult : treeList) {
/* 130 */ if ("PARK".equals(zoneTreeResult.getType())) {
/* 131 */ List<ZoneTreeResult> buildingList = zoneTreeResult.getChildren();
/* */
/* 133 */ if (buildingList != null && buildingList.size() > 0)
/* 134 */ for (ZoneTreeResult building : buildingList) {
/* 135 */ if ("BUILDING".equals(building.getType())) {
/* */
/* 137 */ List<ZoneTreeResult> floorList = building.getChildren();
/* 138 */ if (floorList != null && floorList.size() > 0)
/* 139 */ for (ZoneTreeResult floor : floorList) {
/* */
/* 141 */ AcsElevatorCodeQueryDTO querydTO = new AcsElevatorCodeQueryDTO();
/* 142 */ querydTO.setZoneId(floor.getId());
/* 143 */ querydTO.setId(floor.getId());
/* 144 */ querydTO.setZoneName(floor.getName());
/* 145 */ querydTO.setZoneType(floor.getType());
/* 146 */ AcsElevatorCodeParam paramCode = new AcsElevatorCodeParam();
/* 147 */ paramCode.setZoneId(floor.getId());
/* 148 */ AcsElevatorCodeResultDTO code = this.elevatorCodeService.get(paramCode);
/* 149 */ if (!ObjectUtils.isEmpty(code)) {
/* 150 */ querydTO.setCode(code.getCode());
/* 151 */ querydTO.setIsFirst(code.getIsFirst());
/* */ }
/* 153 */ treeResultList.add(querydTO);
/* */ } continue;
/* */ }
/* 156 */ if ("FLOOR".equals(building.getType())) {
/* 157 */ AcsElevatorCodeQueryDTO querydTO = new AcsElevatorCodeQueryDTO();
/* 158 */ querydTO.setZoneId(building.getId());
/* 159 */ querydTO.setZoneName(building.getName());
/* 160 */ querydTO.setZoneType("FLOOR");
/* 161 */ querydTO.setId(building.getId());
/* 162 */ AcsElevatorCodeParam paramCode = new AcsElevatorCodeParam();
/* 163 */ paramCode.setZoneId(zoneTreeResult.getId());
/* 164 */ AcsElevatorCodeResultDTO code = this.elevatorCodeService.get(paramCode);
/* 165 */ if (!ObjectUtils.isEmpty(code)) {
/* 166 */ querydTO.setCode(code.getCode());
/* 167 */ querydTO.setIsFirst(code.getIsFirst());
/* */ }
/* 169 */ treeResultList.add(querydTO);
/* */ }
/* */ } continue;
/* */ }
/* 173 */ if ("BUILDING".equals(zoneTreeResult.getType())) {
/* 174 */ List<ZoneTreeResult> floorList = zoneTreeResult.getChildren();
/* 175 */ if (floorList != null && floorList.size() > 0)
/* 176 */ for (ZoneTreeResult floor : floorList) {
/* 177 */ AcsElevatorCodeQueryDTO querydTO = new AcsElevatorCodeQueryDTO();
/* 178 */ querydTO.setZoneId(floor.getId());
/* 179 */ querydTO.setZoneName(floor.getName());
/* 180 */ querydTO.setZoneType(floor.getType());
/* 181 */ querydTO.setId(floor.getId());
/* 182 */ AcsElevatorCodeParam paramCode = new AcsElevatorCodeParam();
/* 183 */ paramCode.setZoneId(floor.getId());
/* 184 */ AcsElevatorCodeResultDTO code = this.elevatorCodeService.get(paramCode);
/* 185 */ if (!ObjectUtils.isEmpty(code)) {
/* 186 */ querydTO.setCode(code.getCode());
/* 187 */ querydTO.setIsFirst(code.getIsFirst());
/* */ }
/* 189 */ treeResultList.add(querydTO);
/* */ } continue;
/* */ }
/* 192 */ if ("FLOOR".equals(zoneTreeResult.getType())) {
/* 193 */ AcsElevatorCodeQueryDTO querydTO = new AcsElevatorCodeQueryDTO();
/* 194 */ querydTO.setZoneId(zoneTreeResult.getId());
/* 195 */ querydTO.setZoneName(zoneTreeResult.getName());
/* 196 */ querydTO.setZoneType("FLOOR");
/* 197 */ querydTO.setId(zoneTreeResult.getId());
/* 198 */ AcsElevatorCodeParam paramCode = new AcsElevatorCodeParam();
/* 199 */ paramCode.setZoneId(zoneTreeResult.getId());
/* 200 */ AcsElevatorCodeResultDTO code = this.elevatorCodeService.get(paramCode);
/* 201 */ if (!ObjectUtils.isEmpty(code)) {
/* 202 */ querydTO.setCode(code.getCode());
/* 203 */ querydTO.setIsFirst(code.getIsFirst());
/* */ }
/* 205 */ treeResultList.add(querydTO);
/* */ }
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* 214 */ CloudwalkResult<List<AcsElevatorCodeQueryDTO>> result = CloudwalkResult.success(treeResultList);
/* */
/* 216 */ return result;
/* 217 */ } catch (Exception e) {
/* 218 */ this.LOGGER.error("获取区域的电梯编码失败,原因:", e);
/* 219 */ return CloudwalkResult.fail("获取区域的电梯编码失败", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"39203"})
/* */ public CloudwalkResult addElevatorRecord(@RequestBody AcsElevatorRecordAddForm form) {
/* 232 */ AcsElevatorRecordAddParam param = (AcsElevatorRecordAddParam)BeanCopyUtils.copyProperties(form, AcsElevatorRecordAddParam.class);
/* */ try {
/* 234 */ String deviceCode = form.getDeviceCode();
/* 235 */ AcsElevatorDeviceQueryParam paramDevice = new AcsElevatorDeviceQueryParam();
/* 236 */ paramDevice.setDeviceCode(deviceCode);
/* */
/* 238 */ Long time1 = Long.valueOf(System.currentTimeMillis());
/* 239 */ String businessId = this.elevatorDeviceService.getBusinessId(paramDevice);
/* */
/* 241 */ if (StringUtils.isNotBlank(businessId)) {
/* 242 */ param.setBusinessId(businessId);
/* */ } else {
/* 244 */ param.setBusinessId("000");
/* */ }
/* 246 */ Long time2 = Long.valueOf(System.currentTimeMillis());
/* */
/* 248 */ AcsElevatorDeviceResultDTO deviceResultDTO = this.elevatorDeviceService.getByDeciveCode(deviceCode);
/* */
/* 250 */ DeviceResult deviceResult = new DeviceResult();
/* 251 */ if (deviceResultDTO != null) {
/* 252 */ deviceResult.setId(deviceResultDTO.getId());
/* 253 */ deviceResult.setDeviceCode(deviceCode);
/* 254 */ deviceResult.setDeviceName(deviceResultDTO.getDeviceName());
/* 255 */ deviceResult.setDeviceTypeName(deviceResultDTO.getDeviceTypeName());
/* 256 */ deviceResult.setAreaId(deviceResultDTO.getAreaId());
/* */ }
/* 258 */ param.setDeviceResult(deviceResult);
/* 259 */ Long time3 = Long.valueOf(System.currentTimeMillis());
/* */
/* 261 */ CloudwalkResult<Boolean> result = this.elevatorRecordService.add(param, getCloudwalkContext());
/* */
/* 263 */ return CloudwalkResult.success(result);
/* 264 */ } catch (ServiceException e) {
/* 265 */ this.LOGGER.error("添加刷脸派梯记录失败,原因:", (Throwable)e);
/* 266 */ return CloudwalkResult.fail("00", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"39204"})
/* */ public CloudwalkResult<KeyValueResult> getKey(@RequestBody AcsElevatorRecordAddForm form) {
/* 283 */ KeyValueResult result = new KeyValueResult();
/* 284 */ result.setKey(this.key);
/* 285 */ result.setTime(this.time);
/* 286 */ result.setKeyA(this.keyA);
/* 287 */ return CloudwalkResult.success(result);
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\controller\AcsElevatorDeviceGetWayController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,165 @@
/* */ package cn.cloudwalk.elevator.handler.device.controller;
/* */
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
/* */ import cn.cloudwalk.elevator.device.param.AcsDeviceRestructureTaskParam;
/* */ import cn.cloudwalk.elevator.device.param.AcsRestructureBindingParam;
/* */ import cn.cloudwalk.elevator.device.param.AcsRestructureQueryParam;
/* */ import cn.cloudwalk.elevator.device.service.AcsElevatorDeviceService;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsDeviceRestructureTaskForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsRestructureBindingForm;
/* */ import cn.cloudwalk.elevator.handler.device.form.AcsRestructureQueryForm;
/* */ import javax.annotation.Resource;
/* */ import org.springframework.web.bind.annotation.PostMapping;
/* */ import org.springframework.web.bind.annotation.RequestBody;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/elevator/restructure"})
/* */ public class AcsElevatorRestructureController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Resource
/* */ private AcsElevatorDeviceService elevatorDeviceService;
/* */
/* */ @PostMapping({"/unbind/floors"})
/* */ public CloudwalkResult listUnbindFloors(@RequestBody AcsRestructureQueryForm form) {
/* */ try {
/* 42 */ AcsRestructureQueryParam param = new AcsRestructureQueryParam();
/* 43 */ BeanCopyUtils.copyProperties(form, param);
/* 44 */ return this.elevatorDeviceService.listUnbindFloors(param, getCloudwalkContext());
/* 45 */ } catch (ServiceException e) {
/* 46 */ this.LOGGER.error("查询未绑定的楼层异常,原因:", (Throwable)e);
/* 47 */ return CloudwalkResult.fail("查询未绑定的派梯楼层异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/floors"})
/* */ public CloudwalkResult listFloors(@RequestBody AcsRestructureQueryForm form) {
/* */ try {
/* 57 */ AcsRestructureQueryParam param = new AcsRestructureQueryParam();
/* 58 */ BeanCopyUtils.copyProperties(form, param);
/* 59 */ return this.elevatorDeviceService.listFloors(param, getCloudwalkContext());
/* 60 */ } catch (ServiceException e) {
/* 61 */ this.LOGGER.error("查询未绑定的派梯楼层和设备情况异常,原因:", (Throwable)e);
/* 62 */ return CloudwalkResult.fail("查询未绑定的派梯楼层异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/condition"})
/* */ public CloudwalkResult listCondition(@RequestBody AcsRestructureQueryForm form) {
/* */ try {
/* 73 */ AcsRestructureQueryParam param = new AcsRestructureQueryParam();
/* 74 */ BeanCopyUtils.copyProperties(form, param);
/* 75 */ return this.elevatorDeviceService.listCondition(param, getCloudwalkContext());
/* 76 */ } catch (ServiceException e) {
/* 77 */ this.LOGGER.error("根据条件查询派梯楼层异常,原因:", (Throwable)e);
/* 78 */ return CloudwalkResult.fail("根据条件查询派梯楼层异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @PostMapping({"/condition/labels"})
/* */ public CloudwalkResult listConditionByLabelIds(@RequestBody AcsRestructureQueryForm form) {
/* */ try {
/* 85 */ AcsRestructureQueryParam param = new AcsRestructureQueryParam();
/* 86 */ BeanCopyUtils.copyProperties(form, param);
/* 87 */ return this.elevatorDeviceService.listConditionByLabelIds(param, getCloudwalkContext());
/* 88 */ } catch (ServiceException e) {
/* 89 */ this.LOGGER.error("根据标签id集合查询派梯楼层权限异常,原因:", (Throwable)e);
/* 90 */ return CloudwalkResult.fail("根据标签id集合查询派梯楼层权限异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/binding"})
/* */ public CloudwalkResult<String> bindingFloors(@RequestBody AcsRestructureBindingForm form) {
/* */ try {
/* 100 */ AcsRestructureBindingParam param = new AcsRestructureBindingParam();
/* 101 */ BeanCopyUtils.copyProperties(form, param);
/* 102 */ return this.elevatorDeviceService.bindingFloors(param, getCloudwalkContext());
/* 103 */ } catch (ServiceException e) {
/* 104 */ this.LOGGER.error("机构id、标签id绑定派梯楼层异常,原因:", (Throwable)e);
/* 105 */ return CloudwalkResult.fail("机构id、标签id绑定派梯楼层异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/binding/person"})
/* */ public CloudwalkResult<String> bindingPerson(@RequestBody AcsRestructureBindingForm form) {
/* */ try {
/* 115 */ AcsRestructureBindingParam param = new AcsRestructureBindingParam();
/* 116 */ BeanCopyUtils.copyProperties(form, param);
/* 117 */ return this.elevatorDeviceService.bindingPerson(param, getCloudwalkContext());
/* 118 */ } catch (ServiceException e) {
/* 119 */ this.LOGGER.error("人员批量绑定派梯楼层异常,原因:", (Throwable)e);
/* 120 */ return CloudwalkResult.fail("人员批量绑定派梯楼层异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/task/progress"})
/* */ public CloudwalkResult<AcsDeviceTaskDTO> getTask(@RequestBody AcsDeviceRestructureTaskForm form) {
/* */ try {
/* 133 */ AcsDeviceRestructureTaskParam param = new AcsDeviceRestructureTaskParam();
/* 134 */ BeanCopyUtils.copyProperties(form, param);
/* 135 */ return this.elevatorDeviceService.getTask(param, getCloudwalkContext());
/* 136 */ } catch (ServiceException e) {
/* 137 */ this.LOGGER.error("获取任务进程异常,原因:", (Throwable)e);
/* 138 */ return CloudwalkResult.fail("获取任务进程异常", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/task/stop"})
/* */ public CloudwalkResult<Boolean> setTaskStop(@RequestBody AcsDeviceRestructureTaskForm form) {
/* */ try {
/* 151 */ AcsDeviceRestructureTaskParam param = new AcsDeviceRestructureTaskParam();
/* 152 */ BeanCopyUtils.copyProperties(form, param);
/* 153 */ return this.elevatorDeviceService.setTaskStop(param, getCloudwalkContext());
/* 154 */ } catch (ServiceException e) {
/* 155 */ this.LOGGER.error("终止绑定进程异常,原因:", (Throwable)e);
/* 156 */ return CloudwalkResult.fail("终止绑定进程异常", e.getMessage());
/* */ }
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\controller\AcsElevatorRestructureController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,63 @@
/* */ package cn.cloudwalk.elevator.handler.device.controller;
/* */
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.config.ImageStoreConstants;
/* */ import cn.cloudwalk.elevator.record.service.PersonFileService;
/* */ import cn.cloudwalk.elevator.util.ToolUtil;
/* */ import javax.xml.bind.DatatypeConverter;
/* */ import org.apache.commons.lang3.StringUtils;
/* */ import org.springframework.beans.factory.annotation.Autowired;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RequestMethod;
/* */ import org.springframework.web.bind.annotation.RequestParam;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/file"})
/* */ public class FileController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Autowired
/* */ private PersonFileService personFileService;
/* */
/* */ @RequestMapping(value = {"/imgupload"}, method = {RequestMethod.POST}, consumes = {"multipart/form-data"})
/* */ public CloudwalkResult<String> fileUpload(@RequestParam("img") String base64) {
/* 36 */ if (StringUtils.isEmpty(base64)) {
/* 37 */ return CloudwalkResult.fail("53060544", getMessage("53060544"));
/* */ }
/* */ try {
/* 40 */ byte[] bytes = DatatypeConverter.parseBase64Binary(base64);
/* 41 */ if (bytes.length > ImageStoreConstants.MAX_FILE.intValue()) {
/* 42 */ return CloudwalkResult.fail("53060428", getMessage("53060428"));
/* */ }
/* 44 */ String fileName = ToolUtil.generateUUID();
/* 45 */ this.LOGGER.info("上传文件:{},size={}", fileName, Integer.valueOf(bytes.length));
/* 46 */ CloudwalkResult<String> storeResult = this.personFileService.upload(fileName, bytes);
/* 47 */ if (storeResult != null && StringUtils.isNotBlank((CharSequence)storeResult.getData())) {
/* 48 */ return CloudwalkResult.success(storeResult.getData());
/* */ }
/* 50 */ return storeResult;
/* 51 */ } catch (Exception e) {
/* 52 */ this.LOGGER.error("", e);
/* */
/* 54 */ return CloudwalkResult.fail("80014013", getMessage("80014013"));
/* */ }
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\controller\FileController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,53 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsDeviceQueryForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ private String deviceName;
/* */ private String deviceCategoryId;
/* */ private String areaId;
/* */
/* */ public String getDeviceName() {
/* 25 */ return this.deviceName;
/* */ }
/* */
/* */ public void setDeviceName(String deviceName) {
/* 29 */ this.deviceName = deviceName;
/* */ }
/* */
/* */ public String getDeviceCategoryId() {
/* 33 */ return this.deviceCategoryId;
/* */ }
/* */
/* */ public void setDeviceCategoryId(String deviceCategoryId) {
/* 37 */ this.deviceCategoryId = deviceCategoryId;
/* */ }
/* */
/* */ public String getAreaId() {
/* 41 */ return this.areaId;
/* */ }
/* */
/* */ public void setAreaId(String areaId) {
/* 45 */ this.areaId = areaId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsDeviceQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,31 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */ public class AcsDeviceRestructureTaskForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -7349123760464380004L;
/* */ private String taskId;
/* */
/* */ public String toString() {
/* 15 */ return "AcsDeviceRestructureTaskForm(taskId=" + getTaskId() + ")"; } public int hashCode() { int PRIME = 59; result = 1; Object $taskId = getTaskId(); return result * 59 + (($taskId == null) ? 43 : $taskId.hashCode()); } protected boolean canEqual(Object other) { return other instanceof AcsDeviceRestructureTaskForm; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsDeviceRestructureTaskForm)) return false; AcsDeviceRestructureTaskForm other = (AcsDeviceRestructureTaskForm)o; if (!other.canEqual(this)) return false; Object this$taskId = getTaskId(), other$taskId = other.getTaskId(); return !((this$taskId == null) ? (other$taskId != null) : !this$taskId.equals(other$taskId)); } public void setTaskId(String taskId) { this.taskId = taskId; }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public String getTaskId() {
/* 23 */ return this.taskId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsDeviceRestructureTaskForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,74 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorCodeForm
/* */ extends CloudwalkBaseTimes
/* */ implements Serializable
/* */ {
/* */ private String zoneId;
/* */ private String parentId;
/* */ private String code;
/* */ private Integer isFirst;
/* */
/* */ public String getZoneId() {
/* 38 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 42 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public String getParentId() {
/* 46 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 50 */ this.parentId = parentId;
/* */ }
/* */
/* */ public String getCode() {
/* 54 */ return this.code;
/* */ }
/* */
/* */ public void setCode(String code) {
/* 58 */ this.code = code;
/* */ }
/* */
/* */ public Integer getIsFirst() {
/* 62 */ return this.isFirst;
/* */ }
/* */
/* */ public void setIsFirst(Integer isFirst) {
/* 66 */ this.isFirst = isFirst;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorCodeForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,40 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorCodeQueryForm
/* */ extends CloudwalkBaseTimes
/* */ implements Serializable
/* */ {
/* */ private String deviceCode;
/* */
/* */ public String getDeviceCode() {
/* 23 */ return this.deviceCode;
/* */ }
/* */
/* */ public void setDeviceCode(String deviceCode) {
/* 27 */ this.deviceCode = deviceCode;
/* */ }
/* */
/* */
/* */ public String toString() {
/* 32 */ return "AcsElevatorCodeQueryForm{deviceCode='" + this.deviceCode + '\'' + '}';
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorCodeQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,222 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
/* */ import java.io.Serializable;
/* */ import javax.validation.constraints.NotNull;
/* */ import org.hibernate.validator.constraints.NotEmpty;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorDeviceAddForm
/* */ extends CloudwalkBaseTimes
/* */ implements Serializable
/* */ {
/* */ private String businessId;
/* */ @NotEmpty
/* */ private String deviceId;
/* */ @NotEmpty
/* */ private String deviceCode;
/* */ @NotNull
/* */ private String deviceName;
/* */ private String deviceTypeName;
/* */ private String elevatorFloorList;
/* */ @NotNull
/* */ private String currentFloorId;
/* */ private String currentFloor;
/* */ private String currentBuilding;
/* */ private String currentBuildingId;
/* */ private String areaName;
/* */ 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 getAreaId() {
/* 106 */ return this.areaId;
/* */ }
/* */
/* */ public void setAreaId(String areaId) {
/* 110 */ this.areaId = areaId;
/* */ }
/* */
/* */ public String getCurrentBuildingId() {
/* 114 */ return this.currentBuildingId;
/* */ }
/* */
/* */ public void setCurrentBuildingId(String currentBuildingId) {
/* 118 */ this.currentBuildingId = currentBuildingId;
/* */ }
/* */
/* */
/* */
/* */ public String getBusinessId() {
/* 124 */ return this.businessId;
/* */ }
/* */
/* */ public void setBusinessId(String businessId) {
/* 128 */ this.businessId = businessId;
/* */ }
/* */
/* */ public String getDeviceId() {
/* 132 */ return this.deviceId;
/* */ }
/* */
/* */ public void setDeviceId(String deviceId) {
/* 136 */ this.deviceId = deviceId;
/* */ }
/* */
/* */ public String getDeviceCode() {
/* 140 */ return this.deviceCode;
/* */ }
/* */
/* */ public void setDeviceCode(String deviceCode) {
/* 144 */ this.deviceCode = deviceCode;
/* */ }
/* */
/* */ public String getDeviceName() {
/* 148 */ return this.deviceName;
/* */ }
/* */
/* */ public void setDeviceName(String deviceName) {
/* 152 */ this.deviceName = deviceName;
/* */ }
/* */
/* */ public String getDeviceTypeName() {
/* 156 */ return this.deviceTypeName;
/* */ }
/* */
/* */ public void setDeviceTypeName(String deviceTypeName) {
/* 160 */ this.deviceTypeName = deviceTypeName;
/* */ }
/* */
/* */ public String getElevatorFloorList() {
/* 164 */ return this.elevatorFloorList;
/* */ }
/* */
/* */ public void setElevatorFloorList(String elevatorFloorList) {
/* 168 */ this.elevatorFloorList = elevatorFloorList;
/* */ }
/* */
/* */ public String getCurrentFloorId() {
/* 172 */ return this.currentFloorId;
/* */ }
/* */
/* */ public void setCurrentFloorId(String currentFloorId) {
/* 176 */ this.currentFloorId = currentFloorId;
/* */ }
/* */
/* */ public String getCurrentFloor() {
/* 180 */ return this.currentFloor;
/* */ }
/* */
/* */ public void setCurrentFloor(String currentFloor) {
/* 184 */ this.currentFloor = currentFloor;
/* */ }
/* */
/* */ public String getCurrentBuilding() {
/* 188 */ return this.currentBuilding;
/* */ }
/* */
/* */ public void setCurrentBuilding(String currentBuilding) {
/* 192 */ this.currentBuilding = currentBuilding;
/* */ }
/* */
/* */ public String getAreaName() {
/* 196 */ return this.areaName;
/* */ }
/* */
/* */ public void setAreaName(String areaName) {
/* 200 */ this.areaName = areaName;
/* */ }
/* */
/* */ public Integer getDeleteFlag() {
/* 204 */ return this.deleteFlag;
/* */ }
/* */
/* */ public void setDeleteFlag(Integer deleteFlag) {
/* 208 */ this.deleteFlag = deleteFlag;
/* */ }
/* */
/* */
/* */
/* */ public String toString() {
/* 214 */ 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 + '\'' + ", deleteFlag=" + this.deleteFlag + '}';
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorDeviceAddForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,36 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorDeviceDeleteForm
/* */ extends CloudwalkBaseTimes
/* */ implements Serializable
/* */ {
/* */ private List<String> ids;
/* */
/* */ public List<String> getIds() {
/* 24 */ return this.ids;
/* */ }
/* */
/* */ public void setIds(List<String> ids) {
/* 28 */ this.ids = ids;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorDeviceDeleteForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,186 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
/* */ import java.io.Serializable;
/* */ import javax.validation.constraints.NotNull;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorDeviceEditForm
/* */ extends CloudwalkBaseTimes
/* */ implements Serializable
/* */ {
/* */ private String elevatorFloorList;
/* */ @NotNull
/* */ private String currentFloorId;
/* */ private String currentFloor;
/* */ private String currentBuilding;
/* */ private String currentBuildingId;
/* */ private String areaId;
/* */ private String elevatorFloorIdList;
/* */ private String businessId;
/* */ private String deviceId;
/* */ private String deviceCode;
/* */ private String deviceName;
/* */ private String deviceTypeName;
/* */
/* */ public String getBusinessId() {
/* 81 */ return this.businessId;
/* */ }
/* */
/* */ public void setBusinessId(String businessId) {
/* 85 */ this.businessId = businessId;
/* */ }
/* */
/* */ public String getDeviceId() {
/* 89 */ return this.deviceId;
/* */ }
/* */
/* */ public void setDeviceId(String deviceId) {
/* 93 */ this.deviceId = deviceId;
/* */ }
/* */
/* */ public String getDeviceCode() {
/* 97 */ return this.deviceCode;
/* */ }
/* */
/* */ public void setDeviceCode(String deviceCode) {
/* 101 */ this.deviceCode = deviceCode;
/* */ }
/* */
/* */ public String getDeviceName() {
/* 105 */ return this.deviceName;
/* */ }
/* */
/* */ public void setDeviceName(String deviceName) {
/* 109 */ this.deviceName = deviceName;
/* */ }
/* */
/* */ public String getDeviceTypeName() {
/* 113 */ return this.deviceTypeName;
/* */ }
/* */
/* */ public void setDeviceTypeName(String deviceTypeName) {
/* 117 */ this.deviceTypeName = deviceTypeName;
/* */ }
/* */
/* */ public String getElevatorFloorIdList() {
/* 121 */ return this.elevatorFloorIdList;
/* */ }
/* */
/* */ public void setElevatorFloorIdList(String elevatorFloorIdList) {
/* 125 */ this.elevatorFloorIdList = elevatorFloorIdList;
/* */ }
/* */
/* */ public String getAreaId() {
/* 129 */ return this.areaId;
/* */ }
/* */
/* */ public void setAreaId(String areaId) {
/* 133 */ this.areaId = areaId;
/* */ }
/* */
/* */ public String getElevatorFloorList() {
/* 137 */ return this.elevatorFloorList;
/* */ }
/* */
/* */ public void setElevatorFloorList(String elevatorFloorList) {
/* 141 */ this.elevatorFloorList = elevatorFloorList;
/* */ }
/* */
/* */ public String getCurrentFloorId() {
/* 145 */ return this.currentFloorId;
/* */ }
/* */
/* */ public void setCurrentFloorId(String currentFloorId) {
/* 149 */ this.currentFloorId = currentFloorId;
/* */ }
/* */
/* */ public String getCurrentFloor() {
/* 153 */ return this.currentFloor;
/* */ }
/* */
/* */ public void setCurrentFloor(String currentFloor) {
/* 157 */ this.currentFloor = currentFloor;
/* */ }
/* */
/* */ public String getCurrentBuilding() {
/* 161 */ return this.currentBuilding;
/* */ }
/* */
/* */ public void setCurrentBuilding(String currentBuilding) {
/* 165 */ this.currentBuilding = currentBuilding;
/* */ }
/* */
/* */ public String getCurrentBuildingId() {
/* 169 */ return this.currentBuildingId;
/* */ }
/* */
/* */ public void setCurrentBuildingId(String currentBuildingId) {
/* 173 */ this.currentBuildingId = currentBuildingId;
/* */ }
/* */
/* */
/* */ public String toString() {
/* 178 */ return "AcsElevatorDeviceAddDTO{, elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + '}';
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorDeviceEditForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,37 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorDeviceQueryByIdForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ private String id;
/* */
/* */ public String getId() {
/* 24 */ return this.id;
/* */ }
/* */
/* */
/* */ public void setId(String id) {
/* 29 */ this.id = id;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorDeviceQueryByIdForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,137 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */ import javax.validation.constraints.NotNull;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorDeviceQueryForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ @NotNull
/* */ private String deviceName;
/* */ private String deviceId;
/* */ private String deviceTypeName;
/* */ private String areaName;
/* */ private String deviceCode;
/* */ private String ip;
/* */ private List<String> areaIds;
/* */ private Integer status;
/* */ private Integer onlineStatus;
/* */
/* */ public Integer getStatus() {
/* 61 */ return this.status;
/* */ }
/* */
/* */ public void setStatus(Integer status) {
/* 65 */ this.status = status;
/* */ }
/* */
/* */ public Integer getOnlineStatus() {
/* 69 */ return this.onlineStatus;
/* */ }
/* */
/* */ public void setOnlineStatus(Integer onlineStatus) {
/* 73 */ this.onlineStatus = onlineStatus;
/* */ }
/* */
/* */ public String getIp() {
/* 77 */ return this.ip;
/* */ }
/* */
/* */ public void setIp(String ip) {
/* 81 */ this.ip = ip;
/* */ }
/* */
/* */ public List<String> getAreaIds() {
/* 85 */ return this.areaIds;
/* */ }
/* */
/* */ public void setAreaIds(List<String> areaIds) {
/* 89 */ this.areaIds = areaIds;
/* */ }
/* */
/* */ public String getDeviceName() {
/* 93 */ return this.deviceName;
/* */ }
/* */
/* */ public void setDeviceName(String deviceName) {
/* 97 */ this.deviceName = deviceName;
/* */ }
/* */
/* */ public String getDeviceTypeName() {
/* 101 */ return this.deviceTypeName;
/* */ }
/* */
/* */ public void setDeviceTypeName(String deviceTypeName) {
/* 105 */ this.deviceTypeName = deviceTypeName;
/* */ }
/* */
/* */ public String getAreaName() {
/* 109 */ return this.areaName;
/* */ }
/* */
/* */ public void setAreaName(String areaName) {
/* 113 */ this.areaName = areaName;
/* */ }
/* */
/* */ public String getDeviceId() {
/* 117 */ return this.deviceId;
/* */ }
/* */
/* */ public void setDeviceId(String deviceId) {
/* 121 */ this.deviceId = deviceId;
/* */ }
/* */
/* */ public String getDeviceCode() {
/* 125 */ return this.deviceCode;
/* */ }
/* */
/* */ public void setDeviceCode(String deviceCode) {
/* 129 */ this.deviceCode = deviceCode;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorDeviceQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,264 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import java.io.Serializable;
/* */ import javax.validation.constraints.NotNull;
/* */ import org.hibernate.validator.constraints.NotEmpty;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorRecordAddForm
/* */ implements Serializable
/* */ {
/* */ @NotEmpty(message = "76260310")
/* */ private String businessId;
/* */ @NotEmpty(message = "76260314")
/* */ private String deviceCode;
/* */ private String deviceName;
/* */ @NotEmpty(message = "76260319")
/* */ private String openDoorType;
/* */ private String faceImagePath;
/* */ private String panoramaImagePath;
/* */ @NotNull(message = "76260320")
/* */ private Integer recordResult;
/* */ private String recognitionNo;
/* */ @NotNull(message = "76260301")
/* */ private Long recognitionTime;
/* */ private String logId;
/* */ private String recognitionFaceId;
/* */ private DeviceResult deviceResult;
/* */ private String srcFloor;
/* */ private String destFloor;
/* */ private String dispatchElevatorNo;
/* */ private Long dispatchElevatorTime;
/* */ private String operateName;
/* */ private String token;
/* */
/* */ public String getOperateName() {
/* 115 */ return this.operateName;
/* */ }
/* */
/* */ public void setOperateName(String operateName) {
/* 119 */ this.operateName = operateName;
/* */ }
/* */
/* */ public String getBusinessId() {
/* 123 */ return this.businessId;
/* */ }
/* */
/* */ public void setBusinessId(String businessId) {
/* 127 */ this.businessId = businessId;
/* */ }
/* */
/* */ public String getDeviceCode() {
/* 131 */ return this.deviceCode;
/* */ }
/* */
/* */ public void setDeviceCode(String deviceCode) {
/* 135 */ this.deviceCode = deviceCode;
/* */ }
/* */
/* */ public String getDeviceName() {
/* 139 */ return this.deviceName;
/* */ }
/* */
/* */ public void setDeviceName(String deviceName) {
/* 143 */ this.deviceName = deviceName;
/* */ }
/* */
/* */ public String getOpenDoorType() {
/* 147 */ return this.openDoorType;
/* */ }
/* */
/* */ public void setOpenDoorType(String openDoorType) {
/* 151 */ this.openDoorType = openDoorType;
/* */ }
/* */
/* */ public String getFaceImagePath() {
/* 155 */ return this.faceImagePath;
/* */ }
/* */
/* */ public void setFaceImagePath(String faceImagePath) {
/* 159 */ this.faceImagePath = faceImagePath;
/* */ }
/* */
/* */ public String getPanoramaImagePath() {
/* 163 */ return this.panoramaImagePath;
/* */ }
/* */
/* */ public void setPanoramaImagePath(String panoramaImagePath) {
/* 167 */ this.panoramaImagePath = panoramaImagePath;
/* */ }
/* */
/* */ public Integer getRecordResult() {
/* 171 */ return this.recordResult;
/* */ }
/* */
/* */ public void setRecordResult(Integer recordResult) {
/* 175 */ this.recordResult = recordResult;
/* */ }
/* */
/* */ public String getRecognitionNo() {
/* 179 */ return this.recognitionNo;
/* */ }
/* */
/* */ public void setRecognitionNo(String recognitionNo) {
/* 183 */ this.recognitionNo = recognitionNo;
/* */ }
/* */
/* */ public Long getRecognitionTime() {
/* 187 */ return this.recognitionTime;
/* */ }
/* */
/* */ public void setRecognitionTime(Long recognitionTime) {
/* 191 */ this.recognitionTime = recognitionTime;
/* */ }
/* */
/* */ public String getLogId() {
/* 195 */ return this.logId;
/* */ }
/* */
/* */ public void setLogId(String logId) {
/* 199 */ this.logId = logId;
/* */ }
/* */
/* */ public String getRecognitionFaceId() {
/* 203 */ return this.recognitionFaceId;
/* */ }
/* */
/* */ public void setRecognitionFaceId(String recognitionFaceId) {
/* 207 */ this.recognitionFaceId = recognitionFaceId;
/* */ }
/* */
/* */ public DeviceResult getDeviceResult() {
/* 211 */ return this.deviceResult;
/* */ }
/* */
/* */
/* */ public void setDeviceResult(DeviceResult deviceResult) {
/* 216 */ this.deviceResult = deviceResult;
/* */ }
/* */
/* */ public String getSrcFloor() {
/* 220 */ return this.srcFloor;
/* */ }
/* */
/* */ public void setSrcFloor(String srcFloor) {
/* 224 */ this.srcFloor = srcFloor;
/* */ }
/* */
/* */ public String getDestFloor() {
/* 228 */ return this.destFloor;
/* */ }
/* */
/* */ public void setDestFloor(String destFloor) {
/* 232 */ this.destFloor = destFloor;
/* */ }
/* */
/* */ public String getDispatchElevatorNo() {
/* 236 */ return this.dispatchElevatorNo;
/* */ }
/* */
/* */ public void setDispatchElevatorNo(String dispatchElevatorNo) {
/* 240 */ this.dispatchElevatorNo = dispatchElevatorNo;
/* */ }
/* */
/* */ public Long getDispatchElevatorTime() {
/* 244 */ return this.dispatchElevatorTime;
/* */ }
/* */
/* */ public void setDispatchElevatorTime(Long dispatchElevatorTime) {
/* 248 */ this.dispatchElevatorTime = dispatchElevatorTime;
/* */ }
/* */
/* */ public String getToken() {
/* 252 */ return this.token;
/* */ }
/* */
/* */ public void setToken(String token) {
/* 256 */ this.token = token;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsElevatorRecordAddForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,60 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */ public class AcsRestructureBindingForm implements Serializable {
/* */ private String parentId;
/* */ private String orgId;
/* */ private String orgName;
/* */ private String labelId;
/* */ private String labelName;
/* */ private String personId;
/* */ private List<String> zoneIds;
/* */
/* */ public void setParentId(String parentId) {
/* 16 */ this.parentId = parentId; } public void setOrgId(String orgId) { this.orgId = orgId; } public void setOrgName(String orgName) { this.orgName = orgName; } public void setLabelId(String labelId) { this.labelId = labelId; } public void setLabelName(String labelName) { this.labelName = labelName; } public void setPersonId(String personId) { this.personId = personId; } public void setZoneIds(List<String> zoneIds) { this.zoneIds = zoneIds; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsRestructureBindingForm)) return false; AcsRestructureBindingForm other = (AcsRestructureBindingForm)o; if (!other.canEqual(this)) return false; Object this$parentId = getParentId(), other$parentId = other.getParentId(); if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId)) return false; Object this$orgId = getOrgId(), other$orgId = other.getOrgId(); if ((this$orgId == null) ? (other$orgId != null) : !this$orgId.equals(other$orgId)) return false; Object this$orgName = getOrgName(), other$orgName = other.getOrgName(); if ((this$orgName == null) ? (other$orgName != null) : !this$orgName.equals(other$orgName)) return false; Object this$labelId = getLabelId(), other$labelId = other.getLabelId(); if ((this$labelId == null) ? (other$labelId != null) : !this$labelId.equals(other$labelId)) return false; Object this$labelName = getLabelName(), other$labelName = other.getLabelName(); if ((this$labelName == null) ? (other$labelName != null) : !this$labelName.equals(other$labelName)) 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$zoneIds = (Object<String>)getZoneIds(), other$zoneIds = (Object<String>)other.getZoneIds(); return !((this$zoneIds == null) ? (other$zoneIds != null) : !this$zoneIds.equals(other$zoneIds)); } protected boolean canEqual(Object other) { return other instanceof AcsRestructureBindingForm; } public int hashCode() { int PRIME = 59; result = 1; Object $parentId = getParentId(); result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode()); Object $orgId = getOrgId(); result = result * 59 + (($orgId == null) ? 43 : $orgId.hashCode()); Object $orgName = getOrgName(); result = result * 59 + (($orgName == null) ? 43 : $orgName.hashCode()); Object $labelId = getLabelId(); result = result * 59 + (($labelId == null) ? 43 : $labelId.hashCode()); Object $labelName = getLabelName(); result = result * 59 + (($labelName == null) ? 43 : $labelName.hashCode()); Object $personId = getPersonId(); result = result * 59 + (($personId == null) ? 43 : $personId.hashCode()); Object<String> $zoneIds = (Object<String>)getZoneIds(); return result * 59 + (($zoneIds == null) ? 43 : $zoneIds.hashCode()); } public String toString() { return "AcsRestructureBindingForm(parentId=" + getParentId() + ", orgId=" + getOrgId() + ", orgName=" + getOrgName() + ", labelId=" + getLabelId() + ", labelName=" + getLabelName() + ", personId=" + getPersonId() + ", zoneIds=" + getZoneIds() + ")"; }
/* */
/* */
/* */
/* */
/* */ public String getParentId() {
/* 22 */ return this.parentId;
/* */ }
/* */
/* */
/* */ public String getOrgId() {
/* 27 */ return this.orgId;
/* */ }
/* */
/* */
/* */ public String getOrgName() {
/* 32 */ return this.orgName;
/* */ }
/* */
/* */
/* */ public String getLabelId() {
/* 37 */ return this.labelId;
/* */ }
/* */
/* */
/* */ public String getLabelName() {
/* 42 */ return this.labelName;
/* */ }
/* */
/* */
/* */ public String getPersonId() {
/* 47 */ return this.personId;
/* */ }
/* */
/* */
/* */ public List<String> getZoneIds() {
/* 52 */ return this.zoneIds;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsRestructureBindingForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,55 @@
/* */ package cn.cloudwalk.elevator.handler.device.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */ public class AcsRestructureQueryForm
/* */ implements Serializable {
/* */ private String orgId;
/* */ private String labelId;
/* */ private List<String> labelIds;
/* */ private String personId;
/* */ private String zoneId;
/* */ private String businessId;
/* */
/* */ public void setOrgId(String orgId) {
/* 16 */ this.orgId = orgId; } public void setLabelId(String labelId) { this.labelId = labelId; } public void setLabelIds(List<String> labelIds) { this.labelIds = labelIds; } public void setPersonId(String personId) { this.personId = personId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public void setBusinessId(String businessId) { this.businessId = businessId; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsRestructureQueryForm)) return false; AcsRestructureQueryForm other = (AcsRestructureQueryForm)o; if (!other.canEqual(this)) return false; Object this$orgId = getOrgId(), other$orgId = other.getOrgId(); if ((this$orgId == null) ? (other$orgId != null) : !this$orgId.equals(other$orgId)) return false; Object this$labelId = getLabelId(), other$labelId = other.getLabelId(); if ((this$labelId == null) ? (other$labelId != null) : !this$labelId.equals(other$labelId)) return false; Object<String> this$labelIds = (Object<String>)getLabelIds(), other$labelIds = (Object<String>)other.getLabelIds(); if ((this$labelIds == null) ? (other$labelIds != null) : !this$labelIds.equals(other$labelIds)) 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 this$zoneId = getZoneId(), other$zoneId = other.getZoneId(); if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId)) return false; Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId(); return !((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId)); } protected boolean canEqual(Object other) { return other instanceof AcsRestructureQueryForm; } public int hashCode() { int PRIME = 59; result = 1; Object $orgId = getOrgId(); result = result * 59 + (($orgId == null) ? 43 : $orgId.hashCode()); Object $labelId = getLabelId(); result = result * 59 + (($labelId == null) ? 43 : $labelId.hashCode()); Object<String> $labelIds = (Object<String>)getLabelIds(); result = result * 59 + (($labelIds == null) ? 43 : $labelIds.hashCode()); Object $personId = getPersonId(); result = result * 59 + (($personId == null) ? 43 : $personId.hashCode()); Object $zoneId = getZoneId(); result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode()); Object $businessId = getBusinessId(); return result * 59 + (($businessId == null) ? 43 : $businessId.hashCode()); } public String toString() { return "AcsRestructureQueryForm(orgId=" + getOrgId() + ", labelId=" + getLabelId() + ", labelIds=" + getLabelIds() + ", personId=" + getPersonId() + ", zoneId=" + getZoneId() + ", businessId=" + getBusinessId() + ")"; }
/* */
/* */
/* */
/* */
/* */ public String getOrgId() {
/* 22 */ return this.orgId;
/* */ }
/* */
/* */
/* */ public String getLabelId() {
/* 27 */ return this.labelId;
/* */ }
/* */
/* */
/* */ public List<String> getLabelIds() {
/* 32 */ return this.labelIds;
/* */ }
/* */
/* */
/* */ public String getPersonId() {
/* 37 */ return this.personId;
/* */ }
/* */
/* */
/* */ public String getZoneId() {
/* 42 */ return this.zoneId;
/* */ }
/* */
/* */
/* */ public String getBusinessId() {
/* 47 */ return this.businessId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\handler\device\form\AcsRestructureQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,215 @@
/* */ package cn.cloudwalk.elevator.passrule.controller;
/* */
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageAble;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
/* */ import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListResultDto;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRuleDeleteForm;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRuleEditForm;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRuleFloorForm;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRuleImageForm;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRuleNewForm;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRulePersonListForm;
/* */ import cn.cloudwalk.elevator.passrule.form.AcsPassRuleQueryForm;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleDeleteParam;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleEditParam;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleFloorParam;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleImageParam;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleNewParam;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRulePersonListParam;
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleQueryParam;
/* */ import cn.cloudwalk.elevator.passrule.result.AcsPassRuleFloorResult;
/* */ import cn.cloudwalk.elevator.passrule.result.ImageRuleRefDetailResult;
/* */ import cn.cloudwalk.elevator.passrule.result.ImageRuleRefPageResult;
/* */ import cn.cloudwalk.elevator.passrule.service.AcsPassRuleService;
/* */ import cn.cloudwalk.elevator.passrule.service.ImageRuleRefService;
/* */ import java.util.ArrayList;
/* */ import java.util.List;
/* */ import javax.annotation.Resource;
/* */ import org.springframework.web.bind.annotation.RequestBody;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/elevator/passRule"})
/* */ public class AcsPassRuleController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Resource
/* */ private AcsPassRuleService acsPassRuleService;
/* */ @Resource
/* */ private ImageRuleRefService imageRuleRefService;
/* */
/* */ @RequestMapping({"/floor"})
/* */ public CloudwalkResult<CloudwalkPageAble<AcsPassRuleFloorResult>> listFloor(@RequestBody AcsPassRuleFloorForm form) {
/* 69 */ AcsPassRuleFloorParam param = (AcsPassRuleFloorParam)BeanCopyUtils.copyProperties(form, AcsPassRuleFloorParam.class);
/* */ try {
/* 71 */ return this.imageRuleRefService.listFloor(param, getCloudwalkContext());
/* 72 */ } catch (ServiceException e) {
/* 73 */ this.LOGGER.error("查询所有楼层信息失败,原因:{}", (Throwable)e);
/* 74 */ return CloudwalkResult.fail("76260520", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/add"})
/* */ public CloudwalkResult<Boolean> add(@RequestBody AcsPassRuleNewForm form) {
/* 87 */ AcsPassRuleNewParam param = (AcsPassRuleNewParam)BeanCopyUtils.copyProperties(form, AcsPassRuleNewParam.class);
/* */ try {
/* 89 */ return this.imageRuleRefService.addOnlyRule(param, getCloudwalkContext());
/* 90 */ } catch (ServiceException e) {
/* 91 */ this.LOGGER.error("新增通行规则失败,原因:{}", (Throwable)e);
/* 92 */ return CloudwalkResult.fail("76260505", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/edit"})
/* */ public CloudwalkResult<Boolean> edit(@RequestBody AcsPassRuleEditForm form) {
/* 106 */ AcsPassRuleEditParam param = (AcsPassRuleEditParam)BeanCopyUtils.copyProperties(form, AcsPassRuleEditParam.class);
/* */ try {
/* 108 */ return this.imageRuleRefService.update(param, getCloudwalkContext());
/* 109 */ } catch (ServiceException e) {
/* 110 */ this.LOGGER.error("修改通行规则失败,原因:{}", (Throwable)e);
/* 111 */ return CloudwalkResult.fail("76260506", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/delete"})
/* */ public CloudwalkResult<Boolean> delete(@RequestBody AcsPassRuleDeleteForm form) {
/* 125 */ AcsPassRuleDeleteParam param = (AcsPassRuleDeleteParam)BeanCopyUtils.copyProperties(form, AcsPassRuleDeleteParam.class);
/* */ try {
/* 127 */ return this.imageRuleRefService.delete(param, getCloudwalkContext());
/* 128 */ } catch (ServiceException e) {
/* 129 */ this.LOGGER.error("删除通行规则失败,原因:{}", (Throwable)e);
/* 130 */ return CloudwalkResult.fail("76260507", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/detail"})
/* */ public CloudwalkResult<ImageRuleRefDetailResult> detail(@RequestBody AcsPassRuleQueryForm form) {
/* 145 */ AcsPassRuleQueryParam param = (AcsPassRuleQueryParam)BeanCopyUtils.copyProperties(form, AcsPassRuleQueryParam.class);
/* */ try {
/* 147 */ return this.imageRuleRefService.detail(param, getCloudwalkContext());
/* 148 */ } catch (ServiceException e) {
/* 149 */ this.LOGGER.error("查询通行规则详情失败,原因:{}", (Throwable)e);
/* 150 */ return CloudwalkResult.fail("76260508", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/page"})
/* */ public CloudwalkResult<CloudwalkPageAble<ImageRuleRefPageResult>> page(@RequestBody AcsPassRuleQueryForm form) {
/* 164 */ AcsPassRuleQueryParam param = (AcsPassRuleQueryParam)BeanCopyUtils.copyProperties(form, AcsPassRuleQueryParam.class);
/* */ try {
/* 166 */ CloudwalkPageInfo page = new CloudwalkPageInfo(form.getPageNo().intValue(), form.getPageSize().intValue());
/* 167 */ return this.imageRuleRefService.page(param, page, getCloudwalkContext());
/* 168 */ } catch (ServiceException e) {
/* 169 */ this.LOGGER.error("分页查询通行规则失败,原因:{}", (Throwable)e);
/* 170 */ return CloudwalkResult.fail("76260508", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/image"})
/* */ public CloudwalkResult<List<AcsPassRuleImageResultDto>> listByImageId(@RequestBody AcsPassRuleImageForm form) {
/* 184 */ AcsPassRuleImageParam param = (AcsPassRuleImageParam)BeanCopyUtils.copyProperties(form, AcsPassRuleImageParam.class);
/* */ try {
/* 186 */ return this.imageRuleRefService.listByPersonInfo(param, getCloudwalkContext());
/* 187 */ } catch (ServiceException e) {
/* 188 */ this.LOGGER.error("根据人员id、标签集合、机构集合获取楼层权限失败,原因:{}", (Throwable)e);
/* 189 */ return CloudwalkResult.fail("76260526", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @RequestMapping({"/image/list"})
/* */ public CloudwalkResult<List<AcsPassRulePersonListResultDto>> listByPersonList(@RequestBody AcsPassRulePersonListForm form) {
/* 195 */ AcsPassRulePersonListParam param = new AcsPassRulePersonListParam();
/* 196 */ List<AcsPassRuleImageParam> imageParam = new ArrayList<>();
/* 197 */ for (AcsPassRuleImageForm imageForm : form.getPersonList()) {
/* 198 */ AcsPassRuleImageParam copyProperties = (AcsPassRuleImageParam)BeanCopyUtils.copyProperties(imageForm, AcsPassRuleImageParam.class);
/* 199 */ imageParam.add(copyProperties);
/* */ }
/* 201 */ param.setPersonList(imageParam);
/* */ try {
/* 203 */ return this.imageRuleRefService.listByPersonList(param, getCloudwalkContext());
/* 204 */ } catch (ServiceException e) {
/* 205 */ this.LOGGER.error("批量获取楼层权限失败,原因:{}", (Throwable)e);
/* 206 */ return CloudwalkResult.fail("76260526", e.getMessage());
/* */ }
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\controller\AcsPassRuleController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,58 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRuleDeleteForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -52051042529262978L;
/* */ private List<String> ids;
/* */ private String zoneId;
/* */ private String parentId;
/* */
/* */ public String getParentId() {
/* 30 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 34 */ this.parentId = parentId;
/* */ }
/* */
/* */ public List<String> getIds() {
/* 38 */ return this.ids;
/* */ }
/* */
/* */ public void setIds(List<String> ids) {
/* 42 */ this.ids = ids;
/* */ }
/* */
/* */ public String getZoneId() {
/* 46 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 50 */ this.zoneId = zoneId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRuleDeleteForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,162 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRuleEditForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -27068608402591250L;
/* */ private String id;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private String zoneName;
/* */ private String ruleName;
/* */ private String oldName;
/* */ private List<String> includeOrganizations;
/* */ private List<String> includeLabels;
/* */ private List<String> excludeLabels;
/* */ private Long startTime;
/* */ private Long endTime;
/* */
/* */ public String getParentId() {
/* 70 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 74 */ this.parentId = parentId;
/* */ }
/* */
/* */ public String getOldName() {
/* 78 */ return this.oldName;
/* */ }
/* */
/* */ public void setOldName(String oldName) {
/* 82 */ this.oldName = oldName;
/* */ }
/* */
/* */ public String getZoneId() {
/* 86 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 90 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public String getZoneName() {
/* 94 */ return this.zoneName;
/* */ }
/* */
/* */ public void setZoneName(String zoneName) {
/* 98 */ this.zoneName = zoneName;
/* */ }
/* */
/* */ public String getRuleName() {
/* 102 */ return this.ruleName;
/* */ }
/* */
/* */ public void setRuleName(String ruleName) {
/* 106 */ this.ruleName = ruleName;
/* */ }
/* */
/* */ public List<String> getIncludeOrganizations() {
/* 110 */ return this.includeOrganizations;
/* */ }
/* */
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
/* 114 */ this.includeOrganizations = includeOrganizations;
/* */ }
/* */
/* */ public List<String> getIncludeLabels() {
/* 118 */ return this.includeLabels;
/* */ }
/* */
/* */ public void setIncludeLabels(List<String> includeLabels) {
/* 122 */ this.includeLabels = includeLabels;
/* */ }
/* */
/* */ public List<String> getExcludeLabels() {
/* 126 */ return this.excludeLabels;
/* */ }
/* */
/* */ public void setExcludeLabels(List<String> excludeLabels) {
/* 130 */ this.excludeLabels = excludeLabels;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 134 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 138 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 142 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 146 */ this.endTime = endTime;
/* */ }
/* */
/* */ public String getId() {
/* 150 */ return this.id;
/* */ }
/* */
/* */ public void setId(String id) {
/* 154 */ this.id = id;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRuleEditForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,33 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRuleFloorForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -46113273262522744L;
/* */ private String zoneId;
/* */
/* */ public String getZoneId() {
/* 21 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 25 */ this.zoneId = zoneId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRuleFloorForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,85 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRuleImageForm
/* */ 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() {
/* 41 */ return this.imageStoreIds;
/* */ }
/* */
/* */ public void setImageStoreIds(List<String> imageStoreIds) {
/* 45 */ this.imageStoreIds = imageStoreIds;
/* */ }
/* */
/* */ public String getBusinessId() {
/* 49 */ return this.businessId;
/* */ }
/* */
/* */ public void setBusinessId(String businessId) {
/* 53 */ this.businessId = businessId;
/* */ }
/* */
/* */ public String getPersonId() {
/* 57 */ return this.personId;
/* */ }
/* */
/* */ public void setPersonId(String personId) {
/* 61 */ this.personId = personId;
/* */ }
/* */
/* */ public List<String> getIncludeOrganizations() {
/* 65 */ return this.includeOrganizations;
/* */ }
/* */
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
/* 69 */ this.includeOrganizations = includeOrganizations;
/* */ }
/* */
/* */ public List<String> getIncludeLabels() {
/* 73 */ return this.includeLabels;
/* */ }
/* */
/* */ public void setIncludeLabels(List<String> includeLabels) {
/* 77 */ this.includeLabels = includeLabels;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRuleImageForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,137 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRuleNewForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -46113273262522744L;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private String zoneName;
/* */ private String ruleName;
/* */ private List<String> includeOrganizations;
/* */ private List<String> includeLabels;
/* */ private List<String> excludeLabels;
/* */ private Long startTime;
/* */ private Long endTime;
/* */
/* */ public String getParentId() {
/* 61 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 65 */ this.parentId = parentId;
/* */ }
/* */
/* */ public String getZoneId() {
/* 69 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 73 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public String getZoneName() {
/* 77 */ return this.zoneName;
/* */ }
/* */
/* */ public void setZoneName(String zoneName) {
/* 81 */ this.zoneName = zoneName;
/* */ }
/* */
/* */ public String getRuleName() {
/* 85 */ return this.ruleName;
/* */ }
/* */
/* */ public void setRuleName(String ruleName) {
/* 89 */ this.ruleName = ruleName;
/* */ }
/* */
/* */ public List<String> getIncludeOrganizations() {
/* 93 */ return this.includeOrganizations;
/* */ }
/* */
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
/* 97 */ this.includeOrganizations = includeOrganizations;
/* */ }
/* */
/* */ public List<String> getIncludeLabels() {
/* 101 */ return this.includeLabels;
/* */ }
/* */
/* */ public void setIncludeLabels(List<String> includeLabels) {
/* 105 */ this.includeLabels = includeLabels;
/* */ }
/* */
/* */ public List<String> getExcludeLabels() {
/* 109 */ return this.excludeLabels;
/* */ }
/* */
/* */ public void setExcludeLabels(List<String> excludeLabels) {
/* 113 */ this.excludeLabels = excludeLabels;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 117 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 121 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 125 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 129 */ this.endTime = endTime;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRuleNewForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,34 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRulePersonListForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -52687427633888290L;
/* */ private List<AcsPassRuleImageForm> personList;
/* */
/* */ public List<AcsPassRuleImageForm> getPersonList() {
/* 22 */ return this.personList;
/* */ }
/* */
/* */ public void setPersonList(List<AcsPassRuleImageForm> personList) {
/* 26 */ this.personList = personList;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRulePersonListForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,111 @@
/* */ package cn.cloudwalk.elevator.passrule.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPassRuleQueryForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -52687427633888290L;
/* */ private String id;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private String zoneName;
/* */ private Integer isDefault;
/* 43 */ private Integer pageSize = Integer.valueOf(10);
/* */
/* */
/* */
/* */
/* 48 */ private Integer pageNo = Integer.valueOf(1);
/* */
/* */ public String getId() {
/* 51 */ return this.id;
/* */ }
/* */
/* */ public void setId(String id) {
/* 55 */ this.id = id;
/* */ }
/* */
/* */ public Integer getPageSize() {
/* 59 */ return this.pageSize;
/* */ }
/* */
/* */ public void setPageSize(Integer pageSize) {
/* 63 */ this.pageSize = pageSize;
/* */ }
/* */
/* */ public Integer getPageNo() {
/* 67 */ return this.pageNo;
/* */ }
/* */
/* */ public void setPageNo(Integer pageNo) {
/* 71 */ this.pageNo = pageNo;
/* */ }
/* */
/* */ public String getParentId() {
/* 75 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 79 */ this.parentId = parentId;
/* */ }
/* */
/* */ public String getZoneId() {
/* 83 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 87 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public String getZoneName() {
/* 91 */ return this.zoneName;
/* */ }
/* */
/* */ public void setZoneName(String zoneName) {
/* 95 */ this.zoneName = zoneName;
/* */ }
/* */
/* */ public Integer getIsDefault() {
/* 99 */ return this.isDefault;
/* */ }
/* */
/* */ public void setIsDefault(Integer isDefault) {
/* 103 */ this.isDefault = isDefault;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\form\AcsPassRuleQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,181 @@
/* */ package cn.cloudwalk.elevator.person.controller;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImageStorePersonResult;
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageAble;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.person.form.AcsPersonAddForm;
/* */ import cn.cloudwalk.elevator.person.form.AcsPersonAddVisitorForm;
/* */ import cn.cloudwalk.elevator.person.form.AcsPersonDeleteForm;
/* */ import cn.cloudwalk.elevator.person.form.AcsPersonEditForm;
/* */ import cn.cloudwalk.elevator.person.form.AcsPersonQueryForm;
/* */ import cn.cloudwalk.elevator.person.form.AcsPersonTimeDetailForm;
/* */ import cn.cloudwalk.elevator.person.form.PersonDetailQueryForm;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonAddParam;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonAddVisitorParam;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonDeleteParam;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonEditParam;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonQueryByAppParam;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonQueryParam;
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonTimeDetailParam;
/* */ import cn.cloudwalk.elevator.person.param.PersonDetailQueryParam;
/* */ import cn.cloudwalk.elevator.person.result.AcsPersonResult;
/* */ import cn.cloudwalk.elevator.person.result.AcsPersonTimeDetailResult;
/* */ import cn.cloudwalk.elevator.person.service.AcsPersonService;
/* */ import cn.cloudwalk.elevator.person.service.PersonRuleService;
/* */ import org.springframework.beans.factory.annotation.Autowired;
/* */ import org.springframework.web.bind.annotation.RequestBody;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/elevator/person"})
/* */ public class AcsPersonController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Autowired
/* */ private AcsPersonService acsPersonService;
/* */ @Autowired
/* */ private PersonRuleService personRuleService;
/* */
/* */ @RequestMapping({"/add"})
/* */ public CloudwalkResult<Boolean> add(@RequestBody AcsPersonAddForm form) {
/* 73 */ AcsPersonAddParam param = (AcsPersonAddParam)BeanCopyUtils.copyProperties(form, AcsPersonAddParam.class);
/* */ try {
/* 75 */ return this.personRuleService.add(param, getCloudwalkContext());
/* 76 */ } catch (ServiceException e) {
/* 77 */ this.LOGGER.error("从现有人员添加通行人员失败,原因:", (Throwable)e);
/* 78 */ return CloudwalkResult.fail("76260521", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @RequestMapping({"/add/visitor"})
/* */ public CloudwalkResult<Boolean> addVisitor(@RequestBody AcsPersonAddVisitorForm form) {
/* 84 */ AcsPersonAddVisitorParam param = (AcsPersonAddVisitorParam)BeanCopyUtils.copyProperties(form, AcsPersonAddVisitorParam.class);
/* */ try {
/* 86 */ return this.personRuleService.addVisitor(param, getCloudwalkContext());
/* 87 */ } catch (ServiceException e) {
/* 88 */ this.LOGGER.error("根据被访人添加访客派梯权限失败,原因:", (Throwable)e);
/* 89 */ return CloudwalkResult.fail("76260521", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @RequestMapping({"/edit"})
/* */ public CloudwalkResult<Boolean> edit(@RequestBody AcsPersonEditForm form) {
/* 95 */ AcsPersonEditParam param = (AcsPersonEditParam)BeanCopyUtils.copyProperties(form, AcsPersonEditParam.class);
/* */ try {
/* 97 */ return this.acsPersonService.edit(param, getCloudwalkContext());
/* 98 */ } catch (ServiceException e) {
/* 99 */ this.LOGGER.error("编辑通行人员信息失败,原因:", (Throwable)e);
/* 100 */ return CloudwalkResult.fail("76260522", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/delete"})
/* */ public CloudwalkResult<Boolean> delete(@RequestBody AcsPersonDeleteForm form) {
/* 113 */ AcsPersonDeleteParam param = (AcsPersonDeleteParam)BeanCopyUtils.copyProperties(form, AcsPersonDeleteParam.class);
/* */ try {
/* 115 */ return this.personRuleService.delete(param, getCloudwalkContext());
/* 116 */ } catch (ServiceException e) {
/* 117 */ this.LOGGER.error("删除通行人员失败,原因:", (Throwable)e);
/* 118 */ return CloudwalkResult.fail("76260523", e.getMessage());
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RequestMapping({"/page"})
/* */ public CloudwalkResult<CloudwalkPageAble<AcsPersonResult>> page(@RequestBody AcsPersonQueryForm form) {
/* */ try {
/* 133 */ CloudwalkPageInfo pageInfo = new CloudwalkPageInfo(form.getPageNo().intValue(), form.getPageSize().intValue());
/* 134 */ AcsPersonQueryParam param = (AcsPersonQueryParam)BeanCopyUtils.copyProperties(form, AcsPersonQueryParam.class);
/* 135 */ return this.personRuleService.page(param, pageInfo, getCloudwalkContext());
/* 136 */ } catch (ServiceException e) {
/* 137 */ this.LOGGER.error("分页查询通行人员失败,原因:", (Throwable)e);
/* 138 */ return CloudwalkResult.fail("76260410", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @RequestMapping({"/timeDetail"})
/* */ public CloudwalkResult<AcsPersonTimeDetailResult> timeDetail(@RequestBody AcsPersonTimeDetailForm form) {
/* */ try {
/* 145 */ AcsPersonTimeDetailParam param = (AcsPersonTimeDetailParam)BeanCopyUtils.copyProperties(form, AcsPersonTimeDetailParam.class);
/* 146 */ return this.acsPersonService.timeDetail(param, getCloudwalkContext());
/* 147 */ } catch (ServiceException e) {
/* 148 */ this.LOGGER.error("查询通行人员时间详情失败,原因:", (Throwable)e);
/* 149 */ return CloudwalkResult.fail("76260416", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @RequestMapping({"/pageByApp"})
/* */ public CloudwalkResult<CloudwalkPageAble<AcsPersonResult>> pageByApp(@RequestBody AcsPersonQueryForm form) {
/* */ try {
/* 156 */ CloudwalkPageInfo pageInfo = new CloudwalkPageInfo(form.getPageNo().intValue(), form.getPageSize().intValue());
/* 157 */ AcsPersonQueryByAppParam param = (AcsPersonQueryByAppParam)BeanCopyUtils.copyProperties(form, AcsPersonQueryByAppParam.class);
/* 158 */ return this.acsPersonService.pageByApp(param, pageInfo, getCloudwalkContext());
/* 159 */ } catch (ServiceException e) {
/* 160 */ this.LOGGER.error("分页查询应用通行人员失败,原因:", (Throwable)e);
/* 161 */ return CloudwalkResult.fail("76260417", e.getMessage());
/* */ }
/* */ }
/* */
/* */ @RequestMapping({"/detail"})
/* */ public CloudwalkResult<CloudwalkPageAble<ImageStorePersonResult>> personDetail(@RequestBody PersonDetailQueryForm form) {
/* */ try {
/* 168 */ PersonDetailQueryParam param = (PersonDetailQueryParam)BeanCopyUtils.copyProperties(form, PersonDetailQueryParam.class);
/* 169 */ return this.personRuleService.personDetail(param, getCloudwalkContext());
/* 170 */ } catch (ServiceException e) {
/* 171 */ this.LOGGER.error("分页查询规则里通行人员失败,原因:", (Throwable)e);
/* 172 */ return CloudwalkResult.fail("76260410", e.getMessage());
/* */ }
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\controller\AcsPersonController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,89 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonAddForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = 7916140658162290825L;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private List<String> personIds;
/* */ private Long startTime;
/* */ private Long endTime;
/* */
/* */ public String getParentId() {
/* 45 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 49 */ this.parentId = parentId;
/* */ }
/* */
/* */ public String getZoneId() {
/* 53 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 57 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public List<String> getPersonIds() {
/* 61 */ return this.personIds;
/* */ }
/* */
/* */ public void setPersonIds(List<String> personIds) {
/* 65 */ this.personIds = personIds;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 69 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 73 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 77 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 81 */ this.endTime = endTime;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonAddForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,76 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonPropertiesParam;
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonAddNewForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -5310626681307061439L;
/* */ private String zoneId;
/* */ private Long startTime;
/* */ private Long endTime;
/* */ private AcsPersonPropertiesParam personProperties;
/* */
/* */ public String getZoneId() {
/* 40 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 44 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 48 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 52 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 56 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 60 */ this.endTime = endTime;
/* */ }
/* */
/* */ public AcsPersonPropertiesParam getPersonProperties() {
/* 64 */ return this.personProperties;
/* */ }
/* */
/* */ public void setPersonProperties(AcsPersonPropertiesParam personProperties) {
/* 68 */ this.personProperties = personProperties;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonAddNewForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,52 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */ public class AcsPersonAddVisitorForm
/* */ implements Serializable {
/* */ private static final long serialVersionUID = 7916140658162290825L;
/* */ private String visitorId;
/* */ private String personId;
/* */ private Long begVisitorTime;
/* */ private Long endVisitorTime;
/* */ private List<String> floorIds;
/* */
/* */ public void setVisitorId(String visitorId) {
/* 16 */ this.visitorId = visitorId; } public void setPersonId(String personId) { this.personId = personId; } public void setBegVisitorTime(Long begVisitorTime) { this.begVisitorTime = begVisitorTime; } public void setEndVisitorTime(Long endVisitorTime) { this.endVisitorTime = endVisitorTime; } public void setFloorIds(List<String> floorIds) { this.floorIds = floorIds; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsPersonAddVisitorForm)) return false; AcsPersonAddVisitorForm other = (AcsPersonAddVisitorForm)o; if (!other.canEqual(this)) return false; Object this$visitorId = getVisitorId(), other$visitorId = other.getVisitorId(); if ((this$visitorId == null) ? (other$visitorId != null) : !this$visitorId.equals(other$visitorId)) 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 this$begVisitorTime = getBegVisitorTime(), other$begVisitorTime = other.getBegVisitorTime(); if ((this$begVisitorTime == null) ? (other$begVisitorTime != null) : !this$begVisitorTime.equals(other$begVisitorTime)) return false; Object this$endVisitorTime = getEndVisitorTime(), other$endVisitorTime = other.getEndVisitorTime(); if ((this$endVisitorTime == null) ? (other$endVisitorTime != null) : !this$endVisitorTime.equals(other$endVisitorTime)) return false; Object<String> this$floorIds = (Object<String>)getFloorIds(), other$floorIds = (Object<String>)other.getFloorIds(); return !((this$floorIds == null) ? (other$floorIds != null) : !this$floorIds.equals(other$floorIds)); } protected boolean canEqual(Object other) { return other instanceof AcsPersonAddVisitorForm; } public int hashCode() { int PRIME = 59; result = 1; Object $visitorId = getVisitorId(); result = result * 59 + (($visitorId == null) ? 43 : $visitorId.hashCode()); Object $personId = getPersonId(); result = result * 59 + (($personId == null) ? 43 : $personId.hashCode()); Object $begVisitorTime = getBegVisitorTime(); result = result * 59 + (($begVisitorTime == null) ? 43 : $begVisitorTime.hashCode()); Object $endVisitorTime = getEndVisitorTime(); result = result * 59 + (($endVisitorTime == null) ? 43 : $endVisitorTime.hashCode()); Object<String> $floorIds = (Object<String>)getFloorIds(); return result * 59 + (($floorIds == null) ? 43 : $floorIds.hashCode()); } public String toString() { return "AcsPersonAddVisitorForm(visitorId=" + getVisitorId() + ", personId=" + getPersonId() + ", begVisitorTime=" + getBegVisitorTime() + ", endVisitorTime=" + getEndVisitorTime() + ", floorIds=" + getFloorIds() + ")"; }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public String getVisitorId() {
/* 24 */ return this.visitorId;
/* */ }
/* */
/* */
/* */ public String getPersonId() {
/* 29 */ return this.personId;
/* */ }
/* */
/* */
/* */ public Long getBegVisitorTime() {
/* 34 */ return this.begVisitorTime;
/* */ }
/* */
/* */
/* */ public Long getEndVisitorTime() {
/* 39 */ return this.endVisitorTime;
/* */ }
/* */
/* */
/* */ public List<String> getFloorIds() {
/* 44 */ return this.floorIds;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonAddVisitorForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,89 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonDeleteForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = 7916140658162290825L;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private List<String> personIds;
/* */ private String imageStoreId;
/* */ private String personId;
/* */
/* */ public String getPersonId() {
/* 45 */ return this.personId;
/* */ }
/* */
/* */ public void setPersonId(String personId) {
/* 49 */ this.personId = personId;
/* */ }
/* */
/* */ public String getParentId() {
/* 53 */ return this.parentId;
/* */ }
/* */
/* */ public void setParentId(String parentId) {
/* 57 */ this.parentId = parentId;
/* */ }
/* */
/* */ public String getZoneId() {
/* 61 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 65 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public List<String> getPersonIds() {
/* 69 */ return this.personIds;
/* */ }
/* */
/* */ public void setPersonIds(List<String> personIds) {
/* 73 */ this.personIds = personIds;
/* */ }
/* */
/* */ public String getImageStoreId() {
/* 77 */ return this.imageStoreId;
/* */ }
/* */
/* */ public void setImageStoreId(String imageStoreId) {
/* 81 */ this.imageStoreId = imageStoreId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonDeleteForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,48 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonDetailForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = 1211300452037642058L;
/* */ private String zoneId;
/* */ private String personId;
/* */
/* */ public String getZoneId() {
/* 28 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 32 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public String getPersonId() {
/* 36 */ return this.personId;
/* */ }
/* */
/* */ public void setPersonId(String personId) {
/* 40 */ this.personId = personId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonDetailForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,88 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonEditForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = 7916140658162290825L;
/* */ private String zoneId;
/* */ private String personId;
/* */ private Long startTime;
/* */ private Long endTime;
/* */ private String imageStoreId;
/* */
/* */ public String getZoneId() {
/* 44 */ return this.zoneId;
/* */ }
/* */
/* */ public void setZoneId(String zoneId) {
/* 48 */ this.zoneId = zoneId;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 52 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 56 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 60 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 64 */ this.endTime = endTime;
/* */ }
/* */
/* */ public String getPersonId() {
/* 68 */ return this.personId;
/* */ }
/* */
/* */ public void setPersonId(String personId) {
/* 72 */ this.personId = personId;
/* */ }
/* */
/* */ public String getImageStoreId() {
/* 76 */ return this.imageStoreId;
/* */ }
/* */
/* */ public void setImageStoreId(String imageStoreId) {
/* 80 */ this.imageStoreId = imageStoreId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonEditForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,49 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonFaceForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = 7916140658162290825L;
/* */ private String deviceId;
/* */ private String faceImage;
/* */
/* */ public String getDeviceId() {
/* 29 */ return this.deviceId;
/* */ }
/* */
/* */ public void setDeviceId(String deviceId) {
/* 33 */ this.deviceId = deviceId;
/* */ }
/* */
/* */ public String getFaceImage() {
/* 37 */ return this.faceImage;
/* */ }
/* */
/* */ public void setFaceImage(String faceImage) {
/* 41 */ this.faceImage = faceImage;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonFaceForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,61 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */
/* */ public class AcsPersonQueryForm
/* */ implements Serializable {
/* */ private static final long serialVersionUID = -8830219133147503297L;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private String personName;
/* */ private List<String> organizationIds;
/* */ private List<String> labelIds;
/* */
/* */ public void setParentId(String parentId) {
/* 16 */ this.parentId = parentId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public void setPersonName(String personName) { this.personName = personName; } public void setOrganizationIds(List<String> organizationIds) { this.organizationIds = organizationIds; } public void setLabelIds(List<String> labelIds) { this.labelIds = labelIds; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public void setPageNo(Integer pageNo) { this.pageNo = pageNo; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsPersonQueryForm)) return false; AcsPersonQueryForm other = (AcsPersonQueryForm)o; if (!other.canEqual(this)) return false; Object this$parentId = getParentId(), other$parentId = other.getParentId(); if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId)) 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$personName = getPersonName(), other$personName = other.getPersonName(); if ((this$personName == null) ? (other$personName != null) : !this$personName.equals(other$personName)) return false; Object<String> this$organizationIds = (Object<String>)getOrganizationIds(), other$organizationIds = (Object<String>)other.getOrganizationIds(); if ((this$organizationIds == null) ? (other$organizationIds != null) : !this$organizationIds.equals(other$organizationIds)) return false; Object<String> this$labelIds = (Object<String>)getLabelIds(), other$labelIds = (Object<String>)other.getLabelIds(); if ((this$labelIds == null) ? (other$labelIds != null) : !this$labelIds.equals(other$labelIds)) return false; Object this$pageSize = getPageSize(), other$pageSize = other.getPageSize(); if ((this$pageSize == null) ? (other$pageSize != null) : !this$pageSize.equals(other$pageSize)) return false; Object this$pageNo = getPageNo(), other$pageNo = other.getPageNo(); return !((this$pageNo == null) ? (other$pageNo != null) : !this$pageNo.equals(other$pageNo)); } protected boolean canEqual(Object other) { return other instanceof AcsPersonQueryForm; } public int hashCode() { int PRIME = 59; result = 1; Object $parentId = getParentId(); result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode()); Object $zoneId = getZoneId(); result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode()); Object $personName = getPersonName(); result = result * 59 + (($personName == null) ? 43 : $personName.hashCode()); Object<String> $organizationIds = (Object<String>)getOrganizationIds(); result = result * 59 + (($organizationIds == null) ? 43 : $organizationIds.hashCode()); Object<String> $labelIds = (Object<String>)getLabelIds(); result = result * 59 + (($labelIds == null) ? 43 : $labelIds.hashCode()); Object $pageSize = getPageSize(); result = result * 59 + (($pageSize == null) ? 43 : $pageSize.hashCode()); Object $pageNo = getPageNo(); return result * 59 + (($pageNo == null) ? 43 : $pageNo.hashCode()); } public String toString() { return "AcsPersonQueryForm(parentId=" + getParentId() + ", zoneId=" + getZoneId() + ", personName=" + getPersonName() + ", organizationIds=" + getOrganizationIds() + ", labelIds=" + getLabelIds() + ", pageSize=" + getPageSize() + ", pageNo=" + getPageNo() + ")"; }
/* */
/* */
/* */
/* */
/* */
/* */ public String getParentId() {
/* 23 */ return this.parentId;
/* */ }
/* */
/* */
/* */ public String getZoneId() {
/* 28 */ return this.zoneId;
/* */ }
/* */
/* */
/* */ public String getPersonName() {
/* 33 */ return this.personName;
/* */ }
/* */
/* */
/* */ public List<String> getOrganizationIds() {
/* 38 */ return this.organizationIds;
/* */ }
/* */
/* */
/* */ public List<String> getLabelIds() {
/* 43 */ return this.labelIds;
/* */ }
/* */
/* */
/* */
/* 48 */ private Integer pageSize = Integer.valueOf(10); public Integer getPageSize() { return this.pageSize; }
/* */
/* */
/* */
/* */
/* 53 */ private Integer pageNo = Integer.valueOf(1); public Integer getPageNo() { return this.pageNo; }
/* */
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,48 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsPersonTimeDetailForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -1135110893682603631L;
/* */ private String imageStoreId;
/* */ private String personId;
/* */
/* */ public String getImageStoreId() {
/* 28 */ return this.imageStoreId;
/* */ }
/* */
/* */ public void setImageStoreId(String imageStoreId) {
/* 32 */ this.imageStoreId = imageStoreId;
/* */ }
/* */
/* */ public String getPersonId() {
/* 36 */ return this.personId;
/* */ }
/* */
/* */ public void setPersonId(String personId) {
/* 40 */ this.personId = personId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\AcsPersonTimeDetailForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,47 @@
/* */ package cn.cloudwalk.elevator.person.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */
/* */ public class PersonDetailQueryForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ private static final long serialVersionUID = -8830219133147503297L;
/* */ private String parentId;
/* */ private String zoneId;
/* */ private String ruleId;
/* */ private String personName;
/* */
/* */ public void setParentId(String parentId) {
/* 17 */ this.parentId = parentId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; } public void setPersonName(String personName) { this.personName = personName; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof PersonDetailQueryForm)) return false; PersonDetailQueryForm other = (PersonDetailQueryForm)o; if (!other.canEqual(this)) return false; Object this$parentId = getParentId(), other$parentId = other.getParentId(); if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId)) 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$ruleId = getRuleId(), other$ruleId = other.getRuleId(); if ((this$ruleId == null) ? (other$ruleId != null) : !this$ruleId.equals(other$ruleId)) return false; Object this$personName = getPersonName(), other$personName = other.getPersonName(); return !((this$personName == null) ? (other$personName != null) : !this$personName.equals(other$personName)); } protected boolean canEqual(Object other) { return other instanceof PersonDetailQueryForm; } public int hashCode() { int PRIME = 59; result = 1; Object $parentId = getParentId(); result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode()); Object $zoneId = getZoneId(); result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode()); Object $ruleId = getRuleId(); result = result * 59 + (($ruleId == null) ? 43 : $ruleId.hashCode()); Object $personName = getPersonName(); return result * 59 + (($personName == null) ? 43 : $personName.hashCode()); } public String toString() { return "PersonDetailQueryForm(parentId=" + getParentId() + ", zoneId=" + getZoneId() + ", ruleId=" + getRuleId() + ", personName=" + getPersonName() + ")"; }
/* */
/* */
/* */
/* */
/* */
/* */ public String getParentId() {
/* 24 */ return this.parentId;
/* */ }
/* */
/* */
/* */ public String getZoneId() {
/* 29 */ return this.zoneId;
/* */ }
/* */
/* */
/* */ public String getRuleId() {
/* 34 */ return this.ruleId;
/* */ }
/* */
/* */
/* */ public String getPersonName() {
/* 39 */ return this.personName;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\form\PersonDetailQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,143 @@
/* */ package cn.cloudwalk.elevator.record.controller;
/* */
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.param.DeviceQueryParam;
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceService;
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageAble;
/* */ import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkController;
/* */ import cn.cloudwalk.elevator.record.form.AcsElevatorRecordAnalyseCountForm;
/* */ import cn.cloudwalk.elevator.record.form.AcsElevatorRecordAnalyseCycleForm;
/* */ import cn.cloudwalk.elevator.record.form.AcsElevatorRecordQueryForm;
/* */ import cn.cloudwalk.elevator.record.param.AcsElevatorRecordAnalyseCountParam;
/* */ import cn.cloudwalk.elevator.record.param.AcsElevatorRecordAnalyseCycleParam;
/* */ import cn.cloudwalk.elevator.record.param.AcsElevatorRecordDetailParam;
/* */ import cn.cloudwalk.elevator.record.result.AcsElevatorAnalyseCycleResult;
/* */ import cn.cloudwalk.elevator.record.result.AcsElevatorPageRequestInfoResult;
/* */ import cn.cloudwalk.elevator.record.result.AcsElevatorRecordResult;
/* */ import cn.cloudwalk.elevator.record.service.AcsElevatorRecordService;
/* */ import cn.cloudwalk.elevator.zone.param.ZoneNextTreeParam;
/* */ import cn.cloudwalk.elevator.zone.result.ZoneTreeResult;
/* */ import cn.cloudwalk.elevator.zone.service.ZoneService;
/* */ import java.util.List;
/* */ import javax.annotation.Resource;
/* */ import org.springframework.web.bind.annotation.PostMapping;
/* */ import org.springframework.web.bind.annotation.RequestBody;
/* */ import org.springframework.web.bind.annotation.RequestMapping;
/* */ import org.springframework.web.bind.annotation.RestController;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @RestController
/* */ @RequestMapping({"/intelligent/acs/elevator/record"})
/* */ public class AcsElevatorRecordController
/* */ extends AbstractCloudwalkController
/* */ {
/* */ @Resource
/* */ private AcsElevatorRecordService elevatorRecordService;
/* */ @Resource
/* */ private DeviceService deviceService;
/* */ @Resource
/* */ private ZoneService zoneService;
/* */
/* */ @PostMapping({"/page"})
/* */ public CloudwalkResult<CloudwalkPageAble<AcsElevatorRecordResult>> detail(@RequestBody AcsElevatorRecordQueryForm form) {
/* 56 */ AcsElevatorRecordDetailParam param = (AcsElevatorRecordDetailParam)BeanCopyUtils.copyProperties(form, AcsElevatorRecordDetailParam.class);
/* */
/* 58 */ CloudwalkPageInfo pageInfo = new CloudwalkPageInfo(form.getCurrentPage(), form.getRowsOfPage());
/* */ try {
/* 60 */ return this.elevatorRecordService.openRecord(param, pageInfo, getCloudwalkContext());
/* 61 */ } catch (ServiceException e) {
/* 62 */ this.LOGGER.error("开门记录详情查询失败,原因:", (Throwable)e);
/* 63 */ return CloudwalkResult.fail("76260305", getMessage("76260305"));
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/analyse/cycle"})
/* */ public CloudwalkResult<List<AcsElevatorAnalyseCycleResult>> analyseCycle(@RequestBody AcsElevatorRecordAnalyseCycleForm form) {
/* 73 */ AcsElevatorRecordAnalyseCycleParam param = (AcsElevatorRecordAnalyseCycleParam)BeanCopyUtils.copyProperties(form, AcsElevatorRecordAnalyseCycleParam.class);
/* */ try {
/* 75 */ return this.elevatorRecordService.analyseCycle(param, getCloudwalkContext());
/* 76 */ } catch (ServiceException e) {
/* 77 */ this.LOGGER.error("开门记录统计分析查询失败,原因:", (Throwable)e);
/* 78 */ return CloudwalkResult.fail("76260336", getMessage("76260336"));
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/analyse/count"})
/* */ public CloudwalkResult<Integer> analyseCount(@RequestBody AcsElevatorRecordAnalyseCountForm form) {
/* 88 */ AcsElevatorRecordAnalyseCountParam param = (AcsElevatorRecordAnalyseCountParam)BeanCopyUtils.copyProperties(form, AcsElevatorRecordAnalyseCountParam.class);
/* */ try {
/* 90 */ return this.elevatorRecordService.analyseCount(param, getCloudwalkContext());
/* 91 */ } catch (ServiceException e) {
/* 92 */ this.LOGGER.error("开门记录统计分析查询失败,原因:", (Throwable)e);
/* 93 */ return CloudwalkResult.fail("76260336", getMessage("76260336"));
/* */ }
/* */ }
/* */
/* */
/* */ @PostMapping({"/page/request"})
/* */ public CloudwalkResult<AcsElevatorPageRequestInfoResult> pageInfo() {
/* */ try {
/* 101 */ return this.elevatorRecordService.pageInfo(getCloudwalkContext());
/* 102 */ } catch (ServiceException e) {
/* 103 */ this.LOGGER.error("开门记录分页请求数据查询失败,原因:", (Throwable)e);
/* 104 */ return CloudwalkResult.fail("76260335", getMessage("76260335"));
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/device/list"})
/* */ public CloudwalkResult<List<DeviceResult>> queryDeviceResult(@RequestBody DeviceQueryParam deviceQueryParam) {
/* */ try {
/* 116 */ return this.deviceService.list(deviceQueryParam, getCloudwalkContext());
/* 117 */ } catch (Exception e) {
/* 118 */ this.LOGGER.error("获取设备列表失败,原因:", e);
/* 119 */ return CloudwalkResult.fail("76260108", getMessage("76260108"));
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */ @PostMapping({"/zone/tree"})
/* */ public CloudwalkResult<List<ZoneTreeResult>> queryZoneTree(@RequestBody ZoneNextTreeParam zoneNextTreeParam) {
/* */ try {
/* 131 */ return this.zoneService.tree(zoneNextTreeParam, getCloudwalkContext());
/* 132 */ } catch (Exception e) {
/* 133 */ this.LOGGER.error("获取设备列表失败,原因:", e);
/* 134 */ return CloudwalkResult.fail("76260108", getMessage("76260108"));
/* */ }
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\record\controller\AcsElevatorRecordController.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,49 @@
/* */ package cn.cloudwalk.elevator.record.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorRecordAnalyseCountForm
/* */ implements Serializable
/* */ {
/* */ private String businessId;
/* */ private Long startTime;
/* */ private Long endTime;
/* */
/* */ public String getBusinessId() {
/* 21 */ return this.businessId;
/* */ }
/* */
/* */ public void setBusinessId(String businessId) {
/* 25 */ this.businessId = businessId;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 29 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 33 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 37 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 41 */ this.endTime = endTime;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\record\form\AcsElevatorRecordAnalyseCountForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,42 @@
/* */ package cn.cloudwalk.elevator.record.form;
/* */
/* */ import java.io.Serializable;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorRecordAnalyseCycleForm
/* */ implements Serializable
/* */ {
/* */ private String businessId;
/* */ private Integer timeType;
/* */
/* */ public String getBusinessId() {
/* 22 */ return this.businessId;
/* */ }
/* */
/* */ public void setBusinessId(String businessId) {
/* 26 */ this.businessId = businessId;
/* */ }
/* */
/* */ public Integer getTimeType() {
/* 30 */ return this.timeType;
/* */ }
/* */
/* */ public void setTimeType(Integer timeType) {
/* 34 */ this.timeType = timeType;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\record\form\AcsElevatorRecordAnalyseCycleForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/
@@ -0,0 +1,205 @@
/* */ package cn.cloudwalk.elevator.record.form;
/* */
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
/* */ import java.io.Serializable;
/* */ import java.util.List;
/* */ import javax.validation.constraints.NotNull;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class AcsElevatorRecordQueryForm
/* */ extends CloudwalkBasePageForm
/* */ implements Serializable
/* */ {
/* */ @NotNull(message = "76260302")
/* */ private Long startTime;
/* */ @NotNull(message = "76260303")
/* */ private Long endTime;
/* */ private String personName;
/* */ private String personId;
/* */ private List<String> districtIds;
/* */ private List<String> areaIds;
/* */ private List<String> deviceIds;
/* */ private String openDoorTypeCode;
/* */ private Integer recordResult;
/* */ private String srcFloor;
/* */ private String destFloor;
/* */ private String dispatchElevatorNo;
/* */ private String personCode;
/* */ private String orgId;
/* */
/* */ public String getPersonCode() {
/* 89 */ return this.personCode;
/* */ }
/* */
/* */ public void setPersonCode(String personCode) {
/* 93 */ this.personCode = personCode;
/* */ }
/* */
/* */ public String getOrgId() {
/* 97 */ return this.orgId;
/* */ }
/* */
/* */ public void setOrgId(String orgId) {
/* 101 */ this.orgId = orgId;
/* */ }
/* */
/* */ public Long getStartTime() {
/* 105 */ return this.startTime;
/* */ }
/* */
/* */ public void setStartTime(Long startTime) {
/* 109 */ this.startTime = startTime;
/* */ }
/* */
/* */ public Long getEndTime() {
/* 113 */ return this.endTime;
/* */ }
/* */
/* */ public void setEndTime(Long endTime) {
/* 117 */ this.endTime = endTime;
/* */ }
/* */
/* */ public String getPersonName() {
/* 121 */ return this.personName;
/* */ }
/* */
/* */ public void setPersonName(String personName) {
/* 125 */ this.personName = personName;
/* */ }
/* */
/* */ public List<String> getDistrictIds() {
/* 129 */ return this.districtIds;
/* */ }
/* */
/* */ public void setDistrictIds(List<String> districtIds) {
/* 133 */ this.districtIds = districtIds;
/* */ }
/* */
/* */ public List<String> getAreaIds() {
/* 137 */ return this.areaIds;
/* */ }
/* */
/* */ public void setAreaIds(List<String> areaIds) {
/* 141 */ this.areaIds = areaIds;
/* */ }
/* */
/* */ public List<String> getDeviceIds() {
/* 145 */ return this.deviceIds;
/* */ }
/* */
/* */ public void setDeviceIds(List<String> deviceIds) {
/* 149 */ this.deviceIds = deviceIds;
/* */ }
/* */
/* */ public String getOpenDoorTypeCode() {
/* 153 */ return this.openDoorTypeCode;
/* */ }
/* */
/* */ public void setOpenDoorTypeCode(String openDoorTypeCode) {
/* 157 */ this.openDoorTypeCode = openDoorTypeCode;
/* */ }
/* */
/* */ public Integer getRecordResult() {
/* 161 */ return this.recordResult;
/* */ }
/* */
/* */ public void setRecordResult(Integer recordResult) {
/* 165 */ this.recordResult = recordResult;
/* */ }
/* */
/* */ public String getSrcFloor() {
/* 169 */ return this.srcFloor;
/* */ }
/* */
/* */ public void setSrcFloor(String srcFloor) {
/* 173 */ this.srcFloor = srcFloor;
/* */ }
/* */
/* */ public String getDestFloor() {
/* 177 */ return this.destFloor;
/* */ }
/* */
/* */ public void setDestFloor(String destFloor) {
/* 181 */ this.destFloor = destFloor;
/* */ }
/* */
/* */ public String getDispatchElevatorNo() {
/* 185 */ return this.dispatchElevatorNo;
/* */ }
/* */
/* */ public void setDispatchElevatorNo(String dispatchElevatorNo) {
/* 189 */ this.dispatchElevatorNo = dispatchElevatorNo;
/* */ }
/* */
/* */ public String getPersonId() {
/* 193 */ return this.personId;
/* */ }
/* */
/* */ public void setPersonId(String personId) {
/* 197 */ this.personId = personId;
/* */ }
/* */ }
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-web-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\record\form\AcsElevatorRecordQueryForm.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/