mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 08:50:29 +08:00
chore: 工作区反编译与 Maven/文档/脚本同步到发布分支
- artifacts/decompiled 树与相关源码变更 - maven-cw-elevator-application 业务 docs 与 package-info - scripts 下 formatter 校验与辅助脚本 - 其他子工程/接口与发布线一并纳入版本控制 Made-with: Cursor Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
+88
-92
@@ -1,92 +1,88 @@
|
||||
/* */ package cn.cloudwalk.elevator;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkSessionContextHolder;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkSessionObject;
|
||||
/* */ import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
|
||||
/* */ import feign.RequestInterceptor;
|
||||
/* */ import feign.RequestTemplate;
|
||||
/* */ import java.util.Collection;
|
||||
/* */ import java.util.Map;
|
||||
/* */ import javax.servlet.http.HttpServletRequest;
|
||||
/* */ import org.apache.commons.lang3.StringUtils;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.context.annotation.Configuration;
|
||||
/* */ import org.springframework.web.context.request.RequestContextHolder;
|
||||
/* */ import org.springframework.web.context.request.ServletRequestAttributes;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Configuration
|
||||
/* */ public class AcsFeignConfiguration
|
||||
/* */ implements RequestInterceptor
|
||||
/* */ {
|
||||
/* 33 */ protected final Logger logger = LoggerFactory.getLogger(AcsFeignConfiguration.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ private CloudwalkSessionContextHolder cloudwalkSessionContextHolder;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void apply(RequestTemplate requestTemplate) {
|
||||
/* 43 */ Map<String, String> map = FeignThreadLocalUtil.get();
|
||||
/* 44 */ if (map != null && !map.isEmpty()) {
|
||||
/* 45 */ requestTemplate.header("platformuserid", new String[] { map.get("platformuserid") });
|
||||
/* 46 */ requestTemplate.header("loginid", new String[] { map.get("loginid") });
|
||||
/* 47 */ requestTemplate.header("businessid", new String[] { map.get("businessid") });
|
||||
/* 48 */ requestTemplate.header("username", new String[] { map.get("username") });
|
||||
/* 49 */ requestTemplate.header("applicationid", new String[] { map.get("applicationid") });
|
||||
/* 50 */ requestTemplate.header("authorization", new String[] { map.get("authorization") });
|
||||
/* 51 */ this.logger.info("feign调用配置header参数, businessId={}, threadId={}", requestTemplate
|
||||
/* 52 */ .headers().get("businessid"), Long.valueOf(Thread.currentThread().getId()));
|
||||
/* */ } else {
|
||||
/* 54 */ Map<String, Collection<String>> headerMap = requestTemplate.headers();
|
||||
/* 55 */ ServletRequestAttributes attributes = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
|
||||
/* 56 */ if (null != attributes) {
|
||||
/* 57 */ HttpServletRequest request = attributes.getRequest();
|
||||
/* 58 */ if (!headerMap.containsKey("platformuserid")) {
|
||||
/* 59 */ requestTemplate.header("platformuserid", new String[] { request.getHeader("platformuserid") });
|
||||
/* */ }
|
||||
/* 61 */ if (!headerMap.containsKey("loginid")) {
|
||||
/* 62 */ requestTemplate.header("loginid", new String[] { request.getHeader("loginid") });
|
||||
/* */ }
|
||||
/* 64 */ if (!headerMap.containsKey("businessid")) {
|
||||
/* 65 */ requestTemplate.header("businessid", new String[] { request.getHeader("businessid") });
|
||||
/* */ }
|
||||
/* 67 */ if (!headerMap.containsKey("username")) {
|
||||
/* 68 */ requestTemplate.header("username", new String[] { request.getHeader("username") });
|
||||
/* */ }
|
||||
/* 70 */ if (!headerMap.containsKey("applicationid")) {
|
||||
/* 71 */ requestTemplate.header("applicationid", new String[] { request.getHeader("applicationid") });
|
||||
/* */ }
|
||||
/* 73 */ if (!headerMap.containsKey("authorization")) {
|
||||
/* 74 */ requestTemplate.header("authorization", new String[] { request.getHeader("authorization") });
|
||||
/* */ }
|
||||
/* */
|
||||
/* 77 */ CloudwalkSessionObject session = this.cloudwalkSessionContextHolder.getSession();
|
||||
/* 78 */ if (StringUtils.isBlank(request.getHeader("businessid")) && session != null) {
|
||||
/* 79 */ requestTemplate.header("businessid", new String[] { session.getCompany().getCompanyId() });
|
||||
/* */ }
|
||||
/* 81 */ if (StringUtils.isBlank(request.getHeader("applicationid")) && session != null)
|
||||
/* 82 */ requestTemplate.header("applicationid", new String[] { session.getApplicationId() });
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\AcsFeignConfiguration.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkSessionContextHolder;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkSessionObject;
|
||||
import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
|
||||
import feign.RequestInterceptor;
|
||||
import feign.RequestTemplate;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.context.request.RequestContextHolder;
|
||||
import org.springframework.web.context.request.ServletRequestAttributes;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Configuration
|
||||
public class AcsFeignConfiguration
|
||||
implements RequestInterceptor
|
||||
{
|
||||
protected final Logger logger = LoggerFactory.getLogger(AcsFeignConfiguration.class);
|
||||
|
||||
|
||||
|
||||
@Autowired
|
||||
private CloudwalkSessionContextHolder cloudwalkSessionContextHolder;
|
||||
|
||||
|
||||
|
||||
public void apply(RequestTemplate requestTemplate) {
|
||||
Map<String, String> map = FeignThreadLocalUtil.get();
|
||||
if (map != null && !map.isEmpty()) {
|
||||
requestTemplate.header("platformuserid", new String[] { map.get("platformuserid") });
|
||||
requestTemplate.header("loginid", new String[] { map.get("loginid") });
|
||||
requestTemplate.header("businessid", new String[] { map.get("businessid") });
|
||||
requestTemplate.header("username", new String[] { map.get("username") });
|
||||
requestTemplate.header("applicationid", new String[] { map.get("applicationid") });
|
||||
requestTemplate.header("authorization", new String[] { map.get("authorization") });
|
||||
this.logger.info("feign调用配置header参数, businessId={}, threadId={}", requestTemplate
|
||||
.headers().get("businessid"), Long.valueOf(Thread.currentThread().getId()));
|
||||
} else {
|
||||
Map<String, Collection<String>> headerMap = requestTemplate.headers();
|
||||
ServletRequestAttributes attributes = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
|
||||
if (null != attributes) {
|
||||
HttpServletRequest request = attributes.getRequest();
|
||||
if (!headerMap.containsKey("platformuserid")) {
|
||||
requestTemplate.header("platformuserid", new String[] { request.getHeader("platformuserid") });
|
||||
}
|
||||
if (!headerMap.containsKey("loginid")) {
|
||||
requestTemplate.header("loginid", new String[] { request.getHeader("loginid") });
|
||||
}
|
||||
if (!headerMap.containsKey("businessid")) {
|
||||
requestTemplate.header("businessid", new String[] { request.getHeader("businessid") });
|
||||
}
|
||||
if (!headerMap.containsKey("username")) {
|
||||
requestTemplate.header("username", new String[] { request.getHeader("username") });
|
||||
}
|
||||
if (!headerMap.containsKey("applicationid")) {
|
||||
requestTemplate.header("applicationid", new String[] { request.getHeader("applicationid") });
|
||||
}
|
||||
if (!headerMap.containsKey("authorization")) {
|
||||
requestTemplate.header("authorization", new String[] { request.getHeader("authorization") });
|
||||
}
|
||||
|
||||
CloudwalkSessionObject session = this.cloudwalkSessionContextHolder.getSession();
|
||||
if (StringUtils.isBlank(request.getHeader("businessid")) && session != null) {
|
||||
requestTemplate.header("businessid", new String[] { session.getCompany().getCompanyId() });
|
||||
}
|
||||
if (StringUtils.isBlank(request.getHeader("applicationid")) && session != null)
|
||||
requestTemplate.header("applicationid", new String[] { session.getApplicationId() });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+36
-40
@@ -1,40 +1,36 @@
|
||||
/* */ package cn.cloudwalk.elevator.cacheable;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.param.DeviceAreaTreeParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.result.AreaTreeResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.service.SysettingAreaService;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.springframework.cache.annotation.Cacheable;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class AcsAreaTreeCacheableService
|
||||
/* */ {
|
||||
/* */ @Resource
|
||||
/* */ private SysettingAreaService sysettingAreaService;
|
||||
/* */
|
||||
/* */ @Cacheable(cacheNames = {"ACS_AreaTreeCache"}, key = "T(cn.cloudwalk.elevator.cache.CacheOverrideConfig).CACHE_KEY_ACS_AREA_TREE_PREFIX + #param.businessId")
|
||||
/* */ public CloudwalkResult<List<AreaTreeResult>> tree(DeviceAreaTreeParam param, CloudwalkCallContext context) {
|
||||
/* 32 */ return this.sysettingAreaService.tree(param, context);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\cacheable\AcsAreaTreeCacheableService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.cacheable;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.param.DeviceAreaTreeParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.result.AreaTreeResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.service.SysettingAreaService;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.cache.annotation.Cacheable;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Service
|
||||
public class AcsAreaTreeCacheableService
|
||||
{
|
||||
@Resource
|
||||
private SysettingAreaService sysettingAreaService;
|
||||
|
||||
@Cacheable(cacheNames = {"ACS_AreaTreeCache"}, key = "T(cn.cloudwalk.elevator.cache.CacheOverrideConfig).CACHE_KEY_ACS_AREA_TREE_PREFIX + #param.businessId")
|
||||
public CloudwalkResult<List<AreaTreeResult>> tree(DeviceAreaTreeParam param, CloudwalkCallContext context) {
|
||||
return this.sysettingAreaService.tree(param, context);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+104
-108
@@ -1,108 +1,104 @@
|
||||
/* */ package cn.cloudwalk.elevator.codeElevatorArea.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
/* */ import cn.cloudwalk.elevator.codeElevatorArea.dao.AcsElevatorCodeDao;
|
||||
/* */ import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
/* */ import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
/* */ import cn.cloudwalk.elevator.codeElevatorArea.param.AcsElevatorCodeParam;
|
||||
/* */ import cn.cloudwalk.elevator.codeElevatorArea.service.AcsElevatorCodeService;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.stereotype.Repository;
|
||||
/* */ import org.springframework.util.ObjectUtils;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Repository
|
||||
/* */ public class AcsElevatorCodeServiceImpl
|
||||
/* */ implements AcsElevatorCodeService
|
||||
/* */ {
|
||||
/* */ @Resource
|
||||
/* */ private AcsElevatorCodeDao acsElevatorCodeDao;
|
||||
/* 40 */ protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer insertNew(AcsElevatorCodeParam param) throws ServiceException {
|
||||
/* 51 */ AcsElevatorCodeDTO dto = (AcsElevatorCodeDTO)BeanCopyUtils.copyProperties(param, AcsElevatorCodeDTO.class);
|
||||
/* 52 */ Long createTime = Long.valueOf(System.currentTimeMillis());
|
||||
/* 53 */ dto.setCreateTime(createTime);
|
||||
/* 54 */ dto.setLastUpdateTime(createTime);
|
||||
/* 55 */ return this.acsElevatorCodeDao.insertNew(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer updateOld(AcsElevatorCodeParam param) throws ServiceException {
|
||||
/* 66 */ AcsElevatorCodeDTO dto = (AcsElevatorCodeDTO)BeanCopyUtils.copyProperties(param, AcsElevatorCodeDTO.class);
|
||||
/* 67 */ Long nowTime = Long.valueOf(System.currentTimeMillis());
|
||||
/* 68 */ dto.setLastUpdateTime(nowTime);
|
||||
/* 69 */ return this.acsElevatorCodeDao.updateOld(dto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsElevatorCodeResultDTO get(AcsElevatorCodeParam param) throws ServiceException {
|
||||
/* 81 */ AcsElevatorCodeDTO dto = (AcsElevatorCodeDTO)BeanCopyUtils.copyProperties(param, AcsElevatorCodeDTO.class);
|
||||
/* */
|
||||
/* 83 */ AcsElevatorCodeResultDTO result = this.acsElevatorCodeDao.get(dto);
|
||||
/* */
|
||||
/* 85 */ if (!ObjectUtils.isEmpty(result)) {
|
||||
/* 86 */ return result;
|
||||
/* */ }
|
||||
/* */
|
||||
/* 89 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public AcsElevatorCodeResultDTO getFirstByParentId(String parentId) throws ServiceException {
|
||||
/* 100 */ return this.acsElevatorCodeDao.getFirstByParentId(parentId);
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\impl\AcsElevatorCodeServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dao.AcsElevatorCodeDao;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.param.AcsElevatorCodeParam;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.service.AcsElevatorCodeService;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Repository
|
||||
public class AcsElevatorCodeServiceImpl
|
||||
implements AcsElevatorCodeService
|
||||
{
|
||||
@Resource
|
||||
private AcsElevatorCodeDao acsElevatorCodeDao;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Integer insertNew(AcsElevatorCodeParam param) throws ServiceException {
|
||||
AcsElevatorCodeDTO dto = (AcsElevatorCodeDTO)BeanCopyUtils.copyProperties(param, AcsElevatorCodeDTO.class);
|
||||
Long createTime = Long.valueOf(System.currentTimeMillis());
|
||||
dto.setCreateTime(createTime);
|
||||
dto.setLastUpdateTime(createTime);
|
||||
return this.acsElevatorCodeDao.insertNew(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public Integer updateOld(AcsElevatorCodeParam param) throws ServiceException {
|
||||
AcsElevatorCodeDTO dto = (AcsElevatorCodeDTO)BeanCopyUtils.copyProperties(param, AcsElevatorCodeDTO.class);
|
||||
Long nowTime = Long.valueOf(System.currentTimeMillis());
|
||||
dto.setLastUpdateTime(nowTime);
|
||||
return this.acsElevatorCodeDao.updateOld(dto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public AcsElevatorCodeResultDTO get(AcsElevatorCodeParam param) throws ServiceException {
|
||||
AcsElevatorCodeDTO dto = (AcsElevatorCodeDTO)BeanCopyUtils.copyProperties(param, AcsElevatorCodeDTO.class);
|
||||
|
||||
AcsElevatorCodeResultDTO result = this.acsElevatorCodeDao.get(dto);
|
||||
|
||||
if (!ObjectUtils.isEmpty(result)) {
|
||||
return result;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public AcsElevatorCodeResultDTO getFirstByParentId(String parentId) throws ServiceException {
|
||||
return this.acsElevatorCodeDao.getFirstByParentId(parentId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+70
-74
@@ -1,74 +1,70 @@
|
||||
/* */ package cn.cloudwalk.elevator.codeElevatorArea.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorCodeParam
|
||||
/* */ 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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\param\AcsElevatorCodeParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.param;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorCodeParam
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable
|
||||
{
|
||||
private String zoneId;
|
||||
private String parentId;
|
||||
private String code;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+49
-53
@@ -1,53 +1,49 @@
|
||||
/* */ package cn.cloudwalk.elevator.codeElevatorArea.result;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorCodeResult
|
||||
/* */ {
|
||||
/* */ private String zoneId;
|
||||
/* */ private String code;
|
||||
/* */ private Integer isFirst;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 25 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 29 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 33 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCode(String code) {
|
||||
/* 37 */ this.code = code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsFirst() {
|
||||
/* 41 */ return this.isFirst;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsFirst(Integer isFirst) {
|
||||
/* 45 */ this.isFirst = isFirst;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\result\AcsElevatorCodeResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.result;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorCodeResult
|
||||
{
|
||||
private String zoneId;
|
||||
private String code;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-21
@@ -1,21 +1,17 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.service;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.param.AcsElevatorCodeParam;
|
||||
|
||||
public interface AcsElevatorCodeService {
|
||||
Integer insertNew(AcsElevatorCodeParam paramAcsElevatorCodeParam) throws ServiceException;
|
||||
|
||||
Integer updateOld(AcsElevatorCodeParam paramAcsElevatorCodeParam) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeParam paramAcsElevatorCodeParam) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\codeElevatorArea\service\AcsElevatorCodeService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.service;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.param.AcsElevatorCodeParam;
|
||||
|
||||
public interface AcsElevatorCodeService {
|
||||
Integer insertNew(AcsElevatorCodeParam paramAcsElevatorCodeParam) throws ServiceException;
|
||||
|
||||
Integer updateOld(AcsElevatorCodeParam paramAcsElevatorCodeParam) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeParam paramAcsElevatorCodeParam) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+57
-61
@@ -1,61 +1,57 @@
|
||||
/* */ package cn.cloudwalk.elevator.common;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.result.AreaTreeResult;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ 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 java.util.HashMap;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.Map;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AbstractAcsDeviceService
|
||||
/* */ extends AbstractCloudwalkService
|
||||
/* */ {
|
||||
/* */ protected void getAreaMap(List<AreaTreeResult> areaTreeResultList, Map<String, String> areaMap) {
|
||||
/* 26 */ for (AreaTreeResult areaTree : areaTreeResultList) {
|
||||
/* 27 */ areaMap.put(areaTree.getId(), areaTree.getName());
|
||||
/* 28 */ if (areaTree.getChildren() != null) {
|
||||
/* 29 */ getAreaMap(areaTree.getChildren(), areaMap);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkCallContext getCloudwalkContext(String businessId) {
|
||||
/* 38 */ CloudwalkCallContext context = new CloudwalkCallContext();
|
||||
/* 39 */ CompanyContext companyContext = new CompanyContext();
|
||||
/* 40 */ companyContext.setCompanyId(businessId);
|
||||
/* 41 */ context.setCompany(companyContext);
|
||||
/* 42 */ UserContext userContext = new UserContext();
|
||||
/* 43 */ userContext.setCaller("defaultUserId");
|
||||
/* 44 */ userContext.setCallerName("defaultUserName");
|
||||
/* 45 */ context.setUser(userContext);
|
||||
/* 46 */ context.setCallTime(CloudwalkDateUtils.getCurrentDate());
|
||||
/* */
|
||||
/* 48 */ Map<String, String> feignThreadLoaclMap = new HashMap<>(3);
|
||||
/* 49 */ feignThreadLoaclMap.put("businessid", businessId);
|
||||
/* 50 */ feignThreadLoaclMap.put("platformuserid", "defaultUserId");
|
||||
/* 51 */ feignThreadLoaclMap.put("username", "defaultUserName");
|
||||
/* 52 */ FeignThreadLocalUtil.set(feignThreadLoaclMap);
|
||||
/* 53 */ return context;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\AbstractAcsDeviceService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.common;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.sysetting.result.AreaTreeResult;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
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 java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AbstractAcsDeviceService
|
||||
extends AbstractCloudwalkService
|
||||
{
|
||||
protected void getAreaMap(List<AreaTreeResult> areaTreeResultList, Map<String, String> areaMap) {
|
||||
for (AreaTreeResult areaTree : areaTreeResultList) {
|
||||
areaMap.put(areaTree.getId(), areaTree.getName());
|
||||
if (areaTree.getChildren() != null) {
|
||||
getAreaMap(areaTree.getChildren(), areaMap);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkCallContext getCloudwalkContext(String businessId) {
|
||||
CloudwalkCallContext context = new CloudwalkCallContext();
|
||||
CompanyContext companyContext = new CompanyContext();
|
||||
companyContext.setCompanyId(businessId);
|
||||
context.setCompany(companyContext);
|
||||
UserContext userContext = new UserContext();
|
||||
userContext.setCaller("defaultUserId");
|
||||
userContext.setCallerName("defaultUserName");
|
||||
context.setUser(userContext);
|
||||
context.setCallTime(CloudwalkDateUtils.getCurrentDate());
|
||||
|
||||
Map<String, String> feignThreadLoaclMap = new HashMap<>(3);
|
||||
feignThreadLoaclMap.put("businessid", businessId);
|
||||
feignThreadLoaclMap.put("platformuserid", "defaultUserId");
|
||||
feignThreadLoaclMap.put("username", "defaultUserName");
|
||||
FeignThreadLocalUtil.set(feignThreadLoaclMap);
|
||||
return context;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+84
-88
@@ -1,88 +1,84 @@
|
||||
/* */ package cn.cloudwalk.elevator.common;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceService;
|
||||
/* */ import cn.cloudwalk.cloud.serial.UUIDSerial;
|
||||
/* */ import cn.cloudwalk.cloud.utils.CloudwalkDateUtils;
|
||||
/* */ import cn.cloudwalk.serial.code.AbstractGeneralCode;
|
||||
/* */ 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;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AbstractCloudwalkService
|
||||
/* */ {
|
||||
/* */ @Autowired
|
||||
/* */ protected DeviceService deviceService;
|
||||
/* 27 */ protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private static final int GENGRAL_CODE_LENGTH = 8;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ private MessageSource messageSource;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Autowired
|
||||
/* */ protected AbstractGeneralCode generalCode;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Autowired(required = false)
|
||||
/* */ private UUIDSerial uuidSerial;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getMessage(String code) {
|
||||
/* 59 */ return this.messageSource.getMessage(code, null, "", LocaleContextHolder.getLocale());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String createGeneralCode() {
|
||||
/* 68 */ return this.generalCode.generalCode(CloudwalkDateUtils.getDate8YMD(), Integer.valueOf(8));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String genUUID() {
|
||||
/* 77 */ if (null != this.uuidSerial) {
|
||||
/* 78 */ return this.uuidSerial.uuid();
|
||||
/* */ }
|
||||
/* 80 */ return CloudwalkDateUtils.getUUID();
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\AbstractCloudwalkService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.common;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceService;
|
||||
import cn.cloudwalk.cloud.serial.UUIDSerial;
|
||||
import cn.cloudwalk.cloud.utils.CloudwalkDateUtils;
|
||||
import cn.cloudwalk.serial.code.AbstractGeneralCode;
|
||||
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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AbstractCloudwalkService
|
||||
{
|
||||
@Autowired
|
||||
protected DeviceService deviceService;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private static final int GENGRAL_CODE_LENGTH = 8;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Autowired
|
||||
private MessageSource messageSource;
|
||||
|
||||
|
||||
|
||||
|
||||
@Autowired
|
||||
protected AbstractGeneralCode generalCode;
|
||||
|
||||
|
||||
|
||||
|
||||
@Autowired(required = false)
|
||||
private UUIDSerial uuidSerial;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getMessage(String code) {
|
||||
return this.messageSource.getMessage(code, null, "", LocaleContextHolder.getLocale());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String createGeneralCode() {
|
||||
return this.generalCode.generalCode(CloudwalkDateUtils.getDate8YMD(), Integer.valueOf(8));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String genUUID() {
|
||||
if (null != this.uuidSerial) {
|
||||
return this.uuidSerial.uuid();
|
||||
}
|
||||
return CloudwalkDateUtils.getUUID();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+56
-60
@@ -1,60 +1,56 @@
|
||||
/* */ package cn.cloudwalk.elevator.common;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.resource.application.param.ApplicationQueryParam;
|
||||
/* */ import cn.cloudwalk.client.resource.application.result.ApplicationResult;
|
||||
/* */ import cn.cloudwalk.client.resource.application.service.ApplicationService;
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.elevator.common.service.AcsApplicationService;
|
||||
/* */ import java.util.Collection;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.apache.commons.collections4.CollectionUtils;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */ import org.springframework.cache.annotation.Cacheable;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class AcsApplicationServiceImpl
|
||||
/* */ implements AcsApplicationService
|
||||
/* */ {
|
||||
/* 30 */ private static final Logger logger = LoggerFactory.getLogger(AcsApplicationServiceImpl.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Resource
|
||||
/* */ private ApplicationService applicationService;
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Cacheable(cacheNames = {"ACS_Applicationids"}, key = "T(cn.cloudwalk.biz.ninca.accesscontrol.cache.CacheOverrideConfig).CACHE_KEY_APPLICATION_IDS_PREFIX + #businessId")
|
||||
/* */ public String getApplicationId(String businessId) throws ServiceException {
|
||||
/* 39 */ ApplicationQueryParam param = new ApplicationQueryParam();
|
||||
/* 40 */ param.setBusinessId(businessId);
|
||||
/* 41 */ param.setServiceCode("elevator-app");
|
||||
/* 42 */ CloudwalkResult<List<ApplicationResult>> cloudwalkResult = this.applicationService.query(param);
|
||||
/* 43 */ if (cloudwalkResult.isSuccess()) {
|
||||
/* 44 */ if (CollectionUtils.isNotEmpty((Collection)cloudwalkResult.getData())) {
|
||||
/* 45 */ return ((ApplicationResult)((List<ApplicationResult>)cloudwalkResult.getData()).get(0)).getId();
|
||||
/* */ }
|
||||
/* 47 */ logger.info("未查到applicationId");
|
||||
/* 48 */ throw new ServiceException("76260005", "未查到applicationId");
|
||||
/* */ }
|
||||
/* */
|
||||
/* 51 */ logger.info("查询applicationId失败");
|
||||
/* 52 */ throw new ServiceException("76260006", "查询applicationId失败");
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\AcsApplicationServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.common;
|
||||
|
||||
import cn.cloudwalk.client.resource.application.param.ApplicationQueryParam;
|
||||
import cn.cloudwalk.client.resource.application.result.ApplicationResult;
|
||||
import cn.cloudwalk.client.resource.application.service.ApplicationService;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.common.service.AcsApplicationService;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.cache.annotation.Cacheable;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Service
|
||||
public class AcsApplicationServiceImpl
|
||||
implements AcsApplicationService
|
||||
{
|
||||
private static final Logger logger = LoggerFactory.getLogger(AcsApplicationServiceImpl.class);
|
||||
|
||||
|
||||
@Resource
|
||||
private ApplicationService applicationService;
|
||||
|
||||
|
||||
@Cacheable(cacheNames = {"ACS_Applicationids"}, key = "T(cn.cloudwalk.biz.ninca.accesscontrol.cache.CacheOverrideConfig).CACHE_KEY_APPLICATION_IDS_PREFIX + #businessId")
|
||||
public String getApplicationId(String businessId) throws ServiceException {
|
||||
ApplicationQueryParam param = new ApplicationQueryParam();
|
||||
param.setBusinessId(businessId);
|
||||
param.setServiceCode("elevator-app");
|
||||
CloudwalkResult<List<ApplicationResult>> cloudwalkResult = this.applicationService.query(param);
|
||||
if (cloudwalkResult.isSuccess()) {
|
||||
if (CollectionUtils.isNotEmpty((Collection)cloudwalkResult.getData())) {
|
||||
return ((ApplicationResult)((List<ApplicationResult>)cloudwalkResult.getData()).get(0)).getId();
|
||||
}
|
||||
logger.info("未查到applicationId");
|
||||
throw new ServiceException("76260005", "未查到applicationId");
|
||||
}
|
||||
|
||||
logger.info("查询applicationId失败");
|
||||
throw new ServiceException("76260006", "查询applicationId失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+60
-64
@@ -1,64 +1,60 @@
|
||||
/* */ package cn.cloudwalk.elevator.common;
|
||||
/* */
|
||||
/* */ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
/* */ import org.springframework.context.annotation.Configuration;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Configuration
|
||||
/* */ @ConfigurationProperties(prefix = "ninca.update.floor.pool")
|
||||
/* */ public class UpdateFloorsPoolProperties
|
||||
/* */ {
|
||||
/* 13 */ private int corePoolSize = 3;
|
||||
/* 14 */ private int maxPoolSize = 5;
|
||||
/* 15 */ private int keepAliveSeconds = 150;
|
||||
/* 16 */ private int queueCapacity = 100;
|
||||
/* */ private boolean allowCoreThreadTimeOut = true;
|
||||
/* */
|
||||
/* */ public int getCorePoolSize() {
|
||||
/* 20 */ return this.corePoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCorePoolSize(int corePoolSize) {
|
||||
/* 24 */ this.corePoolSize = corePoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public int getMaxPoolSize() {
|
||||
/* 28 */ return this.maxPoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setMaxPoolSize(int maxPoolSize) {
|
||||
/* 32 */ this.maxPoolSize = maxPoolSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public int getKeepAliveSeconds() {
|
||||
/* 36 */ return this.keepAliveSeconds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setKeepAliveSeconds(int keepAliveSeconds) {
|
||||
/* 40 */ this.keepAliveSeconds = keepAliveSeconds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public int getQueueCapacity() {
|
||||
/* 44 */ return this.queueCapacity;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setQueueCapacity(int queueCapacity) {
|
||||
/* 48 */ this.queueCapacity = queueCapacity;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public boolean isAllowCoreThreadTimeOut() {
|
||||
/* 52 */ return this.allowCoreThreadTimeOut;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAllowCoreThreadTimeOut(boolean allowCoreThreadTimeOut) {
|
||||
/* 56 */ this.allowCoreThreadTimeOut = allowCoreThreadTimeOut;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\UpdateFloorsPoolProperties.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.common;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
|
||||
|
||||
@Configuration
|
||||
@ConfigurationProperties(prefix = "ninca.update.floor.pool")
|
||||
public class UpdateFloorsPoolProperties
|
||||
{
|
||||
private int corePoolSize = 3;
|
||||
private int maxPoolSize = 5;
|
||||
private int keepAliveSeconds = 150;
|
||||
private int queueCapacity = 100;
|
||||
private boolean allowCoreThreadTimeOut = true;
|
||||
|
||||
public int getCorePoolSize() {
|
||||
return this.corePoolSize;
|
||||
}
|
||||
|
||||
public void setCorePoolSize(int corePoolSize) {
|
||||
this.corePoolSize = corePoolSize;
|
||||
}
|
||||
|
||||
public int getMaxPoolSize() {
|
||||
return this.maxPoolSize;
|
||||
}
|
||||
|
||||
public void setMaxPoolSize(int maxPoolSize) {
|
||||
this.maxPoolSize = maxPoolSize;
|
||||
}
|
||||
|
||||
public int getKeepAliveSeconds() {
|
||||
return this.keepAliveSeconds;
|
||||
}
|
||||
|
||||
public void setKeepAliveSeconds(int keepAliveSeconds) {
|
||||
this.keepAliveSeconds = keepAliveSeconds;
|
||||
}
|
||||
|
||||
public int getQueueCapacity() {
|
||||
return this.queueCapacity;
|
||||
}
|
||||
|
||||
public void setQueueCapacity(int queueCapacity) {
|
||||
this.queueCapacity = queueCapacity;
|
||||
}
|
||||
|
||||
public boolean isAllowCoreThreadTimeOut() {
|
||||
return this.allowCoreThreadTimeOut;
|
||||
}
|
||||
|
||||
public void setAllowCoreThreadTimeOut(boolean allowCoreThreadTimeOut) {
|
||||
this.allowCoreThreadTimeOut = allowCoreThreadTimeOut;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+40
-44
@@ -1,44 +1,40 @@
|
||||
/* */ package cn.cloudwalk.elevator.common;
|
||||
/* */
|
||||
/* */ import java.util.concurrent.ThreadPoolExecutor;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.context.annotation.Bean;
|
||||
/* */ import org.springframework.context.annotation.Configuration;
|
||||
/* */ import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Configuration
|
||||
/* */ public class UpdateFloorsTaskExecutor
|
||||
/* */ {
|
||||
/* */ @Autowired
|
||||
/* */ private UpdateFloorsPoolProperties updateFloorsPoolProperties;
|
||||
/* */
|
||||
/* */ @Bean(name = {"updateFloorsExecutor"})
|
||||
/* */ public ThreadPoolTaskExecutor pictureRevisionTaskExecutor() {
|
||||
/* 21 */ ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
|
||||
/* */
|
||||
/* 23 */ threadPoolTaskExecutor.setCorePoolSize(this.updateFloorsPoolProperties.getCorePoolSize());
|
||||
/* */
|
||||
/* 25 */ threadPoolTaskExecutor.setAllowCoreThreadTimeOut(this.updateFloorsPoolProperties.isAllowCoreThreadTimeOut());
|
||||
/* */
|
||||
/* 27 */ threadPoolTaskExecutor.setMaxPoolSize(this.updateFloorsPoolProperties.getMaxPoolSize());
|
||||
/* */
|
||||
/* 29 */ threadPoolTaskExecutor.setQueueCapacity(this.updateFloorsPoolProperties.getQueueCapacity());
|
||||
/* */
|
||||
/* 31 */ threadPoolTaskExecutor.setThreadNamePrefix("update-floors-pool-");
|
||||
/* */
|
||||
/* 33 */ threadPoolTaskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.AbortPolicy());
|
||||
/* */
|
||||
/* 35 */ threadPoolTaskExecutor.initialize();
|
||||
/* 36 */ return threadPoolTaskExecutor;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\UpdateFloorsTaskExecutor.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.common;
|
||||
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Configuration
|
||||
public class UpdateFloorsTaskExecutor
|
||||
{
|
||||
@Autowired
|
||||
private UpdateFloorsPoolProperties updateFloorsPoolProperties;
|
||||
|
||||
@Bean(name = {"updateFloorsExecutor"})
|
||||
public ThreadPoolTaskExecutor pictureRevisionTaskExecutor() {
|
||||
ThreadPoolTaskExecutor threadPoolTaskExecutor = new ThreadPoolTaskExecutor();
|
||||
|
||||
threadPoolTaskExecutor.setCorePoolSize(this.updateFloorsPoolProperties.getCorePoolSize());
|
||||
|
||||
threadPoolTaskExecutor.setAllowCoreThreadTimeOut(this.updateFloorsPoolProperties.isAllowCoreThreadTimeOut());
|
||||
|
||||
threadPoolTaskExecutor.setMaxPoolSize(this.updateFloorsPoolProperties.getMaxPoolSize());
|
||||
|
||||
threadPoolTaskExecutor.setQueueCapacity(this.updateFloorsPoolProperties.getQueueCapacity());
|
||||
|
||||
threadPoolTaskExecutor.setThreadNamePrefix("update-floors-pool-");
|
||||
|
||||
threadPoolTaskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.AbortPolicy());
|
||||
|
||||
threadPoolTaskExecutor.initialize();
|
||||
return threadPoolTaskExecutor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+9
-13
@@ -1,13 +1,9 @@
|
||||
package cn.cloudwalk.elevator.common.service;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
|
||||
public interface AcsApplicationService {
|
||||
String getApplicationId(String paramString) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\common\service\AcsApplicationService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.common.service;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
|
||||
public interface AcsApplicationService {
|
||||
String getApplicationId(String paramString) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+174
-178
@@ -1,178 +1,174 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
/* */ import cn.cloudwalk.elevator.device.dao.AcsDeviceTaskDao;
|
||||
/* */ import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
/* */ import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
/* */ import cn.cloudwalk.elevator.device.param.AcsRestructureBindingParam;
|
||||
/* */ import cn.cloudwalk.elevator.device.service.AcsDeviceTaskService;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.dao.ImageRuleRefDao;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleDeleteParam;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassRuleNewParam;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.service.ImageRuleRefService;
|
||||
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonAddParam;
|
||||
/* */ import cn.cloudwalk.elevator.person.param.AcsPersonDeleteParam;
|
||||
/* */ import cn.cloudwalk.elevator.person.service.PersonRuleService;
|
||||
/* */ import cn.cloudwalk.elevator.util.CollectionUtils;
|
||||
/* */ import java.util.Collections;
|
||||
/* */ import java.util.HashMap;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.Map;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.scheduling.annotation.Async;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */ import org.springframework.util.ObjectUtils;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class AcsDeviceTaskServiceImpl
|
||||
/* */ extends AbstractAcsDeviceService
|
||||
/* */ implements AcsDeviceTaskService
|
||||
/* */ {
|
||||
/* */ @Autowired
|
||||
/* */ private PersonRuleService personRuleService;
|
||||
/* */ @Autowired
|
||||
/* */ private ImageRuleRefService imageRuleRefService;
|
||||
/* */ @Resource
|
||||
/* */ private AcsDeviceTaskDao acsDeviceTaskDao;
|
||||
/* */ @Resource
|
||||
/* */ private ImageRuleRefDao imageRuleRefDao;
|
||||
/* */
|
||||
/* */ @Async("updateFloorsExecutor")
|
||||
/* */ public void updateFloors(AcsRestructureBindingParam param, List<AcsPassRuleImageResultDto> addFloors, List<String> delFloorIds, CloudwalkCallContext context) throws ServiceException {
|
||||
/* */ try {
|
||||
/* 71 */ if (!CollectionUtils.isEmpty(addFloors)) {
|
||||
/* 72 */ for (AcsPassRuleImageResultDto addFloor : addFloors) {
|
||||
/* */
|
||||
/* 74 */ AcsDeviceTaskDTO task = this.acsDeviceTaskDao.getById(param.getTaskId());
|
||||
/* 75 */ if (task.getIsStop().intValue() == 0) {
|
||||
/* */
|
||||
/* 77 */ if (!ObjectUtils.isEmpty(param.getPersonId())) {
|
||||
/* */
|
||||
/* 79 */ AcsPersonAddParam addParam = new AcsPersonAddParam();
|
||||
/* 80 */ addParam.setPersonIds(Collections.singletonList(param.getPersonId()));
|
||||
/* 81 */ addParam.setParentId(param.getParentId());
|
||||
/* 82 */ addParam.setZoneId(addFloor.getZoneId());
|
||||
/* 83 */ addParam.setZoneName(addFloor.getZoneName());
|
||||
/* 84 */ this.personRuleService.add(addParam, context);
|
||||
/* */ } else {
|
||||
/* */
|
||||
/* 87 */ AcsPassRuleNewParam ruleParam = new AcsPassRuleNewParam();
|
||||
/* 88 */ ruleParam.setParentId(param.getParentId());
|
||||
/* 89 */ ruleParam.setZoneId(addFloor.getZoneId());
|
||||
/* 90 */ ruleParam.setZoneName(addFloor.getZoneName());
|
||||
/* 91 */ if (!ObjectUtils.isEmpty(param.getLabelId())) {
|
||||
/* 92 */ ruleParam.setIncludeLabels(Collections.singletonList(param.getLabelId()));
|
||||
/* 93 */ ruleParam.setRuleName(addFloor.getZoneName() + param.getLabelName());
|
||||
/* */ }
|
||||
/* 95 */ if (!ObjectUtils.isEmpty(param.getOrgId())) {
|
||||
/* 96 */ ruleParam.setIncludeOrganizations(Collections.singletonList(param.getOrgId()));
|
||||
/* 97 */ ruleParam.setRuleName(addFloor.getZoneName() + param.getOrgName());
|
||||
/* */ }
|
||||
/* */
|
||||
/* 100 */ this.imageRuleRefService.addOnlyRule(ruleParam, context);
|
||||
/* */ }
|
||||
/* */
|
||||
/* 103 */ AcsDeviceTaskAddDto addDto = new AcsDeviceTaskAddDto();
|
||||
/* 104 */ addDto.setId(task.getId());
|
||||
/* 105 */ addDto.setBindDevices(Integer.valueOf(task.getBindDevices().intValue() + 1));
|
||||
/* 106 */ this.acsDeviceTaskDao.updateBingDevices(addDto);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 113 */ if (!CollectionUtils.isEmpty(delFloorIds)) {
|
||||
/* */
|
||||
/* 115 */ List<AcsPassRuleImageResultDto> ruleList = this.imageRuleRefDao.listZoneInfoByIds(delFloorIds);
|
||||
/* 116 */ Map<String, String> ruleMap = new HashMap<>();
|
||||
/* 117 */ ruleList.forEach(rule -> (String)ruleMap.put(rule.getZoneId(), rule.getZoneName()));
|
||||
/* 118 */ for (String delFloorId : delFloorIds)
|
||||
/* */ {
|
||||
/* 120 */ AcsDeviceTaskDTO task = this.acsDeviceTaskDao.getById(param.getTaskId());
|
||||
/* 121 */ if (task.getIsStop().intValue() == 0) {
|
||||
/* 122 */ if (!ObjectUtils.isEmpty(param.getPersonId())) {
|
||||
/* */
|
||||
/* 124 */ AcsPersonDeleteParam delParam = new AcsPersonDeleteParam();
|
||||
/* 125 */ delParam.setParentId(param.getParentId());
|
||||
/* 126 */ delParam.setZoneId(delFloorId);
|
||||
/* 127 */ delParam.setPersonIds(Collections.singletonList(param.getPersonId()));
|
||||
/* 128 */ this.personRuleService.delete(delParam, context);
|
||||
/* */ }
|
||||
/* */ else {
|
||||
/* */
|
||||
/* 132 */ String ruleName = "";
|
||||
/* 133 */ if (!ObjectUtils.isEmpty(param.getLabelName())) {
|
||||
/* 134 */ ruleName = (String)ruleMap.get(delFloorId) + param.getLabelName();
|
||||
/* */ }
|
||||
/* 136 */ if (!ObjectUtils.isEmpty(param.getOrgName())) {
|
||||
/* 137 */ ruleName = (String)ruleMap.get(delFloorId) + param.getOrgName();
|
||||
/* */ }
|
||||
/* 139 */ String ruleId = this.imageRuleRefDao.getByRuleName(ruleName, delFloorId);
|
||||
/* 140 */ if (!ObjectUtils.isEmpty(ruleId)) {
|
||||
/* */
|
||||
/* 142 */ AcsPassRuleDeleteParam deleteParam = new AcsPassRuleDeleteParam();
|
||||
/* 143 */ deleteParam.setIds(Collections.singletonList(ruleId));
|
||||
/* 144 */ deleteParam.setZoneId(delFloorId);
|
||||
/* 145 */ deleteParam.setParentId(param.getParentId());
|
||||
/* */
|
||||
/* 147 */ this.imageRuleRefService.delete(deleteParam, context);
|
||||
/* */ } else {
|
||||
/* */
|
||||
/* 150 */ AcsPassRuleDeleteDto dto = new AcsPassRuleDeleteDto();
|
||||
/* 151 */ dto.setZoneId(delFloorId);
|
||||
/* 152 */ dto.setLabelId(param.getLabelId());
|
||||
/* 153 */ dto.setOrgId(param.getOrgId());
|
||||
/* 154 */ this.imageRuleRefDao.deleteByOrgAndLabel(dto);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* 158 */ AcsDeviceTaskAddDto addDto = new AcsDeviceTaskAddDto();
|
||||
/* 159 */ addDto.setId(task.getId());
|
||||
/* 160 */ addDto.setBindDevices(Integer.valueOf(task.getBindDevices().intValue() + 1));
|
||||
/* 161 */ this.acsDeviceTaskDao.updateBingDevices(addDto);
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ }
|
||||
/* 167 */ } catch (Exception e) {
|
||||
/* 168 */ this.logger.error("处理设备任务失败,失败原因:{}", e);
|
||||
/* 169 */ throw new ServiceException(e.getMessage());
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\impl\AcsDeviceTaskServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
import cn.cloudwalk.elevator.device.dao.AcsDeviceTaskDao;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
import cn.cloudwalk.elevator.device.param.AcsRestructureBindingParam;
|
||||
import cn.cloudwalk.elevator.device.service.AcsDeviceTaskService;
|
||||
import cn.cloudwalk.elevator.passrule.dao.ImageRuleRefDao;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassRuleDeleteParam;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassRuleNewParam;
|
||||
import cn.cloudwalk.elevator.passrule.service.ImageRuleRefService;
|
||||
import cn.cloudwalk.elevator.person.param.AcsPersonAddParam;
|
||||
import cn.cloudwalk.elevator.person.param.AcsPersonDeleteParam;
|
||||
import cn.cloudwalk.elevator.person.service.PersonRuleService;
|
||||
import cn.cloudwalk.elevator.util.CollectionUtils;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Service
|
||||
public class AcsDeviceTaskServiceImpl
|
||||
extends AbstractAcsDeviceService
|
||||
implements AcsDeviceTaskService
|
||||
{
|
||||
@Autowired
|
||||
private PersonRuleService personRuleService;
|
||||
@Autowired
|
||||
private ImageRuleRefService imageRuleRefService;
|
||||
@Resource
|
||||
private AcsDeviceTaskDao acsDeviceTaskDao;
|
||||
@Resource
|
||||
private ImageRuleRefDao imageRuleRefDao;
|
||||
|
||||
@Async("updateFloorsExecutor")
|
||||
public void updateFloors(AcsRestructureBindingParam param, List<AcsPassRuleImageResultDto> addFloors, List<String> delFloorIds, CloudwalkCallContext context) throws ServiceException {
|
||||
try {
|
||||
if (!CollectionUtils.isEmpty(addFloors)) {
|
||||
for (AcsPassRuleImageResultDto addFloor : addFloors) {
|
||||
|
||||
AcsDeviceTaskDTO task = this.acsDeviceTaskDao.getById(param.getTaskId());
|
||||
if (task.getIsStop().intValue() == 0) {
|
||||
|
||||
if (!ObjectUtils.isEmpty(param.getPersonId())) {
|
||||
|
||||
AcsPersonAddParam addParam = new AcsPersonAddParam();
|
||||
addParam.setPersonIds(Collections.singletonList(param.getPersonId()));
|
||||
addParam.setParentId(param.getParentId());
|
||||
addParam.setZoneId(addFloor.getZoneId());
|
||||
addParam.setZoneName(addFloor.getZoneName());
|
||||
this.personRuleService.add(addParam, context);
|
||||
} else {
|
||||
|
||||
AcsPassRuleNewParam ruleParam = new AcsPassRuleNewParam();
|
||||
ruleParam.setParentId(param.getParentId());
|
||||
ruleParam.setZoneId(addFloor.getZoneId());
|
||||
ruleParam.setZoneName(addFloor.getZoneName());
|
||||
if (!ObjectUtils.isEmpty(param.getLabelId())) {
|
||||
ruleParam.setIncludeLabels(Collections.singletonList(param.getLabelId()));
|
||||
ruleParam.setRuleName(addFloor.getZoneName() + param.getLabelName());
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(param.getOrgId())) {
|
||||
ruleParam.setIncludeOrganizations(Collections.singletonList(param.getOrgId()));
|
||||
ruleParam.setRuleName(addFloor.getZoneName() + param.getOrgName());
|
||||
}
|
||||
|
||||
this.imageRuleRefService.addOnlyRule(ruleParam, context);
|
||||
}
|
||||
|
||||
AcsDeviceTaskAddDto addDto = new AcsDeviceTaskAddDto();
|
||||
addDto.setId(task.getId());
|
||||
addDto.setBindDevices(Integer.valueOf(task.getBindDevices().intValue() + 1));
|
||||
this.acsDeviceTaskDao.updateBingDevices(addDto);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!CollectionUtils.isEmpty(delFloorIds)) {
|
||||
|
||||
List<AcsPassRuleImageResultDto> ruleList = this.imageRuleRefDao.listZoneInfoByIds(delFloorIds);
|
||||
Map<String, String> ruleMap = new HashMap<>();
|
||||
ruleList.forEach(rule -> (String)ruleMap.put(rule.getZoneId(), rule.getZoneName()));
|
||||
for (String delFloorId : delFloorIds)
|
||||
{
|
||||
AcsDeviceTaskDTO task = this.acsDeviceTaskDao.getById(param.getTaskId());
|
||||
if (task.getIsStop().intValue() == 0) {
|
||||
if (!ObjectUtils.isEmpty(param.getPersonId())) {
|
||||
|
||||
AcsPersonDeleteParam delParam = new AcsPersonDeleteParam();
|
||||
delParam.setParentId(param.getParentId());
|
||||
delParam.setZoneId(delFloorId);
|
||||
delParam.setPersonIds(Collections.singletonList(param.getPersonId()));
|
||||
this.personRuleService.delete(delParam, context);
|
||||
}
|
||||
else {
|
||||
|
||||
String ruleName = "";
|
||||
if (!ObjectUtils.isEmpty(param.getLabelName())) {
|
||||
ruleName = (String)ruleMap.get(delFloorId) + param.getLabelName();
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(param.getOrgName())) {
|
||||
ruleName = (String)ruleMap.get(delFloorId) + param.getOrgName();
|
||||
}
|
||||
String ruleId = this.imageRuleRefDao.getByRuleName(ruleName, delFloorId);
|
||||
if (!ObjectUtils.isEmpty(ruleId)) {
|
||||
|
||||
AcsPassRuleDeleteParam deleteParam = new AcsPassRuleDeleteParam();
|
||||
deleteParam.setIds(Collections.singletonList(ruleId));
|
||||
deleteParam.setZoneId(delFloorId);
|
||||
deleteParam.setParentId(param.getParentId());
|
||||
|
||||
this.imageRuleRefService.delete(deleteParam, context);
|
||||
} else {
|
||||
|
||||
AcsPassRuleDeleteDto dto = new AcsPassRuleDeleteDto();
|
||||
dto.setZoneId(delFloorId);
|
||||
dto.setLabelId(param.getLabelId());
|
||||
dto.setOrgId(param.getOrgId());
|
||||
this.imageRuleRefDao.deleteByOrgAndLabel(dto);
|
||||
}
|
||||
}
|
||||
|
||||
AcsDeviceTaskAddDto addDto = new AcsDeviceTaskAddDto();
|
||||
addDto.setId(task.getId());
|
||||
addDto.setBindDevices(Integer.valueOf(task.getBindDevices().intValue() + 1));
|
||||
this.acsDeviceTaskDao.updateBingDevices(addDto);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
this.logger.error("处理设备任务失败,失败原因:{}", e);
|
||||
throw new ServiceException(e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1276
-1280
File diff suppressed because it is too large
Load Diff
+47
-51
@@ -1,51 +1,47 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsDeviceQueryParam
|
||||
/* */ extends CloudwalkBasePageForm
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private String deviceName;
|
||||
/* */ private String deviceCategoryId;
|
||||
/* */ private String areaId;
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 23 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 27 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCategoryId() {
|
||||
/* 31 */ return this.deviceCategoryId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCategoryId(String deviceCategoryId) {
|
||||
/* 35 */ this.deviceCategoryId = deviceCategoryId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaId() {
|
||||
/* 39 */ return this.areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaId(String areaId) {
|
||||
/* 43 */ this.areaId = areaId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsDeviceQueryParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsDeviceQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable
|
||||
{
|
||||
private String deviceName;
|
||||
private String deviceCategoryId;
|
||||
private String areaId;
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceCategoryId() {
|
||||
return this.deviceCategoryId;
|
||||
}
|
||||
|
||||
public void setDeviceCategoryId(String deviceCategoryId) {
|
||||
this.deviceCategoryId = deviceCategoryId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+27
-31
@@ -1,31 +1,27 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsDeviceRestructureTaskParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -7349123760464380004L;
|
||||
/* */ private String taskId;
|
||||
/* */
|
||||
/* */ public String toString() {
|
||||
/* 15 */ return "AcsDeviceRestructureTaskParam(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 AcsDeviceRestructureTaskParam; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsDeviceRestructureTaskParam)) return false; AcsDeviceRestructureTaskParam other = (AcsDeviceRestructureTaskParam)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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsDeviceRestructureTaskParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsDeviceRestructureTaskParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -7349123760464380004L;
|
||||
private String taskId;
|
||||
|
||||
public String toString() {
|
||||
return "AcsDeviceRestructureTaskParam(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 AcsDeviceRestructureTaskParam; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsDeviceRestructureTaskParam)) return false; AcsDeviceRestructureTaskParam other = (AcsDeviceRestructureTaskParam)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() {
|
||||
return this.taskId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+231
-235
@@ -1,235 +1,231 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import javax.validation.constraints.NotNull;
|
||||
/* */ import org.hibernate.validator.constraints.NotEmpty;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceAddParam
|
||||
/* */ 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 status;
|
||||
/* */ private Integer deleteFlag;
|
||||
/* */ private String areaId;
|
||||
/* */ private String elevatorFloorIdList;
|
||||
/* */
|
||||
/* */ public String getElevatorFloorIdList() {
|
||||
/* 104 */ return this.elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
/* 108 */ this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getAreaId() {
|
||||
/* 113 */ return this.areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaId(String areaId) {
|
||||
/* 117 */ this.areaId = areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 122 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 126 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 130 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 134 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 138 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 142 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 146 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 150 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 154 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 158 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getElevatorFloorList() {
|
||||
/* 162 */ return this.elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorList(String elevatorFloorList) {
|
||||
/* 166 */ this.elevatorFloorList = elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 170 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 174 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloor() {
|
||||
/* 178 */ return this.currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloor(String currentFloor) {
|
||||
/* 182 */ this.currentFloor = currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuilding() {
|
||||
/* 186 */ return this.currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuilding(String currentBuilding) {
|
||||
/* 190 */ this.currentBuilding = currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaName() {
|
||||
/* 194 */ return this.areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaName(String areaName) {
|
||||
/* 198 */ this.areaName = areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getStatus() {
|
||||
/* 202 */ return this.status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStatus(Integer status) {
|
||||
/* 206 */ this.status = status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getDeleteFlag() {
|
||||
/* 210 */ return this.deleteFlag;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeleteFlag(Integer deleteFlag) {
|
||||
/* 214 */ this.deleteFlag = deleteFlag;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuildingId() {
|
||||
/* 218 */ return this.currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuildingId(String currentBuildingId) {
|
||||
/* 222 */ this.currentBuildingId = currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String toString() {
|
||||
/* 227 */ return "AcsElevatorDeviceAddDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + ", areaName='" + this.areaName + '\'' + ", status=" + this.status + ", deleteFlag=" + this.deleteFlag + '}';
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsElevatorDeviceAddParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceAddParam
|
||||
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 status;
|
||||
private Integer deleteFlag;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getDeleteFlag() {
|
||||
return this.deleteFlag;
|
||||
}
|
||||
|
||||
public void setDeleteFlag(Integer deleteFlag) {
|
||||
this.deleteFlag = deleteFlag;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceAddDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + ", areaName='" + this.areaName + '\'' + ", status=" + this.status + ", deleteFlag=" + this.deleteFlag + '}';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+181
-185
@@ -1,185 +1,181 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import javax.validation.constraints.NotNull;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceEditParam
|
||||
/* */ 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() {
|
||||
/* 80 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 84 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 88 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 92 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 96 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 100 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 104 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 108 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 112 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 116 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getElevatorFloorIdList() {
|
||||
/* 120 */ return this.elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
/* 124 */ this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaId() {
|
||||
/* 128 */ return this.areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaId(String areaId) {
|
||||
/* 132 */ this.areaId = areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getElevatorFloorList() {
|
||||
/* 136 */ return this.elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorList(String elevatorFloorList) {
|
||||
/* 140 */ this.elevatorFloorList = elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 144 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 148 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloor() {
|
||||
/* 152 */ return this.currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloor(String currentFloor) {
|
||||
/* 156 */ this.currentFloor = currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuilding() {
|
||||
/* 160 */ return this.currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuilding(String currentBuilding) {
|
||||
/* 164 */ this.currentBuilding = currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuildingId() {
|
||||
/* 168 */ return this.currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuildingId(String currentBuildingId) {
|
||||
/* 172 */ this.currentBuildingId = currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String toString() {
|
||||
/* 177 */ 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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsElevatorDeviceEditParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceEditParam
|
||||
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() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceAddDTO{, elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='" + this.currentBuilding + '\'' + '}';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+46
-50
@@ -1,50 +1,46 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import javax.validation.constraints.NotNull;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceListParam
|
||||
/* */ extends CloudwalkBaseTimes
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private String businessId;
|
||||
/* */ @NotNull
|
||||
/* */ private String currentFloorId;
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 30 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 34 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 38 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 42 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsElevatorDeviceListParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceListParam
|
||||
extends CloudwalkBaseTimes
|
||||
implements Serializable
|
||||
{
|
||||
private String businessId;
|
||||
@NotNull
|
||||
private String currentFloorId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+31
-35
@@ -1,35 +1,31 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceQueryByIdParam
|
||||
/* */ extends CloudwalkBasePageForm
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private String id;
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 22 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 27 */ this.id = id;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsElevatorDeviceQueryByIdParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceQueryByIdParam
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable
|
||||
{
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+132
-136
@@ -1,136 +1,132 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.validation.constraints.NotNull;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceQueryParam
|
||||
/* */ extends CloudwalkBasePageForm
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ @NotNull
|
||||
/* */ private String deviceName;
|
||||
/* */ private String deviceTypeName;
|
||||
/* */ private String areaName;
|
||||
/* */ private String deviceId;
|
||||
/* */ private String deviceCode;
|
||||
/* */ private List<String> areaIds;
|
||||
/* */ private Integer status;
|
||||
/* */ private Integer onlineStatus;
|
||||
/* */ private String ip;
|
||||
/* */
|
||||
/* */ public Integer getStatus() {
|
||||
/* 57 */ return this.status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStatus(Integer status) {
|
||||
/* 61 */ this.status = status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getOnlineStatus() {
|
||||
/* 65 */ return this.onlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOnlineStatus(Integer onlineStatus) {
|
||||
/* 69 */ this.onlineStatus = onlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getIp() {
|
||||
/* 75 */ return this.ip;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIp(String ip) {
|
||||
/* 79 */ this.ip = ip;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 83 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 87 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getAreaIds() {
|
||||
/* 91 */ return this.areaIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaIds(List<String> areaIds) {
|
||||
/* 95 */ this.areaIds = areaIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 100 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 104 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 108 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 112 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaName() {
|
||||
/* 116 */ return this.areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaName(String areaName) {
|
||||
/* 120 */ this.areaName = areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 124 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 128 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsElevatorDeviceQueryParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceQueryParam
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable
|
||||
{
|
||||
@NotNull
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String areaName;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private List<String> areaIds;
|
||||
private Integer status;
|
||||
private Integer onlineStatus;
|
||||
private String ip;
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getOnlineStatus() {
|
||||
return this.onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(Integer onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getIp() {
|
||||
return this.ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+61
-65
@@ -1,65 +1,61 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */ public class AcsRestructureBindingParam implements Serializable {
|
||||
/* */ private String parentId;
|
||||
/* */ private String orgId;
|
||||
/* */ private String orgName;
|
||||
/* */ private String labelId;
|
||||
/* */ private String labelName;
|
||||
/* */ private String personId;
|
||||
/* */ private List<String> zoneIds;
|
||||
/* */ private String taskId;
|
||||
/* */
|
||||
/* 16 */ public void setParentId(String parentId) { 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 void setTaskId(String taskId) { this.taskId = taskId; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsRestructureBindingParam)) return false; AcsRestructureBindingParam other = (AcsRestructureBindingParam)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(); if ((this$zoneIds == null) ? (other$zoneIds != null) : !this$zoneIds.equals(other$zoneIds)) return false; Object this$taskId = getTaskId(), other$taskId = other.getTaskId(); return !((this$taskId == null) ? (other$taskId != null) : !this$taskId.equals(other$taskId)); } protected boolean canEqual(Object other) { return other instanceof AcsRestructureBindingParam; } 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(); result = result * 59 + (($zoneIds == null) ? 43 : $zoneIds.hashCode()); Object $taskId = getTaskId(); return result * 59 + (($taskId == null) ? 43 : $taskId.hashCode()); } public String toString() { return "AcsRestructureBindingParam(parentId=" + getParentId() + ", orgId=" + getOrgId() + ", orgName=" + getOrgName() + ", labelId=" + getLabelId() + ", labelName=" + getLabelName() + ", personId=" + getPersonId() + ", zoneIds=" + getZoneIds() + ", taskId=" + getTaskId() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ 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;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getTaskId() {
|
||||
/* 57 */ return this.taskId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsRestructureBindingParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsRestructureBindingParam implements Serializable {
|
||||
private String parentId;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
private String labelId;
|
||||
private String labelName;
|
||||
private String personId;
|
||||
private List<String> zoneIds;
|
||||
private String taskId;
|
||||
|
||||
public void setParentId(String parentId) { 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 void setTaskId(String taskId) { this.taskId = taskId; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsRestructureBindingParam)) return false; AcsRestructureBindingParam other = (AcsRestructureBindingParam)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(); if ((this$zoneIds == null) ? (other$zoneIds != null) : !this$zoneIds.equals(other$zoneIds)) return false; Object this$taskId = getTaskId(), other$taskId = other.getTaskId(); return !((this$taskId == null) ? (other$taskId != null) : !this$taskId.equals(other$taskId)); } protected boolean canEqual(Object other) { return other instanceof AcsRestructureBindingParam; } 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(); result = result * 59 + (($zoneIds == null) ? 43 : $zoneIds.hashCode()); Object $taskId = getTaskId(); return result * 59 + (($taskId == null) ? 43 : $taskId.hashCode()); } public String toString() { return "AcsRestructureBindingParam(parentId=" + getParentId() + ", orgId=" + getOrgId() + ", orgName=" + getOrgName() + ", labelId=" + getLabelId() + ", labelName=" + getLabelName() + ", personId=" + getPersonId() + ", zoneIds=" + getZoneIds() + ", taskId=" + getTaskId() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
|
||||
public String getLabelName() {
|
||||
return this.labelName;
|
||||
}
|
||||
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
|
||||
public List<String> getZoneIds() {
|
||||
return this.zoneIds;
|
||||
}
|
||||
|
||||
|
||||
public String getTaskId() {
|
||||
return this.taskId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+51
-55
@@ -1,55 +1,51 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */ public class AcsRestructureQueryParam
|
||||
/* */ 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 AcsRestructureQueryParam)) return false; AcsRestructureQueryParam other = (AcsRestructureQueryParam)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 AcsRestructureQueryParam; } 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 "AcsRestructureQueryParam(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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\param\AcsRestructureQueryParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsRestructureQueryParam
|
||||
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) {
|
||||
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 AcsRestructureQueryParam)) return false; AcsRestructureQueryParam other = (AcsRestructureQueryParam)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 AcsRestructureQueryParam; } 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 "AcsRestructureQueryParam(orgId=" + getOrgId() + ", labelId=" + getLabelId() + ", labelIds=" + getLabelIds() + ", personId=" + getPersonId() + ", zoneId=" + getZoneId() + ", businessId=" + getBusinessId() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
|
||||
public List<String> getLabelIds() {
|
||||
return this.labelIds;
|
||||
}
|
||||
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+266
-270
@@ -1,270 +1,266 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsDeviceNewResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -3535840233209237358L;
|
||||
/* */ private String id;
|
||||
/* */ private String deviceId;
|
||||
/* */ private String deviceName;
|
||||
/* */ private String deviceCode;
|
||||
/* */ private String deviceTypeId;
|
||||
/* */ private String deviceTypeCode;
|
||||
/* */ private String deviceTypeName;
|
||||
/* */ private Integer deviceStatus;
|
||||
/* */ private Integer deviceOnlineStatus;
|
||||
/* */ private String address;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private int identifyType;
|
||||
/* */ private String areaId;
|
||||
/* */ private String areaName;
|
||||
/* */ private Long lastHeartbeatTime;
|
||||
/* */ private Integer deviceOpenStatus;
|
||||
/* */ private String deviceTypeCategoryId;
|
||||
/* */ private String status;
|
||||
/* */ private String onlineStatus;
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 114 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 118 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaId() {
|
||||
/* 122 */ return this.areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaId(String areaId) {
|
||||
/* 126 */ this.areaId = areaId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaName() {
|
||||
/* 130 */ return this.areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaName(String areaName) {
|
||||
/* 134 */ this.areaName = areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 138 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 142 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 146 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 150 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 154 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 158 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeId() {
|
||||
/* 162 */ return this.deviceTypeId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeId(String deviceTypeId) {
|
||||
/* 166 */ this.deviceTypeId = deviceTypeId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeCode() {
|
||||
/* 170 */ return this.deviceTypeCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeCode(String deviceTypeCode) {
|
||||
/* 174 */ this.deviceTypeCode = deviceTypeCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 178 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 182 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getDeviceStatus() {
|
||||
/* 186 */ return this.deviceStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceStatus(Integer deviceStatus) {
|
||||
/* 190 */ this.deviceStatus = deviceStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getDeviceOnlineStatus() {
|
||||
/* 194 */ return this.deviceOnlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceOnlineStatus(Integer deviceOnlineStatus) {
|
||||
/* 198 */ this.deviceOnlineStatus = deviceOnlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAddress() {
|
||||
/* 202 */ return this.address;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAddress(String address) {
|
||||
/* 206 */ this.address = address;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 210 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 214 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public int getIdentifyType() {
|
||||
/* 218 */ return this.identifyType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIdentifyType(int identifyType) {
|
||||
/* 222 */ this.identifyType = identifyType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getLastHeartbeatTime() {
|
||||
/* 226 */ return this.lastHeartbeatTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setLastHeartbeatTime(Long lastHeartbeatTime) {
|
||||
/* 230 */ this.lastHeartbeatTime = lastHeartbeatTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getDeviceOpenStatus() {
|
||||
/* 234 */ return this.deviceOpenStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceOpenStatus(Integer deviceOpenStatus) {
|
||||
/* 238 */ this.deviceOpenStatus = deviceOpenStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeCategoryId() {
|
||||
/* 242 */ return this.deviceTypeCategoryId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeCategoryId(String deviceTypeCategoryId) {
|
||||
/* 246 */ this.deviceTypeCategoryId = deviceTypeCategoryId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getStatus() {
|
||||
/* 250 */ return this.status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStatus(String status) {
|
||||
/* 254 */ this.status = status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getOnlineStatus() {
|
||||
/* 258 */ return this.onlineStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOnlineStatus(String onlineStatus) {
|
||||
/* 262 */ this.onlineStatus = onlineStatus;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\result\AcsDeviceNewResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsDeviceNewResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -3535840233209237358L;
|
||||
private String id;
|
||||
private String deviceId;
|
||||
private String deviceName;
|
||||
private String deviceCode;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeCode;
|
||||
private String deviceTypeName;
|
||||
private Integer deviceStatus;
|
||||
private Integer deviceOnlineStatus;
|
||||
private String address;
|
||||
private String imageStoreId;
|
||||
private int identifyType;
|
||||
private String areaId;
|
||||
private String areaName;
|
||||
private Long lastHeartbeatTime;
|
||||
private Integer deviceOpenStatus;
|
||||
private String deviceTypeCategoryId;
|
||||
private String status;
|
||||
private String onlineStatus;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeCode() {
|
||||
return this.deviceTypeCode;
|
||||
}
|
||||
|
||||
public void setDeviceTypeCode(String deviceTypeCode) {
|
||||
this.deviceTypeCode = deviceTypeCode;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public Integer getDeviceStatus() {
|
||||
return this.deviceStatus;
|
||||
}
|
||||
|
||||
public void setDeviceStatus(Integer deviceStatus) {
|
||||
this.deviceStatus = deviceStatus;
|
||||
}
|
||||
|
||||
public Integer getDeviceOnlineStatus() {
|
||||
return this.deviceOnlineStatus;
|
||||
}
|
||||
|
||||
public void setDeviceOnlineStatus(Integer deviceOnlineStatus) {
|
||||
this.deviceOnlineStatus = deviceOnlineStatus;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public int getIdentifyType() {
|
||||
return this.identifyType;
|
||||
}
|
||||
|
||||
public void setIdentifyType(int identifyType) {
|
||||
this.identifyType = identifyType;
|
||||
}
|
||||
|
||||
public Long getLastHeartbeatTime() {
|
||||
return this.lastHeartbeatTime;
|
||||
}
|
||||
|
||||
public void setLastHeartbeatTime(Long lastHeartbeatTime) {
|
||||
this.lastHeartbeatTime = lastHeartbeatTime;
|
||||
}
|
||||
|
||||
public Integer getDeviceOpenStatus() {
|
||||
return this.deviceOpenStatus;
|
||||
}
|
||||
|
||||
public void setDeviceOpenStatus(Integer deviceOpenStatus) {
|
||||
this.deviceOpenStatus = deviceOpenStatus;
|
||||
}
|
||||
|
||||
public String getDeviceTypeCategoryId() {
|
||||
return this.deviceTypeCategoryId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeCategoryId(String deviceTypeCategoryId) {
|
||||
this.deviceTypeCategoryId = deviceTypeCategoryId;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getOnlineStatus() {
|
||||
return this.onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(String onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+44
-48
@@ -1,48 +1,44 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.result;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsDeviceRestructureResult
|
||||
/* */ {
|
||||
/* */ private String parentId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ private String onlineDevices;
|
||||
/* */ private String offlineDevices;
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 14 */ this.parentId = parentId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public void setZoneName(String zoneName) { this.zoneName = zoneName; } public void setOnlineDevices(String onlineDevices) { this.onlineDevices = onlineDevices; } public void setOfflineDevices(String offlineDevices) { this.offlineDevices = offlineDevices; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsDeviceRestructureResult)) return false; AcsDeviceRestructureResult other = (AcsDeviceRestructureResult)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$zoneName = getZoneName(), other$zoneName = other.getZoneName(); if ((this$zoneName == null) ? (other$zoneName != null) : !this$zoneName.equals(other$zoneName)) return false; Object this$onlineDevices = getOnlineDevices(), other$onlineDevices = other.getOnlineDevices(); if ((this$onlineDevices == null) ? (other$onlineDevices != null) : !this$onlineDevices.equals(other$onlineDevices)) return false; Object this$offlineDevices = getOfflineDevices(), other$offlineDevices = other.getOfflineDevices(); return !((this$offlineDevices == null) ? (other$offlineDevices != null) : !this$offlineDevices.equals(other$offlineDevices)); } protected boolean canEqual(Object other) { return other instanceof AcsDeviceRestructureResult; } 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 $zoneName = getZoneName(); result = result * 59 + (($zoneName == null) ? 43 : $zoneName.hashCode()); Object $onlineDevices = getOnlineDevices(); result = result * 59 + (($onlineDevices == null) ? 43 : $onlineDevices.hashCode()); Object $offlineDevices = getOfflineDevices(); return result * 59 + (($offlineDevices == null) ? 43 : $offlineDevices.hashCode()); } public String toString() { return "AcsDeviceRestructureResult(parentId=" + getParentId() + ", zoneId=" + getZoneId() + ", zoneName=" + getZoneName() + ", onlineDevices=" + getOnlineDevices() + ", offlineDevices=" + getOfflineDevices() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 20 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 25 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 30 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getOnlineDevices() {
|
||||
/* 35 */ return this.onlineDevices;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getOfflineDevices() {
|
||||
/* 40 */ return this.offlineDevices;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\result\AcsDeviceRestructureResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.result;
|
||||
|
||||
|
||||
|
||||
public class AcsDeviceRestructureResult
|
||||
{
|
||||
private String parentId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String onlineDevices;
|
||||
private String offlineDevices;
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public void setZoneName(String zoneName) { this.zoneName = zoneName; } public void setOnlineDevices(String onlineDevices) { this.onlineDevices = onlineDevices; } public void setOfflineDevices(String offlineDevices) { this.offlineDevices = offlineDevices; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsDeviceRestructureResult)) return false; AcsDeviceRestructureResult other = (AcsDeviceRestructureResult)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$zoneName = getZoneName(), other$zoneName = other.getZoneName(); if ((this$zoneName == null) ? (other$zoneName != null) : !this$zoneName.equals(other$zoneName)) return false; Object this$onlineDevices = getOnlineDevices(), other$onlineDevices = other.getOnlineDevices(); if ((this$onlineDevices == null) ? (other$onlineDevices != null) : !this$onlineDevices.equals(other$onlineDevices)) return false; Object this$offlineDevices = getOfflineDevices(), other$offlineDevices = other.getOfflineDevices(); return !((this$offlineDevices == null) ? (other$offlineDevices != null) : !this$offlineDevices.equals(other$offlineDevices)); } protected boolean canEqual(Object other) { return other instanceof AcsDeviceRestructureResult; } 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 $zoneName = getZoneName(); result = result * 59 + (($zoneName == null) ? 43 : $zoneName.hashCode()); Object $onlineDevices = getOnlineDevices(); result = result * 59 + (($onlineDevices == null) ? 43 : $onlineDevices.hashCode()); Object $offlineDevices = getOfflineDevices(); return result * 59 + (($offlineDevices == null) ? 43 : $offlineDevices.hashCode()); } public String toString() { return "AcsDeviceRestructureResult(parentId=" + getParentId() + ", zoneId=" + getZoneId() + ", zoneName=" + getZoneName() + ", onlineDevices=" + getOnlineDevices() + ", offlineDevices=" + getOfflineDevices() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
|
||||
public String getOnlineDevices() {
|
||||
return this.onlineDevices;
|
||||
}
|
||||
|
||||
|
||||
public String getOfflineDevices() {
|
||||
return this.offlineDevices;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+82
-86
File diff suppressed because one or more lines are too long
+176
-180
@@ -1,180 +1,176 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsElevatorDeviceResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -90554404684210529L;
|
||||
/* */ private String businessId;
|
||||
/* */ private String deviceId;
|
||||
/* */ private String deviceCode;
|
||||
/* */ private String deviceName;
|
||||
/* */ private String deviceTypeName;
|
||||
/* */ private String elevatorFloorList;
|
||||
/* */ private String currentFloorId;
|
||||
/* */ private String currentFloor;
|
||||
/* */ private String currentBuilding;
|
||||
/* */ private String currentBuildingId;
|
||||
/* */ private String areaName;
|
||||
/* */ private Integer status;
|
||||
/* */
|
||||
/* */ public String getBusinessId() {
|
||||
/* 80 */ return this.businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBusinessId(String businessId) {
|
||||
/* 84 */ this.businessId = businessId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 88 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 92 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 96 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 100 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getElevatorFloorList() {
|
||||
/* 104 */ return this.elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setElevatorFloorList(String elevatorFloorList) {
|
||||
/* 108 */ this.elevatorFloorList = elevatorFloorList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloorId() {
|
||||
/* 112 */ return this.currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloorId(String currentFloorId) {
|
||||
/* 116 */ this.currentFloorId = currentFloorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentFloor() {
|
||||
/* 120 */ return this.currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentFloor(String currentFloor) {
|
||||
/* 124 */ this.currentFloor = currentFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuilding() {
|
||||
/* 128 */ return this.currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuilding(String currentBuilding) {
|
||||
/* 132 */ this.currentBuilding = currentBuilding;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCurrentBuildingId() {
|
||||
/* 136 */ return this.currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCurrentBuildingId(String currentBuildingId) {
|
||||
/* 140 */ this.currentBuildingId = currentBuildingId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getStatus() {
|
||||
/* 144 */ return this.status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStatus(Integer status) {
|
||||
/* 148 */ this.status = status;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceName() {
|
||||
/* 152 */ return this.deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceName(String deviceName) {
|
||||
/* 156 */ this.deviceName = deviceName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceTypeName() {
|
||||
/* 160 */ return this.deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceTypeName(String deviceTypeName) {
|
||||
/* 164 */ this.deviceTypeName = deviceTypeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getAreaName() {
|
||||
/* 168 */ return this.areaName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAreaName(String areaName) {
|
||||
/* 172 */ this.areaName = areaName;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\result\AcsElevatorDeviceResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsElevatorDeviceResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -90554404684210529L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private Integer status;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+32
-36
@@ -1,36 +1,32 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.result;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsLabelElevatorResult
|
||||
/* */ {
|
||||
/* */ private String labelId;
|
||||
/* */ private List<AcsPassRuleLabelResultDto> details;
|
||||
/* */
|
||||
/* */ public void setLabelId(String labelId) {
|
||||
/* 16 */ this.labelId = labelId; } public void setDetails(List<AcsPassRuleLabelResultDto> details) { this.details = details; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsLabelElevatorResult)) return false; AcsLabelElevatorResult other = (AcsLabelElevatorResult)o; if (!other.canEqual(this)) 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<AcsPassRuleLabelResultDto> this$details = (Object<AcsPassRuleLabelResultDto>)getDetails(), other$details = (Object<AcsPassRuleLabelResultDto>)other.getDetails(); return !((this$details == null) ? (other$details != null) : !this$details.equals(other$details)); } protected boolean canEqual(Object other) { return other instanceof AcsLabelElevatorResult; } public int hashCode() { int PRIME = 59; result = 1; Object $labelId = getLabelId(); result = result * 59 + (($labelId == null) ? 43 : $labelId.hashCode()); Object<AcsPassRuleLabelResultDto> $details = (Object<AcsPassRuleLabelResultDto>)getDetails(); return result * 59 + (($details == null) ? 43 : $details.hashCode()); } public String toString() { return "AcsLabelElevatorResult(labelId=" + getLabelId() + ", details=" + getDetails() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getLabelId() {
|
||||
/* 23 */ return this.labelId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleLabelResultDto> getDetails() {
|
||||
/* 28 */ return this.details;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\result\AcsLabelElevatorResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.result;
|
||||
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsLabelElevatorResult
|
||||
{
|
||||
private String labelId;
|
||||
private List<AcsPassRuleLabelResultDto> details;
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId; } public void setDetails(List<AcsPassRuleLabelResultDto> details) { this.details = details; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsLabelElevatorResult)) return false; AcsLabelElevatorResult other = (AcsLabelElevatorResult)o; if (!other.canEqual(this)) 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<AcsPassRuleLabelResultDto> this$details = (Object<AcsPassRuleLabelResultDto>)getDetails(), other$details = (Object<AcsPassRuleLabelResultDto>)other.getDetails(); return !((this$details == null) ? (other$details != null) : !this$details.equals(other$details)); } protected boolean canEqual(Object other) { return other instanceof AcsLabelElevatorResult; } public int hashCode() { int PRIME = 59; result = 1; Object $labelId = getLabelId(); result = result * 59 + (($labelId == null) ? 43 : $labelId.hashCode()); Object<AcsPassRuleLabelResultDto> $details = (Object<AcsPassRuleLabelResultDto>)getDetails(); return result * 59 + (($details == null) ? 43 : $details.hashCode()); } public String toString() { return "AcsLabelElevatorResult(labelId=" + getLabelId() + ", details=" + getDetails() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
|
||||
public List<AcsPassRuleLabelResultDto> getDetails() {
|
||||
return this.details;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+32
-36
@@ -1,36 +1,32 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.result;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class KeyValueResult
|
||||
/* */ {
|
||||
/* */ private String key;
|
||||
/* */ private Long time;
|
||||
/* */ private String keyA;
|
||||
/* */
|
||||
/* */ public void setKey(String key) {
|
||||
/* 12 */ this.key = key; } public void setTime(Long time) { this.time = time; } public void setKeyA(String keyA) { this.keyA = keyA; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof KeyValueResult)) return false; KeyValueResult other = (KeyValueResult)o; if (!other.canEqual(this)) return false; Object this$key = getKey(), other$key = other.getKey(); if ((this$key == null) ? (other$key != null) : !this$key.equals(other$key)) return false; Object this$time = getTime(), other$time = other.getTime(); if ((this$time == null) ? (other$time != null) : !this$time.equals(other$time)) return false; Object this$keyA = getKeyA(), other$keyA = other.getKeyA(); return !((this$keyA == null) ? (other$keyA != null) : !this$keyA.equals(other$keyA)); } protected boolean canEqual(Object other) { return other instanceof KeyValueResult; } public int hashCode() { int PRIME = 59; result = 1; Object $key = getKey(); result = result * 59 + (($key == null) ? 43 : $key.hashCode()); Object $time = getTime(); result = result * 59 + (($time == null) ? 43 : $time.hashCode()); Object $keyA = getKeyA(); return result * 59 + (($keyA == null) ? 43 : $keyA.hashCode()); } public String toString() { return "KeyValueResult(key=" + getKey() + ", time=" + getTime() + ", keyA=" + getKeyA() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getKey() {
|
||||
/* 18 */ return this.key;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getTime() {
|
||||
/* 23 */ return this.time;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getKeyA() {
|
||||
/* 28 */ return this.keyA;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\result\KeyValueResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.result;
|
||||
|
||||
|
||||
|
||||
public class KeyValueResult
|
||||
{
|
||||
private String key;
|
||||
private Long time;
|
||||
private String keyA;
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key; } public void setTime(Long time) { this.time = time; } public void setKeyA(String keyA) { this.keyA = keyA; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof KeyValueResult)) return false; KeyValueResult other = (KeyValueResult)o; if (!other.canEqual(this)) return false; Object this$key = getKey(), other$key = other.getKey(); if ((this$key == null) ? (other$key != null) : !this$key.equals(other$key)) return false; Object this$time = getTime(), other$time = other.getTime(); if ((this$time == null) ? (other$time != null) : !this$time.equals(other$time)) return false; Object this$keyA = getKeyA(), other$keyA = other.getKeyA(); return !((this$keyA == null) ? (other$keyA != null) : !this$keyA.equals(other$keyA)); } protected boolean canEqual(Object other) { return other instanceof KeyValueResult; } public int hashCode() { int PRIME = 59; result = 1; Object $key = getKey(); result = result * 59 + (($key == null) ? 43 : $key.hashCode()); Object $time = getTime(); result = result * 59 + (($time == null) ? 43 : $time.hashCode()); Object $keyA = getKeyA(); return result * 59 + (($keyA == null) ? 43 : $keyA.hashCode()); } public String toString() { return "KeyValueResult(key=" + getKey() + ", time=" + getTime() + ", keyA=" + getKeyA() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getKey() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
|
||||
public Long getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
|
||||
public String getKeyA() {
|
||||
return this.keyA;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-17
@@ -1,17 +1,13 @@
|
||||
package cn.cloudwalk.elevator.device.service;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.device.param.AcsRestructureBindingParam;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsDeviceTaskService {
|
||||
void updateFloors(AcsRestructureBindingParam paramAcsRestructureBindingParam, List<AcsPassRuleImageResultDto> paramList, List<String> paramList1, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\service\AcsDeviceTaskService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.service;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.device.param.AcsRestructureBindingParam;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsDeviceTaskService {
|
||||
void updateFloors(AcsRestructureBindingParam paramAcsRestructureBindingParam, List<AcsPassRuleImageResultDto> paramList, List<String> paramList1, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+60
-64
@@ -1,64 +1,60 @@
|
||||
package cn.cloudwalk.elevator.device.service;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
|
||||
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.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryFoDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import cn.cloudwalk.elevator.device.param.AcsDeviceQueryParam;
|
||||
import cn.cloudwalk.elevator.device.param.AcsDeviceRestructureTaskParam;
|
||||
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.param.AcsRestructureBindingParam;
|
||||
import cn.cloudwalk.elevator.device.param.AcsRestructureQueryParam;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorDeviceService {
|
||||
Integer add(AcsElevatorDeviceAddParam paramAcsElevatorDeviceAddParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
Integer edit(AcsElevatorDeviceEditParam paramAcsElevatorDeviceEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
Integer delete(List<String> paramList, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam) throws ServiceException;
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AcsElevatorDeviceResultDTO>> get(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<DeviceResult>> devicePage(AcsDeviceQueryParam paramAcsDeviceQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
List<AcsElevatorDeviceQueryFoDTO> getFo(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdParam paramAcsElevatorDeviceQueryByIdParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(String paramString) throws ServiceException;
|
||||
|
||||
CloudwalkResult listUnbindFloors(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult listFloors(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult listCondition(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult listConditionByLabelIds(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> bindingFloors(AcsRestructureBindingParam paramAcsRestructureBindingParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> bindingPerson(AcsRestructureBindingParam paramAcsRestructureBindingParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<AcsDeviceTaskDTO> getTask(AcsDeviceRestructureTaskParam paramAcsDeviceRestructureTaskParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> setTaskStop(AcsDeviceRestructureTaskParam paramAcsDeviceRestructureTaskParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\service\AcsElevatorDeviceService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.service;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceResult;
|
||||
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.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryFoDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import cn.cloudwalk.elevator.device.param.AcsDeviceQueryParam;
|
||||
import cn.cloudwalk.elevator.device.param.AcsDeviceRestructureTaskParam;
|
||||
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.param.AcsRestructureBindingParam;
|
||||
import cn.cloudwalk.elevator.device.param.AcsRestructureQueryParam;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorDeviceService {
|
||||
Integer add(AcsElevatorDeviceAddParam paramAcsElevatorDeviceAddParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
Integer edit(AcsElevatorDeviceEditParam paramAcsElevatorDeviceEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
Integer delete(List<String> paramList, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam) throws ServiceException;
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AcsElevatorDeviceResultDTO>> get(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<DeviceResult>> devicePage(AcsDeviceQueryParam paramAcsDeviceQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
List<AcsElevatorDeviceQueryFoDTO> getFo(AcsElevatorDeviceQueryParam paramAcsElevatorDeviceQueryParam) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdParam paramAcsElevatorDeviceQueryByIdParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(String paramString) throws ServiceException;
|
||||
|
||||
CloudwalkResult listUnbindFloors(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult listFloors(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult listCondition(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult listConditionByLabelIds(AcsRestructureQueryParam paramAcsRestructureQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> bindingFloors(AcsRestructureBindingParam paramAcsRestructureBindingParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> bindingPerson(AcsRestructureBindingParam paramAcsRestructureBindingParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<AcsDeviceTaskDTO> getTask(AcsDeviceRestructureTaskParam paramAcsDeviceRestructureTaskParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> setTaskStop(AcsDeviceRestructureTaskParam paramAcsDeviceRestructureTaskParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+254
-258
@@ -1,258 +1,254 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.application.param.ApplicationImageStoreAddParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.application.param.ApplicationImageStoreDelParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.application.service.ApplicationImageStoreService;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.param.DeviceImageStoreParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceImageStoreService;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreDelParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreQueryParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImageStoreListResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.service.ImageStoreService;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppBindParam;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppUnbindParam;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.service.AcsDeviceImageStoreAppBindService;
|
||||
/* */ import cn.cloudwalk.elevator.util.CollectionUtils;
|
||||
/* */ import java.util.Collections;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class AcsDeviceImageStoreAppBindServiceImpl
|
||||
/* */ extends AbstractAcsDeviceService
|
||||
/* */ implements AcsDeviceImageStoreAppBindService
|
||||
/* */ {
|
||||
/* */ @Resource
|
||||
/* */ private ApplicationImageStoreService applicationImageStoreService;
|
||||
/* */ @Resource
|
||||
/* */ private DeviceImageStoreService deviceImageStoreService;
|
||||
/* */ @Resource
|
||||
/* */ private ImageStoreService imageStoreService;
|
||||
/* */
|
||||
/* */ public CloudwalkResult<Boolean> bindAppImageStoreDevice(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 53 */ bindApplicationImageStore(param, context);
|
||||
/* 54 */ return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkResult<Boolean> bindDeviceAndImageStore(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* */ try {
|
||||
/* 63 */ bindDeviceImageStore(param, context);
|
||||
/* 64 */ } catch (ServiceException e) {
|
||||
/* 65 */ this.logger.error("设备图库关联失败,图库id={},原因:{}", param.getImageStoreId(), e.getMessage());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 69 */ throw new ServiceException("设备图库关联失败");
|
||||
/* */ }
|
||||
/* 71 */ return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void bindApplicationImageStore(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 83 */ ApplicationImageStoreAddParam applicationImageStoreAddParam = new ApplicationImageStoreAddParam();
|
||||
/* 84 */ applicationImageStoreAddParam.setApplicationId(param.getApplicationId());
|
||||
/* 85 */ applicationImageStoreAddParam.setImageStoreId(param.getImageStoreId());
|
||||
/* */
|
||||
/* 87 */ CloudwalkResult<Boolean> applicationImageStoreAddResult = this.applicationImageStoreService.add(applicationImageStoreAddParam, context);
|
||||
/* 88 */ if (!applicationImageStoreAddResult.isSuccess()) {
|
||||
/* 89 */ this.logger.error("添加应用图库关联失败,原因:{}", applicationImageStoreAddResult.getMessage());
|
||||
/* 90 */ throw new ServiceException(applicationImageStoreAddResult.getCode(), "添加应用图库关联失败,原因:" + applicationImageStoreAddResult
|
||||
/* 91 */ .getMessage());
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void bindDeviceImageStore(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 105 */ DeviceImageStoreParam imageStoreSaveParam = new DeviceImageStoreParam();
|
||||
/* 106 */ imageStoreSaveParam.setDeviceId(param.getDeviceId());
|
||||
/* 107 */ imageStoreSaveParam.setImageStoreId(param.getImageStoreId());
|
||||
/* 108 */ CloudwalkResult<Boolean> saveDeviceResult = this.deviceImageStoreService.add(imageStoreSaveParam, context);
|
||||
/* 109 */ if (!saveDeviceResult.isSuccess()) {
|
||||
/* 110 */ this.logger.error("绑定设备与图库失败,设备id={},图库id={},原因:{}", new Object[] { param
|
||||
/* 111 */ .getDeviceId(), param.getImageStoreId(), saveDeviceResult.getMessage() });
|
||||
/* 112 */ throw new ServiceException("绑定设备与图库失败");
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkResult<Boolean> unbindAppImageStoreDevice(DeviceImageStoreAppUnbindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 120 */ deviceUnBindImageStore(context, param.getDeviceId(), param
|
||||
/* 121 */ .getImageStoreId(), param.getDeviceCode());
|
||||
/* */
|
||||
/* 123 */ applicationUnBindImageStore(param.getApplicationId(), param.getImageStoreId(), context);
|
||||
/* */
|
||||
/* */
|
||||
/* 126 */ List<ImageStoreListResult> imageStoreList = getImageStoreResult(param.getImageStoreId(), param.getDeviceCode(), context);
|
||||
/* 127 */ if (!CollectionUtils.isEmpty(imageStoreList))
|
||||
/* */ {
|
||||
/* 129 */ deleteImageStore(param.getImageStoreId(), context);
|
||||
/* */ }
|
||||
/* */
|
||||
/* 132 */ return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkResult<Boolean> deleteImageStore(DeviceImageStoreAppUnbindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 139 */ applicationUnBindImageStore(param.getApplicationId(), param.getImageStoreId(), context);
|
||||
/* */
|
||||
/* 141 */ deleteImageStore(param.getImageStoreId(), context);
|
||||
/* 142 */ return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public CloudwalkResult<Boolean> unbindAppImageStoreDeviceNotDeleteImage(DeviceImageStoreAppUnbindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 149 */ deviceUnBindImageStore(context, param.getDeviceId(), param
|
||||
/* 150 */ .getImageStoreId(), param.getDeviceCode());
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 154 */ return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private List<ImageStoreListResult> getImageStoreResult(String imageStoreId, String deviceCode, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 169 */ ImageStoreQueryParam imageStoreQueryParam = new ImageStoreQueryParam();
|
||||
/* 170 */ imageStoreQueryParam.setIds(Collections.singletonList(imageStoreId));
|
||||
/* 171 */ imageStoreQueryParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
/* */
|
||||
/* 173 */ CloudwalkResult<List<ImageStoreListResult>> imageStoreList = this.imageStoreService.list(imageStoreQueryParam, context);
|
||||
/* */
|
||||
/* 175 */ if (!imageStoreList.isSuccess()) {
|
||||
/* 176 */ this.logger.error("查询设备图库失败,设备编号:{},图库id:{},原因:{}", new Object[] { deviceCode, imageStoreId, imageStoreList
|
||||
/* 177 */ .getMessage() });
|
||||
/* 178 */ throw new ServiceException("查询设备图库失败,设备编号:{}" + deviceCode);
|
||||
/* */ }
|
||||
/* 180 */ return (List<ImageStoreListResult>)imageStoreList.getData();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void deviceUnBindImageStore(CloudwalkCallContext context, String deviceId, String imageStoreId, String deviceCode) throws ServiceException {
|
||||
/* 196 */ DeviceImageStoreParam deviceImageStoreParam = new DeviceImageStoreParam();
|
||||
/* 197 */ deviceImageStoreParam.setDeviceId(deviceId);
|
||||
/* 198 */ deviceImageStoreParam.setImageStoreId(imageStoreId);
|
||||
/* */
|
||||
/* 200 */ CloudwalkResult<Boolean> deleteDeviceImageStoreResult = this.deviceImageStoreService.delete(deviceImageStoreParam, context);
|
||||
/* 201 */ this.logger.info("删除设备图库关联:图库id={},结果:{}", imageStoreId, deleteDeviceImageStoreResult.getMessage());
|
||||
/* 202 */ if (!deleteDeviceImageStoreResult.isSuccess()) {
|
||||
/* 203 */ this.logger.error("删除设备图库关联失败,设备编号:{},图库id:{},原因:{}", new Object[] { deviceCode, imageStoreId, deleteDeviceImageStoreResult
|
||||
/* 204 */ .getMessage() });
|
||||
/* 205 */ throw new ServiceException("删除设备图库关联失败,设备编号:" + deviceCode);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void deleteImageStore(String imageStoreId, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 217 */ ImageStoreDelParam imageStoreDelParam = new ImageStoreDelParam();
|
||||
/* 218 */ imageStoreDelParam.setId(imageStoreId);
|
||||
/* 219 */ imageStoreDelParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
/* 220 */ CloudwalkResult<Boolean> deleteImageStoreResult = this.imageStoreService.delete(imageStoreDelParam, context);
|
||||
/* 221 */ if (!deleteImageStoreResult.isSuccess()) {
|
||||
/* 222 */ this.logger.error("删除图库失败,图库id:{},原因:{}", imageStoreId, deleteImageStoreResult
|
||||
/* 223 */ .getMessage());
|
||||
/* 224 */ throw new ServiceException("删除图库失败");
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public void applicationUnBindImageStore(String applicationId, String imageStoreId, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 239 */ ApplicationImageStoreDelParam applicationImageStoreDelParam = new ApplicationImageStoreDelParam();
|
||||
/* 240 */ applicationImageStoreDelParam.setApplicationId(applicationId);
|
||||
/* 241 */ applicationImageStoreDelParam.setImageStoreId(imageStoreId);
|
||||
/* */
|
||||
/* 243 */ CloudwalkResult<Boolean> deleteApplicationImageStoreResult = this.applicationImageStoreService.delete(applicationImageStoreDelParam, context);
|
||||
/* 244 */ this.logger.info("删除应用图库关联:图库id={},应用id={},结果:{}", new Object[] { imageStoreId, applicationId, deleteApplicationImageStoreResult
|
||||
/* 245 */ .getMessage() });
|
||||
/* 246 */ if (!deleteApplicationImageStoreResult.isSuccess()) {
|
||||
/* 247 */ this.logger.error("应用与图库解绑失败,应用id:{},图库id:{},原因:{}", new Object[] { applicationId, imageStoreId, deleteApplicationImageStoreResult
|
||||
/* 248 */ .getMessage() });
|
||||
/* 249 */ throw new ServiceException("应用与图库解绑失败");
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\impl\AcsDeviceImageStoreAppBindServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.impl;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.application.param.ApplicationImageStoreAddParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.application.param.ApplicationImageStoreDelParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.application.service.ApplicationImageStoreService;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.param.DeviceImageStoreParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceImageStoreService;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreDelParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreQueryParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImageStoreListResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.service.ImageStoreService;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppBindParam;
|
||||
import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppUnbindParam;
|
||||
import cn.cloudwalk.elevator.device.setting.service.AcsDeviceImageStoreAppBindService;
|
||||
import cn.cloudwalk.elevator.util.CollectionUtils;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Service
|
||||
public class AcsDeviceImageStoreAppBindServiceImpl
|
||||
extends AbstractAcsDeviceService
|
||||
implements AcsDeviceImageStoreAppBindService
|
||||
{
|
||||
@Resource
|
||||
private ApplicationImageStoreService applicationImageStoreService;
|
||||
@Resource
|
||||
private DeviceImageStoreService deviceImageStoreService;
|
||||
@Resource
|
||||
private ImageStoreService imageStoreService;
|
||||
|
||||
public CloudwalkResult<Boolean> bindAppImageStoreDevice(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
bindApplicationImageStore(param, context);
|
||||
return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkResult<Boolean> bindDeviceAndImageStore(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
try {
|
||||
bindDeviceImageStore(param, context);
|
||||
} catch (ServiceException e) {
|
||||
this.logger.error("设备图库关联失败,图库id={},原因:{}", param.getImageStoreId(), e.getMessage());
|
||||
|
||||
|
||||
|
||||
throw new ServiceException("设备图库关联失败");
|
||||
}
|
||||
return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void bindApplicationImageStore(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
ApplicationImageStoreAddParam applicationImageStoreAddParam = new ApplicationImageStoreAddParam();
|
||||
applicationImageStoreAddParam.setApplicationId(param.getApplicationId());
|
||||
applicationImageStoreAddParam.setImageStoreId(param.getImageStoreId());
|
||||
|
||||
CloudwalkResult<Boolean> applicationImageStoreAddResult = this.applicationImageStoreService.add(applicationImageStoreAddParam, context);
|
||||
if (!applicationImageStoreAddResult.isSuccess()) {
|
||||
this.logger.error("添加应用图库关联失败,原因:{}", applicationImageStoreAddResult.getMessage());
|
||||
throw new ServiceException(applicationImageStoreAddResult.getCode(), "添加应用图库关联失败,原因:" + applicationImageStoreAddResult
|
||||
.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void bindDeviceImageStore(DeviceImageStoreAppBindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
DeviceImageStoreParam imageStoreSaveParam = new DeviceImageStoreParam();
|
||||
imageStoreSaveParam.setDeviceId(param.getDeviceId());
|
||||
imageStoreSaveParam.setImageStoreId(param.getImageStoreId());
|
||||
CloudwalkResult<Boolean> saveDeviceResult = this.deviceImageStoreService.add(imageStoreSaveParam, context);
|
||||
if (!saveDeviceResult.isSuccess()) {
|
||||
this.logger.error("绑定设备与图库失败,设备id={},图库id={},原因:{}", new Object[] { param
|
||||
.getDeviceId(), param.getImageStoreId(), saveDeviceResult.getMessage() });
|
||||
throw new ServiceException("绑定设备与图库失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkResult<Boolean> unbindAppImageStoreDevice(DeviceImageStoreAppUnbindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
deviceUnBindImageStore(context, param.getDeviceId(), param
|
||||
.getImageStoreId(), param.getDeviceCode());
|
||||
|
||||
applicationUnBindImageStore(param.getApplicationId(), param.getImageStoreId(), context);
|
||||
|
||||
|
||||
List<ImageStoreListResult> imageStoreList = getImageStoreResult(param.getImageStoreId(), param.getDeviceCode(), context);
|
||||
if (!CollectionUtils.isEmpty(imageStoreList))
|
||||
{
|
||||
deleteImageStore(param.getImageStoreId(), context);
|
||||
}
|
||||
|
||||
return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkResult<Boolean> deleteImageStore(DeviceImageStoreAppUnbindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
applicationUnBindImageStore(param.getApplicationId(), param.getImageStoreId(), context);
|
||||
|
||||
deleteImageStore(param.getImageStoreId(), context);
|
||||
return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public CloudwalkResult<Boolean> unbindAppImageStoreDeviceNotDeleteImage(DeviceImageStoreAppUnbindParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
deviceUnBindImageStore(context, param.getDeviceId(), param
|
||||
.getImageStoreId(), param.getDeviceCode());
|
||||
|
||||
|
||||
|
||||
return CloudwalkResult.success(Boolean.valueOf(true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private List<ImageStoreListResult> getImageStoreResult(String imageStoreId, String deviceCode, CloudwalkCallContext context) throws ServiceException {
|
||||
ImageStoreQueryParam imageStoreQueryParam = new ImageStoreQueryParam();
|
||||
imageStoreQueryParam.setIds(Collections.singletonList(imageStoreId));
|
||||
imageStoreQueryParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
|
||||
CloudwalkResult<List<ImageStoreListResult>> imageStoreList = this.imageStoreService.list(imageStoreQueryParam, context);
|
||||
|
||||
if (!imageStoreList.isSuccess()) {
|
||||
this.logger.error("查询设备图库失败,设备编号:{},图库id:{},原因:{}", new Object[] { deviceCode, imageStoreId, imageStoreList
|
||||
.getMessage() });
|
||||
throw new ServiceException("查询设备图库失败,设备编号:{}" + deviceCode);
|
||||
}
|
||||
return (List<ImageStoreListResult>)imageStoreList.getData();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void deviceUnBindImageStore(CloudwalkCallContext context, String deviceId, String imageStoreId, String deviceCode) throws ServiceException {
|
||||
DeviceImageStoreParam deviceImageStoreParam = new DeviceImageStoreParam();
|
||||
deviceImageStoreParam.setDeviceId(deviceId);
|
||||
deviceImageStoreParam.setImageStoreId(imageStoreId);
|
||||
|
||||
CloudwalkResult<Boolean> deleteDeviceImageStoreResult = this.deviceImageStoreService.delete(deviceImageStoreParam, context);
|
||||
this.logger.info("删除设备图库关联:图库id={},结果:{}", imageStoreId, deleteDeviceImageStoreResult.getMessage());
|
||||
if (!deleteDeviceImageStoreResult.isSuccess()) {
|
||||
this.logger.error("删除设备图库关联失败,设备编号:{},图库id:{},原因:{}", new Object[] { deviceCode, imageStoreId, deleteDeviceImageStoreResult
|
||||
.getMessage() });
|
||||
throw new ServiceException("删除设备图库关联失败,设备编号:" + deviceCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void deleteImageStore(String imageStoreId, CloudwalkCallContext context) throws ServiceException {
|
||||
ImageStoreDelParam imageStoreDelParam = new ImageStoreDelParam();
|
||||
imageStoreDelParam.setId(imageStoreId);
|
||||
imageStoreDelParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
CloudwalkResult<Boolean> deleteImageStoreResult = this.imageStoreService.delete(imageStoreDelParam, context);
|
||||
if (!deleteImageStoreResult.isSuccess()) {
|
||||
this.logger.error("删除图库失败,图库id:{},原因:{}", imageStoreId, deleteImageStoreResult
|
||||
.getMessage());
|
||||
throw new ServiceException("删除图库失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void applicationUnBindImageStore(String applicationId, String imageStoreId, CloudwalkCallContext context) throws ServiceException {
|
||||
ApplicationImageStoreDelParam applicationImageStoreDelParam = new ApplicationImageStoreDelParam();
|
||||
applicationImageStoreDelParam.setApplicationId(applicationId);
|
||||
applicationImageStoreDelParam.setImageStoreId(imageStoreId);
|
||||
|
||||
CloudwalkResult<Boolean> deleteApplicationImageStoreResult = this.applicationImageStoreService.delete(applicationImageStoreDelParam, context);
|
||||
this.logger.info("删除应用图库关联:图库id={},应用id={},结果:{}", new Object[] { imageStoreId, applicationId, deleteApplicationImageStoreResult
|
||||
.getMessage() });
|
||||
if (!deleteApplicationImageStoreResult.isSuccess()) {
|
||||
this.logger.error("应用与图库解绑失败,应用id:{},图库id:{},原因:{}", new Object[] { applicationId, imageStoreId, deleteApplicationImageStoreResult
|
||||
.getMessage() });
|
||||
throw new ServiceException("应用与图库解绑失败");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+95
-99
@@ -1,99 +1,95 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.param.DeviceSettingQueryParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceSettingResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceSettingService;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.param.AcsDeviceTemperatureSettingParam;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.result.AcsDeviceSettingResult;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.result.AcsSettingAttr;
|
||||
/* */ import cn.cloudwalk.elevator.device.setting.service.AcsDeviceSettingService;
|
||||
/* */ import cn.cloudwalk.elevator.em.AcsDeviceSettingEnum;
|
||||
/* */ import com.google.common.collect.Lists;
|
||||
/* */ import java.util.ArrayList;
|
||||
/* */ import java.util.Collection;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.stream.Collectors;
|
||||
/* */ import org.apache.commons.collections4.CollectionUtils;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class AcsDeviceSettingServiceImpl
|
||||
/* */ extends AbstractAcsDeviceService
|
||||
/* */ implements AcsDeviceSettingService
|
||||
/* */ {
|
||||
/* */ @Autowired
|
||||
/* */ private DeviceSettingService deviceSettingService;
|
||||
/* */
|
||||
/* */ public CloudwalkResult<AcsDeviceSettingResult> getTemperatureSetting(AcsDeviceTemperatureSettingParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 49 */ AcsDeviceSettingResult result = new AcsDeviceSettingResult();
|
||||
/* 50 */ result.setDeviceId(param.getDeviceId());
|
||||
/* 51 */ DeviceSettingQueryParam deviceSettingQueryParam = new DeviceSettingQueryParam();
|
||||
/* 52 */ deviceSettingQueryParam.setDeviceIds(Lists.newArrayList((Object[])new String[] { param.getDeviceId() }));
|
||||
/* 53 */ deviceSettingQueryParam.setHasDefault(Short.valueOf((short)0));
|
||||
/* 54 */ CloudwalkResult<List<DeviceSettingResult>> deviceSettingQueryResult = this.deviceSettingService.query(deviceSettingQueryParam);
|
||||
/* 55 */ if (deviceSettingQueryResult.isSuccess()) {
|
||||
/* 56 */ if (CollectionUtils.isNotEmpty((Collection)deviceSettingQueryResult.getData())) {
|
||||
/* 57 */ DeviceSettingResult deviceSettingResult = ((List<DeviceSettingResult>)deviceSettingQueryResult.getData()).get(0);
|
||||
/* 58 */ List<DeviceSettingResult.DeviceSettings> settingResult = deviceSettingResult.getSettings();
|
||||
/* 59 */ if (CollectionUtils.isNotEmpty(settingResult)) {
|
||||
/* 60 */ List<AcsSettingAttr> acsSettingAttrs = new ArrayList<>();
|
||||
/* 61 */ recursionSettingAttr(acsSettingAttrs, settingResult);
|
||||
/* 62 */ List<AcsSettingAttr> attrs = (List<AcsSettingAttr>)acsSettingAttrs.stream().filter(s -> (AcsDeviceSettingEnum.TEMP_MIN.getCode().equals(s.getCode()) || AcsDeviceSettingEnum.TEMP_STATE.getCode().equals(s.getCode()) || AcsDeviceSettingEnum.TEMP_THRESHOLD.getCode().equals(s.getCode()))).collect(Collectors.toList());
|
||||
/* 63 */ result.setAttrs(attrs);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 66 */ return CloudwalkResult.success(result);
|
||||
/* */ }
|
||||
/* 68 */ return CloudwalkResult.fail(deviceSettingQueryResult.getCode(), deviceSettingQueryResult.getMessage());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private void recursionSettingAttr(List<AcsSettingAttr> acsSettingAttrs, List<DeviceSettingResult.DeviceSettings> deviceSettings) {
|
||||
/* 80 */ if (CollectionUtils.isNotEmpty(deviceSettings))
|
||||
/* 81 */ for (DeviceSettingResult.DeviceSettings deviceSetting : deviceSettings) {
|
||||
/* 82 */ AcsSettingAttr acsSettingAttr = new AcsSettingAttr();
|
||||
/* 83 */ acsSettingAttr.setName(deviceSetting.getSettingAttrName());
|
||||
/* 84 */ acsSettingAttr.setValue(deviceSetting.getSettingAttrValue());
|
||||
/* 85 */ acsSettingAttr.setRemark(deviceSetting.getSettingAttrRemark());
|
||||
/* 86 */ acsSettingAttr.setCode(deviceSetting.getSettingAttrCode());
|
||||
/* 87 */ acsSettingAttr.setId(deviceSetting.getId());
|
||||
/* 88 */ acsSettingAttr.setParentId(deviceSetting.getSettingParentId());
|
||||
/* 89 */ acsSettingAttrs.add(acsSettingAttr);
|
||||
/* 90 */ recursionSettingAttr(acsSettingAttrs, deviceSetting.getChild());
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\impl\AcsDeviceSettingServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.impl;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.param.DeviceSettingQueryParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.result.DeviceSettingResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.device.service.DeviceSettingService;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
import cn.cloudwalk.elevator.device.setting.param.AcsDeviceTemperatureSettingParam;
|
||||
import cn.cloudwalk.elevator.device.setting.result.AcsDeviceSettingResult;
|
||||
import cn.cloudwalk.elevator.device.setting.result.AcsSettingAttr;
|
||||
import cn.cloudwalk.elevator.device.setting.service.AcsDeviceSettingService;
|
||||
import cn.cloudwalk.elevator.em.AcsDeviceSettingEnum;
|
||||
import com.google.common.collect.Lists;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Service
|
||||
public class AcsDeviceSettingServiceImpl
|
||||
extends AbstractAcsDeviceService
|
||||
implements AcsDeviceSettingService
|
||||
{
|
||||
@Autowired
|
||||
private DeviceSettingService deviceSettingService;
|
||||
|
||||
public CloudwalkResult<AcsDeviceSettingResult> getTemperatureSetting(AcsDeviceTemperatureSettingParam param, CloudwalkCallContext context) throws ServiceException {
|
||||
AcsDeviceSettingResult result = new AcsDeviceSettingResult();
|
||||
result.setDeviceId(param.getDeviceId());
|
||||
DeviceSettingQueryParam deviceSettingQueryParam = new DeviceSettingQueryParam();
|
||||
deviceSettingQueryParam.setDeviceIds(Lists.newArrayList((Object[])new String[] { param.getDeviceId() }));
|
||||
deviceSettingQueryParam.setHasDefault(Short.valueOf((short)0));
|
||||
CloudwalkResult<List<DeviceSettingResult>> deviceSettingQueryResult = this.deviceSettingService.query(deviceSettingQueryParam);
|
||||
if (deviceSettingQueryResult.isSuccess()) {
|
||||
if (CollectionUtils.isNotEmpty((Collection)deviceSettingQueryResult.getData())) {
|
||||
DeviceSettingResult deviceSettingResult = ((List<DeviceSettingResult>)deviceSettingQueryResult.getData()).get(0);
|
||||
List<DeviceSettingResult.DeviceSettings> settingResult = deviceSettingResult.getSettings();
|
||||
if (CollectionUtils.isNotEmpty(settingResult)) {
|
||||
List<AcsSettingAttr> acsSettingAttrs = new ArrayList<>();
|
||||
recursionSettingAttr(acsSettingAttrs, settingResult);
|
||||
List<AcsSettingAttr> attrs = (List<AcsSettingAttr>)acsSettingAttrs.stream().filter(s -> (AcsDeviceSettingEnum.TEMP_MIN.getCode().equals(s.getCode()) || AcsDeviceSettingEnum.TEMP_STATE.getCode().equals(s.getCode()) || AcsDeviceSettingEnum.TEMP_THRESHOLD.getCode().equals(s.getCode()))).collect(Collectors.toList());
|
||||
result.setAttrs(attrs);
|
||||
}
|
||||
}
|
||||
return CloudwalkResult.success(result);
|
||||
}
|
||||
return CloudwalkResult.fail(deviceSettingQueryResult.getCode(), deviceSettingQueryResult.getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void recursionSettingAttr(List<AcsSettingAttr> acsSettingAttrs, List<DeviceSettingResult.DeviceSettings> deviceSettings) {
|
||||
if (CollectionUtils.isNotEmpty(deviceSettings))
|
||||
for (DeviceSettingResult.DeviceSettings deviceSetting : deviceSettings) {
|
||||
AcsSettingAttr acsSettingAttr = new AcsSettingAttr();
|
||||
acsSettingAttr.setName(deviceSetting.getSettingAttrName());
|
||||
acsSettingAttr.setValue(deviceSetting.getSettingAttrValue());
|
||||
acsSettingAttr.setRemark(deviceSetting.getSettingAttrRemark());
|
||||
acsSettingAttr.setCode(deviceSetting.getSettingAttrCode());
|
||||
acsSettingAttr.setId(deviceSetting.getId());
|
||||
acsSettingAttr.setParentId(deviceSetting.getSettingParentId());
|
||||
acsSettingAttrs.add(acsSettingAttr);
|
||||
recursionSettingAttr(acsSettingAttrs, deviceSetting.getChild());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+33
-37
@@ -1,37 +1,33 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsDeviceTemperatureSettingParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ @NotBlank(message = "76260003")
|
||||
/* */ private String deviceId;
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 25 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 29 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\param\AcsDeviceTemperatureSettingParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsDeviceTemperatureSettingParam
|
||||
implements Serializable
|
||||
{
|
||||
@NotBlank(message = "76260003")
|
||||
private String deviceId;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+57
-61
@@ -1,61 +1,57 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class DeviceImageStoreAppBindParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -5165610910023828727L;
|
||||
/* */ private String applicationId;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String deviceId;
|
||||
/* */
|
||||
/* */ public String getApplicationId() {
|
||||
/* 33 */ return this.applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setApplicationId(String applicationId) {
|
||||
/* 37 */ this.applicationId = applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 41 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 45 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 49 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 53 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\param\DeviceImageStoreAppBindParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DeviceImageStoreAppBindParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -5165610910023828727L;
|
||||
private String applicationId;
|
||||
private String imageStoreId;
|
||||
private String deviceId;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+68
-72
@@ -1,72 +1,68 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class DeviceImageStoreAppUnbindParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private String applicationId;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String deviceId;
|
||||
/* */ private String deviceCode;
|
||||
/* */
|
||||
/* */ public String getApplicationId() {
|
||||
/* 36 */ return this.applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setApplicationId(String applicationId) {
|
||||
/* 40 */ this.applicationId = applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 44 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 48 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 52 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 56 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getDeviceCode() {
|
||||
/* 60 */ return this.deviceCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceCode(String deviceCode) {
|
||||
/* 64 */ this.deviceCode = deviceCode;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\param\DeviceImageStoreAppUnbindParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class DeviceImageStoreAppUnbindParam
|
||||
implements Serializable
|
||||
{
|
||||
private String applicationId;
|
||||
private String imageStoreId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+45
-49
@@ -1,49 +1,45 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsDeviceSettingResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -6934487366934322212L;
|
||||
/* */ private String deviceId;
|
||||
/* */ private List<AcsSettingAttr> attrs;
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 29 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 33 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsSettingAttr> getAttrs() {
|
||||
/* 37 */ return this.attrs;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAttrs(List<AcsSettingAttr> attrs) {
|
||||
/* 41 */ this.attrs = attrs;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\result\AcsDeviceSettingResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsDeviceSettingResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -6934487366934322212L;
|
||||
private String deviceId;
|
||||
private List<AcsSettingAttr> attrs;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<AcsSettingAttr> getAttrs() {
|
||||
return this.attrs;
|
||||
}
|
||||
|
||||
public void setAttrs(List<AcsSettingAttr> attrs) {
|
||||
this.attrs = attrs;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+93
-97
@@ -1,97 +1,93 @@
|
||||
/* */ package cn.cloudwalk.elevator.device.setting.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsSettingAttr
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 1670487736253830287L;
|
||||
/* */ private String name;
|
||||
/* */ private String value;
|
||||
/* */ private String remark;
|
||||
/* */ private String code;
|
||||
/* */ private String id;
|
||||
/* */ private String parentId;
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 45 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 49 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 53 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 57 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 61 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setName(String name) {
|
||||
/* 65 */ this.name = name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValue() {
|
||||
/* 69 */ return this.value;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValue(String value) {
|
||||
/* 73 */ this.value = value;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getRemark() {
|
||||
/* 77 */ return this.remark;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRemark(String remark) {
|
||||
/* 81 */ this.remark = remark;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getCode() {
|
||||
/* 85 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setCode(String code) {
|
||||
/* 89 */ this.code = code;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\result\AcsSettingAttr.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsSettingAttr
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1670487736253830287L;
|
||||
private String name;
|
||||
private String value;
|
||||
private String remark;
|
||||
private String code;
|
||||
private String id;
|
||||
private String parentId;
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+21
-25
@@ -1,25 +1,21 @@
|
||||
package cn.cloudwalk.elevator.device.setting.service;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppBindParam;
|
||||
import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppUnbindParam;
|
||||
|
||||
public interface AcsDeviceImageStoreAppBindService {
|
||||
CloudwalkResult<Boolean> bindAppImageStoreDevice(DeviceImageStoreAppBindParam paramDeviceImageStoreAppBindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> bindDeviceAndImageStore(DeviceImageStoreAppBindParam paramDeviceImageStoreAppBindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> unbindAppImageStoreDevice(DeviceImageStoreAppUnbindParam paramDeviceImageStoreAppUnbindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> deleteImageStore(DeviceImageStoreAppUnbindParam paramDeviceImageStoreAppUnbindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> unbindAppImageStoreDeviceNotDeleteImage(DeviceImageStoreAppUnbindParam paramDeviceImageStoreAppUnbindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\service\AcsDeviceImageStoreAppBindService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.service;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppBindParam;
|
||||
import cn.cloudwalk.elevator.device.setting.param.DeviceImageStoreAppUnbindParam;
|
||||
|
||||
public interface AcsDeviceImageStoreAppBindService {
|
||||
CloudwalkResult<Boolean> bindAppImageStoreDevice(DeviceImageStoreAppBindParam paramDeviceImageStoreAppBindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> bindDeviceAndImageStore(DeviceImageStoreAppBindParam paramDeviceImageStoreAppBindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> unbindAppImageStoreDevice(DeviceImageStoreAppUnbindParam paramDeviceImageStoreAppUnbindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> deleteImageStore(DeviceImageStoreAppUnbindParam paramDeviceImageStoreAppUnbindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> unbindAppImageStoreDeviceNotDeleteImage(DeviceImageStoreAppUnbindParam paramDeviceImageStoreAppUnbindParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+13
-17
@@ -1,17 +1,13 @@
|
||||
package cn.cloudwalk.elevator.device.setting.service;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.device.setting.param.AcsDeviceTemperatureSettingParam;
|
||||
import cn.cloudwalk.elevator.device.setting.result.AcsDeviceSettingResult;
|
||||
|
||||
public interface AcsDeviceSettingService {
|
||||
CloudwalkResult<AcsDeviceSettingResult> getTemperatureSetting(AcsDeviceTemperatureSettingParam paramAcsDeviceTemperatureSettingParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\device\setting\service\AcsDeviceSettingService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device.setting.service;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.device.setting.param.AcsDeviceTemperatureSettingParam;
|
||||
import cn.cloudwalk.elevator.device.setting.result.AcsDeviceSettingResult;
|
||||
|
||||
public interface AcsDeviceSettingService {
|
||||
CloudwalkResult<AcsDeviceSettingResult> getTemperatureSetting(AcsDeviceTemperatureSettingParam paramAcsDeviceTemperatureSettingParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+14
-18
@@ -1,18 +1,14 @@
|
||||
package cn.cloudwalk.elevator.downloadcenter;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.elevator.downloadcenter.param.AcsFileFinishParam;
|
||||
|
||||
public interface AcsDownloadCenterService {
|
||||
String createDownload(String paramString, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
boolean finishDownload(AcsFileFinishParam paramAcsFileFinishParam, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
int queryDownloadStatus(String paramString, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\downloadcenter\AcsDownloadCenterService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.downloadcenter;
|
||||
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.elevator.downloadcenter.param.AcsFileFinishParam;
|
||||
|
||||
public interface AcsDownloadCenterService {
|
||||
String createDownload(String paramString, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
boolean finishDownload(AcsFileFinishParam paramAcsFileFinishParam, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
|
||||
int queryDownloadStatus(String paramString, CloudwalkCallContext paramCloudwalkCallContext);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+103
-107
@@ -1,107 +1,103 @@
|
||||
/* */ package cn.cloudwalk.elevator.downloadcenter.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.file.param.FileFinishParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.file.param.FileGetParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.file.param.FileInitParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.file.result.FileDetail;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.file.service.FileService;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkService;
|
||||
/* */ import cn.cloudwalk.elevator.common.service.AcsApplicationService;
|
||||
/* */ import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
|
||||
/* */ import cn.cloudwalk.elevator.downloadcenter.AcsDownloadCenterService;
|
||||
/* */ import cn.cloudwalk.elevator.downloadcenter.param.AcsFileFinishParam;
|
||||
/* */ import cn.cloudwalk.elevator.export.AcsFileStatusEnum;
|
||||
/* */ import org.springframework.beans.factory.annotation.Autowired;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class AcsDownloadCenterServiceImpl
|
||||
/* */ extends AbstractCloudwalkService
|
||||
/* */ implements AcsDownloadCenterService
|
||||
/* */ {
|
||||
/* */ @Autowired
|
||||
/* */ private FileService fileService;
|
||||
/* */ @Autowired
|
||||
/* */ private AcsApplicationService acsApplicationService;
|
||||
/* */
|
||||
/* */ public String createDownload(String fileName, CloudwalkCallContext context) {
|
||||
/* */ try {
|
||||
/* 41 */ FileInitParam fileInitParam = new FileInitParam();
|
||||
/* 42 */ fileInitParam.setFileName(fileName);
|
||||
/* 43 */ context.setApplicationId(this.acsApplicationService.getApplicationId(context.getCompany().getCompanyId()));
|
||||
/* 44 */ fileInitParam.setApplicationId(context.getApplicationId());
|
||||
/* */
|
||||
/* 46 */ FeignThreadLocalUtil.setRequestHeader(context);
|
||||
/* 47 */ CloudwalkResult<String> result = this.fileService.init(fileInitParam, context);
|
||||
/* 48 */ if ("00000000".equals(result.getCode())) {
|
||||
/* 49 */ return (String)result.getData();
|
||||
/* */ }
|
||||
/* 51 */ this.logger.error("下载任务初始化失败:code={},message={}", result.getCode(), result.getMessage());
|
||||
/* 52 */ throw new RuntimeException("下载任务创建失败!");
|
||||
/* */ }
|
||||
/* 54 */ catch (ServiceException e) {
|
||||
/* 55 */ this.logger.error("下载任务初始化接口错误", (Throwable)e);
|
||||
/* 56 */ throw new RuntimeException("下载任务创建失败!");
|
||||
/* */ } finally {
|
||||
/* 58 */ FeignThreadLocalUtil.remove();
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public boolean finishDownload(AcsFileFinishParam param, CloudwalkCallContext context) {
|
||||
/* */ try {
|
||||
/* 65 */ FeignThreadLocalUtil.setRequestHeader(context);
|
||||
/* 66 */ FileFinishParam fileFinishParam = (FileFinishParam)BeanCopyUtils.copyProperties(param, FileFinishParam.class);
|
||||
/* 67 */ CloudwalkResult<Boolean> result = this.fileService.finish(fileFinishParam, context);
|
||||
/* 68 */ if ("00000000".equals(result.getCode())) {
|
||||
/* 69 */ return true;
|
||||
/* */ }
|
||||
/* 71 */ this.logger.error("下载任务完成失败:code={},message={}", result.getCode(), result.getMessage());
|
||||
/* */ }
|
||||
/* 73 */ catch (ServiceException e) {
|
||||
/* 74 */ this.logger.error("下载任务完成接口错误", (Throwable)e);
|
||||
/* */ } finally {
|
||||
/* 76 */ FeignThreadLocalUtil.remove();
|
||||
/* */ }
|
||||
/* 78 */ return false;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public int queryDownloadStatus(String fileId, CloudwalkCallContext context) {
|
||||
/* */ try {
|
||||
/* 87 */ FileGetParam fileGetParam = new FileGetParam();
|
||||
/* 88 */ fileGetParam.setFileId(fileId);
|
||||
/* 89 */ CloudwalkResult<FileDetail> result = this.fileService.get(fileGetParam, context);
|
||||
/* 90 */ if ("00000000".equals(result.getCode()))
|
||||
/* */ {
|
||||
/* 92 */ return ((FileDetail)result.getData()).getStatus().intValue();
|
||||
/* */ }
|
||||
/* 94 */ this.logger.error("下载任务初始化失败:code={},message={}", result.getCode(), result.getMessage());
|
||||
/* */ }
|
||||
/* 96 */ catch (ServiceException e) {
|
||||
/* 97 */ this.logger.error("下载任务完成接口错误", (Throwable)e);
|
||||
/* */ }
|
||||
/* 99 */ return AcsFileStatusEnum.PRODUCING.getCode().intValue();
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\downloadcenter\impl\AcsDownloadCenterServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.downloadcenter.impl;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.file.param.FileFinishParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.file.param.FileGetParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.file.param.FileInitParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.file.result.FileDetail;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.file.service.FileService;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.common.AbstractCloudwalkService;
|
||||
import cn.cloudwalk.elevator.common.service.AcsApplicationService;
|
||||
import cn.cloudwalk.elevator.config.FeignThreadLocalUtil;
|
||||
import cn.cloudwalk.elevator.downloadcenter.AcsDownloadCenterService;
|
||||
import cn.cloudwalk.elevator.downloadcenter.param.AcsFileFinishParam;
|
||||
import cn.cloudwalk.elevator.export.AcsFileStatusEnum;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Service
|
||||
public class AcsDownloadCenterServiceImpl
|
||||
extends AbstractCloudwalkService
|
||||
implements AcsDownloadCenterService
|
||||
{
|
||||
@Autowired
|
||||
private FileService fileService;
|
||||
@Autowired
|
||||
private AcsApplicationService acsApplicationService;
|
||||
|
||||
public String createDownload(String fileName, CloudwalkCallContext context) {
|
||||
try {
|
||||
FileInitParam fileInitParam = new FileInitParam();
|
||||
fileInitParam.setFileName(fileName);
|
||||
context.setApplicationId(this.acsApplicationService.getApplicationId(context.getCompany().getCompanyId()));
|
||||
fileInitParam.setApplicationId(context.getApplicationId());
|
||||
|
||||
FeignThreadLocalUtil.setRequestHeader(context);
|
||||
CloudwalkResult<String> result = this.fileService.init(fileInitParam, context);
|
||||
if ("00000000".equals(result.getCode())) {
|
||||
return (String)result.getData();
|
||||
}
|
||||
this.logger.error("下载任务初始化失败:code={},message={}", result.getCode(), result.getMessage());
|
||||
throw new RuntimeException("下载任务创建失败!");
|
||||
}
|
||||
catch (ServiceException e) {
|
||||
this.logger.error("下载任务初始化接口错误", (Throwable)e);
|
||||
throw new RuntimeException("下载任务创建失败!");
|
||||
} finally {
|
||||
FeignThreadLocalUtil.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public boolean finishDownload(AcsFileFinishParam param, CloudwalkCallContext context) {
|
||||
try {
|
||||
FeignThreadLocalUtil.setRequestHeader(context);
|
||||
FileFinishParam fileFinishParam = (FileFinishParam)BeanCopyUtils.copyProperties(param, FileFinishParam.class);
|
||||
CloudwalkResult<Boolean> result = this.fileService.finish(fileFinishParam, context);
|
||||
if ("00000000".equals(result.getCode())) {
|
||||
return true;
|
||||
}
|
||||
this.logger.error("下载任务完成失败:code={},message={}", result.getCode(), result.getMessage());
|
||||
}
|
||||
catch (ServiceException e) {
|
||||
this.logger.error("下载任务完成接口错误", (Throwable)e);
|
||||
} finally {
|
||||
FeignThreadLocalUtil.remove();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public int queryDownloadStatus(String fileId, CloudwalkCallContext context) {
|
||||
try {
|
||||
FileGetParam fileGetParam = new FileGetParam();
|
||||
fileGetParam.setFileId(fileId);
|
||||
CloudwalkResult<FileDetail> result = this.fileService.get(fileGetParam, context);
|
||||
if ("00000000".equals(result.getCode()))
|
||||
{
|
||||
return ((FileDetail)result.getData()).getStatus().intValue();
|
||||
}
|
||||
this.logger.error("下载任务初始化失败:code={},message={}", result.getCode(), result.getMessage());
|
||||
}
|
||||
catch (ServiceException e) {
|
||||
this.logger.error("下载任务完成接口错误", (Throwable)e);
|
||||
}
|
||||
return AcsFileStatusEnum.PRODUCING.getCode().intValue();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+94
-98
@@ -1,98 +1,94 @@
|
||||
/* */ package cn.cloudwalk.elevator.downloadcenter.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsFileFinishParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 4334332744642479052L;
|
||||
/* */ private String fileId;
|
||||
/* */ private Long fileSize;
|
||||
/* */ private String filePath;
|
||||
/* */ private Integer fileStatus;
|
||||
/* */ private String errorCode;
|
||||
/* */ private String errorMessage;
|
||||
/* */
|
||||
/* */ public String getFileId() {
|
||||
/* 46 */ return this.fileId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setFileId(String fileId) {
|
||||
/* 50 */ this.fileId = fileId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getFileSize() {
|
||||
/* 54 */ return this.fileSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setFileSize(Long fileSize) {
|
||||
/* 58 */ this.fileSize = fileSize;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getFilePath() {
|
||||
/* 62 */ return this.filePath;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setFilePath(String filePath) {
|
||||
/* 66 */ this.filePath = filePath;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getFileStatus() {
|
||||
/* 70 */ return this.fileStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setFileStatus(Integer fileStatus) {
|
||||
/* 74 */ this.fileStatus = fileStatus;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getErrorCode() {
|
||||
/* 78 */ return this.errorCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setErrorCode(String errorCode) {
|
||||
/* 82 */ this.errorCode = errorCode;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getErrorMessage() {
|
||||
/* 86 */ return this.errorMessage;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setErrorMessage(String errorMessage) {
|
||||
/* 90 */ this.errorMessage = errorMessage;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\downloadcenter\param\AcsFileFinishParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.downloadcenter.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsFileFinishParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 4334332744642479052L;
|
||||
private String fileId;
|
||||
private Long fileSize;
|
||||
private String filePath;
|
||||
private Integer fileStatus;
|
||||
private String errorCode;
|
||||
private String errorMessage;
|
||||
|
||||
public String getFileId() {
|
||||
return this.fileId;
|
||||
}
|
||||
|
||||
public void setFileId(String fileId) {
|
||||
this.fileId = fileId;
|
||||
}
|
||||
|
||||
public Long getFileSize() {
|
||||
return this.fileSize;
|
||||
}
|
||||
|
||||
public void setFileSize(Long fileSize) {
|
||||
this.fileSize = fileSize;
|
||||
}
|
||||
|
||||
public String getFilePath() {
|
||||
return this.filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
public Integer getFileStatus() {
|
||||
return this.fileStatus;
|
||||
}
|
||||
|
||||
public void setFileStatus(Integer fileStatus) {
|
||||
this.fileStatus = fileStatus;
|
||||
}
|
||||
|
||||
public String getErrorCode() {
|
||||
return this.errorCode;
|
||||
}
|
||||
|
||||
public void setErrorCode(String errorCode) {
|
||||
this.errorCode = errorCode;
|
||||
}
|
||||
|
||||
public String getErrorMessage() {
|
||||
return this.errorMessage;
|
||||
}
|
||||
|
||||
public void setErrorMessage(String errorMessage) {
|
||||
this.errorMessage = errorMessage;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+664
-668
File diff suppressed because it is too large
Load Diff
+70
-74
@@ -1,74 +1,70 @@
|
||||
/* */ package cn.cloudwalk.elevator.export;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public enum AcsFileStatusEnum
|
||||
/* */ {
|
||||
/* 16 */ FINISH(Integer.valueOf(0), "已完成"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 20 */ PRODUCING(Integer.valueOf(1), "生成中"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 25 */ DELETED(Integer.valueOf(2), "已删除"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 30 */ CANCELED(Integer.valueOf(3), "已取消"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 34 */ EXPIRED(Integer.valueOf(4), "已过期"),
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 39 */ FAIL(Integer.valueOf(5), "失败");
|
||||
/* */
|
||||
/* */
|
||||
/* */ private Integer code;
|
||||
/* */
|
||||
/* */ private String message;
|
||||
/* */
|
||||
/* */
|
||||
/* */ AcsFileStatusEnum(Integer code, String message) {
|
||||
/* 48 */ this.code = code;
|
||||
/* 49 */ this.message = message;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static AcsFileStatusEnum getEnumByCode(Integer code) {
|
||||
/* 53 */ for (AcsFileStatusEnum item : values()) {
|
||||
/* 54 */ if (code.equals(item.getCode())) {
|
||||
/* 55 */ return item;
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 58 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getCode() {
|
||||
/* 62 */ return this.code;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getMessage() {
|
||||
/* 66 */ return this.message;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\export\AcsFileStatusEnum.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.export;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum AcsFileStatusEnum
|
||||
{
|
||||
FINISH(Integer.valueOf(0), "已完成"),
|
||||
|
||||
|
||||
|
||||
PRODUCING(Integer.valueOf(1), "生成中"),
|
||||
|
||||
|
||||
|
||||
|
||||
DELETED(Integer.valueOf(2), "已删除"),
|
||||
|
||||
|
||||
|
||||
|
||||
CANCELED(Integer.valueOf(3), "已取消"),
|
||||
|
||||
|
||||
|
||||
EXPIRED(Integer.valueOf(4), "已过期"),
|
||||
|
||||
|
||||
|
||||
|
||||
FAIL(Integer.valueOf(5), "失败");
|
||||
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
AcsFileStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static AcsFileStatusEnum getEnumByCode(Integer code) {
|
||||
for (AcsFileStatusEnum item : values()) {
|
||||
if (code.equals(item.getCode())) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+26
-30
@@ -1,30 +1,26 @@
|
||||
package cn.cloudwalk.elevator.export;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.FIELD})
|
||||
public @interface ExcelAttribute {
|
||||
String name();
|
||||
|
||||
String column() default "";
|
||||
|
||||
String[] combo() default {};
|
||||
|
||||
boolean isExport() default true;
|
||||
|
||||
boolean isMark() default false;
|
||||
|
||||
boolean isDate() default false;
|
||||
|
||||
boolean isPic() default false;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\export\ExcelAttribute.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.export;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.FIELD})
|
||||
public @interface ExcelAttribute {
|
||||
String name();
|
||||
|
||||
String column() default "";
|
||||
|
||||
String[] combo() default {};
|
||||
|
||||
boolean isExport() default true;
|
||||
|
||||
boolean isMark() default false;
|
||||
|
||||
boolean isDate() default false;
|
||||
|
||||
boolean isPic() default false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+11
-15
@@ -1,15 +1,11 @@
|
||||
package cn.cloudwalk.elevator.export;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import org.apache.poi.hssf.usermodel.HSSFSheet;
|
||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
||||
|
||||
public interface ExcelCallback {
|
||||
void call(HSSFWorkbook paramHSSFWorkbook, HSSFSheet paramHSSFSheet) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\export\ExcelCallback.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.export;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import org.apache.poi.hssf.usermodel.HSSFSheet;
|
||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
||||
|
||||
public interface ExcelCallback {
|
||||
void call(HSSFWorkbook paramHSSFWorkbook, HSSFSheet paramHSSFSheet) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+68
-72
@@ -1,72 +1,68 @@
|
||||
/* */ package cn.cloudwalk.elevator.export.impl;
|
||||
/* */
|
||||
/* */ 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.device.dto.AcsElevatorDeviceResultDTO;
|
||||
/* */ import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceQueryParam;
|
||||
/* */ import cn.cloudwalk.elevator.device.service.AcsElevatorDeviceService;
|
||||
/* */ import cn.cloudwalk.elevator.export.AcsAbstractExportAsyncService;
|
||||
/* */ import cn.cloudwalk.elevator.export.result.ElevatorDeviceRecordExcelResult;
|
||||
/* */ import cn.cloudwalk.elevator.util.CollectionUtils;
|
||||
/* */ import cn.cloudwalk.elevator.util.DateUtils;
|
||||
/* */ import java.util.Date;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.Objects;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.springframework.stereotype.Service;
|
||||
/* */
|
||||
/* */ @Service
|
||||
/* */ public class ElevatorDeviceExportService
|
||||
/* */ extends AcsAbstractExportAsyncService<AcsElevatorDeviceQueryParam, ElevatorDeviceRecordExcelResult>
|
||||
/* */ {
|
||||
/* */ @Resource
|
||||
/* */ private AcsElevatorDeviceService elevatorDeviceService;
|
||||
/* */
|
||||
/* */ protected CloudwalkPageAble<ElevatorDeviceRecordExcelResult> queryPage(AcsElevatorDeviceQueryParam param, CloudwalkPageInfo pageInfo, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 30 */ param.setCurrentPage(pageInfo.getCurrentPage());
|
||||
/* 31 */ param.setRowsOfPage(pageInfo.getPageSize());
|
||||
/* 32 */ CloudwalkResult<CloudwalkPageAble<AcsElevatorDeviceResultDTO>> result = this.elevatorDeviceService.get(param, context);
|
||||
/* 33 */ if (result.isSuccess()) {
|
||||
/* 34 */ CloudwalkPageAble<AcsElevatorDeviceResultDTO> data = (CloudwalkPageAble<AcsElevatorDeviceResultDTO>)result.getData();
|
||||
/* 35 */ if (CollectionUtils.isNotEmpty(data.getDatas())) {
|
||||
/* 36 */ List<ElevatorDeviceRecordExcelResult> targetList = BeanCopyUtils.copy(data.getDatas(), ElevatorDeviceRecordExcelResult.class);
|
||||
/* 37 */ for (ElevatorDeviceRecordExcelResult item : targetList) {
|
||||
/* 38 */ if (Objects.equals(item.getStatus(), Integer.valueOf(1))) {
|
||||
/* 39 */ item.setDeviceOnlineStatus("禁用"); continue;
|
||||
/* 40 */ } if (Objects.equals(item.getOnlineStatus(), Integer.valueOf(2))) {
|
||||
/* 41 */ item.setDeviceOnlineStatus("在线"); continue;
|
||||
/* 42 */ } if (Objects.equals(item.getOnlineStatus(), Integer.valueOf(3))) {
|
||||
/* 43 */ item.setDeviceOnlineStatus("离线");
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 46 */ return new CloudwalkPageAble(targetList, pageInfo, ((CloudwalkPageAble)result.getData()).getTotalRows());
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 49 */ throw new ServiceException(result.getCode(), result.getMessage());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ protected CloudwalkResult<String> createLocalFile(AcsElevatorDeviceQueryParam param, String fileName, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 54 */ return null;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ protected String getDefaultFileName() {
|
||||
/* 59 */ return "派梯设备导出" + DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ protected String getDefaultFileTitleName() {
|
||||
/* 64 */ return "派梯设备";
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\export\impl\ElevatorDeviceExportService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.export.impl;
|
||||
|
||||
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.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import cn.cloudwalk.elevator.device.param.AcsElevatorDeviceQueryParam;
|
||||
import cn.cloudwalk.elevator.device.service.AcsElevatorDeviceService;
|
||||
import cn.cloudwalk.elevator.export.AcsAbstractExportAsyncService;
|
||||
import cn.cloudwalk.elevator.export.result.ElevatorDeviceRecordExcelResult;
|
||||
import cn.cloudwalk.elevator.util.CollectionUtils;
|
||||
import cn.cloudwalk.elevator.util.DateUtils;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class ElevatorDeviceExportService
|
||||
extends AcsAbstractExportAsyncService<AcsElevatorDeviceQueryParam, ElevatorDeviceRecordExcelResult>
|
||||
{
|
||||
@Resource
|
||||
private AcsElevatorDeviceService elevatorDeviceService;
|
||||
|
||||
protected CloudwalkPageAble<ElevatorDeviceRecordExcelResult> queryPage(AcsElevatorDeviceQueryParam param, CloudwalkPageInfo pageInfo, CloudwalkCallContext context) throws ServiceException {
|
||||
param.setCurrentPage(pageInfo.getCurrentPage());
|
||||
param.setRowsOfPage(pageInfo.getPageSize());
|
||||
CloudwalkResult<CloudwalkPageAble<AcsElevatorDeviceResultDTO>> result = this.elevatorDeviceService.get(param, context);
|
||||
if (result.isSuccess()) {
|
||||
CloudwalkPageAble<AcsElevatorDeviceResultDTO> data = (CloudwalkPageAble<AcsElevatorDeviceResultDTO>)result.getData();
|
||||
if (CollectionUtils.isNotEmpty(data.getDatas())) {
|
||||
List<ElevatorDeviceRecordExcelResult> targetList = BeanCopyUtils.copy(data.getDatas(), ElevatorDeviceRecordExcelResult.class);
|
||||
for (ElevatorDeviceRecordExcelResult item : targetList) {
|
||||
if (Objects.equals(item.getStatus(), Integer.valueOf(1))) {
|
||||
item.setDeviceOnlineStatus("禁用"); continue;
|
||||
} if (Objects.equals(item.getOnlineStatus(), Integer.valueOf(2))) {
|
||||
item.setDeviceOnlineStatus("在线"); continue;
|
||||
} if (Objects.equals(item.getOnlineStatus(), Integer.valueOf(3))) {
|
||||
item.setDeviceOnlineStatus("离线");
|
||||
}
|
||||
}
|
||||
return new CloudwalkPageAble(targetList, pageInfo, ((CloudwalkPageAble)result.getData()).getTotalRows());
|
||||
}
|
||||
}
|
||||
throw new ServiceException(result.getCode(), result.getMessage());
|
||||
}
|
||||
|
||||
|
||||
protected CloudwalkResult<String> createLocalFile(AcsElevatorDeviceQueryParam param, String fileName, CloudwalkCallContext context) throws ServiceException {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
protected String getDefaultFileName() {
|
||||
return "派梯设备导出" + DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
||||
}
|
||||
|
||||
|
||||
protected String getDefaultFileTitleName() {
|
||||
return "派梯设备";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+72
-76
File diff suppressed because one or more lines are too long
+687
-691
File diff suppressed because it is too large
Load Diff
+53
-57
@@ -1,57 +1,53 @@
|
||||
/* */ package cn.cloudwalk.elevator.export.utils;
|
||||
/* */
|
||||
/* */ import java.io.File;
|
||||
/* */ import org.slf4j.Logger;
|
||||
/* */ import org.slf4j.LoggerFactory;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class FolderUtils
|
||||
/* */ {
|
||||
/* 16 */ private static Logger logger = LoggerFactory.getLogger(FolderUtils.class);
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static void deleteFolder(String path) {
|
||||
/* 22 */ File file = new File(path);
|
||||
/* 23 */ if (file.exists()) {
|
||||
/* 24 */ File[] files = file.listFiles();
|
||||
/* 25 */ int len = files.length;
|
||||
/* 26 */ for (int i = 0; i < len; i++) {
|
||||
/* 27 */ if (files[i].isDirectory()) {
|
||||
/* 28 */ deleteFolder(files[i].getPath());
|
||||
/* */ } else {
|
||||
/* 30 */ doDelete(files[i]);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* 33 */ doDelete(file);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public static void deleteFile(String path) {
|
||||
/* 41 */ File file = new File(path);
|
||||
/* 42 */ if (file.exists()) {
|
||||
/* 43 */ doDelete(file);
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public static void doDelete(File file) {
|
||||
/* 48 */ if (file.exists() && !file.delete())
|
||||
/* 49 */ logger.error("文件删除失败");
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\expor\\utils\FolderUtils.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.export.utils;
|
||||
|
||||
import java.io.File;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class FolderUtils
|
||||
{
|
||||
private static Logger logger = LoggerFactory.getLogger(FolderUtils.class);
|
||||
|
||||
|
||||
|
||||
|
||||
public static void deleteFolder(String path) {
|
||||
File file = new File(path);
|
||||
if (file.exists()) {
|
||||
File[] files = file.listFiles();
|
||||
int len = files.length;
|
||||
for (int i = 0; i < len; i++) {
|
||||
if (files[i].isDirectory()) {
|
||||
deleteFolder(files[i].getPath());
|
||||
} else {
|
||||
doDelete(files[i]);
|
||||
}
|
||||
}
|
||||
doDelete(file);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static void deleteFile(String path) {
|
||||
File file = new File(path);
|
||||
if (file.exists()) {
|
||||
doDelete(file);
|
||||
}
|
||||
}
|
||||
|
||||
public static void doDelete(File file) {
|
||||
if (file.exists() && !file.delete())
|
||||
logger.error("文件删除失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-21
@@ -1,21 +1,17 @@
|
||||
package cn.cloudwalk.elevator.mqtt.client;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.mqtt.fallback.MqttFeignClientFallback;
|
||||
import cn.cloudwalk.elevator.mqtt.param.MqttSendMessageParam;
|
||||
import org.springframework.cloud.netflix.feign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
@FeignClient(name = "${feign.mqtt.name:cloudwalk-device-thirdparty}", path = "/mqtt", fallback = MqttFeignClientFallback.class)
|
||||
public interface MqttFeignClient {
|
||||
@RequestMapping(value = {"/publish"}, method = {RequestMethod.POST})
|
||||
CloudwalkResult<Boolean> publish(MqttSendMessageParam paramMqttSendMessageParam) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\mqtt\client\MqttFeignClient.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.mqtt.client;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.mqtt.fallback.MqttFeignClientFallback;
|
||||
import cn.cloudwalk.elevator.mqtt.param.MqttSendMessageParam;
|
||||
import org.springframework.cloud.netflix.feign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
@FeignClient(name = "${feign.mqtt.name:cloudwalk-device-thirdparty}", path = "/mqtt", fallback = MqttFeignClientFallback.class)
|
||||
public interface MqttFeignClient {
|
||||
@RequestMapping(value = {"/publish"}, method = {RequestMethod.POST})
|
||||
CloudwalkResult<Boolean> publish(MqttSendMessageParam paramMqttSendMessageParam) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+18
-22
@@ -1,22 +1,18 @@
|
||||
/* */ package cn.cloudwalk.elevator.mqtt.fallback;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.elevator.mqtt.client.MqttFeignClient;
|
||||
/* */ import cn.cloudwalk.elevator.mqtt.param.MqttSendMessageParam;
|
||||
/* */ import org.springframework.stereotype.Component;
|
||||
/* */
|
||||
/* */ @Component
|
||||
/* */ public class MqttFeignClientFallback
|
||||
/* */ implements MqttFeignClient
|
||||
/* */ {
|
||||
/* */ public CloudwalkResult<Boolean> publish(MqttSendMessageParam param) throws ServiceException {
|
||||
/* 14 */ throw new RuntimeException("mqtt发送数据失败");
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\mqtt\fallback\MqttFeignClientFallback.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.mqtt.fallback;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.elevator.mqtt.client.MqttFeignClient;
|
||||
import cn.cloudwalk.elevator.mqtt.param.MqttSendMessageParam;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class MqttFeignClientFallback
|
||||
implements MqttFeignClient
|
||||
{
|
||||
public CloudwalkResult<Boolean> publish(MqttSendMessageParam param) throws ServiceException {
|
||||
throw new RuntimeException("mqtt发送数据失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+88
-92
@@ -1,92 +1,88 @@
|
||||
/* */ package cn.cloudwalk.elevator.mqtt.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
/* */ import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
/* */ import cn.cloudwalk.elevator.mqtt.client.MqttFeignClient;
|
||||
/* */ import cn.cloudwalk.elevator.mqtt.param.AcsElevatorRecordMqttParam;
|
||||
/* */ import cn.cloudwalk.elevator.mqtt.param.MqttSendMessageParam;
|
||||
/* */ import cn.cloudwalk.elevator.mqtt.service.MqttService;
|
||||
/* */ import cn.cloudwalk.elevator.record.dao.AcsRecogRecordDao;
|
||||
/* */ import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
/* */ import cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO;
|
||||
/* */ import cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO;
|
||||
/* */ import cn.cloudwalk.elevator.util.DateUtils;
|
||||
/* */ import com.alibaba.fastjson.JSON;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.concurrent.TimeUnit;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */ import org.apache.commons.collections4.CollectionUtils;
|
||||
/* */ import org.apache.commons.lang3.StringUtils;
|
||||
/* */ import org.springframework.beans.factory.annotation.Qualifier;
|
||||
/* */ import org.springframework.scheduling.annotation.Async;
|
||||
/* */ import org.springframework.stereotype.Component;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ @Component
|
||||
/* */ public class MqttServiceImpl
|
||||
/* */ extends AbstractAcsDeviceService
|
||||
/* */ implements MqttService
|
||||
/* */ {
|
||||
/* */ private static final String VISITOR_LABEL_CODE = "1";
|
||||
/* */ private static final String VISITOR_LABEL_NAME = "访客";
|
||||
/* */ private static final String ELEVATOR_RECORD_SUFFIX = "_elevator_record";
|
||||
/* */ @Qualifier("cn.cloudwalk.elevator.mqtt.client.MqttFeignClient")
|
||||
/* */ @Resource
|
||||
/* */ private MqttFeignClient mqttFeignClient;
|
||||
/* */ @Resource
|
||||
/* */ private AcsRecogRecordDao acsRecogRecordDao;
|
||||
/* */
|
||||
/* */ @Async
|
||||
/* */ public void sendInfoToOne(AcsElevatorRecordAddDTO addDTO) throws ServiceException {
|
||||
/* 48 */ this.logger.info("防止人员识别记录未入库即开始推送消息,休眠10秒");
|
||||
/* */ try {
|
||||
/* 50 */ TimeUnit.SECONDS.sleep(10L);
|
||||
/* 51 */ } catch (InterruptedException e) {
|
||||
/* 52 */ this.logger.error("休眠失败,失败原因:{}", e.getMessage());
|
||||
/* 53 */ throw new ServiceException(e.getMessage());
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ try {
|
||||
/* 57 */ AcsRecogRecordPageDTO recordPageDTO = new AcsRecogRecordPageDTO();
|
||||
/* 58 */ recordPageDTO.setLogId(addDTO.getRecognitionFaceId());
|
||||
/* 59 */ recordPageDTO.setStartTime(DateUtils.todayStart());
|
||||
/* 60 */ recordPageDTO.setEndTime(DateUtils.todayEnd());
|
||||
/* 61 */ List<AcsRecogRecordResultDTO> recogRecordResultDTOS = this.acsRecogRecordDao.page(recordPageDTO);
|
||||
/* 62 */ if (!CollectionUtils.isEmpty(recogRecordResultDTOS)) {
|
||||
/* 63 */ AcsRecogRecordResultDTO acsRecogRecordResultDTO = recogRecordResultDTOS.get(0);
|
||||
/* 64 */ AcsElevatorRecordMqttParam acsElevatorRecordMqttParam = (AcsElevatorRecordMqttParam)BeanCopyUtils.copyProperties(addDTO, AcsElevatorRecordMqttParam.class);
|
||||
/* 65 */ acsElevatorRecordMqttParam.setOpenDoorId(addDTO.getId());
|
||||
/* 66 */ acsElevatorRecordMqttParam.setPersonName(acsRecogRecordResultDTO.getPersonName());
|
||||
/* 67 */ if (StringUtils.isNotBlank(acsRecogRecordResultDTO.getPersonLabelIds()) && acsRecogRecordResultDTO.getPersonLabelIds().contains("1")) {
|
||||
/* 68 */ acsElevatorRecordMqttParam.setIsVisitor(Boolean.TRUE);
|
||||
/* */ }
|
||||
/* 70 */ CloudwalkResult<Boolean> publish = this.mqttFeignClient.publish(
|
||||
/* 71 */ MqttSendMessageParam.builder()
|
||||
/* 72 */ .topic(addDTO.getBusinessId() + "_elevator_record")
|
||||
/* 73 */ .data(JSON.toJSONString(acsElevatorRecordMqttParam))
|
||||
/* 74 */ .build());
|
||||
/* 75 */ if (publish.isSuccess()) {
|
||||
/* 76 */ this.logger.info("推送数据成功!!!,数据,{}", JSON.toJSONString(acsElevatorRecordMqttParam));
|
||||
/* */ } else {
|
||||
/* 78 */ this.logger.debug("推送数据失败!!!");
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ }
|
||||
/* 82 */ } catch (Exception e) {
|
||||
/* 83 */ this.logger.error("发送消息失败 param:{} {}", addDTO, e.getMessage());
|
||||
/* */ }
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\mqtt\impl\MqttServiceImpl.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.mqtt.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.common.AbstractAcsDeviceService;
|
||||
import cn.cloudwalk.elevator.mqtt.client.MqttFeignClient;
|
||||
import cn.cloudwalk.elevator.mqtt.param.AcsElevatorRecordMqttParam;
|
||||
import cn.cloudwalk.elevator.mqtt.param.MqttSendMessageParam;
|
||||
import cn.cloudwalk.elevator.mqtt.service.MqttService;
|
||||
import cn.cloudwalk.elevator.record.dao.AcsRecogRecordDao;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO;
|
||||
import cn.cloudwalk.elevator.util.DateUtils;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import javax.annotation.Resource;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Component
|
||||
public class MqttServiceImpl
|
||||
extends AbstractAcsDeviceService
|
||||
implements MqttService
|
||||
{
|
||||
private static final String VISITOR_LABEL_CODE = "1";
|
||||
private static final String VISITOR_LABEL_NAME = "访客";
|
||||
private static final String ELEVATOR_RECORD_SUFFIX = "_elevator_record";
|
||||
@Qualifier("cn.cloudwalk.elevator.mqtt.client.MqttFeignClient")
|
||||
@Resource
|
||||
private MqttFeignClient mqttFeignClient;
|
||||
@Resource
|
||||
private AcsRecogRecordDao acsRecogRecordDao;
|
||||
|
||||
@Async
|
||||
public void sendInfoToOne(AcsElevatorRecordAddDTO addDTO) throws ServiceException {
|
||||
this.logger.info("防止人员识别记录未入库即开始推送消息,休眠10秒");
|
||||
try {
|
||||
TimeUnit.SECONDS.sleep(10L);
|
||||
} catch (InterruptedException e) {
|
||||
this.logger.error("休眠失败,失败原因:{}", e.getMessage());
|
||||
throw new ServiceException(e.getMessage());
|
||||
}
|
||||
|
||||
try {
|
||||
AcsRecogRecordPageDTO recordPageDTO = new AcsRecogRecordPageDTO();
|
||||
recordPageDTO.setLogId(addDTO.getRecognitionFaceId());
|
||||
recordPageDTO.setStartTime(DateUtils.todayStart());
|
||||
recordPageDTO.setEndTime(DateUtils.todayEnd());
|
||||
List<AcsRecogRecordResultDTO> recogRecordResultDTOS = this.acsRecogRecordDao.page(recordPageDTO);
|
||||
if (!CollectionUtils.isEmpty(recogRecordResultDTOS)) {
|
||||
AcsRecogRecordResultDTO acsRecogRecordResultDTO = recogRecordResultDTOS.get(0);
|
||||
AcsElevatorRecordMqttParam acsElevatorRecordMqttParam = (AcsElevatorRecordMqttParam)BeanCopyUtils.copyProperties(addDTO, AcsElevatorRecordMqttParam.class);
|
||||
acsElevatorRecordMqttParam.setOpenDoorId(addDTO.getId());
|
||||
acsElevatorRecordMqttParam.setPersonName(acsRecogRecordResultDTO.getPersonName());
|
||||
if (StringUtils.isNotBlank(acsRecogRecordResultDTO.getPersonLabelIds()) && acsRecogRecordResultDTO.getPersonLabelIds().contains("1")) {
|
||||
acsElevatorRecordMqttParam.setIsVisitor(Boolean.TRUE);
|
||||
}
|
||||
CloudwalkResult<Boolean> publish = this.mqttFeignClient.publish(
|
||||
MqttSendMessageParam.builder()
|
||||
.topic(addDTO.getBusinessId() + "_elevator_record")
|
||||
.data(JSON.toJSONString(acsElevatorRecordMqttParam))
|
||||
.build());
|
||||
if (publish.isSuccess()) {
|
||||
this.logger.info("推送数据成功!!!,数据,{}", JSON.toJSONString(acsElevatorRecordMqttParam));
|
||||
} else {
|
||||
this.logger.debug("推送数据失败!!!");
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
this.logger.error("发送消息失败 param:{} {}", addDTO, e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+52
-56
@@ -1,56 +1,52 @@
|
||||
/* */ package cn.cloudwalk.elevator.mqtt.param;
|
||||
/* */ public class AcsElevatorRecordMqttParam {
|
||||
/* */ private String openDoorId;
|
||||
/* */ private String openDoorType;
|
||||
/* */ private String srcFloor;
|
||||
/* */
|
||||
/* 7 */ public void setOpenDoorId(String openDoorId) { this.openDoorId = openDoorId; } private String destFloor; private String dispatchElevatorNo; private Long dispatchElevatorTime; private String personName; public void setOpenDoorType(String openDoorType) { this.openDoorType = openDoorType; } public void setSrcFloor(String srcFloor) { this.srcFloor = srcFloor; } public void setDestFloor(String destFloor) { this.destFloor = destFloor; } public void setDispatchElevatorNo(String dispatchElevatorNo) { this.dispatchElevatorNo = dispatchElevatorNo; } public void setDispatchElevatorTime(Long dispatchElevatorTime) { this.dispatchElevatorTime = dispatchElevatorTime; } public void setPersonName(String personName) { this.personName = personName; } public void setIsVisitor(Boolean isVisitor) { this.isVisitor = isVisitor; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getOpenDoorId() {
|
||||
/* 13 */ return this.openDoorId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getOpenDoorType() {
|
||||
/* 18 */ return this.openDoorType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getSrcFloor() {
|
||||
/* 23 */ return this.srcFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getDestFloor() {
|
||||
/* 28 */ return this.destFloor;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getDispatchElevatorNo() {
|
||||
/* 33 */ return this.dispatchElevatorNo;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getDispatchElevatorTime() {
|
||||
/* 38 */ return this.dispatchElevatorTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getPersonName() {
|
||||
/* 43 */ return this.personName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* 48 */ private Boolean isVisitor = Boolean.valueOf(false); public Boolean getIsVisitor() { return this.isVisitor; }
|
||||
/* */
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\mqtt\param\AcsElevatorRecordMqttParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.mqtt.param;
|
||||
public class AcsElevatorRecordMqttParam {
|
||||
private String openDoorId;
|
||||
private String openDoorType;
|
||||
private String srcFloor;
|
||||
|
||||
public void setOpenDoorId(String openDoorId) { this.openDoorId = openDoorId; } private String destFloor; private String dispatchElevatorNo; private Long dispatchElevatorTime; private String personName; public void setOpenDoorType(String openDoorType) { this.openDoorType = openDoorType; } public void setSrcFloor(String srcFloor) { this.srcFloor = srcFloor; } public void setDestFloor(String destFloor) { this.destFloor = destFloor; } public void setDispatchElevatorNo(String dispatchElevatorNo) { this.dispatchElevatorNo = dispatchElevatorNo; } public void setDispatchElevatorTime(Long dispatchElevatorTime) { this.dispatchElevatorTime = dispatchElevatorTime; } public void setPersonName(String personName) { this.personName = personName; } public void setIsVisitor(Boolean isVisitor) { this.isVisitor = isVisitor; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getOpenDoorId() {
|
||||
return this.openDoorId;
|
||||
}
|
||||
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private Boolean isVisitor = Boolean.valueOf(false); public Boolean getIsVisitor() { return this.isVisitor; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
+24
-28
@@ -1,28 +1,24 @@
|
||||
/* */ package cn.cloudwalk.elevator.mqtt.param;
|
||||
/* */
|
||||
/* */ public class MqttSendMessageParam {
|
||||
/* */ private String topic;
|
||||
/* */ private String data;
|
||||
/* */
|
||||
/* */ @ConstructorProperties({"topic", "data"})
|
||||
/* 8 */ MqttSendMessageParam(String topic, String data) { this.topic = topic; this.data = data; } public static MqttSendMessageParamBuilder builder() { return new MqttSendMessageParamBuilder(); } public static class MqttSendMessageParamBuilder { private String topic; public MqttSendMessageParamBuilder topic(String topic) { this.topic = topic; return this; } private String data; public MqttSendMessageParamBuilder data(String data) { this.data = data; return this; } public MqttSendMessageParam build() { return new MqttSendMessageParam(this.topic, this.data); } public String toString() { return "MqttSendMessageParam.MqttSendMessageParamBuilder(topic=" + this.topic + ", data=" + this.data + ")"; }
|
||||
/* */ }
|
||||
/* 10 */ public void setTopic(String topic) { this.topic = topic; } public void setData(String data) { this.data = data; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getTopic() {
|
||||
/* 16 */ return this.topic;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getData() {
|
||||
/* 20 */ return this.data;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\mqtt\param\MqttSendMessageParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.mqtt.param;
|
||||
|
||||
public class MqttSendMessageParam {
|
||||
private String topic;
|
||||
private String data;
|
||||
|
||||
@ConstructorProperties({"topic", "data"})
|
||||
MqttSendMessageParam(String topic, String data) { this.topic = topic; this.data = data; } public static MqttSendMessageParamBuilder builder() { return new MqttSendMessageParamBuilder(); } public static class MqttSendMessageParamBuilder { private String topic; public MqttSendMessageParamBuilder topic(String topic) { this.topic = topic; return this; } private String data; public MqttSendMessageParamBuilder data(String data) { this.data = data; return this; } public MqttSendMessageParam build() { return new MqttSendMessageParam(this.topic, this.data); } public String toString() { return "MqttSendMessageParam.MqttSendMessageParamBuilder(topic=" + this.topic + ", data=" + this.data + ")"; }
|
||||
}
|
||||
public void setTopic(String topic) { this.topic = topic; } public void setData(String data) { this.data = data; }
|
||||
|
||||
|
||||
|
||||
|
||||
public String getTopic() {
|
||||
return this.topic;
|
||||
}
|
||||
|
||||
public String getData() {
|
||||
return this.data;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+10
-14
@@ -1,14 +1,10 @@
|
||||
package cn.cloudwalk.elevator.mqtt.service;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
|
||||
public interface MqttService {
|
||||
void sendInfoToOne(AcsElevatorRecordAddDTO paramAcsElevatorRecordAddDTO) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\mqtt\service\MqttService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.mqtt.service;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
|
||||
public interface MqttService {
|
||||
void sendInfoToOne(AcsElevatorRecordAddDTO paramAcsElevatorRecordAddDTO) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+99
-103
@@ -1,103 +1,99 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.impl;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreEditParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStorePersonData;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreQueryParam;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImageStoreDetailResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImgStorePersonResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.service.ImageStoreService;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
/* */ import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
/* */ import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
/* */ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
/* */ import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
/* */ import cn.cloudwalk.elevator.common.AbstractCloudwalkService;
|
||||
/* */ import java.util.ArrayList;
|
||||
/* */ import java.util.List;
|
||||
/* */ import java.util.stream.Collectors;
|
||||
/* */ import javax.annotation.Resource;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AbstractAcsPassService
|
||||
/* */ extends AbstractCloudwalkService
|
||||
/* */ {
|
||||
/* */ @Resource
|
||||
/* */ private ImageStoreService imageStoreService;
|
||||
/* */
|
||||
/* */ protected ImageStoreDetailResult getImageStoreDetail(String imageStoreId, CloudwalkCallContext context) throws ServiceException {
|
||||
/* 47 */ ImageStoreQueryParam param = new ImageStoreQueryParam();
|
||||
/* 48 */ param.setId(imageStoreId);
|
||||
/* 49 */ param.setBusinessId(context.getCompany().getCompanyId());
|
||||
/* */
|
||||
/* */
|
||||
/* 52 */ CloudwalkResult<ImageStoreDetailResult> imageStoreDetail = this.imageStoreService.detail(param, context);
|
||||
/* 53 */ if (!imageStoreDetail.isSuccess()) {
|
||||
/* 54 */ this.logger.error("远程调用查询图库详情失败,原因:" + imageStoreDetail.getMessage());
|
||||
/* 55 */ throw new ServiceException("远程调用查询图库详情失败");
|
||||
/* */ }
|
||||
/* 57 */ return (ImageStoreDetailResult)imageStoreDetail.getData();
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ protected ImageStoreEditParam getEditParamByImageStore(ImageStoreDetailResult imageStoreDetail) {
|
||||
/* 67 */ ImageStoreEditParam param = new ImageStoreEditParam();
|
||||
/* 68 */ BeanCopyUtils.copyProperties(imageStoreDetail, param);
|
||||
/* 69 */ param.setIncludeOrganizations((List)imageStoreDetail.getIncludeOrganizations()
|
||||
/* 70 */ .stream().map(OrganizationResult::getId).collect(Collectors.toList()));
|
||||
/* 71 */ param.setIncludeLabels((List)imageStoreDetail.getIncludeLabels()
|
||||
/* 72 */ .stream().map(LabelResult::getId).collect(Collectors.toList()));
|
||||
/* 73 */ param.setIncludePersons(getImageStorePersonData(imageStoreDetail.getIncludePersons()));
|
||||
/* 74 */ param.setExcludeLabels((List)imageStoreDetail.getExcludeLabels().stream()
|
||||
/* 75 */ .map(LabelResult::getId).collect(Collectors.toList()));
|
||||
/* 76 */ param.setExcludePersons((List)imageStoreDetail.getExcludePersons().stream()
|
||||
/* 77 */ .map(ImgStorePersonResult::getId).collect(Collectors.toList()));
|
||||
/* 78 */ return param;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ private List<ImageStorePersonData> getImageStorePersonData(List<ImgStorePersonResult> imgStorePersonResults) {
|
||||
/* 88 */ List<ImageStorePersonData> personDataList = new ArrayList<>();
|
||||
/* 89 */ for (ImgStorePersonResult personResult : imgStorePersonResults) {
|
||||
/* 90 */ ImageStorePersonData personData = new ImageStorePersonData();
|
||||
/* 91 */ BeanCopyUtils.copyProperties(personResult, personData);
|
||||
/* 92 */ personData.setObjectId(personResult.getId());
|
||||
/* 93 */ personDataList.add(personData);
|
||||
/* */ }
|
||||
/* 95 */ return personDataList;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\impl\AbstractAcsPassService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.impl;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreEditParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStorePersonData;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.param.ImageStoreQueryParam;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImageStoreDetailResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImgStorePersonResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.service.ImageStoreService;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.common.AbstractCloudwalkService;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
import javax.annotation.Resource;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AbstractAcsPassService
|
||||
extends AbstractCloudwalkService
|
||||
{
|
||||
@Resource
|
||||
private ImageStoreService imageStoreService;
|
||||
|
||||
protected ImageStoreDetailResult getImageStoreDetail(String imageStoreId, CloudwalkCallContext context) throws ServiceException {
|
||||
ImageStoreQueryParam param = new ImageStoreQueryParam();
|
||||
param.setId(imageStoreId);
|
||||
param.setBusinessId(context.getCompany().getCompanyId());
|
||||
|
||||
|
||||
CloudwalkResult<ImageStoreDetailResult> imageStoreDetail = this.imageStoreService.detail(param, context);
|
||||
if (!imageStoreDetail.isSuccess()) {
|
||||
this.logger.error("远程调用查询图库详情失败,原因:" + imageStoreDetail.getMessage());
|
||||
throw new ServiceException("远程调用查询图库详情失败");
|
||||
}
|
||||
return (ImageStoreDetailResult)imageStoreDetail.getData();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected ImageStoreEditParam getEditParamByImageStore(ImageStoreDetailResult imageStoreDetail) {
|
||||
ImageStoreEditParam param = new ImageStoreEditParam();
|
||||
BeanCopyUtils.copyProperties(imageStoreDetail, param);
|
||||
param.setIncludeOrganizations((List)imageStoreDetail.getIncludeOrganizations()
|
||||
.stream().map(OrganizationResult::getId).collect(Collectors.toList()));
|
||||
param.setIncludeLabels((List)imageStoreDetail.getIncludeLabels()
|
||||
.stream().map(LabelResult::getId).collect(Collectors.toList()));
|
||||
param.setIncludePersons(getImageStorePersonData(imageStoreDetail.getIncludePersons()));
|
||||
param.setExcludeLabels((List)imageStoreDetail.getExcludeLabels().stream()
|
||||
.map(LabelResult::getId).collect(Collectors.toList()));
|
||||
param.setExcludePersons((List)imageStoreDetail.getExcludePersons().stream()
|
||||
.map(ImgStorePersonResult::getId).collect(Collectors.toList()));
|
||||
return param;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private List<ImageStorePersonData> getImageStorePersonData(List<ImgStorePersonResult> imgStorePersonResults) {
|
||||
List<ImageStorePersonData> personDataList = new ArrayList<>();
|
||||
for (ImgStorePersonResult personResult : imgStorePersonResults) {
|
||||
ImageStorePersonData personData = new ImageStorePersonData();
|
||||
BeanCopyUtils.copyProperties(personResult, personData);
|
||||
personData.setObjectId(personResult.getId());
|
||||
personDataList.add(personData);
|
||||
}
|
||||
return personDataList;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+729
-733
File diff suppressed because it is too large
Load Diff
+1020
-1024
File diff suppressed because it is too large
Load Diff
+59
-63
@@ -1,63 +1,59 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import org.hibernate.validator.constraints.NotEmpty;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleDeleteParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -40026518356914854L;
|
||||
/* */ @NotEmpty(message = "76260515")
|
||||
/* */ private List<String> ids;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String parentId;
|
||||
/* */
|
||||
/* */ public List<String> getIds() {
|
||||
/* 35 */ return this.ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIds(List<String> ids) {
|
||||
/* 39 */ this.ids = ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 43 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 47 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 51 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 55 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleDeleteParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleDeleteParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -40026518356914854L;
|
||||
@NotEmpty(message = "76260515")
|
||||
private List<String> ids;
|
||||
private String zoneId;
|
||||
private String parentId;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+164
-168
@@ -1,168 +1,164 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.validation.constraints.Size;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleEditParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 924203126937866288L;
|
||||
/* */ @NotBlank(message = "76260515")
|
||||
/* */ private String id;
|
||||
/* */ private String parentId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ @NotBlank(message = "76260514")
|
||||
/* */ @Size(min = 1, max = 32, message = "76260518")
|
||||
/* */ 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() {
|
||||
/* 76 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 80 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getOldName() {
|
||||
/* 84 */ return this.oldName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setOldName(String oldName) {
|
||||
/* 88 */ this.oldName = oldName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 92 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 96 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 100 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 104 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 108 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 112 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getRuleName() {
|
||||
/* 116 */ return this.ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRuleName(String ruleName) {
|
||||
/* 120 */ this.ruleName = ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeOrganizations() {
|
||||
/* 124 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
/* 128 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeLabels() {
|
||||
/* 132 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<String> includeLabels) {
|
||||
/* 136 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getExcludeLabels() {
|
||||
/* 140 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setExcludeLabels(List<String> excludeLabels) {
|
||||
/* 144 */ this.excludeLabels = excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 148 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStartTime(Long startTime) {
|
||||
/* 152 */ this.startTime = startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 156 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(Long endTime) {
|
||||
/* 160 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleEditParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 924203126937866288L;
|
||||
@NotBlank(message = "76260515")
|
||||
private String id;
|
||||
private String parentId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
@NotBlank(message = "76260514")
|
||||
@Size(min = 1, max = 32, message = "76260518")
|
||||
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() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getOldName() {
|
||||
return this.oldName;
|
||||
}
|
||||
|
||||
public void setOldName(String oldName) {
|
||||
this.oldName = oldName;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public void setRuleName(String ruleName) {
|
||||
this.ruleName = ruleName;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public List<String> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<String> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+29
-33
@@ -1,33 +1,29 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleFloorParam
|
||||
/* */ extends CloudwalkBasePageForm
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 137892620174267456L;
|
||||
/* */ 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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleFloorParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleFloorParam
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 137892620174267456L;
|
||||
private String zoneId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+81
-85
@@ -1,85 +1,81 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleImageParam
|
||||
/* */ 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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleImageParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleImageParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private List<String> imageStoreIds;
|
||||
private String businessId;
|
||||
private String personId;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> includeLabels;
|
||||
|
||||
public List<String> getImageStoreIds() {
|
||||
return this.imageStoreIds;
|
||||
}
|
||||
|
||||
public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
this.imageStoreIds = imageStoreIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+31
-35
@@ -1,35 +1,31 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleIsDefaultParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 137892620174267456L;
|
||||
/* */ private String zoneId;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 23 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 27 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleIsDefaultParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleIsDefaultParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 137892620174267456L;
|
||||
private String zoneId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+150
-154
@@ -1,154 +1,150 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.validation.constraints.Size;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleNewParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 137892620174267456L;
|
||||
/* */ private String parentId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ @NotBlank(message = "76260514")
|
||||
/* */ @Size(min = 1, max = 32, message = "76260518")
|
||||
/* */ private String ruleName;
|
||||
/* */ private List<String> includeLabels;
|
||||
/* */ private List<String> includeOrganizations;
|
||||
/* */ private List<String> excludeLabels;
|
||||
/* */ private Long startTime;
|
||||
/* */ private Long endTime;
|
||||
/* */ private Integer isDefault;
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 70 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 74 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 78 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 82 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 86 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 90 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getRuleName() {
|
||||
/* 94 */ return this.ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRuleName(String ruleName) {
|
||||
/* 98 */ this.ruleName = ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeLabels() {
|
||||
/* 102 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<String> includeLabels) {
|
||||
/* 106 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getIncludeOrganizations() {
|
||||
/* 110 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
/* 114 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getExcludeLabels() {
|
||||
/* 118 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setExcludeLabels(List<String> excludeLabels) {
|
||||
/* 122 */ this.excludeLabels = excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 126 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStartTime(Long startTime) {
|
||||
/* 130 */ this.startTime = startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 134 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(Long endTime) {
|
||||
/* 138 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 142 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsDefault(Integer isDefault) {
|
||||
/* 146 */ this.isDefault = isDefault;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleNewParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 137892620174267456L;
|
||||
private String parentId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
@NotBlank(message = "76260514")
|
||||
@Size(min = 1, max = 32, message = "76260518")
|
||||
private String ruleName;
|
||||
private List<String> includeLabels;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> excludeLabels;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public void setRuleName(String ruleName) {
|
||||
this.ruleName = ruleName;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<String> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+30
-34
@@ -1,34 +1,30 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRulePersonListParam
|
||||
/* */ extends CloudwalkBasePageForm
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -52687427633888290L;
|
||||
/* */ private List<AcsPassRuleImageParam> personList;
|
||||
/* */
|
||||
/* */ public List<AcsPassRuleImageParam> getPersonList() {
|
||||
/* 22 */ return this.personList;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonList(List<AcsPassRuleImageParam> 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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRulePersonListParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRulePersonListParam
|
||||
extends CloudwalkBasePageForm
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private List<AcsPassRuleImageParam> personList;
|
||||
|
||||
public List<AcsPassRuleImageParam> getPersonList() {
|
||||
return this.personList;
|
||||
}
|
||||
|
||||
public void setPersonList(List<AcsPassRuleImageParam> personList) {
|
||||
this.personList = personList;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+92
-96
@@ -1,96 +1,92 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleQueryParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -31004388036379268L;
|
||||
/* */ private String id;
|
||||
/* */ private String parentId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private Integer isDefault;
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 44 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 48 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 52 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 56 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 60 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 64 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 68 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 72 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 76 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 80 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 84 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsDefault(Integer isDefault) {
|
||||
/* 88 */ this.isDefault = isDefault;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassRuleQueryParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleQueryParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -31004388036379268L;
|
||||
private String id;
|
||||
private String parentId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String imageStoreId;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+75
-79
@@ -1,79 +1,75 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.validation.constraints.Size;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassTimeAddParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 8600793178515359164L;
|
||||
/* */ @NotBlank(message = "76260512")
|
||||
/* */ @Size(min = 1, max = 64, message = "76260519")
|
||||
/* */ private String passableTimeName;
|
||||
/* */ private Long beginDate;
|
||||
/* */ private Long endDate;
|
||||
/* */ private List<AcsPassTimeCycleParam> passableCycle;
|
||||
/* */
|
||||
/* */ public String getPassableTimeName() {
|
||||
/* 43 */ return this.passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableTimeName(String passableTimeName) {
|
||||
/* 47 */ this.passableTimeName = passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 51 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 55 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 59 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 63 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
/* 67 */ return this.passableCycle;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
/* 71 */ this.passableCycle = passableCycle;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassTimeAddParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassTimeAddParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 8600793178515359164L;
|
||||
@NotBlank(message = "76260512")
|
||||
@Size(min = 1, max = 64, message = "76260519")
|
||||
private String passableTimeName;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private List<AcsPassTimeCycleParam> passableCycle;
|
||||
|
||||
public String getPassableTimeName() {
|
||||
return this.passableTimeName;
|
||||
}
|
||||
|
||||
public void setPassableTimeName(String passableTimeName) {
|
||||
this.passableTimeName = passableTimeName;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
return this.passableCycle;
|
||||
}
|
||||
|
||||
public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
this.passableCycle = passableCycle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+45
-49
@@ -1,49 +1,45 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassTimeCycleParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 9084516985152275888L;
|
||||
/* */ private int weekday;
|
||||
/* */ private List<AcsPassTimeParam> time;
|
||||
/* */
|
||||
/* */ public int getWeekday() {
|
||||
/* 29 */ return this.weekday;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setWeekday(int weekday) {
|
||||
/* 33 */ this.weekday = weekday;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsPassTimeParam> getTime() {
|
||||
/* 37 */ return this.time;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setTime(List<AcsPassTimeParam> time) {
|
||||
/* 41 */ this.time = time;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassTimeCycleParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassTimeCycleParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 9084516985152275888L;
|
||||
private int weekday;
|
||||
private List<AcsPassTimeParam> time;
|
||||
|
||||
public int getWeekday() {
|
||||
return this.weekday;
|
||||
}
|
||||
|
||||
public void setWeekday(int weekday) {
|
||||
this.weekday = weekday;
|
||||
}
|
||||
|
||||
public List<AcsPassTimeParam> getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
public void setTime(List<AcsPassTimeParam> time) {
|
||||
this.time = time;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+34
-38
@@ -1,38 +1,34 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import org.hibernate.validator.constraints.NotEmpty;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassTimeDeleteParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -1142611457619464538L;
|
||||
/* */ @NotEmpty(message = "76260513")
|
||||
/* */ private List<String> ids;
|
||||
/* */
|
||||
/* */ public List<String> getIds() {
|
||||
/* 26 */ return this.ids;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIds(List<String> ids) {
|
||||
/* 30 */ this.ids = ids;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassTimeDeleteParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassTimeDeleteParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -1142611457619464538L;
|
||||
@NotEmpty(message = "76260513")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+89
-93
@@ -1,93 +1,89 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import javax.validation.constraints.Size;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassTimeEditParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -8271994630899900554L;
|
||||
/* */ @NotBlank(message = "76260513")
|
||||
/* */ private String id;
|
||||
/* */ @NotBlank(message = "76260512")
|
||||
/* */ @Size(min = 1, max = 64, message = "76260519")
|
||||
/* */ private String passableTimeName;
|
||||
/* */ private Long beginDate;
|
||||
/* */ private Long endDate;
|
||||
/* */ private List<AcsPassTimeCycleParam> passableCycle;
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 49 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 53 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPassableTimeName() {
|
||||
/* 57 */ return this.passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableTimeName(String passableTimeName) {
|
||||
/* 61 */ this.passableTimeName = passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 65 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 69 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 73 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 77 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
/* 81 */ return this.passableCycle;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
/* 85 */ this.passableCycle = passableCycle;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassTimeEditParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassTimeEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -8271994630899900554L;
|
||||
@NotBlank(message = "76260513")
|
||||
private String id;
|
||||
@NotBlank(message = "76260512")
|
||||
@Size(min = 1, max = 64, message = "76260519")
|
||||
private String passableTimeName;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private List<AcsPassTimeCycleParam> passableCycle;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getPassableTimeName() {
|
||||
return this.passableTimeName;
|
||||
}
|
||||
|
||||
public void setPassableTimeName(String passableTimeName) {
|
||||
this.passableTimeName = passableTimeName;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
return this.passableCycle;
|
||||
}
|
||||
|
||||
public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
this.passableCycle = passableCycle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+44
-48
@@ -1,48 +1,44 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassTimeParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 7496987389322298594L;
|
||||
/* */ private String beginTime;
|
||||
/* */ private String endTime;
|
||||
/* */
|
||||
/* */ public String getBeginTime() {
|
||||
/* 28 */ return this.beginTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginTime(String beginTime) {
|
||||
/* 32 */ this.beginTime = beginTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getEndTime() {
|
||||
/* 36 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(String endTime) {
|
||||
/* 40 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassTimeParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassTimeParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 7496987389322298594L;
|
||||
private String beginTime;
|
||||
private String endTime;
|
||||
|
||||
public String getBeginTime() {
|
||||
return this.beginTime;
|
||||
}
|
||||
|
||||
public void setBeginTime(String beginTime) {
|
||||
this.beginTime = beginTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+33
-37
@@ -1,37 +1,33 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassTimeQueryParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 7311660131290856391L;
|
||||
/* */ @NotBlank(message = "76260513")
|
||||
/* */ private String id;
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 25 */ 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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\param\AcsPassTimeQueryParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassTimeQueryParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 7311660131290856391L;
|
||||
@NotBlank(message = "76260513")
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+203
-207
@@ -1,207 +1,203 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.result;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassTimeCycleParam;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleDetailResult
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -90554404684210529L;
|
||||
/* */ private String id;
|
||||
/* */ private String ruleName;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ private Long beginDate;
|
||||
/* */ private Long endDate;
|
||||
/* */ private String validDateCron;
|
||||
/* */ private String validDateJson;
|
||||
/* */ private List<LabelResult> excludeLabels;
|
||||
/* */ private List<OrganizationResult> includeOrganizations;
|
||||
/* */ private List<LabelResult> includeLabels;
|
||||
/* */ private List<AcsPassTimeCycleParam> passableCycle;
|
||||
/* */ private Integer passType;
|
||||
/* */
|
||||
/* */ public String getRuleName() {
|
||||
/* 91 */ return this.ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRuleName(String ruleName) {
|
||||
/* 95 */ this.ruleName = ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 99 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 103 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 107 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 111 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 115 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 119 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 123 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 127 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 131 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 135 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 139 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 143 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<LabelResult> getExcludeLabels() {
|
||||
/* 147 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setExcludeLabels(List<LabelResult> excludeLabels) {
|
||||
/* 151 */ this.excludeLabels = excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<OrganizationResult> getIncludeOrganizations() {
|
||||
/* 155 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
/* 159 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<LabelResult> getIncludeLabels() {
|
||||
/* 163 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<LabelResult> includeLabels) {
|
||||
/* 167 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
/* 171 */ return this.passableCycle;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
/* 175 */ this.passableCycle = passableCycle;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getPassType() {
|
||||
/* 179 */ return this.passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassType(Integer passType) {
|
||||
/* 183 */ this.passType = passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 187 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 191 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 195 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 199 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\result\AcsPassRuleDetailResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.result;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassTimeCycleParam;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleDetailResult
|
||||
{
|
||||
private static final long serialVersionUID = -90554404684210529L;
|
||||
private String id;
|
||||
private String ruleName;
|
||||
private String imageStoreId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private List<LabelResult> excludeLabels;
|
||||
private List<OrganizationResult> includeOrganizations;
|
||||
private List<LabelResult> includeLabels;
|
||||
private List<AcsPassTimeCycleParam> passableCycle;
|
||||
private Integer passType;
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public void setRuleName(String ruleName) {
|
||||
this.ruleName = ruleName;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public List<LabelResult> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<LabelResult> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public List<OrganizationResult> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<LabelResult> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<LabelResult> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
return this.passableCycle;
|
||||
}
|
||||
|
||||
public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
this.passableCycle = passableCycle;
|
||||
}
|
||||
|
||||
public Integer getPassType() {
|
||||
return this.passType;
|
||||
}
|
||||
|
||||
public void setPassType(Integer passType) {
|
||||
this.passType = passType;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+47
-51
@@ -1,51 +1,47 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */ public class AcsPassRuleFloorResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -90554404684210529L;
|
||||
/* */ private String id;
|
||||
/* */ private String name;
|
||||
/* */ private Integer deviceNumber;
|
||||
/* */ private Integer unitNumber;
|
||||
/* */ private Long personNumber;
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 16 */ this.id = id; } public void setName(String name) { this.name = name; } public void setDeviceNumber(Integer deviceNumber) { this.deviceNumber = deviceNumber; } public void setUnitNumber(Integer unitNumber) { this.unitNumber = unitNumber; } public void setPersonNumber(Long personNumber) { this.personNumber = personNumber; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsPassRuleFloorResult)) return false; AcsPassRuleFloorResult other = (AcsPassRuleFloorResult)o; if (!other.canEqual(this)) return false; Object this$id = getId(), other$id = other.getId(); if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false; Object this$name = getName(), other$name = other.getName(); if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false; Object this$deviceNumber = getDeviceNumber(), other$deviceNumber = other.getDeviceNumber(); if ((this$deviceNumber == null) ? (other$deviceNumber != null) : !this$deviceNumber.equals(other$deviceNumber)) return false; Object this$unitNumber = getUnitNumber(), other$unitNumber = other.getUnitNumber(); if ((this$unitNumber == null) ? (other$unitNumber != null) : !this$unitNumber.equals(other$unitNumber)) return false; Object this$personNumber = getPersonNumber(), other$personNumber = other.getPersonNumber(); return !((this$personNumber == null) ? (other$personNumber != null) : !this$personNumber.equals(other$personNumber)); } protected boolean canEqual(Object other) { return other instanceof AcsPassRuleFloorResult; } public int hashCode() { int PRIME = 59; result = 1; Object $id = getId(); result = result * 59 + (($id == null) ? 43 : $id.hashCode()); Object $name = getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); Object $deviceNumber = getDeviceNumber(); result = result * 59 + (($deviceNumber == null) ? 43 : $deviceNumber.hashCode()); Object $unitNumber = getUnitNumber(); result = result * 59 + (($unitNumber == null) ? 43 : $unitNumber.hashCode()); Object $personNumber = getPersonNumber(); return result * 59 + (($personNumber == null) ? 43 : $personNumber.hashCode()); } public String toString() { return "AcsPassRuleFloorResult(id=" + getId() + ", name=" + getName() + ", deviceNumber=" + getDeviceNumber() + ", unitNumber=" + getUnitNumber() + ", personNumber=" + getPersonNumber() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 23 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getName() {
|
||||
/* 28 */ return this.name;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer getDeviceNumber() {
|
||||
/* 33 */ return this.deviceNumber;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Integer getUnitNumber() {
|
||||
/* 38 */ return this.unitNumber;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public Long getPersonNumber() {
|
||||
/* 43 */ return this.personNumber;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\result\AcsPassRuleFloorResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleFloorResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -90554404684210529L;
|
||||
private String id;
|
||||
private String name;
|
||||
private Integer deviceNumber;
|
||||
private Integer unitNumber;
|
||||
private Long personNumber;
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id; } public void setName(String name) { this.name = name; } public void setDeviceNumber(Integer deviceNumber) { this.deviceNumber = deviceNumber; } public void setUnitNumber(Integer unitNumber) { this.unitNumber = unitNumber; } public void setPersonNumber(Long personNumber) { this.personNumber = personNumber; } public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof AcsPassRuleFloorResult)) return false; AcsPassRuleFloorResult other = (AcsPassRuleFloorResult)o; if (!other.canEqual(this)) return false; Object this$id = getId(), other$id = other.getId(); if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false; Object this$name = getName(), other$name = other.getName(); if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false; Object this$deviceNumber = getDeviceNumber(), other$deviceNumber = other.getDeviceNumber(); if ((this$deviceNumber == null) ? (other$deviceNumber != null) : !this$deviceNumber.equals(other$deviceNumber)) return false; Object this$unitNumber = getUnitNumber(), other$unitNumber = other.getUnitNumber(); if ((this$unitNumber == null) ? (other$unitNumber != null) : !this$unitNumber.equals(other$unitNumber)) return false; Object this$personNumber = getPersonNumber(), other$personNumber = other.getPersonNumber(); return !((this$personNumber == null) ? (other$personNumber != null) : !this$personNumber.equals(other$personNumber)); } protected boolean canEqual(Object other) { return other instanceof AcsPassRuleFloorResult; } public int hashCode() { int PRIME = 59; result = 1; Object $id = getId(); result = result * 59 + (($id == null) ? 43 : $id.hashCode()); Object $name = getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); Object $deviceNumber = getDeviceNumber(); result = result * 59 + (($deviceNumber == null) ? 43 : $deviceNumber.hashCode()); Object $unitNumber = getUnitNumber(); result = result * 59 + (($unitNumber == null) ? 43 : $unitNumber.hashCode()); Object $personNumber = getPersonNumber(); return result * 59 + (($personNumber == null) ? 43 : $personNumber.hashCode()); } public String toString() { return "AcsPassRuleFloorResult(id=" + getId() + ", name=" + getName() + ", deviceNumber=" + getDeviceNumber() + ", unitNumber=" + getUnitNumber() + ", personNumber=" + getPersonNumber() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
|
||||
public Integer getDeviceNumber() {
|
||||
return this.deviceNumber;
|
||||
}
|
||||
|
||||
|
||||
public Integer getUnitNumber() {
|
||||
return this.unitNumber;
|
||||
}
|
||||
|
||||
|
||||
public Long getPersonNumber() {
|
||||
return this.personNumber;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+231
-235
@@ -1,235 +1,231 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.result;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImgStorePersonResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPassRuleResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -90554404684210529L;
|
||||
/* */ private String id;
|
||||
/* */ private String ruleName;
|
||||
/* */ private int personSum;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String passableTimeName;
|
||||
/* */ private String zoneId;
|
||||
/* */ private Long beginDate;
|
||||
/* */ private Long endDate;
|
||||
/* */ private String validDateCron;
|
||||
/* */ private String validDateJson;
|
||||
/* */ private List<LabelResult> excludeLabels;
|
||||
/* */ private List<OrganizationResult> includeOrganizations;
|
||||
/* */ private List<LabelResult> includeLabels;
|
||||
/* */ private List<ImgStorePersonResult> includePersons;
|
||||
/* */ private Integer passType;
|
||||
/* */ private Integer isDefault;
|
||||
/* */
|
||||
/* */ public String getRuleName() {
|
||||
/* 103 */ return this.ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRuleName(String ruleName) {
|
||||
/* 107 */ this.ruleName = ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public int getPersonSum() {
|
||||
/* 111 */ return this.personSum;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonSum(int personSum) {
|
||||
/* 115 */ this.personSum = personSum;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 119 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 123 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 127 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 131 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 135 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 139 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 143 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 147 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 151 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 155 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 159 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 163 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 167 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 171 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<LabelResult> getExcludeLabels() {
|
||||
/* 175 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setExcludeLabels(List<LabelResult> excludeLabels) {
|
||||
/* 179 */ this.excludeLabels = excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<OrganizationResult> getIncludeOrganizations() {
|
||||
/* 183 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
/* 187 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<LabelResult> getIncludeLabels() {
|
||||
/* 191 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<LabelResult> includeLabels) {
|
||||
/* 195 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPassableTimeName() {
|
||||
/* 199 */ return this.passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableTimeName(String passableTimeName) {
|
||||
/* 203 */ this.passableTimeName = passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<ImgStorePersonResult> getIncludePersons() {
|
||||
/* 207 */ return this.includePersons;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludePersons(List<ImgStorePersonResult> includePersons) {
|
||||
/* 211 */ this.includePersons = includePersons;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getPassType() {
|
||||
/* 215 */ return this.passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassType(Integer passType) {
|
||||
/* 219 */ this.passType = passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 223 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsDefault(Integer isDefault) {
|
||||
/* 227 */ this.isDefault = isDefault;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\result\AcsPassRuleResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.result;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImgStorePersonResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPassRuleResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -90554404684210529L;
|
||||
private String id;
|
||||
private String ruleName;
|
||||
private int personSum;
|
||||
private String imageStoreId;
|
||||
private String passableTimeName;
|
||||
private String zoneId;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private List<LabelResult> excludeLabels;
|
||||
private List<OrganizationResult> includeOrganizations;
|
||||
private List<LabelResult> includeLabels;
|
||||
private List<ImgStorePersonResult> includePersons;
|
||||
private Integer passType;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public void setRuleName(String ruleName) {
|
||||
this.ruleName = ruleName;
|
||||
}
|
||||
|
||||
public int getPersonSum() {
|
||||
return this.personSum;
|
||||
}
|
||||
|
||||
public void setPersonSum(int personSum) {
|
||||
this.personSum = personSum;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public List<LabelResult> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<LabelResult> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public List<OrganizationResult> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<LabelResult> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<LabelResult> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public String getPassableTimeName() {
|
||||
return this.passableTimeName;
|
||||
}
|
||||
|
||||
public void setPassableTimeName(String passableTimeName) {
|
||||
this.passableTimeName = passableTimeName;
|
||||
}
|
||||
|
||||
public List<ImgStorePersonResult> getIncludePersons() {
|
||||
return this.includePersons;
|
||||
}
|
||||
|
||||
public void setIncludePersons(List<ImgStorePersonResult> includePersons) {
|
||||
this.includePersons = includePersons;
|
||||
}
|
||||
|
||||
public Integer getPassType() {
|
||||
return this.passType;
|
||||
}
|
||||
|
||||
public void setPassType(Integer passType) {
|
||||
this.passType = passType;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+203
-207
@@ -1,207 +1,203 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.result;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelDetailResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
/* */ import cn.cloudwalk.elevator.passrule.param.AcsPassTimeCycleParam;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class ImageRuleRefDetailResult
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -90554404684210529L;
|
||||
/* */ private String id;
|
||||
/* */ private String ruleName;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ private Long beginDate;
|
||||
/* */ private Long endDate;
|
||||
/* */ private String validDateCron;
|
||||
/* */ private String validDateJson;
|
||||
/* */ private List<String> excludeLabels;
|
||||
/* */ private List<OrganizationResult> includeOrganizations;
|
||||
/* */ private List<LabelDetailResult> includeLabels;
|
||||
/* */ private List<AcsPassTimeCycleParam> passableCycle;
|
||||
/* */ private Integer passType;
|
||||
/* */
|
||||
/* */ public String getRuleName() {
|
||||
/* 91 */ return this.ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRuleName(String ruleName) {
|
||||
/* 95 */ this.ruleName = ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 99 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 103 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 107 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 111 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 115 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 119 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 123 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 127 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 131 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 135 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 139 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 143 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getExcludeLabels() {
|
||||
/* 147 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setExcludeLabels(List<String> excludeLabels) {
|
||||
/* 151 */ this.excludeLabels = excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<OrganizationResult> getIncludeOrganizations() {
|
||||
/* 155 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
/* 159 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<LabelDetailResult> getIncludeLabels() {
|
||||
/* 163 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<LabelDetailResult> includeLabels) {
|
||||
/* 167 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
/* 171 */ return this.passableCycle;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
/* 175 */ this.passableCycle = passableCycle;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getPassType() {
|
||||
/* 179 */ return this.passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassType(Integer passType) {
|
||||
/* 183 */ this.passType = passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 187 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 191 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 195 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 199 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\result\ImageRuleRefDetailResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.result;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelDetailResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassTimeCycleParam;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ImageRuleRefDetailResult
|
||||
{
|
||||
private static final long serialVersionUID = -90554404684210529L;
|
||||
private String id;
|
||||
private String ruleName;
|
||||
private String imageStoreId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private List<String> excludeLabels;
|
||||
private List<OrganizationResult> includeOrganizations;
|
||||
private List<LabelDetailResult> includeLabels;
|
||||
private List<AcsPassTimeCycleParam> passableCycle;
|
||||
private Integer passType;
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public void setRuleName(String ruleName) {
|
||||
this.ruleName = ruleName;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public List<String> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<String> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public List<OrganizationResult> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<LabelDetailResult> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<LabelDetailResult> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public List<AcsPassTimeCycleParam> getPassableCycle() {
|
||||
return this.passableCycle;
|
||||
}
|
||||
|
||||
public void setPassableCycle(List<AcsPassTimeCycleParam> passableCycle) {
|
||||
this.passableCycle = passableCycle;
|
||||
}
|
||||
|
||||
public Integer getPassType() {
|
||||
return this.passType;
|
||||
}
|
||||
|
||||
public void setPassType(Integer passType) {
|
||||
this.passType = passType;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+231
-235
@@ -1,235 +1,231 @@
|
||||
/* */ package cn.cloudwalk.elevator.passrule.result;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImgStorePersonResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelDetailResult;
|
||||
/* */ import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class ImageRuleRefPageResult
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -90554404684210529L;
|
||||
/* */ private String id;
|
||||
/* */ private String ruleName;
|
||||
/* */ private int personSum;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String passableTimeName;
|
||||
/* */ private String zoneId;
|
||||
/* */ private Long beginDate;
|
||||
/* */ private Long endDate;
|
||||
/* */ private String validDateCron;
|
||||
/* */ private String validDateJson;
|
||||
/* */ private List<String> excludeLabels;
|
||||
/* */ private List<OrganizationResult> includeOrganizations;
|
||||
/* */ private List<LabelDetailResult> includeLabels;
|
||||
/* */ private List<ImgStorePersonResult> includePersons;
|
||||
/* */ private Integer passType;
|
||||
/* */ private Integer isDefault;
|
||||
/* */
|
||||
/* */ public String getRuleName() {
|
||||
/* 103 */ return this.ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setRuleName(String ruleName) {
|
||||
/* 107 */ this.ruleName = ruleName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public int getPersonSum() {
|
||||
/* 111 */ return this.personSum;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonSum(int personSum) {
|
||||
/* 115 */ this.personSum = personSum;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getId() {
|
||||
/* 119 */ return this.id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setId(String id) {
|
||||
/* 123 */ this.id = id;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 127 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 131 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 135 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 139 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getBeginDate() {
|
||||
/* 143 */ return this.beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setBeginDate(Long beginDate) {
|
||||
/* 147 */ this.beginDate = beginDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndDate() {
|
||||
/* 151 */ return this.endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndDate(Long endDate) {
|
||||
/* 155 */ this.endDate = endDate;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateCron() {
|
||||
/* 159 */ return this.validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateCron(String validDateCron) {
|
||||
/* 163 */ this.validDateCron = validDateCron;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getValidDateJson() {
|
||||
/* 167 */ return this.validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setValidDateJson(String validDateJson) {
|
||||
/* 171 */ this.validDateJson = validDateJson;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getExcludeLabels() {
|
||||
/* 175 */ return this.excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setExcludeLabels(List<String> excludeLabels) {
|
||||
/* 179 */ this.excludeLabels = excludeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<OrganizationResult> getIncludeOrganizations() {
|
||||
/* 183 */ return this.includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
/* 187 */ this.includeOrganizations = includeOrganizations;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<LabelDetailResult> getIncludeLabels() {
|
||||
/* 191 */ return this.includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludeLabels(List<LabelDetailResult> includeLabels) {
|
||||
/* 195 */ this.includeLabels = includeLabels;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPassableTimeName() {
|
||||
/* 199 */ return this.passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassableTimeName(String passableTimeName) {
|
||||
/* 203 */ this.passableTimeName = passableTimeName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<ImgStorePersonResult> getIncludePersons() {
|
||||
/* 207 */ return this.includePersons;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIncludePersons(List<ImgStorePersonResult> includePersons) {
|
||||
/* 211 */ this.includePersons = includePersons;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getPassType() {
|
||||
/* 215 */ return this.passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassType(Integer passType) {
|
||||
/* 219 */ this.passType = passType;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getIsDefault() {
|
||||
/* 223 */ return this.isDefault;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setIsDefault(Integer isDefault) {
|
||||
/* 227 */ this.isDefault = isDefault;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\result\ImageRuleRefPageResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.result;
|
||||
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.imagestore.result.ImgStorePersonResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.label.result.LabelDetailResult;
|
||||
import cn.cloudwalk.client.cwoscomponent.intelligent.organization.result.OrganizationResult;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ImageRuleRefPageResult
|
||||
{
|
||||
private static final long serialVersionUID = -90554404684210529L;
|
||||
private String id;
|
||||
private String ruleName;
|
||||
private int personSum;
|
||||
private String imageStoreId;
|
||||
private String passableTimeName;
|
||||
private String zoneId;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private List<String> excludeLabels;
|
||||
private List<OrganizationResult> includeOrganizations;
|
||||
private List<LabelDetailResult> includeLabels;
|
||||
private List<ImgStorePersonResult> includePersons;
|
||||
private Integer passType;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getRuleName() {
|
||||
return this.ruleName;
|
||||
}
|
||||
|
||||
public void setRuleName(String ruleName) {
|
||||
this.ruleName = ruleName;
|
||||
}
|
||||
|
||||
public int getPersonSum() {
|
||||
return this.personSum;
|
||||
}
|
||||
|
||||
public void setPersonSum(int personSum) {
|
||||
this.personSum = personSum;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public List<String> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<String> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public List<OrganizationResult> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<OrganizationResult> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<LabelDetailResult> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<LabelDetailResult> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public String getPassableTimeName() {
|
||||
return this.passableTimeName;
|
||||
}
|
||||
|
||||
public void setPassableTimeName(String passableTimeName) {
|
||||
this.passableTimeName = passableTimeName;
|
||||
}
|
||||
|
||||
public List<ImgStorePersonResult> getIncludePersons() {
|
||||
return this.includePersons;
|
||||
}
|
||||
|
||||
public void setIncludePersons(List<ImgStorePersonResult> includePersons) {
|
||||
this.includePersons = includePersons;
|
||||
}
|
||||
|
||||
public Integer getPassType() {
|
||||
return this.passType;
|
||||
}
|
||||
|
||||
public void setPassType(Integer passType) {
|
||||
this.passType = passType;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+41
-45
@@ -1,45 +1,41 @@
|
||||
package cn.cloudwalk.elevator.passrule.service;
|
||||
|
||||
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.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
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.AcsPassRuleIsDefaultParam;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassRuleNewParam;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassRuleQueryParam;
|
||||
import cn.cloudwalk.elevator.passrule.result.AcsPassRuleDetailResult;
|
||||
import cn.cloudwalk.elevator.passrule.result.AcsPassRuleFloorResult;
|
||||
import cn.cloudwalk.elevator.passrule.result.AcsPassRuleResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsPassRuleService {
|
||||
CloudwalkResult<List<AcsPassRuleFloorResult>> listFloor(AcsPassRuleFloorParam paramAcsPassRuleFloorParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> getIsDefaultByZoneId(AcsPassRuleIsDefaultParam paramAcsPassRuleIsDefaultParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> add(AcsPassRuleNewParam paramAcsPassRuleNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> update(AcsPassRuleEditParam paramAcsPassRuleEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AcsPassRuleDeleteParam paramAcsPassRuleDeleteParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<AcsPassRuleDetailResult> detail(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AcsPassRuleResult>> page(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRuleResult>> list(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRuleImageResultDto>> listByImageId(AcsPassRuleImageParam paramAcsPassRuleImageParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\service\AcsPassRuleService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.service;
|
||||
|
||||
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.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
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.AcsPassRuleIsDefaultParam;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassRuleNewParam;
|
||||
import cn.cloudwalk.elevator.passrule.param.AcsPassRuleQueryParam;
|
||||
import cn.cloudwalk.elevator.passrule.result.AcsPassRuleDetailResult;
|
||||
import cn.cloudwalk.elevator.passrule.result.AcsPassRuleFloorResult;
|
||||
import cn.cloudwalk.elevator.passrule.result.AcsPassRuleResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsPassRuleService {
|
||||
CloudwalkResult<List<AcsPassRuleFloorResult>> listFloor(AcsPassRuleFloorParam paramAcsPassRuleFloorParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> getIsDefaultByZoneId(AcsPassRuleIsDefaultParam paramAcsPassRuleIsDefaultParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> add(AcsPassRuleNewParam paramAcsPassRuleNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> update(AcsPassRuleEditParam paramAcsPassRuleEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AcsPassRuleDeleteParam paramAcsPassRuleDeleteParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<AcsPassRuleDetailResult> detail(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AcsPassRuleResult>> page(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRuleResult>> list(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRuleImageResultDto>> listByImageId(AcsPassRuleImageParam paramAcsPassRuleImageParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+40
-44
@@ -1,44 +1,40 @@
|
||||
package cn.cloudwalk.elevator.passrule.service;
|
||||
|
||||
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.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListResultDto;
|
||||
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 java.util.List;
|
||||
|
||||
public interface ImageRuleRefService {
|
||||
CloudwalkResult<CloudwalkPageAble<ImageRuleRefPageResult>> page(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AcsPassRuleFloorResult>> listFloor(AcsPassRuleFloorParam paramAcsPassRuleFloorParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRuleImageResultDto>> listByPersonInfo(AcsPassRuleImageParam paramAcsPassRuleImageParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRulePersonListResultDto>> listByPersonList(AcsPassRulePersonListParam paramAcsPassRulePersonListParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<ImageRuleRefDetailResult> detail(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> addOnlyRule(AcsPassRuleNewParam paramAcsPassRuleNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> update(AcsPassRuleEditParam paramAcsPassRuleEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AcsPassRuleDeleteParam paramAcsPassRuleDeleteParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\passrule\service\ImageRuleRefService.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.passrule.service;
|
||||
|
||||
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.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListResultDto;
|
||||
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 java.util.List;
|
||||
|
||||
public interface ImageRuleRefService {
|
||||
CloudwalkResult<CloudwalkPageAble<ImageRuleRefPageResult>> page(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<CloudwalkPageAble<AcsPassRuleFloorResult>> listFloor(AcsPassRuleFloorParam paramAcsPassRuleFloorParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRuleImageResultDto>> listByPersonInfo(AcsPassRuleImageParam paramAcsPassRuleImageParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<AcsPassRulePersonListResultDto>> listByPersonList(AcsPassRulePersonListParam paramAcsPassRulePersonListParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<ImageRuleRefDetailResult> detail(AcsPassRuleQueryParam paramAcsPassRuleQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> addOnlyRule(AcsPassRuleNewParam paramAcsPassRuleNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> update(AcsPassRuleEditParam paramAcsPassRuleEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> delete(AcsPassRuleDeleteParam paramAcsPassRuleDeleteParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+793
-797
File diff suppressed because it is too large
Load Diff
+631
-635
File diff suppressed because it is too large
Load Diff
+75
-79
@@ -1,79 +1,75 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import javax.validation.Valid;
|
||||
/* */ import javax.validation.constraints.NotNull;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonAddNewParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -943980110684030345L;
|
||||
/* */ private String zoneId;
|
||||
/* */ private Long startTime;
|
||||
/* */ private Long endTime;
|
||||
/* */ @Valid
|
||||
/* */ @NotNull(message = "76260408")
|
||||
/* */ private AcsPersonPropertiesParam personProperties;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 43 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 47 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 51 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStartTime(Long startTime) {
|
||||
/* 55 */ this.startTime = startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 59 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(Long endTime) {
|
||||
/* 63 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public AcsPersonPropertiesParam getPersonProperties() {
|
||||
/* 67 */ return this.personProperties;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonProperties(AcsPersonPropertiesParam personProperties) {
|
||||
/* 71 */ this.personProperties = personProperties;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonAddNewParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonAddNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -943980110684030345L;
|
||||
private String zoneId;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
@Valid
|
||||
@NotNull(message = "76260408")
|
||||
private AcsPersonPropertiesParam personProperties;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public AcsPersonPropertiesParam getPersonProperties() {
|
||||
return this.personProperties;
|
||||
}
|
||||
|
||||
public void setPersonProperties(AcsPersonPropertiesParam personProperties) {
|
||||
this.personProperties = personProperties;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+100
-104
@@ -1,104 +1,100 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import org.hibernate.validator.constraints.NotEmpty;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonAddParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 1742648191193141962L;
|
||||
/* */ private String parentId;
|
||||
/* */ private String zoneId;
|
||||
/* */ private String zoneName;
|
||||
/* */ @NotEmpty(message = "76260405")
|
||||
/* */ private List<String> personIds;
|
||||
/* */ private Long startTime;
|
||||
/* */ private Long endTime;
|
||||
/* */
|
||||
/* */ public String getZoneName() {
|
||||
/* 52 */ return this.zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneName(String zoneName) {
|
||||
/* 56 */ this.zoneName = zoneName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 60 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 64 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 68 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 72 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getPersonIds() {
|
||||
/* 76 */ return this.personIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonIds(List<String> personIds) {
|
||||
/* 80 */ this.personIds = personIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 84 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStartTime(Long startTime) {
|
||||
/* 88 */ this.startTime = startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 92 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(Long endTime) {
|
||||
/* 96 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonAddParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonAddParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1742648191193141962L;
|
||||
private String parentId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
@NotEmpty(message = "76260405")
|
||||
private List<String> personIds;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+48
-52
@@ -1,52 +1,48 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */ public class AcsPersonAddVisitorParam
|
||||
/* */ 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 AcsPersonAddVisitorParam)) return false; AcsPersonAddVisitorParam other = (AcsPersonAddVisitorParam)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 AcsPersonAddVisitorParam; } 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 "AcsPersonAddVisitorParam(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-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonAddVisitorParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPersonAddVisitorParam
|
||||
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) {
|
||||
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 AcsPersonAddVisitorParam)) return false; AcsPersonAddVisitorParam other = (AcsPersonAddVisitorParam)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 AcsPersonAddVisitorParam; } 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 "AcsPersonAddVisitorParam(visitorId=" + getVisitorId() + ", personId=" + getPersonId() + ", begVisitorTime=" + getBegVisitorTime() + ", endVisitorTime=" + getEndVisitorTime() + ", floorIds=" + getFloorIds() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getVisitorId() {
|
||||
return this.visitorId;
|
||||
}
|
||||
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
|
||||
public Long getBegVisitorTime() {
|
||||
return this.begVisitorTime;
|
||||
}
|
||||
|
||||
|
||||
public Long getEndVisitorTime() {
|
||||
return this.endVisitorTime;
|
||||
}
|
||||
|
||||
|
||||
public List<String> getFloorIds() {
|
||||
return this.floorIds;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+56
-60
@@ -1,60 +1,56 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonCheckTimeParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -4963269689428542769L;
|
||||
/* */ private String personId;
|
||||
/* */ private List<String> imageStoreIds;
|
||||
/* */ private Long time;
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 32 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 36 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getImageStoreIds() {
|
||||
/* 40 */ return this.imageStoreIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
/* 44 */ this.imageStoreIds = imageStoreIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getTime() {
|
||||
/* 48 */ return this.time;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setTime(Long time) {
|
||||
/* 52 */ this.time = time;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonCheckTimeParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonCheckTimeParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -4963269689428542769L;
|
||||
private String personId;
|
||||
private List<String> imageStoreIds;
|
||||
private Long time;
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public List<String> getImageStoreIds() {
|
||||
return this.imageStoreIds;
|
||||
}
|
||||
|
||||
public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
this.imageStoreIds = imageStoreIds;
|
||||
}
|
||||
|
||||
public Long getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+88
-92
@@ -1,92 +1,88 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */ import org.hibernate.validator.constraints.NotEmpty;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonDeleteParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 1742648191193141962L;
|
||||
/* */ private String parentId;
|
||||
/* */ private String zoneId;
|
||||
/* */ @NotEmpty(message = "76260405")
|
||||
/* */ private List<String> personIds;
|
||||
/* */ @NotBlank(message = "76260418")
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String personId;
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 48 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 52 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 56 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setParentId(String parentId) {
|
||||
/* 60 */ this.parentId = parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 64 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 68 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getPersonIds() {
|
||||
/* 72 */ return this.personIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonIds(List<String> personIds) {
|
||||
/* 76 */ this.personIds = personIds;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 80 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 84 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonDeleteParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonDeleteParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1742648191193141962L;
|
||||
private String parentId;
|
||||
private String zoneId;
|
||||
@NotEmpty(message = "76260405")
|
||||
private List<String> personIds;
|
||||
@NotBlank(message = "76260418")
|
||||
private String imageStoreId;
|
||||
private String personId;
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+46
-50
@@ -1,50 +1,46 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonDetailParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -4991936524378444365L;
|
||||
/* */ private String zoneId;
|
||||
/* */ @NotBlank(message = "76260405")
|
||||
/* */ private String personId;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 30 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 34 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 38 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 42 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonDetailParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonDetailParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -4991936524378444365L;
|
||||
private String zoneId;
|
||||
@NotBlank(message = "76260405")
|
||||
private String personId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+86
-90
@@ -1,90 +1,86 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonEditParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 1742648191193141962L;
|
||||
/* */ private String zoneId;
|
||||
/* */ @NotBlank(message = "76260405")
|
||||
/* */ private String personId;
|
||||
/* */ private Long startTime;
|
||||
/* */ private Long endTime;
|
||||
/* */ @NotBlank(message = "76260418")
|
||||
/* */ private String imageStoreId;
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 46 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setZoneId(String zoneId) {
|
||||
/* 50 */ this.zoneId = zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 54 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 58 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getStartTime() {
|
||||
/* 62 */ return this.startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setStartTime(Long startTime) {
|
||||
/* 66 */ this.startTime = startTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Long getEndTime() {
|
||||
/* 70 */ return this.endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setEndTime(Long endTime) {
|
||||
/* 74 */ this.endTime = endTime;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 78 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 82 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonEditParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1742648191193141962L;
|
||||
private String zoneId;
|
||||
@NotBlank(message = "76260405")
|
||||
private String personId;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
@NotBlank(message = "76260418")
|
||||
private String imageStoreId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+47
-51
@@ -1,51 +1,47 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonFaceParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 1742648191193141962L;
|
||||
/* */ @NotBlank(message = "76260402")
|
||||
/* */ private String deviceId;
|
||||
/* */ @NotBlank(message = "76260403")
|
||||
/* */ private String faceImage;
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 31 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 35 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getFaceImage() {
|
||||
/* 39 */ return this.faceImage;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setFaceImage(String faceImage) {
|
||||
/* 43 */ this.faceImage = faceImage;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonFaceParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonFaceParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1742648191193141962L;
|
||||
@NotBlank(message = "76260402")
|
||||
private String deviceId;
|
||||
@NotBlank(message = "76260403")
|
||||
private String faceImage;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getFaceImage() {
|
||||
return this.faceImage;
|
||||
}
|
||||
|
||||
public void setFaceImage(String faceImage) {
|
||||
this.faceImage = faceImage;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+710
-714
File diff suppressed because it is too large
Load Diff
+61
-65
@@ -1,65 +1,61 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonQueryByAppParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = -4823559329166668237L;
|
||||
/* */ @NotBlank(message = "76260402")
|
||||
/* */ private String deviceId;
|
||||
/* */ @NotBlank(message = "76260415")
|
||||
/* */ private String applicationId;
|
||||
/* */ private String personName;
|
||||
/* */
|
||||
/* */ public String getDeviceId() {
|
||||
/* 37 */ return this.deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setDeviceId(String deviceId) {
|
||||
/* 41 */ this.deviceId = deviceId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getApplicationId() {
|
||||
/* 45 */ return this.applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setApplicationId(String applicationId) {
|
||||
/* 49 */ this.applicationId = applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPersonName() {
|
||||
/* 53 */ return this.personName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonName(String personName) {
|
||||
/* 57 */ this.personName = personName;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonQueryByAppParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonQueryByAppParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -4823559329166668237L;
|
||||
@NotBlank(message = "76260402")
|
||||
private String deviceId;
|
||||
@NotBlank(message = "76260415")
|
||||
private String applicationId;
|
||||
private String personName;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+75
-79
File diff suppressed because one or more lines are too long
+46
-50
@@ -1,50 +1,46 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import org.hibernate.validator.constraints.NotBlank;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonTimeDetailParam
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 9094521665731451301L;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ @NotBlank(message = "76260405")
|
||||
/* */ private String personId;
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 30 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 34 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 38 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 42 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\AcsPersonTimeDetailParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonTimeDetailParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 9094521665731451301L;
|
||||
private String imageStoreId;
|
||||
@NotBlank(message = "76260405")
|
||||
private String personId;
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+42
-46
@@ -1,46 +1,42 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.param;
|
||||
/* */
|
||||
/* */ import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */ public class PersonDetailQueryParam
|
||||
/* */ 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) {
|
||||
/* 16 */ 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 PersonDetailQueryParam)) return false; PersonDetailQueryParam other = (PersonDetailQueryParam)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 PersonDetailQueryParam; } 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 "PersonDetailQueryParam(parentId=" + getParentId() + ", zoneId=" + getZoneId() + ", ruleId=" + getRuleId() + ", personName=" + getPersonName() + ")"; }
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getParentId() {
|
||||
/* 23 */ return this.parentId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getZoneId() {
|
||||
/* 28 */ return this.zoneId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getRuleId() {
|
||||
/* 33 */ return this.ruleId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */
|
||||
/* */ public String getPersonName() {
|
||||
/* 38 */ return this.personName;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\param\PersonDetailQueryParam.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.param;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class PersonDetailQueryParam
|
||||
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) {
|
||||
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 PersonDetailQueryParam)) return false; PersonDetailQueryParam other = (PersonDetailQueryParam)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 PersonDetailQueryParam; } 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 "PersonDetailQueryParam(parentId=" + getParentId() + ", zoneId=" + getZoneId() + ", ruleId=" + getRuleId() + ", personName=" + getPersonName() + ")"; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
|
||||
public String getRuleId() {
|
||||
return this.ruleId;
|
||||
}
|
||||
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+58
-62
@@ -1,62 +1,58 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsAppResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 2531683869129123657L;
|
||||
/* */ private String applicationId;
|
||||
/* */ private String applicationName;
|
||||
/* */ private List<String> passIntervals;
|
||||
/* */
|
||||
/* */ public String getApplicationId() {
|
||||
/* 34 */ return this.applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setApplicationId(String applicationId) {
|
||||
/* 38 */ this.applicationId = applicationId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getApplicationName() {
|
||||
/* 42 */ return this.applicationName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setApplicationName(String applicationName) {
|
||||
/* 46 */ this.applicationName = applicationName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<String> getPassIntervals() {
|
||||
/* 50 */ return this.passIntervals;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPassIntervals(List<String> passIntervals) {
|
||||
/* 54 */ this.passIntervals = passIntervals;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\result\AcsAppResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsAppResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 2531683869129123657L;
|
||||
private String applicationId;
|
||||
private String applicationName;
|
||||
private List<String> passIntervals;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public String getApplicationName() {
|
||||
return this.applicationName;
|
||||
}
|
||||
|
||||
public void setApplicationName(String applicationName) {
|
||||
this.applicationName = applicationName;
|
||||
}
|
||||
|
||||
public List<String> getPassIntervals() {
|
||||
return this.passIntervals;
|
||||
}
|
||||
|
||||
public void setPassIntervals(List<String> passIntervals) {
|
||||
this.passIntervals = passIntervals;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+57
-61
@@ -1,61 +1,57 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsImageStoreStatisticsResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 2509672603592424330L;
|
||||
/* */ private String imageStoreId;
|
||||
/* */ private String imageStoreName;
|
||||
/* */ private Integer personNum;
|
||||
/* */
|
||||
/* */ public String getImageStoreId() {
|
||||
/* 33 */ return this.imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreId(String imageStoreId) {
|
||||
/* 37 */ this.imageStoreId = imageStoreId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getImageStoreName() {
|
||||
/* 41 */ return this.imageStoreName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setImageStoreName(String imageStoreName) {
|
||||
/* 45 */ this.imageStoreName = imageStoreName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public Integer getPersonNum() {
|
||||
/* 49 */ return this.personNum;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonNum(Integer personNum) {
|
||||
/* 53 */ this.personNum = personNum;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\result\AcsImageStoreStatisticsResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsImageStoreStatisticsResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 2509672603592424330L;
|
||||
private String imageStoreId;
|
||||
private String imageStoreName;
|
||||
private Integer personNum;
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getImageStoreName() {
|
||||
return this.imageStoreName;
|
||||
}
|
||||
|
||||
public void setImageStoreName(String imageStoreName) {
|
||||
this.imageStoreName = imageStoreName;
|
||||
}
|
||||
|
||||
public Integer getPersonNum() {
|
||||
return this.personNum;
|
||||
}
|
||||
|
||||
public void setPersonNum(Integer personNum) {
|
||||
this.personNum = personNum;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+32
-36
@@ -1,36 +1,32 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsImagestorePersonStatisticsResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 8443213995134853671L;
|
||||
/* */ private List<AppImageStoreStatisticsResult> appImageStores;
|
||||
/* */
|
||||
/* */ public List<AppImageStoreStatisticsResult> getAppImageStores() {
|
||||
/* 24 */ return this.appImageStores;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setAppImageStores(List<AppImageStoreStatisticsResult> appImageStores) {
|
||||
/* 28 */ this.appImageStores = appImageStores;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\result\AcsImagestorePersonStatisticsResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsImagestorePersonStatisticsResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 8443213995134853671L;
|
||||
private List<AppImageStoreStatisticsResult> appImageStores;
|
||||
|
||||
public List<AppImageStoreStatisticsResult> getAppImageStores() {
|
||||
return this.appImageStores;
|
||||
}
|
||||
|
||||
public void setAppImageStores(List<AppImageStoreStatisticsResult> appImageStores) {
|
||||
this.appImageStores = appImageStores;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+72
-76
@@ -1,76 +1,72 @@
|
||||
/* */ package cn.cloudwalk.elevator.person.result;
|
||||
/* */
|
||||
/* */ import java.io.Serializable;
|
||||
/* */ import java.util.List;
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* */ public class AcsPersonDetailResult
|
||||
/* */ implements Serializable
|
||||
/* */ {
|
||||
/* */ private static final long serialVersionUID = 6635686175965530739L;
|
||||
/* */ private String personId;
|
||||
/* */ private String personName;
|
||||
/* */ private String comparePicture;
|
||||
/* */ private List<AcsAppResult> apps;
|
||||
/* */
|
||||
/* */ public String getPersonId() {
|
||||
/* 40 */ return this.personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonId(String personId) {
|
||||
/* 44 */ this.personId = personId;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getPersonName() {
|
||||
/* 48 */ return this.personName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setPersonName(String personName) {
|
||||
/* 52 */ this.personName = personName;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public String getComparePicture() {
|
||||
/* 56 */ return this.comparePicture;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setComparePicture(String comparePicture) {
|
||||
/* 60 */ this.comparePicture = comparePicture;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public List<AcsAppResult> getApps() {
|
||||
/* 64 */ return this.apps;
|
||||
/* */ }
|
||||
/* */
|
||||
/* */ public void setApps(List<AcsAppResult> apps) {
|
||||
/* 68 */ this.apps = apps;
|
||||
/* */ }
|
||||
/* */ }
|
||||
|
||||
|
||||
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cw-elevator-application-service-1.0-SNAPSHOT.jar!\cn\cloudwalk\elevator\person\result\AcsPersonDetailResult.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
package cn.cloudwalk.elevator.person.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class AcsPersonDetailResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 6635686175965530739L;
|
||||
private String personId;
|
||||
private String personName;
|
||||
private String comparePicture;
|
||||
private List<AcsAppResult> apps;
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public String getComparePicture() {
|
||||
return this.comparePicture;
|
||||
}
|
||||
|
||||
public void setComparePicture(String comparePicture) {
|
||||
this.comparePicture = comparePicture;
|
||||
}
|
||||
|
||||
public List<AcsAppResult> getApps() {
|
||||
return this.apps;
|
||||
}
|
||||
|
||||
public void setApps(List<AcsAppResult> apps) {
|
||||
this.apps = apps;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user