mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
Initial commit: reorganized source tree
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.) - frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts - scripts/: build, test-env, tools (Docker Compose, service templates, API parity) - docs/: AGENTS.md, superpowers specs, architecture docs - .gitignore: standard Java/Maven exclusions Moved from legacy maven-*/ root layout to backend/ organized structure.
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>cn.cloudwalk.elevator</groupId>
|
||||
<artifactId>cw-elevator-application-reactor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>cw-elevator-application-data</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<alibaba.eclipse.codestyle.path>${project.basedir}/../../docs/style/alibaba-eclipse-codestyle.xml</alibaba.eclipse.codestyle.path>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>cn.cloudwalk.elevator</groupId>
|
||||
<artifactId>cw-elevator-application-common</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.cloudwalk.cloud</groupId>
|
||||
<artifactId>cloudwalk-common-result</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-beans</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis-spring</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mybatis</groupId>
|
||||
<artifactId>mybatis</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mybatis.spring.boot</groupId>
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.zaxxer</groupId>
|
||||
<artifactId>HikariCP</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.shardingsphere</groupId>
|
||||
<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>net.revelc.code.formatter</groupId>
|
||||
<artifactId>formatter-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*.xml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
package cn.cloudwalk.elevator;
|
||||
|
||||
import cn.cloudwalk.elevator.util.DateUtils;
|
||||
import com.google.common.collect.Range;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm;
|
||||
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue;
|
||||
import org.apache.shardingsphere.api.sharding.standard.RangeShardingAlgorithm;
|
||||
import org.apache.shardingsphere.api.sharding.standard.RangeShardingValue;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
public class YearlyShardingAlgorithm implements PreciseShardingAlgorithm<Long>, RangeShardingAlgorithm<Long> {
|
||||
public String doSharding(Collection<String> availableTargetNames, PreciseShardingValue<Long> shardingValue) {
|
||||
Long time = (Long)shardingValue.getValue();
|
||||
String suffix = DateUtils.formatDate(new Date(time.longValue()), "yyyy");
|
||||
String logicTableName = shardingValue.getLogicTableName();
|
||||
String actualTableName = logicTableName + "_" + suffix;
|
||||
if (!availableTargetNames.contains(actualTableName))
|
||||
;
|
||||
return actualTableName;
|
||||
}
|
||||
|
||||
public Collection<String> doSharding(Collection<String> availableTargetNames,
|
||||
RangeShardingValue<Long> shardingValue) {
|
||||
Collection<String> availables = new ArrayList<>();
|
||||
Range<Long> valueRange = shardingValue.getValueRange();
|
||||
if (!CollectionUtils.isEmpty(availableTargetNames)) {
|
||||
Integer lowerBoundYear = Integer.valueOf(-2147483648);
|
||||
Integer upperBoundYear = Integer.valueOf(2147483647);
|
||||
if (valueRange.hasLowerBound()) {
|
||||
lowerBoundYear = Integer.valueOf(Integer
|
||||
.parseInt(DateUtils.formatDate(new Date(((Long)valueRange.lowerEndpoint()).longValue()), "yyyy")));
|
||||
}
|
||||
if (valueRange.hasUpperBound()) {
|
||||
upperBoundYear = Integer.valueOf(Integer
|
||||
.parseInt(DateUtils.formatDate(new Date(((Long)valueRange.upperEndpoint()).longValue()), "yyyy")));
|
||||
}
|
||||
for (String targetTable : availableTargetNames) {
|
||||
Integer tableNameSuffix = Integer.valueOf(Integer.parseInt(
|
||||
targetTable.substring(targetTable.lastIndexOf('_') + 1, targetTable.lastIndexOf('_') + 5)));
|
||||
if (tableNameSuffix.compareTo(lowerBoundYear) < 0 || tableNameSuffix.compareTo(upperBoundYear) > 0) {
|
||||
continue;
|
||||
}
|
||||
availables.add(targetTable);
|
||||
}
|
||||
}
|
||||
return availables;
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorCodeDao {
|
||||
Integer insertNew(AcsElevatorCodeDTO paramAcsElevatorCodeDTO) throws ServiceException;
|
||||
|
||||
Integer updateOld(AcsElevatorCodeDTO paramAcsElevatorCodeDTO) throws ServiceException;
|
||||
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString);
|
||||
|
||||
List<AcsElevatorCodeResultDTO> listByZoneIds(List<String> zoneIds);
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorCodeDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private String zoneId;
|
||||
private String code;
|
||||
private String parentId;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
|
||||
public class AcsElevatorCodeQueryDTO {
|
||||
private String zoneId;
|
||||
private String id;
|
||||
private String zoneName;
|
||||
private String zoneType;
|
||||
private String code;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getZoneType() {
|
||||
return this.zoneType;
|
||||
}
|
||||
|
||||
public void setZoneType(String zoneType) {
|
||||
this.zoneType = zoneType;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.dto;
|
||||
|
||||
public class AcsElevatorCodeResultDTO {
|
||||
private String zoneId;
|
||||
private String code;
|
||||
private Integer isFirst;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Integer getIsFirst() {
|
||||
return this.isFirst;
|
||||
}
|
||||
|
||||
public void setIsFirst(Integer isFirst) {
|
||||
this.isFirst = isFirst;
|
||||
}
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dao.AcsElevatorCodeDao;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.mapper.AcsElevatorCodeMapper;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsElevatorCodeDaoImpl implements AcsElevatorCodeDao {
|
||||
@Resource
|
||||
private AcsElevatorCodeMapper acsElevatorCodeMapper;
|
||||
|
||||
public Integer insertNew(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
return Integer.valueOf(this.acsElevatorCodeMapper.insertNew(dto));
|
||||
}
|
||||
|
||||
public Integer updateOld(AcsElevatorCodeDTO dto) throws ServiceException {
|
||||
return Integer.valueOf(this.acsElevatorCodeMapper.updateOld(dto));
|
||||
}
|
||||
|
||||
public AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO dto) {
|
||||
return this.acsElevatorCodeMapper.get(dto);
|
||||
}
|
||||
|
||||
public AcsElevatorCodeResultDTO getFirstByParentId(String parentId) {
|
||||
return this.acsElevatorCodeMapper.getFirstByParentId(parentId);
|
||||
}
|
||||
|
||||
public List<AcsElevatorCodeResultDTO> listByZoneIds(List<String> zoneIds) {
|
||||
return this.acsElevatorCodeMapper.listByZoneIds(zoneIds);
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package cn.cloudwalk.elevator.codeElevatorArea.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO;
|
||||
import cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AcsElevatorCodeMapper {
|
||||
AcsElevatorCodeResultDTO get(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
int insertNew(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
int updateOld(AcsElevatorCodeDTO paramAcsElevatorCodeDTO);
|
||||
|
||||
AcsElevatorCodeResultDTO getFirstByParentId(String paramString);
|
||||
|
||||
List<AcsElevatorCodeResultDTO> listByZoneIds(@Param("zoneIds") List<String> zoneIds);
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.codeElevatorArea.mapper.AcsElevatorCodeMapper">
|
||||
|
||||
|
||||
<insert id="insertNew" parameterType="cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO">
|
||||
insert into code_elevator_area (zone_id, code, create_time, last_update_time,is_first,parent_id)
|
||||
values (#{zoneId,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR},
|
||||
#{createTime,jdbcType=BIGINT},
|
||||
#{lastUpdateTime,jdbcType=BIGINT},#{isFirst,jdbcType=TINYINT}, #{parentId,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
|
||||
|
||||
<select id="get" resultType="cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO">
|
||||
SELECT zone_id AS zoneId,code,is_first AS isFirst
|
||||
FROM code_elevator_area
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getFirstByParentId" resultType="cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO">
|
||||
SELECT zone_id AS zoneId,code,is_first AS isFirst
|
||||
FROM code_elevator_area
|
||||
WHERE parent_id = #{parentId,jdbcType=VARCHAR}
|
||||
and is_first = 1
|
||||
</select>
|
||||
|
||||
<select id="listByZoneIds" resultType="cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeResultDTO">
|
||||
SELECT zone_id AS zoneId, code, is_first AS isFirst
|
||||
FROM code_elevator_area
|
||||
WHERE zone_id IN
|
||||
<foreach collection="zoneIds" item="id" open="(" separator="," close=")">
|
||||
#{id,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
|
||||
<update id="updateOld" parameterType="cn.cloudwalk.elevator.codeElevatorArea.dto.AcsElevatorCodeDTO">
|
||||
update code_elevator_area
|
||||
<trim prefix="set" suffixOverrides=",">
|
||||
<if test="lastUpdateTime != null">
|
||||
last_update_time = #{lastUpdateTime, jdbcType=BIGINT},
|
||||
</if>
|
||||
|
||||
<if test="code != null">
|
||||
code = #{code, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="isFirst != null">
|
||||
is_first = #{isFirst, jdbcType=TINYINT},
|
||||
</if>
|
||||
</trim>
|
||||
<where>
|
||||
zone_id = #{zoneId, jdbcType=VARCHAR}
|
||||
</where>
|
||||
</update>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskDao {
|
||||
Integer insert(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateBingDevices(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateIsStop(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
AcsDeviceTaskDTO getById(String paramString);
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListByBuildingIdDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorDeviceDao {
|
||||
Integer add(AcsElevatorDeviceAddDTO paramAcsElevatorDeviceAddDTO) throws DataAccessException;
|
||||
|
||||
Integer edit(AcsElevatorDeviceEditDTO paramAcsElevatorDeviceEditDTO) throws DataAccessException;
|
||||
|
||||
Integer delete(List<String> paramList) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO,
|
||||
CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listBuBuildingId(
|
||||
AcsElevatorDeviceListByBuildingIdDto paramAcsElevatorDeviceListByBuildingIdDto) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO)
|
||||
throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO paramAcsElevatorDeviceQueryByIdDTO)
|
||||
throws ServiceException;
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(String paramString) throws ServiceException;
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO) throws ServiceException;
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package cn.cloudwalk.elevator.device.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
|
||||
public interface DeviceImageStoreDao {
|
||||
Boolean save(String paramString1, String paramString2) throws ServiceException;
|
||||
|
||||
String getByBuildingId(String paramString) throws ServiceException;
|
||||
}
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsDeviceQueryDTO implements Serializable {
|
||||
private static final long serialVersionUID = -9107652629099620576L;
|
||||
private String id;
|
||||
private List<String> ids;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private List<String> deviceIds;
|
||||
private String deviceCode;
|
||||
private String parentDeviceId;
|
||||
private List<String> parentDeviceIds;
|
||||
private Integer openStatus;
|
||||
private Integer queryParent;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<String> getDeviceIds() {
|
||||
return this.deviceIds;
|
||||
}
|
||||
|
||||
public void setDeviceIds(List<String> deviceIds) {
|
||||
this.deviceIds = deviceIds;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getParentDeviceId() {
|
||||
return this.parentDeviceId;
|
||||
}
|
||||
|
||||
public void setParentDeviceId(String parentDeviceId) {
|
||||
this.parentDeviceId = parentDeviceId;
|
||||
}
|
||||
|
||||
public List<String> getParentDeviceIds() {
|
||||
return this.parentDeviceIds;
|
||||
}
|
||||
|
||||
public void setParentDeviceIds(List<String> parentDeviceIds) {
|
||||
this.parentDeviceIds = parentDeviceIds;
|
||||
}
|
||||
|
||||
public Integer getQueryParent() {
|
||||
return this.queryParent;
|
||||
}
|
||||
|
||||
public void setQueryParent(Integer queryParent) {
|
||||
this.queryParent = queryParent;
|
||||
}
|
||||
|
||||
public Integer getOpenStatus() {
|
||||
return this.openStatus;
|
||||
}
|
||||
|
||||
public void setOpenStatus(Integer openStatus) {
|
||||
this.openStatus = openStatus;
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsDeviceResultDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 6868258119634367362L;
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String parentDeviceId;
|
||||
private String imageStoreId;
|
||||
private Integer openStatus;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getParentDeviceId() {
|
||||
return this.parentDeviceId;
|
||||
}
|
||||
|
||||
public void setParentDeviceId(String parentDeviceId) {
|
||||
this.parentDeviceId = parentDeviceId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getOpenStatus() {
|
||||
return this.openStatus;
|
||||
}
|
||||
|
||||
public void setOpenStatus(Integer openStatus) {
|
||||
this.openStatus = openStatus;
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsDeviceTaskAddDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private Integer allDevices;
|
||||
private Integer bindDevices;
|
||||
private Integer isStop;
|
||||
|
||||
public Integer getAllDevices() {
|
||||
return this.allDevices;
|
||||
}
|
||||
|
||||
public void setAllDevices(Integer allDevices) {
|
||||
this.allDevices = allDevices;
|
||||
}
|
||||
|
||||
public Integer getBindDevices() {
|
||||
return this.bindDevices;
|
||||
}
|
||||
|
||||
public void setBindDevices(Integer bindDevices) {
|
||||
this.bindDevices = bindDevices;
|
||||
}
|
||||
|
||||
public Integer getIsStop() {
|
||||
return this.isStop;
|
||||
}
|
||||
|
||||
public void setIsStop(Integer isStop) {
|
||||
this.isStop = isStop;
|
||||
}
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsDeviceTaskDTO implements Serializable {
|
||||
private static final long serialVersionUID = -3746361327881264974L;
|
||||
private String id;
|
||||
private Integer allDevices;
|
||||
private Integer bindDevices;
|
||||
private Integer isStop;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getAllDevices() {
|
||||
return this.allDevices;
|
||||
}
|
||||
|
||||
public void setAllDevices(Integer allDevices) {
|
||||
this.allDevices = allDevices;
|
||||
}
|
||||
|
||||
public Integer getBindDevices() {
|
||||
return this.bindDevices;
|
||||
}
|
||||
|
||||
public void setBindDevices(Integer bindDevices) {
|
||||
this.bindDevices = bindDevices;
|
||||
}
|
||||
|
||||
public Integer getIsStop() {
|
||||
return this.isStop;
|
||||
}
|
||||
|
||||
public void setIsStop(Integer isStop) {
|
||||
this.isStop = isStop;
|
||||
}
|
||||
}
|
||||
+151
@@ -0,0 +1,151 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceAddDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private Integer status;
|
||||
private Integer deleteFlag;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getDeleteFlag() {
|
||||
return this.deleteFlag;
|
||||
}
|
||||
|
||||
public void setDeleteFlag(Integer deleteFlag) {
|
||||
this.deleteFlag = deleteFlag;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceAddDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\''
|
||||
+ ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\''
|
||||
+ ", deviceTypeName='" + this.deviceTypeName + '\'' + ", elevatorFloorList='" + this.elevatorFloorList
|
||||
+ '\'' + ", currentFloorId='" + this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\''
|
||||
+ ", currentBuilding='" + this.currentBuilding + '\'' + ", areaName='" + this.areaName + '\'' + ", status="
|
||||
+ this.status + ", deleteFlag=" + this.deleteFlag + '}';
|
||||
}
|
||||
}
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceEditDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 885170301572808321L;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeciveEditDTO{elevatorFloorList='" + this.elevatorFloorList + '\'' + ", currentFloorId='"
|
||||
+ this.currentFloorId + '\'' + ", currentFloor='" + this.currentFloor + '\'' + ", currentBuilding='"
|
||||
+ this.currentBuilding + '\'' + ", currentBuildingId='" + this.currentBuildingId + '\'' + '}';
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceListByBuildingIdDto implements Serializable {
|
||||
private String businessId;
|
||||
private String currentBuildingId;
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
return true;
|
||||
if (!(o instanceof AcsElevatorDeviceListByBuildingIdDto))
|
||||
return false;
|
||||
AcsElevatorDeviceListByBuildingIdDto other = (AcsElevatorDeviceListByBuildingIdDto)o;
|
||||
if (!other.canEqual(this))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId))
|
||||
return false;
|
||||
Object this$currentBuildingId = getCurrentBuildingId(), other$currentBuildingId = other.getCurrentBuildingId();
|
||||
return !((this$currentBuildingId == null) ? (other$currentBuildingId != null)
|
||||
: !this$currentBuildingId.equals(other$currentBuildingId));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceListByBuildingIdDto;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
Object $businessId = getBusinessId();
|
||||
result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
Object $currentBuildingId = getCurrentBuildingId();
|
||||
return result * 59 + (($currentBuildingId == null) ? 43 : $currentBuildingId.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceListByBuildingIdDto(businessId=" + getBusinessId() + ", currentBuildingId="
|
||||
+ getCurrentBuildingId() + ")";
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorDeviceListDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private String businessId;
|
||||
private String currentFloorId;
|
||||
private List<String> currentFloorIds;
|
||||
|
||||
public List<String> getCurrentFloorIds() {
|
||||
return this.currentFloorIds;
|
||||
}
|
||||
|
||||
public void setCurrentFloorIds(List<String> currentFloorIds) {
|
||||
this.currentFloorIds = currentFloorIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
}
|
||||
+208
@@ -0,0 +1,208 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceListResultDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
return true;
|
||||
if (!(o instanceof AcsElevatorDeviceListResultDto))
|
||||
return false;
|
||||
AcsElevatorDeviceListResultDto other = (AcsElevatorDeviceListResultDto)o;
|
||||
if (!other.canEqual(this))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId))
|
||||
return false;
|
||||
Object this$deviceId = getDeviceId(), other$deviceId = other.getDeviceId();
|
||||
if ((this$deviceId == null) ? (other$deviceId != null) : !this$deviceId.equals(other$deviceId))
|
||||
return false;
|
||||
Object this$deviceCode = getDeviceCode(), other$deviceCode = other.getDeviceCode();
|
||||
if ((this$deviceCode == null) ? (other$deviceCode != null) : !this$deviceCode.equals(other$deviceCode))
|
||||
return false;
|
||||
Object this$deviceName = getDeviceName(), other$deviceName = other.getDeviceName();
|
||||
if ((this$deviceName == null) ? (other$deviceName != null) : !this$deviceName.equals(other$deviceName))
|
||||
return false;
|
||||
Object this$deviceTypeName = getDeviceTypeName(), other$deviceTypeName = other.getDeviceTypeName();
|
||||
if ((this$deviceTypeName == null) ? (other$deviceTypeName != null)
|
||||
: !this$deviceTypeName.equals(other$deviceTypeName))
|
||||
return false;
|
||||
Object this$elevatorFloorList = getElevatorFloorList(), other$elevatorFloorList = other.getElevatorFloorList();
|
||||
if ((this$elevatorFloorList == null) ? (other$elevatorFloorList != null)
|
||||
: !this$elevatorFloorList.equals(other$elevatorFloorList))
|
||||
return false;
|
||||
Object this$currentFloorId = getCurrentFloorId(), other$currentFloorId = other.getCurrentFloorId();
|
||||
if ((this$currentFloorId == null) ? (other$currentFloorId != null)
|
||||
: !this$currentFloorId.equals(other$currentFloorId))
|
||||
return false;
|
||||
Object this$currentFloor = getCurrentFloor(), other$currentFloor = other.getCurrentFloor();
|
||||
if ((this$currentFloor == null) ? (other$currentFloor != null) : !this$currentFloor.equals(other$currentFloor))
|
||||
return false;
|
||||
Object this$currentBuilding = getCurrentBuilding(), other$currentBuilding = other.getCurrentBuilding();
|
||||
if ((this$currentBuilding == null) ? (other$currentBuilding != null)
|
||||
: !this$currentBuilding.equals(other$currentBuilding))
|
||||
return false;
|
||||
Object this$currentBuildingId = getCurrentBuildingId(), other$currentBuildingId = other.getCurrentBuildingId();
|
||||
if ((this$currentBuildingId == null) ? (other$currentBuildingId != null)
|
||||
: !this$currentBuildingId.equals(other$currentBuildingId))
|
||||
return false;
|
||||
Object this$areaName = getAreaName(), other$areaName = other.getAreaName();
|
||||
if ((this$areaName == null) ? (other$areaName != null) : !this$areaName.equals(other$areaName))
|
||||
return false;
|
||||
Object this$status = getStatus(), other$status = other.getStatus();
|
||||
return !((this$status == null) ? (other$status != null) : !this$status.equals(other$status));
|
||||
}
|
||||
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private Integer status;
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceListResultDto;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
Object $businessId = getBusinessId();
|
||||
result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
Object $deviceId = getDeviceId();
|
||||
result = result * 59 + (($deviceId == null) ? 43 : $deviceId.hashCode());
|
||||
Object $deviceCode = getDeviceCode();
|
||||
result = result * 59 + (($deviceCode == null) ? 43 : $deviceCode.hashCode());
|
||||
Object $deviceName = getDeviceName();
|
||||
result = result * 59 + (($deviceName == null) ? 43 : $deviceName.hashCode());
|
||||
Object $deviceTypeName = getDeviceTypeName();
|
||||
result = result * 59 + (($deviceTypeName == null) ? 43 : $deviceTypeName.hashCode());
|
||||
Object $elevatorFloorList = getElevatorFloorList();
|
||||
result = result * 59 + (($elevatorFloorList == null) ? 43 : $elevatorFloorList.hashCode());
|
||||
Object $currentFloorId = getCurrentFloorId();
|
||||
result = result * 59 + (($currentFloorId == null) ? 43 : $currentFloorId.hashCode());
|
||||
Object $currentFloor = getCurrentFloor();
|
||||
result = result * 59 + (($currentFloor == null) ? 43 : $currentFloor.hashCode());
|
||||
Object $currentBuilding = getCurrentBuilding();
|
||||
result = result * 59 + (($currentBuilding == null) ? 43 : $currentBuilding.hashCode());
|
||||
Object $currentBuildingId = getCurrentBuildingId();
|
||||
result = result * 59 + (($currentBuildingId == null) ? 43 : $currentBuildingId.hashCode());
|
||||
Object $areaName = getAreaName();
|
||||
result = result * 59 + (($areaName == null) ? 43 : $areaName.hashCode());
|
||||
Object $status = getStatus();
|
||||
return result * 59 + (($status == null) ? 43 : $status.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceListResultDto(businessId=" + getBusinessId() + ", deviceId=" + getDeviceId()
|
||||
+ ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeName="
|
||||
+ getDeviceTypeName() + ", elevatorFloorList=" + getElevatorFloorList() + ", currentFloorId="
|
||||
+ getCurrentFloorId() + ", currentFloor=" + getCurrentFloor() + ", currentBuilding=" + getCurrentBuilding()
|
||||
+ ", currentBuildingId=" + getCurrentBuildingId() + ", areaName=" + getAreaName() + ", status="
|
||||
+ getStatus() + ")";
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceQueryByIdDTO extends CloudwalkBasePageForm implements Serializable {
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorDeviceQueryDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = -761586737506722816L;
|
||||
private String areaName;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private List<String> areaIds;
|
||||
private String deviceId;
|
||||
private String businessId;
|
||||
private String ip;
|
||||
private Integer status;
|
||||
private Integer onlineStatus;
|
||||
|
||||
public String getIp() {
|
||||
return this.ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getOnlineStatus() {
|
||||
return this.onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(Integer onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
}
|
||||
+235
@@ -0,0 +1,235 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
public class AcsElevatorDeviceQueryFoDTO {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private String areaId;
|
||||
private String elevatorFloorIdList;
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
return true;
|
||||
if (!(o instanceof AcsElevatorDeviceQueryFoDTO))
|
||||
return false;
|
||||
AcsElevatorDeviceQueryFoDTO other = (AcsElevatorDeviceQueryFoDTO)o;
|
||||
if (!other.canEqual(this))
|
||||
return false;
|
||||
Object this$id = getId(), other$id = other.getId();
|
||||
if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId))
|
||||
return false;
|
||||
Object this$deviceId = getDeviceId(), other$deviceId = other.getDeviceId();
|
||||
if ((this$deviceId == null) ? (other$deviceId != null) : !this$deviceId.equals(other$deviceId))
|
||||
return false;
|
||||
Object this$deviceCode = getDeviceCode(), other$deviceCode = other.getDeviceCode();
|
||||
if ((this$deviceCode == null) ? (other$deviceCode != null) : !this$deviceCode.equals(other$deviceCode))
|
||||
return false;
|
||||
Object this$deviceName = getDeviceName(), other$deviceName = other.getDeviceName();
|
||||
if ((this$deviceName == null) ? (other$deviceName != null) : !this$deviceName.equals(other$deviceName))
|
||||
return false;
|
||||
Object this$deviceTypeName = getDeviceTypeName(), other$deviceTypeName = other.getDeviceTypeName();
|
||||
if ((this$deviceTypeName == null) ? (other$deviceTypeName != null)
|
||||
: !this$deviceTypeName.equals(other$deviceTypeName))
|
||||
return false;
|
||||
Object this$elevatorFloorList = getElevatorFloorList(), other$elevatorFloorList = other.getElevatorFloorList();
|
||||
if ((this$elevatorFloorList == null) ? (other$elevatorFloorList != null)
|
||||
: !this$elevatorFloorList.equals(other$elevatorFloorList))
|
||||
return false;
|
||||
Object this$currentFloorId = getCurrentFloorId(), other$currentFloorId = other.getCurrentFloorId();
|
||||
if ((this$currentFloorId == null) ? (other$currentFloorId != null)
|
||||
: !this$currentFloorId.equals(other$currentFloorId))
|
||||
return false;
|
||||
Object this$currentFloor = getCurrentFloor(), other$currentFloor = other.getCurrentFloor();
|
||||
if ((this$currentFloor == null) ? (other$currentFloor != null) : !this$currentFloor.equals(other$currentFloor))
|
||||
return false;
|
||||
Object this$currentBuilding = getCurrentBuilding(), other$currentBuilding = other.getCurrentBuilding();
|
||||
if ((this$currentBuilding == null) ? (other$currentBuilding != null)
|
||||
: !this$currentBuilding.equals(other$currentBuilding))
|
||||
return false;
|
||||
Object this$currentBuildingId = getCurrentBuildingId(), other$currentBuildingId = other.getCurrentBuildingId();
|
||||
if ((this$currentBuildingId == null) ? (other$currentBuildingId != null)
|
||||
: !this$currentBuildingId.equals(other$currentBuildingId))
|
||||
return false;
|
||||
Object this$areaName = getAreaName(), other$areaName = other.getAreaName();
|
||||
if ((this$areaName == null) ? (other$areaName != null) : !this$areaName.equals(other$areaName))
|
||||
return false;
|
||||
Object this$areaId = getAreaId(), other$areaId = other.getAreaId();
|
||||
if ((this$areaId == null) ? (other$areaId != null) : !this$areaId.equals(other$areaId))
|
||||
return false;
|
||||
Object this$elevatorFloorIdList = getElevatorFloorIdList(),
|
||||
other$elevatorFloorIdList = other.getElevatorFloorIdList();
|
||||
return !((this$elevatorFloorIdList == null) ? (other$elevatorFloorIdList != null)
|
||||
: !this$elevatorFloorIdList.equals(other$elevatorFloorIdList));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceQueryFoDTO;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
Object $id = getId();
|
||||
result = result * 59 + (($id == null) ? 43 : $id.hashCode());
|
||||
Object $businessId = getBusinessId();
|
||||
result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
Object $deviceId = getDeviceId();
|
||||
result = result * 59 + (($deviceId == null) ? 43 : $deviceId.hashCode());
|
||||
Object $deviceCode = getDeviceCode();
|
||||
result = result * 59 + (($deviceCode == null) ? 43 : $deviceCode.hashCode());
|
||||
Object $deviceName = getDeviceName();
|
||||
result = result * 59 + (($deviceName == null) ? 43 : $deviceName.hashCode());
|
||||
Object $deviceTypeName = getDeviceTypeName();
|
||||
result = result * 59 + (($deviceTypeName == null) ? 43 : $deviceTypeName.hashCode());
|
||||
Object $elevatorFloorList = getElevatorFloorList();
|
||||
result = result * 59 + (($elevatorFloorList == null) ? 43 : $elevatorFloorList.hashCode());
|
||||
Object $currentFloorId = getCurrentFloorId();
|
||||
result = result * 59 + (($currentFloorId == null) ? 43 : $currentFloorId.hashCode());
|
||||
Object $currentFloor = getCurrentFloor();
|
||||
result = result * 59 + (($currentFloor == null) ? 43 : $currentFloor.hashCode());
|
||||
Object $currentBuilding = getCurrentBuilding();
|
||||
result = result * 59 + (($currentBuilding == null) ? 43 : $currentBuilding.hashCode());
|
||||
Object $currentBuildingId = getCurrentBuildingId();
|
||||
result = result * 59 + (($currentBuildingId == null) ? 43 : $currentBuildingId.hashCode());
|
||||
Object $areaName = getAreaName();
|
||||
result = result * 59 + (($areaName == null) ? 43 : $areaName.hashCode());
|
||||
Object $areaId = getAreaId();
|
||||
result = result * 59 + (($areaId == null) ? 43 : $areaId.hashCode());
|
||||
Object $elevatorFloorIdList = getElevatorFloorIdList();
|
||||
return result * 59 + (($elevatorFloorIdList == null) ? 43 : $elevatorFloorIdList.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceQueryFoDTO(id=" + getId() + ", businessId=" + getBusinessId() + ", deviceId="
|
||||
+ getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName()
|
||||
+ ", deviceTypeName=" + getDeviceTypeName() + ", elevatorFloorList=" + getElevatorFloorList()
|
||||
+ ", currentFloorId=" + getCurrentFloorId() + ", currentFloor=" + getCurrentFloor() + ", currentBuilding="
|
||||
+ getCurrentBuilding() + ", currentBuildingId=" + getCurrentBuildingId() + ", areaName=" + getAreaName()
|
||||
+ ", areaId=" + getAreaId() + ", elevatorFloorIdList=" + getElevatorFloorIdList() + ")";
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorDeviceQueryResultDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = -761586737506722816L;
|
||||
|
||||
private String businessId;
|
||||
|
||||
private String deviceId;
|
||||
|
||||
private String deviceCode;
|
||||
|
||||
private String deviceName;
|
||||
|
||||
private String deviceTypeName;
|
||||
|
||||
private String elevatorFloorList;
|
||||
|
||||
private String currentFloorId;
|
||||
|
||||
private String currentFloor;
|
||||
|
||||
private String currentBuilding;
|
||||
|
||||
private String currentBuildingId;
|
||||
|
||||
private Integer status;
|
||||
}
|
||||
+323
@@ -0,0 +1,323 @@
|
||||
package cn.cloudwalk.elevator.device.dto;
|
||||
|
||||
public class AcsElevatorDeviceResultDTO {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeName;
|
||||
private String elevatorFloorList;
|
||||
private String currentFloorId;
|
||||
private String currentFloor;
|
||||
private String currentBuilding;
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
private String currentBuildingId;
|
||||
private String areaName;
|
||||
private String areaId;
|
||||
private Integer status;
|
||||
private String statusString;
|
||||
private String elevatorFloorIdList;
|
||||
private Long lastHeartbeatTime;
|
||||
private String imageStoreId;
|
||||
private String ip;
|
||||
private Integer onlineStatus;
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
return true;
|
||||
if (!(o instanceof AcsElevatorDeviceResultDTO))
|
||||
return false;
|
||||
AcsElevatorDeviceResultDTO other = (AcsElevatorDeviceResultDTO)o;
|
||||
if (!other.canEqual(this))
|
||||
return false;
|
||||
Object this$id = getId(), other$id = other.getId();
|
||||
if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId))
|
||||
return false;
|
||||
Object this$deviceId = getDeviceId(), other$deviceId = other.getDeviceId();
|
||||
if ((this$deviceId == null) ? (other$deviceId != null) : !this$deviceId.equals(other$deviceId))
|
||||
return false;
|
||||
Object this$deviceCode = getDeviceCode(), other$deviceCode = other.getDeviceCode();
|
||||
if ((this$deviceCode == null) ? (other$deviceCode != null) : !this$deviceCode.equals(other$deviceCode))
|
||||
return false;
|
||||
Object this$deviceName = getDeviceName(), other$deviceName = other.getDeviceName();
|
||||
if ((this$deviceName == null) ? (other$deviceName != null) : !this$deviceName.equals(other$deviceName))
|
||||
return false;
|
||||
Object this$deviceTypeName = getDeviceTypeName(), other$deviceTypeName = other.getDeviceTypeName();
|
||||
if ((this$deviceTypeName == null) ? (other$deviceTypeName != null)
|
||||
: !this$deviceTypeName.equals(other$deviceTypeName))
|
||||
return false;
|
||||
Object this$elevatorFloorList = getElevatorFloorList(), other$elevatorFloorList = other.getElevatorFloorList();
|
||||
if ((this$elevatorFloorList == null) ? (other$elevatorFloorList != null)
|
||||
: !this$elevatorFloorList.equals(other$elevatorFloorList))
|
||||
return false;
|
||||
Object this$currentFloorId = getCurrentFloorId(), other$currentFloorId = other.getCurrentFloorId();
|
||||
if ((this$currentFloorId == null) ? (other$currentFloorId != null)
|
||||
: !this$currentFloorId.equals(other$currentFloorId))
|
||||
return false;
|
||||
Object this$currentFloor = getCurrentFloor(), other$currentFloor = other.getCurrentFloor();
|
||||
if ((this$currentFloor == null) ? (other$currentFloor != null) : !this$currentFloor.equals(other$currentFloor))
|
||||
return false;
|
||||
Object this$currentBuilding = getCurrentBuilding(), other$currentBuilding = other.getCurrentBuilding();
|
||||
if ((this$currentBuilding == null) ? (other$currentBuilding != null)
|
||||
: !this$currentBuilding.equals(other$currentBuilding))
|
||||
return false;
|
||||
Object this$currentBuildingId = getCurrentBuildingId(), other$currentBuildingId = other.getCurrentBuildingId();
|
||||
if ((this$currentBuildingId == null) ? (other$currentBuildingId != null)
|
||||
: !this$currentBuildingId.equals(other$currentBuildingId))
|
||||
return false;
|
||||
Object this$areaName = getAreaName(), other$areaName = other.getAreaName();
|
||||
if ((this$areaName == null) ? (other$areaName != null) : !this$areaName.equals(other$areaName))
|
||||
return false;
|
||||
Object this$areaId = getAreaId(), other$areaId = other.getAreaId();
|
||||
if ((this$areaId == null) ? (other$areaId != null) : !this$areaId.equals(other$areaId))
|
||||
return false;
|
||||
Object this$status = getStatus(), other$status = other.getStatus();
|
||||
if ((this$status == null) ? (other$status != null) : !this$status.equals(other$status))
|
||||
return false;
|
||||
Object this$statusString = getStatusString(), other$statusString = other.getStatusString();
|
||||
if ((this$statusString == null) ? (other$statusString != null) : !this$statusString.equals(other$statusString))
|
||||
return false;
|
||||
Object this$elevatorFloorIdList = getElevatorFloorIdList(),
|
||||
other$elevatorFloorIdList = other.getElevatorFloorIdList();
|
||||
if ((this$elevatorFloorIdList == null) ? (other$elevatorFloorIdList != null)
|
||||
: !this$elevatorFloorIdList.equals(other$elevatorFloorIdList))
|
||||
return false;
|
||||
Object this$lastHeartbeatTime = getLastHeartbeatTime(), other$lastHeartbeatTime = other.getLastHeartbeatTime();
|
||||
if ((this$lastHeartbeatTime == null) ? (other$lastHeartbeatTime != null)
|
||||
: !this$lastHeartbeatTime.equals(other$lastHeartbeatTime))
|
||||
return false;
|
||||
Object this$imageStoreId = getImageStoreId(), other$imageStoreId = other.getImageStoreId();
|
||||
if ((this$imageStoreId == null) ? (other$imageStoreId != null) : !this$imageStoreId.equals(other$imageStoreId))
|
||||
return false;
|
||||
Object this$ip = getIp(), other$ip = other.getIp();
|
||||
if ((this$ip == null) ? (other$ip != null) : !this$ip.equals(other$ip))
|
||||
return false;
|
||||
Object this$onlineStatus = getOnlineStatus(), other$onlineStatus = other.getOnlineStatus();
|
||||
return !((this$onlineStatus == null) ? (other$onlineStatus != null)
|
||||
: !this$onlineStatus.equals(other$onlineStatus));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsElevatorDeviceResultDTO;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
Object $id = getId();
|
||||
result = result * 59 + (($id == null) ? 43 : $id.hashCode());
|
||||
Object $businessId = getBusinessId();
|
||||
result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
Object $deviceId = getDeviceId();
|
||||
result = result * 59 + (($deviceId == null) ? 43 : $deviceId.hashCode());
|
||||
Object $deviceCode = getDeviceCode();
|
||||
result = result * 59 + (($deviceCode == null) ? 43 : $deviceCode.hashCode());
|
||||
Object $deviceName = getDeviceName();
|
||||
result = result * 59 + (($deviceName == null) ? 43 : $deviceName.hashCode());
|
||||
Object $deviceTypeName = getDeviceTypeName();
|
||||
result = result * 59 + (($deviceTypeName == null) ? 43 : $deviceTypeName.hashCode());
|
||||
Object $elevatorFloorList = getElevatorFloorList();
|
||||
result = result * 59 + (($elevatorFloorList == null) ? 43 : $elevatorFloorList.hashCode());
|
||||
Object $currentFloorId = getCurrentFloorId();
|
||||
result = result * 59 + (($currentFloorId == null) ? 43 : $currentFloorId.hashCode());
|
||||
Object $currentFloor = getCurrentFloor();
|
||||
result = result * 59 + (($currentFloor == null) ? 43 : $currentFloor.hashCode());
|
||||
Object $currentBuilding = getCurrentBuilding();
|
||||
result = result * 59 + (($currentBuilding == null) ? 43 : $currentBuilding.hashCode());
|
||||
Object $currentBuildingId = getCurrentBuildingId();
|
||||
result = result * 59 + (($currentBuildingId == null) ? 43 : $currentBuildingId.hashCode());
|
||||
Object $areaName = getAreaName();
|
||||
result = result * 59 + (($areaName == null) ? 43 : $areaName.hashCode());
|
||||
Object $areaId = getAreaId();
|
||||
result = result * 59 + (($areaId == null) ? 43 : $areaId.hashCode());
|
||||
Object $status = getStatus();
|
||||
result = result * 59 + (($status == null) ? 43 : $status.hashCode());
|
||||
Object $statusString = getStatusString();
|
||||
result = result * 59 + (($statusString == null) ? 43 : $statusString.hashCode());
|
||||
Object $elevatorFloorIdList = getElevatorFloorIdList();
|
||||
result = result * 59 + (($elevatorFloorIdList == null) ? 43 : $elevatorFloorIdList.hashCode());
|
||||
Object $lastHeartbeatTime = getLastHeartbeatTime();
|
||||
result = result * 59 + (($lastHeartbeatTime == null) ? 43 : $lastHeartbeatTime.hashCode());
|
||||
Object $imageStoreId = getImageStoreId();
|
||||
result = result * 59 + (($imageStoreId == null) ? 43 : $imageStoreId.hashCode());
|
||||
Object $ip = getIp();
|
||||
result = result * 59 + (($ip == null) ? 43 : $ip.hashCode());
|
||||
Object $onlineStatus = getOnlineStatus();
|
||||
return result * 59 + (($onlineStatus == null) ? 43 : $onlineStatus.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorDeviceResultDTO(id=" + getId() + ", businessId=" + getBusinessId() + ", deviceId="
|
||||
+ getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName()
|
||||
+ ", deviceTypeName=" + getDeviceTypeName() + ", elevatorFloorList=" + getElevatorFloorList()
|
||||
+ ", currentFloorId=" + getCurrentFloorId() + ", currentFloor=" + getCurrentFloor() + ", currentBuilding="
|
||||
+ getCurrentBuilding() + ", currentBuildingId=" + getCurrentBuildingId() + ", areaName=" + getAreaName()
|
||||
+ ", areaId=" + getAreaId() + ", status=" + getStatus() + ", statusString=" + getStatusString()
|
||||
+ ", elevatorFloorIdList=" + getElevatorFloorIdList() + ", lastHeartbeatTime=" + getLastHeartbeatTime()
|
||||
+ ", imageStoreId=" + getImageStoreId() + ", ip=" + getIp() + ", onlineStatus=" + getOnlineStatus() + ")";
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public String getIp() {
|
||||
return this.ip;
|
||||
}
|
||||
|
||||
public String getElevatorFloorIdList() {
|
||||
return this.elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorIdList(String elevatorFloorIdList) {
|
||||
this.elevatorFloorIdList = elevatorFloorIdList;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getElevatorFloorList() {
|
||||
return this.elevatorFloorList;
|
||||
}
|
||||
|
||||
public void setElevatorFloorList(String elevatorFloorList) {
|
||||
this.elevatorFloorList = elevatorFloorList;
|
||||
}
|
||||
|
||||
public String getCurrentFloorId() {
|
||||
return this.currentFloorId;
|
||||
}
|
||||
|
||||
public void setCurrentFloorId(String currentFloorId) {
|
||||
this.currentFloorId = currentFloorId;
|
||||
}
|
||||
|
||||
public String getCurrentFloor() {
|
||||
return this.currentFloor;
|
||||
}
|
||||
|
||||
public void setCurrentFloor(String currentFloor) {
|
||||
this.currentFloor = currentFloor;
|
||||
}
|
||||
|
||||
public String getCurrentBuilding() {
|
||||
return this.currentBuilding;
|
||||
}
|
||||
|
||||
public void setCurrentBuilding(String currentBuilding) {
|
||||
this.currentBuilding = currentBuilding;
|
||||
}
|
||||
|
||||
public String getCurrentBuildingId() {
|
||||
return this.currentBuildingId;
|
||||
}
|
||||
|
||||
public void setCurrentBuildingId(String currentBuildingId) {
|
||||
this.currentBuildingId = currentBuildingId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return this.areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Long getLastHeartbeatTime() {
|
||||
return this.lastHeartbeatTime;
|
||||
}
|
||||
|
||||
public void setLastHeartbeatTime(Long lastHeartbeatTime) {
|
||||
this.lastHeartbeatTime = lastHeartbeatTime;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getStatusString() {
|
||||
return this.statusString;
|
||||
}
|
||||
|
||||
public void setStatusString(String statusString) {
|
||||
this.statusString = statusString;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getOnlineStatus() {
|
||||
return this.onlineStatus;
|
||||
}
|
||||
|
||||
public void setOnlineStatus(Integer onlineStatus) {
|
||||
this.onlineStatus = onlineStatus;
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dao.AcsDeviceTaskDao;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
import cn.cloudwalk.elevator.device.mapper.AcsDeviceTaskMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsDeviceTaskDaoImpl implements AcsDeviceTaskDao {
|
||||
@Autowired
|
||||
private AcsDeviceTaskMapper acsDeviceTaskMapper;
|
||||
|
||||
public Integer insert(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.insert(dto);
|
||||
}
|
||||
|
||||
public Integer updateBingDevices(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.updateBingDevices(dto);
|
||||
}
|
||||
|
||||
public Integer updateIsStop(AcsDeviceTaskAddDto dto) {
|
||||
return this.acsDeviceTaskMapper.updateIsStop(dto);
|
||||
}
|
||||
|
||||
public AcsDeviceTaskDTO getById(String taskId) {
|
||||
return this.acsDeviceTaskMapper.getById(taskId);
|
||||
}
|
||||
}
|
||||
+121
@@ -0,0 +1,121 @@
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.device.dao.AcsElevatorDeviceDao;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListByBuildingIdDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import cn.cloudwalk.elevator.device.mapper.AcsElevatorDeviceMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsElevatorDeviceDaoImpl implements AcsElevatorDeviceDao {
|
||||
@Resource
|
||||
private AcsElevatorDeviceMapper acsElevatorDeviceMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
public Integer add(AcsElevatorDeviceAddDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorDeviceMapper.add(dto));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存派梯设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Integer edit(AcsElevatorDeviceEditDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorDeviceMapper.edit(dto));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存派梯设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Integer delete(List<String> ids) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorDeviceMapper.delete(ids));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("删除派梯设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public CloudwalkPageAble<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO dto, CloudwalkPageInfo page)
|
||||
throws DataAccessException {
|
||||
try {
|
||||
PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
Page<AcsElevatorDeviceResultDTO> result =
|
||||
(Page<AcsElevatorDeviceResultDTO>)this.acsElevatorDeviceMapper.page(dto);
|
||||
return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), AcsElevatorDeviceResultDTO.class), page,
|
||||
result.getTotal());
|
||||
} catch (Exception e) {
|
||||
this.logger.error("设备分页查询失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listByZoneId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼层id获取设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listByZoneIds(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼层id集合获取设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto dto)
|
||||
throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorDeviceMapper.listBuBuildingId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼栋id获取设备信息失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.get(dto);
|
||||
}
|
||||
|
||||
public AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getById(dto);
|
||||
}
|
||||
|
||||
public AcsElevatorDeviceResultDTO getByDeciveCode(String deviceCode) throws ServiceException {
|
||||
AcsElevatorDeviceQueryDTO dto = new AcsElevatorDeviceQueryDTO();
|
||||
dto.setDeviceCode(deviceCode);
|
||||
return this.acsElevatorDeviceMapper.getByDeciveCode(dto);
|
||||
}
|
||||
|
||||
public String getBuildingId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getBuildingId(dto);
|
||||
}
|
||||
|
||||
public String getBusinessId(AcsElevatorDeviceQueryDTO dto) throws ServiceException {
|
||||
return this.acsElevatorDeviceMapper.getBusinessId(dto);
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package cn.cloudwalk.elevator.device.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.elevator.device.dao.DeviceImageStoreDao;
|
||||
import cn.cloudwalk.elevator.device.mapper.DeviceImageStoreMapper;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class DeviceImageStoreDaoImpl implements DeviceImageStoreDao {
|
||||
@Resource
|
||||
private DeviceImageStoreMapper deviceImageStoreMapper;
|
||||
|
||||
public Boolean save(String buildingId, String imageStoreId) throws ServiceException {
|
||||
return this.deviceImageStoreMapper.save(buildingId, imageStoreId);
|
||||
}
|
||||
|
||||
public String getByBuildingId(String buildingId) throws ServiceException {
|
||||
return this.deviceImageStoreMapper.getByBuildingId(buildingId);
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO;
|
||||
|
||||
public interface AcsDeviceTaskMapper {
|
||||
Integer insert(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateBingDevices(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
Integer updateIsStop(AcsDeviceTaskAddDto paramAcsDeviceTaskAddDto);
|
||||
|
||||
AcsDeviceTaskDTO getById(String paramString);
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.device.mapper.AcsDeviceTaskMapper">
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.device.dto.AcsDeviceTaskDTO">
|
||||
<id column="ID" jdbcType="VARCHAR" property="id" />
|
||||
<result column="ALL_DEVICES" jdbcType="TINYINT" property="allDevices" />
|
||||
<result column="BIND_DEVICES" jdbcType="TINYINT" property="bindDevices" />
|
||||
<result column="IS_STOP" jdbcType="TINYINT" property="isStop" />
|
||||
</resultMap>
|
||||
<insert id="insert" parameterType="cn.cloudwalk.elevator.device.dto.AcsDeviceTaskAddDto">
|
||||
insert into it_acs_device_task (ID, ALL_DEVICES, BIND_DEVICES, IS_STOP)
|
||||
values (#{id,jdbcType=VARCHAR}, #{allDevices,jdbcType=TINYINT}, #{bindDevices,jdbcType=TINYINT}, #{isStop,jdbcType=TINYINT})
|
||||
</insert>
|
||||
|
||||
<update id="updateBingDevices">
|
||||
update it_acs_device_task
|
||||
<set>
|
||||
BIND_DEVICES = #{bindDevices,jdbcType=TINYINT},
|
||||
</set>
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and ID = #{id,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<update id="updateIsStop">
|
||||
update it_acs_device_task
|
||||
<set>
|
||||
IS_STOP = #{isStop,jdbcType=TINYINT},
|
||||
</set>
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and ID = #{id,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<select id="getById" resultMap="resultMap">
|
||||
select ID, ALL_DEVICES, BIND_DEVICES,IS_STOP
|
||||
from it_acs_device_task
|
||||
WHERE ID = #{taskId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListByBuildingIdDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceListDto;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO;
|
||||
import cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorDeviceMapper {
|
||||
int add(AcsElevatorDeviceAddDTO paramAcsElevatorDeviceAddDTO);
|
||||
|
||||
int edit(AcsElevatorDeviceEditDTO paramAcsElevatorDeviceEditDTO);
|
||||
|
||||
int delete(List<String> paramList);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneId(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> listByZoneIds(AcsElevatorDeviceListDto paramAcsElevatorDeviceListDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> page(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO>
|
||||
listBuBuildingId(AcsElevatorDeviceListByBuildingIdDto paramAcsElevatorDeviceListByBuildingIdDto);
|
||||
|
||||
List<AcsElevatorDeviceResultDTO> get(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
AcsElevatorDeviceResultDTO getById(AcsElevatorDeviceQueryByIdDTO paramAcsElevatorDeviceQueryByIdDTO);
|
||||
|
||||
AcsElevatorDeviceResultDTO getByDeciveCode(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
String getBuildingId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
|
||||
String getBusinessId(AcsElevatorDeviceQueryDTO paramAcsElevatorDeviceQueryDTO);
|
||||
}
|
||||
+273
@@ -0,0 +1,273 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.device.mapper.AcsElevatorDeviceMapper">
|
||||
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceResultDTO">
|
||||
<result column="ID" property="id" jdbcType="VARCHAR" />
|
||||
<result column="business_id" property="businessId" jdbcType="VARCHAR" />
|
||||
<result column="device_id" property="deviceId" jdbcType="VARCHAR" />
|
||||
<result column="device_name" property="deviceName" jdbcType="VARCHAR" />
|
||||
<result column="device_code" property="deviceCode" jdbcType="VARCHAR" />
|
||||
<result column="device_type_name" property="deviceTypeName" jdbcType="VARCHAR" />
|
||||
<result column="area_name" property="areaName" jdbcType="VARCHAR" />
|
||||
<result column="area_id" property="areaId" jdbcType="VARCHAR" />
|
||||
<result column="current_building_id" property="currentBuildingId" jdbcType="VARCHAR" />
|
||||
<result column="current_building" property="currentBuilding" jdbcType="VARCHAR" />
|
||||
<result column="current_floor_id" property="currentFloorId" jdbcType="VARCHAR" />
|
||||
<result column="current_floor" property="currentFloor" jdbcType="VARCHAR" />
|
||||
<result column="elevator_floor_list" property="elevatorFloorList" jdbcType="VARCHAR" />
|
||||
<result column="elevator_floor_id_list" property="elevatorFloorIdList" jdbcType="VARCHAR" />
|
||||
<result column="IP" property="ip" jdbcType="VARCHAR" />
|
||||
<result column="STATUS" property="status" jdbcType="VARCHAR" />
|
||||
<result column="onlineStatus" property="onlineStatus" jdbcType="VARCHAR" />
|
||||
<result column="LAST_HEARTBEAT_TIME" property="lastHeartbeatTime" jdbcType="VARCHAR" />
|
||||
</resultMap>
|
||||
|
||||
<select id="get" parameterType="cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO" resultMap="resultMap">
|
||||
select ID,business_id,device_id,device_name,device_code,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list
|
||||
from elevator_device
|
||||
<trim prefix="where" prefixOverrides="and|or">
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and business_id = #{businessId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceName != null and deviceName != ''">
|
||||
and device_name = #{deviceName, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceTypeName != null and deviceTypeName != ''">
|
||||
and device_type_name = #{deviceTypeName, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="areaName != null and deviceTypeName != ''">
|
||||
and area_name = #{areaName, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceId != null and deviceId != ''">
|
||||
and device_id = #{deviceId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceCode != null and deviceCode != ''">
|
||||
and device_code = #{deviceCode, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="areaIds != null and areaIds.size > 0">
|
||||
and area_id in
|
||||
<foreach item="item" collection="areaIds" separator="," open="(" close=")">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
</trim>
|
||||
order by ID desc
|
||||
</select>
|
||||
|
||||
<select id="getById" parameterType="cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryByIdDTO"
|
||||
resultMap="resultMap">
|
||||
select ID,business_id,device_id,device_name,device_code,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list
|
||||
from elevator_device
|
||||
<trim prefix="where" prefixOverrides="and|or">
|
||||
<if test="id != null and id != ''">
|
||||
and ID = #{id, jdbcType=VARCHAR}
|
||||
</if>
|
||||
</trim>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="getByDeciveCode" resultMap="resultMap">
|
||||
select ID,business_id,device_id,device_name,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list
|
||||
from elevator_device
|
||||
<trim prefix="where" prefixOverrides="and|or">
|
||||
<if test="deviceCode != null and deviceCode != ''">
|
||||
and device_code = #{deviceCode, jdbcType=VARCHAR}
|
||||
</if>
|
||||
</trim>
|
||||
</select>
|
||||
|
||||
<select id="listByZoneId" resultMap="resultMap">
|
||||
SELECT ID,business_id,device_id,device_name,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list
|
||||
FROM elevator_device
|
||||
WHERE current_floor_id = #{currentFloorId, jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="listByZoneIds" resultMap="resultMap">
|
||||
SELECT ID,business_id,device_id,device_name,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list
|
||||
FROM elevator_device
|
||||
WHERE 1=1
|
||||
<if test="currentFloorId != null and currentFloorId != ''">
|
||||
and current_floor_id = #{currentFloorId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="currentFloorIds != null and currentFloorIds.size > 0">
|
||||
and current_floor_id in
|
||||
<foreach item="item" collection="currentFloorIds" separator="," open="(" close=")">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="page" parameterType="cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceQueryDTO" resultMap="resultMap">
|
||||
|
||||
select t1.ID,t1.business_id,device_id,t1.device_name,t1.device_code,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list,t3.IP, t2.STATUS,
|
||||
t2.LAST_HEARTBEAT_TIME,
|
||||
CASE
|
||||
WHEN abs(t2.LAST_HEARTBEAT_TIME/1000 - UNIX_TIMESTAMP()) <![CDATA[ <= ]]> 300 THEN 2
|
||||
ELSE 3
|
||||
END AS onlineStatus
|
||||
from elevator_device t1
|
||||
left join `cwos_portal`.cw_ge_device t2 on t1.device_id = t2.ID
|
||||
left join `cwos_portal`.cw_ge_device_camera t3 on t1.device_id = t3.GE_DEVICE_ID
|
||||
<trim prefix="where" prefixOverrides="and|or">
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and t1.business_id = #{businessId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceName != null and deviceName != ''">
|
||||
and t1.device_name like concat('%', #{deviceName, jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="deviceTypeName != null and deviceTypeName != ''">
|
||||
and t1.device_type_name = #{deviceTypeName, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="areaName != null and deviceTypeName != ''">
|
||||
and t1.area_name = #{areaName, jdbcType=VARCHAR}
|
||||
|
||||
|
||||
</if>
|
||||
<if test="deviceId != null and deviceId != ''">
|
||||
and t1.device_id = #{deviceId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceCode != null and deviceCode != ''">
|
||||
and t1.device_code like concat('%', #{deviceCode, jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="areaIds != null and areaIds.size > 0">
|
||||
and t1.area_id in
|
||||
<foreach item="item" collection="areaIds" separator="," open="(" close=")">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="ip != null and ip != ''">
|
||||
and t3.IP like concat('%', #{ip, jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="status != null">
|
||||
and t2.STATUS = #{status}
|
||||
</if>
|
||||
<if test="onlineStatus != null">
|
||||
<choose>
|
||||
<when test="onlineStatus == 2">
|
||||
and abs(t2.LAST_HEARTBEAT_TIME/1000 - UNIX_TIMESTAMP()) <![CDATA[ <= ]]> 300
|
||||
</when>
|
||||
<otherwise>
|
||||
and abs(t2.LAST_HEARTBEAT_TIME/1000 - UNIX_TIMESTAMP()) <![CDATA[ > ]]> 300
|
||||
</otherwise>
|
||||
</choose>
|
||||
</if>
|
||||
</trim>
|
||||
order by
|
||||
CASE
|
||||
WHEN t1.current_floor LIKE '%F' THEN SUBSTRING(t1.current_floor, 1, LENGTH(t1.current_floor) - 1) + 0
|
||||
WHEN t1.current_floor LIKE '%MF' THEN SUBSTRING(t1.current_floor, 1, LENGTH(t1.current_floor) - 2) + 0
|
||||
ELSE t1.current_floor + 0
|
||||
END
|
||||
</select>
|
||||
|
||||
<select id="listBuBuildingId" resultMap="resultMap">
|
||||
SELECT ID,business_id,device_id,device_name,
|
||||
device_type_name,area_name,area_id,current_building_id,current_building,current_floor_id,
|
||||
current_floor,elevator_floor_list,elevator_floor_id_list
|
||||
FROM elevator_device
|
||||
WHERE current_building_id = #{currentBuildingId, jdbcType=VARCHAR}
|
||||
and business_id = #{businessId, jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<insert id="add" parameterType="cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceAddDTO">
|
||||
insert into elevator_device (ID, create_time, last_update_time, delete_flag,
|
||||
device_id, device_name, device_code, device_type_name,
|
||||
area_name, current_building_id, current_building, current_floor_id,
|
||||
current_floor, elevator_floor_list, business_id, area_id,elevator_floor_id_list)
|
||||
values (
|
||||
#{id,jdbcType=VARCHAR},
|
||||
#{createTime,jdbcType=BIGINT},
|
||||
#{lastUpdateTime,jdbcType=BIGINT},
|
||||
#{deleteFlag,jdbcType=TINYINT},
|
||||
#{deviceId,jdbcType=VARCHAR},
|
||||
#{deviceName,jdbcType=VARCHAR},
|
||||
#{deviceCode,jdbcType=VARCHAR},
|
||||
#{deviceTypeName,jdbcType=VARCHAR},
|
||||
#{areaName,jdbcType=VARCHAR},
|
||||
#{currentBuildingId,jdbcType=VARCHAR},
|
||||
#{currentBuilding,jdbcType=VARCHAR},
|
||||
#{currentFloorId,jdbcType=VARCHAR},
|
||||
#{currentFloor,jdbcType=VARCHAR},
|
||||
#{elevatorFloorList,jdbcType=VARCHAR},
|
||||
#{businessId,jdbcType=VARCHAR},
|
||||
#{areaId,jdbcType=VARCHAR},
|
||||
#{elevatorFloorIdList,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="edit" parameterType="cn.cloudwalk.elevator.device.dto.AcsElevatorDeviceEditDTO">
|
||||
update elevator_device
|
||||
<trim prefix="set" suffixOverrides=",">
|
||||
<if test="lastUpdateTime != null">
|
||||
last_update_time = #{lastUpdateTime, jdbcType=BIGINT},
|
||||
</if>
|
||||
|
||||
<if test="elevatorFloorList != null">
|
||||
elevator_floor_list = #{elevatorFloorList, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="currentFloorId != null and currentFloorId != ''">
|
||||
current_floor_id = #{currentFloorId, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="currentFloor != null and currentFloor != ''">
|
||||
current_floor = #{currentFloor, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="currentBuilding != null and currentBuilding != ''">
|
||||
current_building = #{currentBuilding, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="currentBuildingId != null and currentBuildingId != ''">
|
||||
current_building_id = #{currentBuildingId, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="currentBuildingId != null and currentBuildingId != ''">
|
||||
area_id = #{areaId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="elevatorFloorIdList != null and elevatorFloorIdList != ''">
|
||||
elevator_floor_id_list = #{elevatorFloorIdList,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
<where>
|
||||
ID = #{id, jdbcType=VARCHAR}
|
||||
</where>
|
||||
</update>
|
||||
|
||||
|
||||
<delete id="delete">
|
||||
delete from elevator_device
|
||||
where ID in
|
||||
<foreach item="id" collection="list" separator="," open="(" close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
|
||||
<select id="getBuildingId" resultType="java.lang.String">
|
||||
select current_building_id
|
||||
from elevator_device
|
||||
<if test="deviceCode != null and deviceCode != ''">
|
||||
where device_code = #{deviceCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getBusinessId" resultType="java.lang.String">
|
||||
select business_id
|
||||
from elevator_device
|
||||
<if test="deviceCode != null and deviceCode != ''">
|
||||
where device_code = #{deviceCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package cn.cloudwalk.elevator.device.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface DeviceImageStoreMapper {
|
||||
Boolean save(@Param("buildingId") String paramString1, @Param("imageStoreId") String paramString2);
|
||||
|
||||
String getByBuildingId(String paramString);
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.device.mapper.DeviceImageStoreMapper">
|
||||
|
||||
<insert id="save">
|
||||
insert into device_image_store (building_id, image_store_id)
|
||||
values (#{buildingId},
|
||||
#{imageStoreId})
|
||||
</insert>
|
||||
|
||||
<select id="getByBuildingId" resultType="java.lang.String">
|
||||
select image_store_id
|
||||
from device_image_store
|
||||
where building_id = #{buildingId}
|
||||
</select>
|
||||
</mapper>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 电梯设备与通行相关的持久化与 MyBatis 映射:DAO、DTO、Mapper XML 等。
|
||||
* <p>
|
||||
* Mapper XML 与接口同包存放,由本模块 {@code pom.xml} 中 {@code build.resources} 一并打包进产物。
|
||||
*/
|
||||
package cn.cloudwalk.elevator.device;
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
package cn.cloudwalk.elevator.passrule.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleIsDefaultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsPassRuleDao {
|
||||
Integer insert(AcsPassRuleAddDto paramAcsPassRuleAddDto) throws DataAccessException;
|
||||
|
||||
Integer update(AcsPassRuleEditDto paramAcsPassRuleEditDto) throws DataAccessException;
|
||||
|
||||
Integer delete(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto,
|
||||
CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto paramAcsPassRuleQueryDto) throws DataAccessException;
|
||||
|
||||
String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto paramAcsPassRuleIsDefaultDto) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto paramAcsPassRuleImageDto)
|
||||
throws DataAccessException;
|
||||
}
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
package cn.cloudwalk.elevator.passrule.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface ImageRuleRefDao {
|
||||
CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto,
|
||||
CloudwalkPageInfo paramCloudwalkPageInfo) throws DataAccessException;
|
||||
|
||||
List<String> listRuleByZoneIdExtDefault(String paramString);
|
||||
|
||||
List<ImageRuleRefResultDto> listByParentRule(List<String> paramList);
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonId(String paramString) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByLabelId(String paramString) throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByOrgId(String paramString) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto paramAcsPassRuleImageDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> paramList) throws DataAccessException;
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto paramAcsPassRuleQueryDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto paramAcsPassRulePersonListDto)
|
||||
throws DataAccessException;
|
||||
|
||||
List<String> listPersonDelByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
List<String> listPersonDelByPersonId(String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getDefaultByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getById(String paramString) throws DataAccessException;
|
||||
|
||||
String getByRuleName(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> paramList, String paramString) throws DataAccessException;
|
||||
|
||||
ImageRuleRefResultDto getDelByPersonIdAndZoneId(String paramString1, String paramString2)
|
||||
throws DataAccessException;
|
||||
|
||||
List<String> countPersonIdByZoneId(String paramString) throws DataAccessException;
|
||||
|
||||
Boolean insert(ImageRuleRefAddDto paramImageRuleRefAddDto) throws DataAccessException;
|
||||
|
||||
Boolean insertList(List<ImageRuleRefAddDto> paramList) throws DataAccessException;
|
||||
|
||||
Boolean deleteById(String paramString) throws DataAccessException;
|
||||
|
||||
Boolean deleteByZoneIdAndName(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
Boolean deleteByPersonIdsIsDel(List<String> paramList, String paramString) throws DataAccessException;
|
||||
|
||||
Boolean deleteByPersonId(String paramString1, String paramString2) throws DataAccessException;
|
||||
|
||||
Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto) throws DataAccessException;
|
||||
}
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleAddDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String imageStoreId;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleDeleteDto implements Serializable {
|
||||
private static final long serialVersionUID = -6255045079103336579L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private List<String> ids;
|
||||
private String zoneId;
|
||||
private String orgId;
|
||||
private String labelId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleEditDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = -9212159235737030371L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String imageStoreId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
}
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleImageDto extends CloudwalkBasePageForm implements Serializable {
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private List<String> imageStoreIds;
|
||||
private String businessId;
|
||||
private String personId;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> includeLabels;
|
||||
|
||||
public List<String> getImageStoreIds() {
|
||||
return this.imageStoreIds;
|
||||
}
|
||||
|
||||
public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
this.imageStoreIds = imageStoreIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
public class AcsPassRuleImageResultDto {
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String imageStoreId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleIsDefaultDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String zoneId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
public class AcsPassRuleLabelResultDto {
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String labelId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRulePersonListDto implements Serializable {
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private String businessId;
|
||||
private List<String> personIds;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> includeLabels;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRulePersonListResultDto {
|
||||
private String personId;
|
||||
private List<AcsPassRuleImageResultDto> zoneList;
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> getZoneList() {
|
||||
return this.zoneList;
|
||||
}
|
||||
|
||||
public void setZoneList(List<AcsPassRuleImageResultDto> zoneList) {
|
||||
this.zoneList = zoneList;
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleQueryDto implements Serializable {
|
||||
private static final long serialVersionUID = 7280163220219331909L;
|
||||
private String id;
|
||||
private String zoneId;
|
||||
private String businessId;
|
||||
private String imageStoreId;
|
||||
private List<String> imageStoreIds;
|
||||
private List<String> ids;
|
||||
private List<String> zoneIds;
|
||||
|
||||
public List<String> getZoneIds() {
|
||||
return this.zoneIds;
|
||||
}
|
||||
|
||||
public void setZoneIds(List<String> zoneIds) {
|
||||
this.zoneIds = zoneIds;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public List<String> getImageStoreIds() {
|
||||
return this.imageStoreIds;
|
||||
}
|
||||
|
||||
public void setImageStoreIds(List<String> imageStoreIds) {
|
||||
this.imageStoreIds = imageStoreIds;
|
||||
}
|
||||
}
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPassRuleResultDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = -8387459232695360257L;
|
||||
private String businessId;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String name;
|
||||
private String validDateCron;
|
||||
private String validDateJson;
|
||||
private Long beginDate;
|
||||
private Long endDate;
|
||||
private String imageStoreId;
|
||||
private Integer isDefault;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getValidDateCron() {
|
||||
return this.validDateCron;
|
||||
}
|
||||
|
||||
public void setValidDateCron(String validDateCron) {
|
||||
this.validDateCron = validDateCron;
|
||||
}
|
||||
|
||||
public String getValidDateJson() {
|
||||
return this.validDateJson;
|
||||
}
|
||||
|
||||
public void setValidDateJson(String validDateJson) {
|
||||
this.validDateJson = validDateJson;
|
||||
}
|
||||
|
||||
public Long getBeginDate() {
|
||||
return this.beginDate;
|
||||
}
|
||||
|
||||
public void setBeginDate(Long beginDate) {
|
||||
this.beginDate = beginDate;
|
||||
}
|
||||
|
||||
public Long getEndDate() {
|
||||
return this.endDate;
|
||||
}
|
||||
|
||||
public void setEndDate(Long endDate) {
|
||||
this.endDate = endDate;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
}
|
||||
+222
@@ -0,0 +1,222 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ImageRuleRefAddDto extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String personId;
|
||||
private String includeLabels;
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
private String includeOrganizations;
|
||||
private String excludeLabels;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer isDefault;
|
||||
private String parentRule;
|
||||
private Integer personDelete;
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(String includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(String includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(String excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
|
||||
public void setParentRule(String parentRule) {
|
||||
this.parentRule = parentRule;
|
||||
}
|
||||
|
||||
public void setPersonDelete(Integer personDelete) {
|
||||
this.personDelete = personDelete;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
return true;
|
||||
if (!(o instanceof ImageRuleRefAddDto))
|
||||
return false;
|
||||
ImageRuleRefAddDto other = (ImageRuleRefAddDto)o;
|
||||
if (!other.canEqual(this))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId))
|
||||
return false;
|
||||
Object this$name = getName(), other$name = other.getName();
|
||||
if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
|
||||
return false;
|
||||
Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId();
|
||||
if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId))
|
||||
return false;
|
||||
Object this$zoneName = getZoneName(), other$zoneName = other.getZoneName();
|
||||
if ((this$zoneName == null) ? (other$zoneName != null) : !this$zoneName.equals(other$zoneName))
|
||||
return false;
|
||||
Object this$personId = getPersonId(), other$personId = other.getPersonId();
|
||||
if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId))
|
||||
return false;
|
||||
Object this$includeLabels = getIncludeLabels(), other$includeLabels = other.getIncludeLabels();
|
||||
if ((this$includeLabels == null) ? (other$includeLabels != null)
|
||||
: !this$includeLabels.equals(other$includeLabels))
|
||||
return false;
|
||||
Object this$includeOrganizations = getIncludeOrganizations(),
|
||||
other$includeOrganizations = other.getIncludeOrganizations();
|
||||
if ((this$includeOrganizations == null) ? (other$includeOrganizations != null)
|
||||
: !this$includeOrganizations.equals(other$includeOrganizations))
|
||||
return false;
|
||||
Object this$excludeLabels = getExcludeLabels(), other$excludeLabels = other.getExcludeLabels();
|
||||
if ((this$excludeLabels == null) ? (other$excludeLabels != null)
|
||||
: !this$excludeLabels.equals(other$excludeLabels))
|
||||
return false;
|
||||
Object this$startTime = getStartTime(), other$startTime = other.getStartTime();
|
||||
if ((this$startTime == null) ? (other$startTime != null) : !this$startTime.equals(other$startTime))
|
||||
return false;
|
||||
Object this$endTime = getEndTime(), other$endTime = other.getEndTime();
|
||||
if ((this$endTime == null) ? (other$endTime != null) : !this$endTime.equals(other$endTime))
|
||||
return false;
|
||||
Object this$isDefault = getIsDefault(), other$isDefault = other.getIsDefault();
|
||||
if ((this$isDefault == null) ? (other$isDefault != null) : !this$isDefault.equals(other$isDefault))
|
||||
return false;
|
||||
Object this$parentRule = getParentRule(), other$parentRule = other.getParentRule();
|
||||
if ((this$parentRule == null) ? (other$parentRule != null) : !this$parentRule.equals(other$parentRule))
|
||||
return false;
|
||||
Object this$personDelete = getPersonDelete(), other$personDelete = other.getPersonDelete();
|
||||
return !((this$personDelete == null) ? (other$personDelete != null)
|
||||
: !this$personDelete.equals(other$personDelete));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof ImageRuleRefAddDto;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
Object $businessId = getBusinessId();
|
||||
result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
Object $name = getName();
|
||||
result = result * 59 + (($name == null) ? 43 : $name.hashCode());
|
||||
Object $zoneId = getZoneId();
|
||||
result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode());
|
||||
Object $zoneName = getZoneName();
|
||||
result = result * 59 + (($zoneName == null) ? 43 : $zoneName.hashCode());
|
||||
Object $personId = getPersonId();
|
||||
result = result * 59 + (($personId == null) ? 43 : $personId.hashCode());
|
||||
Object $includeLabels = getIncludeLabels();
|
||||
result = result * 59 + (($includeLabels == null) ? 43 : $includeLabels.hashCode());
|
||||
Object $includeOrganizations = getIncludeOrganizations();
|
||||
result = result * 59 + (($includeOrganizations == null) ? 43 : $includeOrganizations.hashCode());
|
||||
Object $excludeLabels = getExcludeLabels();
|
||||
result = result * 59 + (($excludeLabels == null) ? 43 : $excludeLabels.hashCode());
|
||||
Object $startTime = getStartTime();
|
||||
result = result * 59 + (($startTime == null) ? 43 : $startTime.hashCode());
|
||||
Object $endTime = getEndTime();
|
||||
result = result * 59 + (($endTime == null) ? 43 : $endTime.hashCode());
|
||||
Object $isDefault = getIsDefault();
|
||||
result = result * 59 + (($isDefault == null) ? 43 : $isDefault.hashCode());
|
||||
Object $parentRule = getParentRule();
|
||||
result = result * 59 + (($parentRule == null) ? 43 : $parentRule.hashCode());
|
||||
Object $personDelete = getPersonDelete();
|
||||
return result * 59 + (($personDelete == null) ? 43 : $personDelete.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ImageRuleRefAddDto(businessId=" + getBusinessId() + ", name=" + getName() + ", zoneId=" + getZoneId()
|
||||
+ ", zoneName=" + getZoneName() + ", personId=" + getPersonId() + ", includeLabels=" + getIncludeLabels()
|
||||
+ ", includeOrganizations=" + getIncludeOrganizations() + ", excludeLabels=" + getExcludeLabels()
|
||||
+ ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", isDefault=" + getIsDefault()
|
||||
+ ", parentRule=" + getParentRule() + ", personDelete=" + getPersonDelete() + ")";
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public String getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public String getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public String getParentRule() {
|
||||
return this.parentRule;
|
||||
}
|
||||
|
||||
public Integer getPersonDelete() {
|
||||
return this.personDelete;
|
||||
}
|
||||
}
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class ImageRuleRefListResult extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
private String personId;
|
||||
private List<String> includeLabels;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> excludeLabels;
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(List<String> includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(List<String> includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(List<String> excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
return true;
|
||||
if (!(o instanceof ImageRuleRefListResult))
|
||||
return false;
|
||||
ImageRuleRefListResult other = (ImageRuleRefListResult)o;
|
||||
if (!other.canEqual(this))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
if ((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId))
|
||||
return false;
|
||||
Object this$name = getName(), other$name = other.getName();
|
||||
if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
|
||||
return false;
|
||||
Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId();
|
||||
if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId))
|
||||
return false;
|
||||
Object this$zoneName = getZoneName(), other$zoneName = other.getZoneName();
|
||||
if ((this$zoneName == null) ? (other$zoneName != null) : !this$zoneName.equals(other$zoneName))
|
||||
return false;
|
||||
Object this$personId = getPersonId(), other$personId = other.getPersonId();
|
||||
if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId))
|
||||
return false;
|
||||
Object this$includeLabels = getIncludeLabels(), other$includeLabels = other.getIncludeLabels();
|
||||
if ((this$includeLabels == null) ? (other$includeLabels != null)
|
||||
: !this$includeLabels.equals(other$includeLabels))
|
||||
return false;
|
||||
Object this$includeOrganizations = getIncludeOrganizations(),
|
||||
other$includeOrganizations = other.getIncludeOrganizations();
|
||||
if ((this$includeOrganizations == null) ? (other$includeOrganizations != null)
|
||||
: !this$includeOrganizations.equals(other$includeOrganizations))
|
||||
return false;
|
||||
Object this$excludeLabels = getExcludeLabels(), other$excludeLabels = other.getExcludeLabels();
|
||||
return !((this$excludeLabels == null) ? (other$excludeLabels != null)
|
||||
: !this$excludeLabels.equals(other$excludeLabels));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof ImageRuleRefListResult;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
Object $businessId = getBusinessId();
|
||||
result = result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
Object $name = getName();
|
||||
result = result * 59 + (($name == null) ? 43 : $name.hashCode());
|
||||
Object $zoneId = getZoneId();
|
||||
result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode());
|
||||
Object $zoneName = getZoneName();
|
||||
result = result * 59 + (($zoneName == null) ? 43 : $zoneName.hashCode());
|
||||
Object $personId = getPersonId();
|
||||
result = result * 59 + (($personId == null) ? 43 : $personId.hashCode());
|
||||
Object $includeLabels = getIncludeLabels();
|
||||
result = result * 59 + (($includeLabels == null) ? 43 : $includeLabels.hashCode());
|
||||
Object $includeOrganizations = getIncludeOrganizations();
|
||||
result = result * 59 + (($includeOrganizations == null) ? 43 : $includeOrganizations.hashCode());
|
||||
Object $excludeLabels = getExcludeLabels();
|
||||
return result * 59 + (($excludeLabels == null) ? 43 : $excludeLabels.hashCode());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ImageRuleRefListResult(businessId=" + getBusinessId() + ", name=" + getName() + ", zoneId="
|
||||
+ getZoneId() + ", zoneName=" + getZoneName() + ", personId=" + getPersonId() + ", includeLabels="
|
||||
+ getIncludeLabels() + ", includeOrganizations=" + getIncludeOrganizations() + ", excludeLabels="
|
||||
+ getExcludeLabels() + ")";
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public List<String> getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public List<String> getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public List<String> getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
}
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
package cn.cloudwalk.elevator.passrule.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ImageRuleRefResultDto implements Serializable {
|
||||
private static final long serialVersionUID = 6909321999650444051L;
|
||||
private String id;
|
||||
private Long createTime;
|
||||
private Long lastUpdateTime;
|
||||
private String businessId;
|
||||
private String name;
|
||||
private String zoneId;
|
||||
private String zoneName;
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
private String personId;
|
||||
private String includeLabels;
|
||||
private String includeOrganizations;
|
||||
private String excludeLabels;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer isDefault;
|
||||
private String parentRule;
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setZoneName(String zoneName) {
|
||||
this.zoneName = zoneName;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setIncludeLabels(String includeLabels) {
|
||||
this.includeLabels = includeLabels;
|
||||
}
|
||||
|
||||
public void setIncludeOrganizations(String includeOrganizations) {
|
||||
this.includeOrganizations = includeOrganizations;
|
||||
}
|
||||
|
||||
public void setExcludeLabels(String excludeLabels) {
|
||||
this.excludeLabels = excludeLabels;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public void setIsDefault(Integer isDefault) {
|
||||
this.isDefault = isDefault;
|
||||
}
|
||||
|
||||
public void setParentRule(String parentRule) {
|
||||
this.parentRule = parentRule;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getZoneName() {
|
||||
return this.zoneName;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getIncludeLabels() {
|
||||
return this.includeLabels;
|
||||
}
|
||||
|
||||
public String getIncludeOrganizations() {
|
||||
return this.includeOrganizations;
|
||||
}
|
||||
|
||||
public String getExcludeLabels() {
|
||||
return this.excludeLabels;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public Integer getIsDefault() {
|
||||
return this.isDefault;
|
||||
}
|
||||
|
||||
public String getParentRule() {
|
||||
return this.parentRule;
|
||||
}
|
||||
}
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
package cn.cloudwalk.elevator.passrule.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.passrule.dao.AcsPassRuleDao;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleIsDefaultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.mapper.AcsPassRuleMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsPassRuleDaoImpl implements AcsPassRuleDao {
|
||||
@Resource
|
||||
private AcsPassRuleMapper acsPassRuleMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
public Integer insert(AcsPassRuleAddDto dto) {
|
||||
return this.acsPassRuleMapper.insert(dto);
|
||||
}
|
||||
|
||||
public Integer update(AcsPassRuleEditDto dto) {
|
||||
return this.acsPassRuleMapper.update(dto);
|
||||
}
|
||||
|
||||
public Integer delete(AcsPassRuleDeleteDto dto) {
|
||||
return this.acsPassRuleMapper.delete(dto);
|
||||
}
|
||||
|
||||
public CloudwalkPageAble<AcsPassRuleResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page) {
|
||||
PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
Page<AcsPassRuleResultDto> result = (Page<AcsPassRuleResultDto>)this.acsPassRuleMapper.list(dto);
|
||||
return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), AcsPassRuleResultDto.class), page,
|
||||
result.getTotal());
|
||||
}
|
||||
|
||||
public List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.list(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("查询紧通行规则异常,原因:[{}]", e.getMessage(), e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.getIsDefaultByZoneId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据楼层id获取默认图库id异常,原因:[{}]", e.getMessage(), e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsPassRuleMapper.listByImageId(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据图库id集合查询对应楼层信息异常,原因:[{}]", e.getMessage(), e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
package cn.cloudwalk.elevator.passrule.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.utils.BeanCopyUtils;
|
||||
import cn.cloudwalk.elevator.passrule.dao.ImageRuleRefDao;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.mapper.ImageRuleRefMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class ImageRuleRefDaoImpl implements ImageRuleRefDao {
|
||||
@Resource
|
||||
private ImageRuleRefMapper imageRuleRefMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
public CloudwalkPageAble<ImageRuleRefResultDto> page(AcsPassRuleQueryDto dto, CloudwalkPageInfo page)
|
||||
throws DataAccessException {
|
||||
PageHelper.startPage(page.getCurrentPage(), page.getPageSize());
|
||||
Page<ImageRuleRefResultDto> result = (Page<ImageRuleRefResultDto>)this.imageRuleRefMapper.page(dto);
|
||||
return new CloudwalkPageAble(BeanCopyUtils.copy(result.getResult(), ImageRuleRefResultDto.class), page,
|
||||
result.getTotal());
|
||||
}
|
||||
|
||||
public List<String> listRuleByZoneIdExtDefault(String zoneId) {
|
||||
return this.imageRuleRefMapper.listRuleByZoneIdExtDefault(zoneId);
|
||||
}
|
||||
|
||||
public List<ImageRuleRefResultDto> listByParentRule(List<String> parentRuleIds) {
|
||||
return this.imageRuleRefMapper.listByParentRule(parentRuleIds);
|
||||
}
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonId(String personId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonId(personId);
|
||||
}
|
||||
|
||||
public List<ImageRuleRefResultDto> listByLabelId(String labelId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByLabelId(labelId);
|
||||
}
|
||||
|
||||
public List<ImageRuleRefResultDto> listByOrgId(String orgId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByOrgId(orgId);
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonInfo(dto);
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByRestructure(dto);
|
||||
}
|
||||
|
||||
public List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listFloorsByRestructure(dto);
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listZoneInfoByIds(List<String> zoneIds) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listZoneInfoByIds(zoneIds);
|
||||
}
|
||||
|
||||
public List<AcsPassRuleImageResultDto> listByNotZoneIds(AcsPassRuleQueryDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByNotZoneIds(dto);
|
||||
}
|
||||
|
||||
public List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listByPersonList(dto);
|
||||
}
|
||||
|
||||
public List<String> listPersonDelByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listPersonDelByZoneId(zoneId);
|
||||
}
|
||||
|
||||
public List<String> listPersonDelByPersonId(String personId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.listPersonDelByPersonId(personId);
|
||||
}
|
||||
|
||||
public ImageRuleRefResultDto getDefaultByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getDefaultByZoneId(zoneId);
|
||||
}
|
||||
|
||||
public ImageRuleRefResultDto getById(String id) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getById(id);
|
||||
}
|
||||
|
||||
public String getByRuleName(String ruleName, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getByRuleName(ruleName, zoneId);
|
||||
}
|
||||
|
||||
public ImageRuleRefResultDto getByPersonIdAndZoneId(List<String> personId, String zoneId)
|
||||
throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getByPersonIdAndZoneId(personId, zoneId);
|
||||
}
|
||||
|
||||
public ImageRuleRefResultDto getDelByPersonIdAndZoneId(String personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.getDelByPersonIdAndZoneId(personId, zoneId);
|
||||
}
|
||||
|
||||
public List<String> countPersonIdByZoneId(String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.countPersonIdByZoneId(zoneId);
|
||||
}
|
||||
|
||||
public Boolean insert(ImageRuleRefAddDto dto) {
|
||||
return this.imageRuleRefMapper.insert(dto);
|
||||
}
|
||||
|
||||
public Boolean insertList(List<ImageRuleRefAddDto> insertList) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.insertList(insertList);
|
||||
}
|
||||
|
||||
public Boolean deleteById(String id) throws DataAccessException {
|
||||
this.imageRuleRefMapper.deleteById(id);
|
||||
this.imageRuleRefMapper.deleteByParentRule(id);
|
||||
return Boolean.valueOf(true);
|
||||
}
|
||||
|
||||
public Boolean deleteByZoneIdAndName(String zoneId, String oldName) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByZoneIdAndName(zoneId, oldName);
|
||||
}
|
||||
|
||||
public Boolean deleteByPersonIdsIsDel(List<String> personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByPersonIdsIsDel(personId, zoneId);
|
||||
}
|
||||
|
||||
public Boolean deleteByPersonId(String personId, String zoneId) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByPersonId(personId, zoneId);
|
||||
}
|
||||
|
||||
public Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto dto) throws DataAccessException {
|
||||
return this.imageRuleRefMapper.deleteByOrgAndLabel(dto);
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package cn.cloudwalk.elevator.passrule.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleIsDefaultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsPassRuleMapper {
|
||||
Integer insert(AcsPassRuleAddDto paramAcsPassRuleAddDto);
|
||||
|
||||
Integer update(AcsPassRuleEditDto paramAcsPassRuleEditDto);
|
||||
|
||||
Integer delete(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto);
|
||||
|
||||
List<AcsPassRuleResultDto> list(AcsPassRuleQueryDto paramAcsPassRuleQueryDto);
|
||||
|
||||
String getIsDefaultByZoneId(AcsPassRuleIsDefaultDto paramAcsPassRuleIsDefaultDto);
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByImageId(AcsPassRuleImageDto paramAcsPassRuleImageDto);
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
package cn.cloudwalk.elevator.passrule.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto;
|
||||
import cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface ImageRuleRefMapper {
|
||||
List<ImageRuleRefResultDto> page(AcsPassRuleQueryDto paramAcsPassRuleQueryDto);
|
||||
|
||||
List<String> listRuleByZoneIdExtDefault(String paramString);
|
||||
|
||||
List<String> listPersonDelByZoneId(@Param("zoneId") String paramString);
|
||||
|
||||
List<String> listPersonDelByPersonId(@Param("personId") String paramString);
|
||||
|
||||
List<ImageRuleRefResultDto> listByParentRule(@Param("parentRuleIds") List<String> paramList);
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonId(@Param("personId") String paramString);
|
||||
|
||||
List<ImageRuleRefResultDto> listByLabelId(@Param("labelId") String paramString);
|
||||
|
||||
List<ImageRuleRefResultDto> listByOrgId(@Param("orgId") String paramString);
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByPersonInfo(AcsPassRuleImageDto paramAcsPassRuleImageDto);
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto);
|
||||
|
||||
List<AcsPassRuleLabelResultDto> listFloorsByRestructure(AcsPassRuleImageDto paramAcsPassRuleImageDto);
|
||||
|
||||
List<AcsPassRuleImageResultDto> listZoneInfoByIds(@Param("zoneIds") List<String> paramList);
|
||||
|
||||
List<AcsPassRuleImageResultDto> listByNotZoneIds(@Param("request") AcsPassRuleQueryDto paramAcsPassRuleQueryDto);
|
||||
|
||||
List<ImageRuleRefResultDto> listByPersonList(AcsPassRulePersonListDto paramAcsPassRulePersonListDto);
|
||||
|
||||
ImageRuleRefResultDto getDefaultByZoneId(String paramString);
|
||||
|
||||
ImageRuleRefResultDto getById(String paramString);
|
||||
|
||||
String getByRuleName(@Param("ruleName") String paramString1, @Param("zoneId") String paramString2);
|
||||
|
||||
ImageRuleRefResultDto getByPersonIdAndZoneId(@Param("personIds") List<String> paramList,
|
||||
@Param("zoneId") String paramString);
|
||||
|
||||
ImageRuleRefResultDto getDelByPersonIdAndZoneId(@Param("personId") String paramString1,
|
||||
@Param("zoneId") String paramString2);
|
||||
|
||||
List<String> countPersonIdByZoneId(String paramString);
|
||||
|
||||
Boolean insert(ImageRuleRefAddDto paramImageRuleRefAddDto);
|
||||
|
||||
Boolean insertList(@Param("dtoList") List<ImageRuleRefAddDto> paramList);
|
||||
|
||||
Boolean deleteByZoneIdAndName(String paramString1, String paramString2);
|
||||
|
||||
Boolean deleteById(String paramString);
|
||||
|
||||
Boolean deleteByParentRule(String paramString);
|
||||
|
||||
Boolean deleteByPersonIdsIsDel(@Param("personIds") List<String> paramList, @Param("zoneId") String paramString);
|
||||
|
||||
Boolean deleteByPersonId(@Param("personId") String paramString1, @Param("zoneId") String paramString2);
|
||||
|
||||
Boolean deleteByOrgAndLabel(AcsPassRuleDeleteDto paramAcsPassRuleDeleteDto);
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorAnalyseCycleBusinessResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorPageRequestInfoResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorQueryCountDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecordThreeSendQueryDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsElevatorRecordDao {
|
||||
Integer add(AcsElevatorRecordAddDTO paramAcsElevatorRecordAddDTO) throws DataAccessException;
|
||||
|
||||
int update(AcsOpenDoorRecordEditDTO paramAcsOpenDoorRecordEditDTO) throws DataAccessException;
|
||||
|
||||
CloudwalkPageAble<AcsElevatorRecordDetailQueryResultDTO> detail(
|
||||
AcsElevatorRecordDetailQueryDTO paramAcsElevatorRecordDetailQueryDTO, CloudwalkPageInfo paramCloudwalkPageInfo)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsElevatorRecordQueryResultDTO> query(AcsOpenDoorRecordQueryDTO paramAcsOpenDoorRecordQueryDTO)
|
||||
throws DataAccessException;
|
||||
|
||||
AcsElevatorPageRequestInfoResultDTO pageRequestInfo(String paramString) throws DataAccessException;
|
||||
|
||||
Integer analyseCount(AcsElevatorQueryCountDTO paramAcsElevatorQueryCountDTO) throws DataAccessException;
|
||||
|
||||
List<AcsElevatorAnalyseCycleBusinessResultDTO> analyseGroup(AcsElevatorQueryCountDTO paramAcsElevatorQueryCountDTO)
|
||||
throws DataAccessException;
|
||||
|
||||
List<AcsElevatorRecordQueryResultDTO>
|
||||
listByRecognitionTime(AcsRecordThreeSendQueryDTO paramAcsRecordThreeSendQueryDTO) throws DataAccessException;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
public interface AcsPersonInfoDao {}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsRecogRecordDao {
|
||||
Integer add(AcsRecogRecordAddDTO paramAcsRecogRecordAddDTO) throws DataAccessException;
|
||||
|
||||
List<AcsRecogRecordResultDTO> page(AcsRecogRecordPageDTO paramAcsRecogRecordPageDTO) throws DataAccessException;
|
||||
|
||||
AcsRecogRecordResultDTO getByPersonId(String paramString) throws DataAccessException;
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.elevator.record.dao;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeResultDTO;
|
||||
|
||||
public interface SendRecordTimeDao {
|
||||
SendRecordTimeResultDTO getByType(Integer paramInteger) throws DataAccessException;
|
||||
|
||||
Integer add(SendRecordTimeAddDTO paramSendRecordTimeAddDTO) throws DataAccessException;
|
||||
|
||||
Integer update(SendRecordTimeEditDTO paramSendRecordTimeEditDTO) throws DataAccessException;
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
public class AcsElevatorAnalyseCycleBusinessResultDTO {
|
||||
private String businessId;
|
||||
private Integer count;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getCount() {
|
||||
return this.count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorAnalyseCycleBusinessResultDTO{businessId='" + this.businessId + '\'' + ", count="
|
||||
+ this.count + '}';
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorPageRequestInfoResultDTO {
|
||||
private List<String> srcFloorList;
|
||||
private List<String> destFloorList;
|
||||
private List<String> dispatchElevatorNoList;
|
||||
|
||||
public List<String> getSrcFloorList() {
|
||||
return this.srcFloorList;
|
||||
}
|
||||
|
||||
public void setSrcFloorList(List<String> srcFloorList) {
|
||||
this.srcFloorList = srcFloorList;
|
||||
}
|
||||
|
||||
public List<String> getDestFloorList() {
|
||||
return this.destFloorList;
|
||||
}
|
||||
|
||||
public void setDestFloorList(List<String> destFloorList) {
|
||||
this.destFloorList = destFloorList;
|
||||
}
|
||||
|
||||
public List<String> getDispatchElevatorNoList() {
|
||||
return this.dispatchElevatorNoList;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNoList(List<String> dispatchElevatorNoList) {
|
||||
this.dispatchElevatorNoList = dispatchElevatorNoList;
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
public class AcsElevatorQueryCountDTO {
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer recordResult;
|
||||
private String businessId;
|
||||
private String srcFloor;
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
}
|
||||
+255
@@ -0,0 +1,255 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorRecordAddDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeName;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private Long recognitionTime;
|
||||
private String logId;
|
||||
private String recognitionFaceId;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
private Integer isVisitor;
|
||||
private String interviewee;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getInterviewee() {
|
||||
return this.interviewee;
|
||||
}
|
||||
|
||||
public void setInterviewee(String interviewee) {
|
||||
this.interviewee = interviewee;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordAddDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\''
|
||||
+ ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", deviceTypeId='"
|
||||
+ this.deviceTypeId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", districtId='"
|
||||
+ this.districtId + '\'' + ", areaId='" + this.areaId + '\'' + ", openDoorType='" + this.openDoorType + '\''
|
||||
+ ", operateName='" + this.operateName + '\'' + ", faceImagePath='" + this.faceImagePath + '\''
|
||||
+ ", panoramaImagePath='" + this.panoramaImagePath + '\'' + ", recordResult=" + this.recordResult
|
||||
+ ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionTime=" + this.recognitionTime
|
||||
+ ", logId='" + this.logId + '\'' + ", recognitionFaceId='" + this.recognitionFaceId + '\'' + ", srcFloor='"
|
||||
+ this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\'' + ", dispatchElevatorNo='"
|
||||
+ this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime=" + this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
+151
@@ -0,0 +1,151 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsElevatorRecordDetailQueryDTO implements Serializable {
|
||||
private String businessId;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private String personName;
|
||||
private String personId;
|
||||
private List<String> districtIds;
|
||||
private List<String> areaIds;
|
||||
private List<String> deviceIds;
|
||||
private String openDoorTypeCode;
|
||||
private Integer recordResult;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private Integer isVisitor;
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public List<String> getDistrictIds() {
|
||||
return this.districtIds;
|
||||
}
|
||||
|
||||
public void setDistrictIds(List<String> districtIds) {
|
||||
this.districtIds = districtIds;
|
||||
}
|
||||
|
||||
public List<String> getDeviceIds() {
|
||||
return this.deviceIds;
|
||||
}
|
||||
|
||||
public void setDeviceIds(List<String> deviceIds) {
|
||||
this.deviceIds = deviceIds;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
public String getOpenDoorTypeCode() {
|
||||
return this.openDoorTypeCode;
|
||||
}
|
||||
|
||||
public void setOpenDoorTypeCode(String openDoorTypeCode) {
|
||||
this.openDoorTypeCode = openDoorTypeCode;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
}
|
||||
+378
@@ -0,0 +1,378 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.elevator.annontation.DavinciPic;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class AcsElevatorRecordDetailQueryResultDTO implements Serializable {
|
||||
private String openDoorId;
|
||||
private String panoramaImageRecog;
|
||||
private String panoramaImageOpen;
|
||||
private String faceImage;
|
||||
@DavinciPic
|
||||
private String registerImage;
|
||||
private String personName;
|
||||
private long recognitionTime;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String deviceTypeName;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private BigDecimal score;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private String recognitionFaceId;
|
||||
private String personId;
|
||||
private Integer isVisitor;
|
||||
private String interviewee;
|
||||
private String regRecordId;
|
||||
private BigDecimal threshold;
|
||||
private Integer recognitionResult;
|
||||
private String groupId;
|
||||
private String faceId;
|
||||
private BigDecimal qualityScore;
|
||||
private String logId;
|
||||
private BigDecimal tempScore;
|
||||
private BigDecimal maskScore;
|
||||
private BigDecimal tempThreshold;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String getOpenDoorId() {
|
||||
return this.openDoorId;
|
||||
}
|
||||
|
||||
public void setOpenDoorId(String openDoorId) {
|
||||
this.openDoorId = openDoorId;
|
||||
}
|
||||
|
||||
public String getPanoramaImageRecog() {
|
||||
return this.panoramaImageRecog;
|
||||
}
|
||||
|
||||
public void setPanoramaImageRecog(String panoramaImageRecog) {
|
||||
this.panoramaImageRecog = panoramaImageRecog;
|
||||
}
|
||||
|
||||
public String getPanoramaImageOpen() {
|
||||
return this.panoramaImageOpen;
|
||||
}
|
||||
|
||||
public void setPanoramaImageOpen(String panoramaImageOpen) {
|
||||
this.panoramaImageOpen = panoramaImageOpen;
|
||||
}
|
||||
|
||||
public String getFaceImage() {
|
||||
return this.faceImage;
|
||||
}
|
||||
|
||||
public void setFaceImage(String faceImage) {
|
||||
this.faceImage = faceImage;
|
||||
}
|
||||
|
||||
public String getRegisterImage() {
|
||||
return this.registerImage;
|
||||
}
|
||||
|
||||
public void setRegisterImage(String registerImage) {
|
||||
this.registerImage = registerImage;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public BigDecimal getScore() {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public void setScore(BigDecimal score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public String getRegRecordId() {
|
||||
return this.regRecordId;
|
||||
}
|
||||
|
||||
public void setRegRecordId(String regRecordId) {
|
||||
this.regRecordId = regRecordId;
|
||||
}
|
||||
|
||||
public BigDecimal getThreshold() {
|
||||
return this.threshold;
|
||||
}
|
||||
|
||||
public void setThreshold(BigDecimal threshold) {
|
||||
this.threshold = threshold;
|
||||
}
|
||||
|
||||
public Integer getRecognitionResult() {
|
||||
return this.recognitionResult;
|
||||
}
|
||||
|
||||
public void setRecognitionResult(Integer recognitionResult) {
|
||||
this.recognitionResult = recognitionResult;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getFaceId() {
|
||||
return this.faceId;
|
||||
}
|
||||
|
||||
public void setFaceId(String faceId) {
|
||||
this.faceId = faceId;
|
||||
}
|
||||
|
||||
public BigDecimal getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public void setQualityScore(BigDecimal qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public BigDecimal getTempScore() {
|
||||
return this.tempScore;
|
||||
}
|
||||
|
||||
public void setTempScore(BigDecimal tempScore) {
|
||||
this.tempScore = tempScore;
|
||||
}
|
||||
|
||||
public BigDecimal getMaskScore() {
|
||||
return this.maskScore;
|
||||
}
|
||||
|
||||
public void setMaskScore(BigDecimal maskScore) {
|
||||
this.maskScore = maskScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTempThreshold() {
|
||||
return this.tempThreshold;
|
||||
}
|
||||
|
||||
public void setTempThreshold(BigDecimal tempThreshold) {
|
||||
this.tempThreshold = tempThreshold;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getInterviewee() {
|
||||
return this.interviewee;
|
||||
}
|
||||
|
||||
public void setInterviewee(String interviewee) {
|
||||
this.interviewee = interviewee;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordDetailQueryResultDTO{openDoorId='" + this.openDoorId + '\'' + ", panoramaImageRecog='"
|
||||
+ this.panoramaImageRecog + '\'' + ", panoramaImageOpen='" + this.panoramaImageOpen + '\'' + ", faceImage='"
|
||||
+ this.faceImage + '\'' + ", registerImage='" + this.registerImage + '\'' + ", personName='"
|
||||
+ this.personName + '\'' + ", recognitionTime=" + this.recognitionTime + ", districtId='" + this.districtId
|
||||
+ '\'' + ", areaId='" + this.areaId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\''
|
||||
+ ", deviceName='" + this.deviceName + '\'' + ", openDoorType='" + this.openDoorType + '\''
|
||||
+ ", operateName='" + this.operateName + '\'' + ", score=" + this.score + ", recordResult="
|
||||
+ this.recordResult + ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionFaceId='"
|
||||
+ this.recognitionFaceId + '\'' + ", isVisitor=" + this.isVisitor + ", interviewee=" + this.interviewee
|
||||
+ ", regRecordId='" + this.regRecordId + '\'' + ", threshold=" + this.threshold + ", recognitionResult="
|
||||
+ this.recognitionResult + ", groupId='" + this.groupId + '\'' + ", faceId='" + this.faceId + '\''
|
||||
+ ", qualityScore=" + this.qualityScore + ", logId='" + this.logId + '\'' + ", tempScore=" + this.tempScore
|
||||
+ ", maskScore=" + this.maskScore + ", tempThreshold=" + this.tempThreshold + ", srcFloor='" + this.srcFloor
|
||||
+ '\'' + ", destFloor='" + this.destFloor + '\'' + ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\''
|
||||
+ ", dispatchElevatorTime=" + this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
public class AcsElevatorRecordExtraDTO {
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordExtraDTO{srcFloor='" + this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\''
|
||||
+ ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime="
|
||||
+ this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
+256
@@ -0,0 +1,256 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsElevatorRecordQueryResultDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = -761586737506722816L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeName;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private Long recognitionTime;
|
||||
private String logId;
|
||||
private String recognitionFaceId;
|
||||
private String srcFloor;
|
||||
private String destFloor;
|
||||
private String dispatchElevatorNo;
|
||||
private Long dispatchElevatorTime;
|
||||
private Integer isVisitor;
|
||||
private String interviewee;
|
||||
private String personCode;
|
||||
private String orgId;
|
||||
private String orgName;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public String getSrcFloor() {
|
||||
return this.srcFloor;
|
||||
}
|
||||
|
||||
public void setSrcFloor(String srcFloor) {
|
||||
this.srcFloor = srcFloor;
|
||||
}
|
||||
|
||||
public String getDestFloor() {
|
||||
return this.destFloor;
|
||||
}
|
||||
|
||||
public void setDestFloor(String destFloor) {
|
||||
this.destFloor = destFloor;
|
||||
}
|
||||
|
||||
public String getDispatchElevatorNo() {
|
||||
return this.dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorNo(String dispatchElevatorNo) {
|
||||
this.dispatchElevatorNo = dispatchElevatorNo;
|
||||
}
|
||||
|
||||
public Long getDispatchElevatorTime() {
|
||||
return this.dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public void setDispatchElevatorTime(Long dispatchElevatorTime) {
|
||||
this.dispatchElevatorTime = dispatchElevatorTime;
|
||||
}
|
||||
|
||||
public Integer getIsVisitor() {
|
||||
return this.isVisitor;
|
||||
}
|
||||
|
||||
public void setIsVisitor(Integer isVisitor) {
|
||||
this.isVisitor = isVisitor;
|
||||
}
|
||||
|
||||
public String getInterviewee() {
|
||||
return this.interviewee;
|
||||
}
|
||||
|
||||
public void setInterviewee(String interviewee) {
|
||||
this.interviewee = interviewee;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public String getOrgName() {
|
||||
return this.orgName;
|
||||
}
|
||||
|
||||
public void setOrgName(String orgName) {
|
||||
this.orgName = orgName;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsElevatorRecordQueryResultDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId
|
||||
+ '\'' + ", deviceCode='" + this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\''
|
||||
+ ", deviceTypeId='" + this.deviceTypeId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\''
|
||||
+ ", districtId='" + this.districtId + '\'' + ", areaId='" + this.areaId + '\'' + ", openDoorType='"
|
||||
+ this.openDoorType + '\'' + ", operateName='" + this.operateName + '\'' + ", faceImagePath='"
|
||||
+ this.faceImagePath + '\'' + ", panoramaImagePath='" + this.panoramaImagePath + '\'' + ", recordResult="
|
||||
+ this.recordResult + ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionTime="
|
||||
+ this.recognitionTime + ", logId='" + this.logId + '\'' + ", recognitionFaceId='" + this.recognitionFaceId
|
||||
+ '\'' + ", srcFloor='" + this.srcFloor + '\'' + ", destFloor='" + this.destFloor + '\''
|
||||
+ ", dispatchElevatorNo='" + this.dispatchElevatorNo + '\'' + ", dispatchElevatorTime="
|
||||
+ this.dispatchElevatorTime + '}';
|
||||
}
|
||||
}
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsOpenDoorRecordEditDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private static final long serialVersionUID = 885170301572808321L;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private Long recognitionTime;
|
||||
private String logId;
|
||||
private String recognitionFaceId;
|
||||
private Long startDay;
|
||||
private Long endDay;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceCode() {
|
||||
return this.deviceCode;
|
||||
}
|
||||
|
||||
public void setDeviceCode(String deviceCode) {
|
||||
this.deviceCode = deviceCode;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public String getRecognitionFaceId() {
|
||||
return this.recognitionFaceId;
|
||||
}
|
||||
|
||||
public void setRecognitionFaceId(String recognitionFaceId) {
|
||||
this.recognitionFaceId = recognitionFaceId;
|
||||
}
|
||||
|
||||
public Long getStartDay() {
|
||||
return this.startDay;
|
||||
}
|
||||
|
||||
public void setStartDay(Long startDay) {
|
||||
this.startDay = startDay;
|
||||
}
|
||||
|
||||
public Long getEndDay() {
|
||||
return this.endDay;
|
||||
}
|
||||
|
||||
public void setEndDay(Long endDay) {
|
||||
this.endDay = endDay;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsOpenDoorRecordEditDTO{businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\''
|
||||
+ ", deviceCode='" + this.deviceCode + '\'' + ", openDoorType='" + this.openDoorType + '\''
|
||||
+ ", operateName='" + this.operateName + '\'' + ", faceImagePath='" + this.faceImagePath + '\''
|
||||
+ ", panoramaImagePath='" + this.panoramaImagePath + '\'' + ", recordResult=" + this.recordResult
|
||||
+ ", recognitionNo='" + this.recognitionNo + '\'' + ", recognitionTime=" + this.recognitionTime
|
||||
+ ", logId='" + this.logId + '\'' + ", recognitionFaceId='" + this.recognitionFaceId + '\'' + ", startDay="
|
||||
+ this.startDay + ", endDay=" + this.endDay + '}';
|
||||
}
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsOpenDoorRecordQueryDTO implements Serializable {
|
||||
private static final long serialVersionUID = 2759536962618796129L;
|
||||
private String id;
|
||||
private String businessId;
|
||||
private Long startDay;
|
||||
private Long endDay;
|
||||
private Integer recordResult;
|
||||
private String logId;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Long getStartDay() {
|
||||
return this.startDay;
|
||||
}
|
||||
|
||||
public void setStartDay(Long startDay) {
|
||||
this.startDay = startDay;
|
||||
}
|
||||
|
||||
public Long getEndDay() {
|
||||
return this.endDay;
|
||||
}
|
||||
|
||||
public void setEndDay(Long endDay) {
|
||||
this.endDay = endDay;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsPersonInfoResultDTO implements Serializable {
|
||||
private String id;
|
||||
private String comparePicture;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getComparePicture() {
|
||||
return this.comparePicture;
|
||||
}
|
||||
|
||||
public void setComparePicture(String comparePicture) {
|
||||
this.comparePicture = comparePicture;
|
||||
}
|
||||
}
|
||||
+332
@@ -0,0 +1,332 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class AcsRecogRecordAddDTO extends CloudwalkBaseTimes implements Serializable {
|
||||
private String personId;
|
||||
private String personName;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private BigDecimal threshold;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeName;
|
||||
private String subDeviceId;
|
||||
private String subDeviceCode;
|
||||
private String subDeviceName;
|
||||
private String subDeviceTypeId;
|
||||
private String subDeviceTypeName;
|
||||
private String registerImagePath;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private BigDecimal score;
|
||||
private Integer recognitionResult;
|
||||
private Long recognitionTime;
|
||||
private String groupId;
|
||||
private String faceId;
|
||||
private BigDecimal qualityScore;
|
||||
private String logId;
|
||||
private BigDecimal tempScore;
|
||||
private BigDecimal maskScore;
|
||||
private BigDecimal tempThreshold;
|
||||
private String cardType;
|
||||
private Integer source;
|
||||
private String tempImagePath;
|
||||
private String remark;
|
||||
private String personLabelIds;
|
||||
|
||||
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 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 BigDecimal getThreshold() {
|
||||
return this.threshold;
|
||||
}
|
||||
|
||||
public void setThreshold(BigDecimal threshold) {
|
||||
this.threshold = threshold;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getRegisterImagePath() {
|
||||
return this.registerImagePath;
|
||||
}
|
||||
|
||||
public void setRegisterImagePath(String registerImagePath) {
|
||||
this.registerImagePath = registerImagePath;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public BigDecimal getScore() {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public void setScore(BigDecimal score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Integer getRecognitionResult() {
|
||||
return this.recognitionResult;
|
||||
}
|
||||
|
||||
public void setRecognitionResult(Integer recognitionResult) {
|
||||
this.recognitionResult = recognitionResult;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getFaceId() {
|
||||
return this.faceId;
|
||||
}
|
||||
|
||||
public void setFaceId(String faceId) {
|
||||
this.faceId = faceId;
|
||||
}
|
||||
|
||||
public BigDecimal getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public void setQualityScore(BigDecimal qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public BigDecimal getTempScore() {
|
||||
return this.tempScore;
|
||||
}
|
||||
|
||||
public void setTempScore(BigDecimal tempScore) {
|
||||
this.tempScore = tempScore;
|
||||
}
|
||||
|
||||
public BigDecimal getMaskScore() {
|
||||
return this.maskScore;
|
||||
}
|
||||
|
||||
public void setMaskScore(BigDecimal maskScore) {
|
||||
this.maskScore = maskScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTempThreshold() {
|
||||
return this.tempThreshold;
|
||||
}
|
||||
|
||||
public void setTempThreshold(BigDecimal tempThreshold) {
|
||||
this.tempThreshold = tempThreshold;
|
||||
}
|
||||
|
||||
public String getCardType() {
|
||||
return this.cardType;
|
||||
}
|
||||
|
||||
public void setCardType(String cardType) {
|
||||
this.cardType = cardType;
|
||||
}
|
||||
|
||||
public Integer getSource() {
|
||||
return this.source;
|
||||
}
|
||||
|
||||
public void setSource(Integer source) {
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public String getTempImagePath() {
|
||||
return this.tempImagePath;
|
||||
}
|
||||
|
||||
public void setTempImagePath(String tempImagePath) {
|
||||
this.tempImagePath = tempImagePath;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public String getSubDeviceId() {
|
||||
return this.subDeviceId;
|
||||
}
|
||||
|
||||
public void setSubDeviceId(String subDeviceId) {
|
||||
this.subDeviceId = subDeviceId;
|
||||
}
|
||||
|
||||
public String getSubDeviceCode() {
|
||||
return this.subDeviceCode;
|
||||
}
|
||||
|
||||
public void setSubDeviceCode(String subDeviceCode) {
|
||||
this.subDeviceCode = subDeviceCode;
|
||||
}
|
||||
|
||||
public String getSubDeviceName() {
|
||||
return this.subDeviceName;
|
||||
}
|
||||
|
||||
public void setSubDeviceName(String subDeviceName) {
|
||||
this.subDeviceName = subDeviceName;
|
||||
}
|
||||
|
||||
public String getSubDeviceTypeId() {
|
||||
return this.subDeviceTypeId;
|
||||
}
|
||||
|
||||
public void setSubDeviceTypeId(String subDeviceTypeId) {
|
||||
this.subDeviceTypeId = subDeviceTypeId;
|
||||
}
|
||||
|
||||
public String getSubDeviceTypeName() {
|
||||
return this.subDeviceTypeName;
|
||||
}
|
||||
|
||||
public void setSubDeviceTypeName(String subDeviceTypeName) {
|
||||
this.subDeviceTypeName = subDeviceTypeName;
|
||||
}
|
||||
|
||||
public String getPersonLabelIds() {
|
||||
return this.personLabelIds;
|
||||
}
|
||||
|
||||
public void setPersonLabelIds(String personLabelIds) {
|
||||
this.personLabelIds = personLabelIds;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsRecogRecordAddDTO{personId='" + this.personId + '\'' + ", personName='" + this.personName + '\''
|
||||
+ ", businessId='" + this.businessId + '\'' + ", deviceId='" + this.deviceId + '\'' + ", deviceCode='"
|
||||
+ this.deviceCode + '\'' + ", deviceName='" + this.deviceName + '\'' + ", threshold=" + this.threshold
|
||||
+ ", districtId='" + this.districtId + '\'' + ", areaId='" + this.areaId + '\'' + ", deviceTypeId='"
|
||||
+ this.deviceTypeId + '\'' + ", deviceTypeName='" + this.deviceTypeName + '\'' + ", subDeviceId='"
|
||||
+ this.subDeviceId + '\'' + ", subDeviceCode='" + this.subDeviceCode + '\'' + ", subDeviceName='"
|
||||
+ this.subDeviceName + '\'' + ", subDeviceTypeId='" + this.subDeviceTypeId + '\'' + ", subDeviceTypeName='"
|
||||
+ this.subDeviceTypeName + '\'' + ", registerImagePath='" + this.registerImagePath + '\''
|
||||
+ ", faceImagePath='" + this.faceImagePath + '\'' + ", panoramaImagePath='" + this.panoramaImagePath + '\''
|
||||
+ ", score=" + this.score + ", recognitionResult=" + this.recognitionResult + ", recognitionTime="
|
||||
+ this.recognitionTime + ", groupId='" + this.groupId + '\'' + ", faceId='" + this.faceId + '\''
|
||||
+ ", qualityScore=" + this.qualityScore + ", logId='" + this.logId + '\'' + ", tempScore=" + this.tempScore
|
||||
+ ", maskScore=" + this.maskScore + ", tempThreshold=" + this.tempThreshold + ", cardType='" + this.cardType
|
||||
+ '\'' + ", source=" + this.source + ", tempImagePath='" + this.tempImagePath + '\'' + ", remark='"
|
||||
+ this.remark + '\'' + ", personLabelIds='" + this.personLabelIds + '\'' + '}';
|
||||
}
|
||||
}
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsRecogRecordPageDTO implements Serializable {
|
||||
private String businessId;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private String personName;
|
||||
private String logId;
|
||||
private List<String> districtIds;
|
||||
private List<String> areaIds;
|
||||
private List<String> deviceIds;
|
||||
private Integer recognitionResult;
|
||||
private Integer compareType;
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public void setDistrictIds(List<String> districtIds) {
|
||||
this.districtIds = districtIds;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
public void setDeviceIds(List<String> deviceIds) {
|
||||
this.deviceIds = deviceIds;
|
||||
}
|
||||
|
||||
public void setRecognitionResult(Integer recognitionResult) {
|
||||
this.recognitionResult = recognitionResult;
|
||||
}
|
||||
|
||||
public void setCompareType(Integer compareType) {
|
||||
this.compareType = compareType;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public List<String> getDistrictIds() {
|
||||
return this.districtIds;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public List<String> getDeviceIds() {
|
||||
return this.deviceIds;
|
||||
}
|
||||
|
||||
public Integer getRecognitionResult() {
|
||||
return this.recognitionResult;
|
||||
}
|
||||
|
||||
public Integer getCompareType() {
|
||||
return this.compareType;
|
||||
}
|
||||
}
|
||||
+377
@@ -0,0 +1,377 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class AcsRecogRecordResultDTO implements Serializable {
|
||||
private String id;
|
||||
private String personId;
|
||||
private String personName;
|
||||
private String businessId;
|
||||
private String deviceId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
private BigDecimal threshold;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String deviceTypeId;
|
||||
private String deviceTypeName;
|
||||
private String subDeviceId;
|
||||
private String subDeviceCode;
|
||||
private String subDeviceName;
|
||||
private String subDeviceTypeId;
|
||||
private String subDeviceTypeName;
|
||||
private String registerImagePath;
|
||||
private String faceImagePath;
|
||||
private String panoramaImagePath;
|
||||
private BigDecimal score;
|
||||
private Integer recognitionResult;
|
||||
private Long recognitionTime;
|
||||
private String groupId;
|
||||
private String faceId;
|
||||
private BigDecimal qualityScore;
|
||||
private String logId;
|
||||
private BigDecimal tempScore;
|
||||
private BigDecimal maskScore;
|
||||
private BigDecimal tempThreshold;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private Long lastUpdateTime;
|
||||
private String lastUpdateUserId;
|
||||
private String personLabelIds;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
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 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 BigDecimal getThreshold() {
|
||||
return this.threshold;
|
||||
}
|
||||
|
||||
public void setThreshold(BigDecimal threshold) {
|
||||
this.threshold = threshold;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeId() {
|
||||
return this.deviceTypeId;
|
||||
}
|
||||
|
||||
public void setDeviceTypeId(String deviceTypeId) {
|
||||
this.deviceTypeId = deviceTypeId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getRegisterImagePath() {
|
||||
return this.registerImagePath;
|
||||
}
|
||||
|
||||
public void setRegisterImagePath(String registerImagePath) {
|
||||
this.registerImagePath = registerImagePath;
|
||||
}
|
||||
|
||||
public String getFaceImagePath() {
|
||||
return this.faceImagePath;
|
||||
}
|
||||
|
||||
public void setFaceImagePath(String faceImagePath) {
|
||||
this.faceImagePath = faceImagePath;
|
||||
}
|
||||
|
||||
public String getPanoramaImagePath() {
|
||||
return this.panoramaImagePath;
|
||||
}
|
||||
|
||||
public void setPanoramaImagePath(String panoramaImagePath) {
|
||||
this.panoramaImagePath = panoramaImagePath;
|
||||
}
|
||||
|
||||
public BigDecimal getScore() {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public void setScore(BigDecimal score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Integer getRecognitionResult() {
|
||||
return this.recognitionResult;
|
||||
}
|
||||
|
||||
public void setRecognitionResult(Integer recognitionResult) {
|
||||
this.recognitionResult = recognitionResult;
|
||||
}
|
||||
|
||||
public Long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(Long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getFaceId() {
|
||||
return this.faceId;
|
||||
}
|
||||
|
||||
public void setFaceId(String faceId) {
|
||||
this.faceId = faceId;
|
||||
}
|
||||
|
||||
public BigDecimal getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public void setQualityScore(BigDecimal qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public BigDecimal getTempScore() {
|
||||
return this.tempScore;
|
||||
}
|
||||
|
||||
public void setTempScore(BigDecimal tempScore) {
|
||||
this.tempScore = tempScore;
|
||||
}
|
||||
|
||||
public BigDecimal getMaskScore() {
|
||||
return this.maskScore;
|
||||
}
|
||||
|
||||
public void setMaskScore(BigDecimal maskScore) {
|
||||
this.maskScore = maskScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTempThreshold() {
|
||||
return this.tempThreshold;
|
||||
}
|
||||
|
||||
public void setTempThreshold(BigDecimal tempThreshold) {
|
||||
this.tempThreshold = tempThreshold;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
|
||||
public String getSubDeviceId() {
|
||||
return this.subDeviceId;
|
||||
}
|
||||
|
||||
public void setSubDeviceId(String subDeviceId) {
|
||||
this.subDeviceId = subDeviceId;
|
||||
}
|
||||
|
||||
public String getSubDeviceCode() {
|
||||
return this.subDeviceCode;
|
||||
}
|
||||
|
||||
public void setSubDeviceCode(String subDeviceCode) {
|
||||
this.subDeviceCode = subDeviceCode;
|
||||
}
|
||||
|
||||
public String getSubDeviceName() {
|
||||
return this.subDeviceName;
|
||||
}
|
||||
|
||||
public void setSubDeviceName(String subDeviceName) {
|
||||
this.subDeviceName = subDeviceName;
|
||||
}
|
||||
|
||||
public String getSubDeviceTypeId() {
|
||||
return this.subDeviceTypeId;
|
||||
}
|
||||
|
||||
public void setSubDeviceTypeId(String subDeviceTypeId) {
|
||||
this.subDeviceTypeId = subDeviceTypeId;
|
||||
}
|
||||
|
||||
public String getSubDeviceTypeName() {
|
||||
return this.subDeviceTypeName;
|
||||
}
|
||||
|
||||
public void setSubDeviceTypeName(String subDeviceTypeName) {
|
||||
this.subDeviceTypeName = subDeviceTypeName;
|
||||
}
|
||||
|
||||
public String getPersonLabelIds() {
|
||||
return this.personLabelIds;
|
||||
}
|
||||
|
||||
public void setPersonLabelIds(String personLabelIds) {
|
||||
this.personLabelIds = personLabelIds;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(this.id);
|
||||
sb.append(", personId=").append(this.personId);
|
||||
sb.append(", personName=").append(this.personName);
|
||||
sb.append(", businessId=").append(this.businessId);
|
||||
sb.append(", deviceId=").append(this.deviceId);
|
||||
sb.append(", deviceCode=").append(this.deviceCode);
|
||||
sb.append(", deviceName=").append(this.deviceName);
|
||||
sb.append(", threshold=").append(this.threshold);
|
||||
sb.append(", districtId=").append(this.districtId);
|
||||
sb.append(", areaId=").append(this.areaId);
|
||||
sb.append(", deviceTypeId=").append(this.deviceTypeId);
|
||||
sb.append(", deviceTypeName=").append(this.deviceTypeName);
|
||||
sb.append(", subDeviceId=").append(this.subDeviceId);
|
||||
sb.append(", subDeviceCode=").append(this.subDeviceCode);
|
||||
sb.append(", subDeviceName=").append(this.subDeviceName);
|
||||
sb.append(", subDeviceTypeId=").append(this.subDeviceTypeId);
|
||||
sb.append(", subDeviceTypeName=").append(this.subDeviceTypeName);
|
||||
sb.append(", registerImagePath=").append(this.registerImagePath);
|
||||
sb.append(", faceImagePath=").append(this.faceImagePath);
|
||||
sb.append(", panoramaImagePath=").append(this.panoramaImagePath);
|
||||
sb.append(", score=").append(this.score);
|
||||
sb.append(", recognitionResult=").append(this.recognitionResult);
|
||||
sb.append(", recognitionTime=").append(this.recognitionTime);
|
||||
sb.append(", groupId=").append(this.groupId);
|
||||
sb.append(", faceId=").append(this.faceId);
|
||||
sb.append(", qualityScore=").append(this.qualityScore);
|
||||
sb.append(", logId=").append(this.logId);
|
||||
sb.append(", tempScore=").append(this.tempScore);
|
||||
sb.append(", maskScore=").append(this.maskScore);
|
||||
sb.append(", tempThreshold=").append(this.tempThreshold);
|
||||
sb.append(", remark=").append(this.remark);
|
||||
sb.append(", createTime=").append(this.createTime);
|
||||
sb.append(", createUserId=").append(this.createUserId);
|
||||
sb.append(", lastUpdateTime=").append(this.lastUpdateTime);
|
||||
sb.append(", lastUpdateUserId=").append(this.lastUpdateUserId);
|
||||
sb.append(", personLabelIds=").append(this.personLabelIds);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
+244
@@ -0,0 +1,244 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import cn.cloudwalk.elevator.annontation.DavinciPic;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class AcsRecordDetailQueryResultDTO implements Serializable {
|
||||
private static final long serialVersionUID = 4497772884928418301L;
|
||||
private String openDoorId;
|
||||
private String panoramaImageRecog;
|
||||
private String panoramaImageOpen;
|
||||
private String faceImage;
|
||||
@DavinciPic
|
||||
private String registerImage;
|
||||
private String personName;
|
||||
private long recognitionTime;
|
||||
private String districtId;
|
||||
private String areaId;
|
||||
private String deviceTypeName;
|
||||
private String deviceName;
|
||||
private String openDoorType;
|
||||
private String operateName;
|
||||
private BigDecimal score;
|
||||
private Integer recordResult;
|
||||
private String recognitionNo;
|
||||
private String regRecordId;
|
||||
private BigDecimal threshold;
|
||||
private Integer recognitionResult;
|
||||
private String groupId;
|
||||
private String faceId;
|
||||
private BigDecimal qualityScore;
|
||||
private String logId;
|
||||
private BigDecimal tempScore;
|
||||
private BigDecimal maskScore;
|
||||
private BigDecimal tempThreshold;
|
||||
|
||||
public String getOpenDoorId() {
|
||||
return this.openDoorId;
|
||||
}
|
||||
|
||||
public void setOpenDoorId(String openDoorId) {
|
||||
this.openDoorId = openDoorId;
|
||||
}
|
||||
|
||||
public String getPanoramaImageRecog() {
|
||||
return this.panoramaImageRecog;
|
||||
}
|
||||
|
||||
public void setPanoramaImageRecog(String panoramaImageRecog) {
|
||||
this.panoramaImageRecog = panoramaImageRecog;
|
||||
}
|
||||
|
||||
public String getPanoramaImageOpen() {
|
||||
return this.panoramaImageOpen;
|
||||
}
|
||||
|
||||
public void setPanoramaImageOpen(String panoramaImageOpen) {
|
||||
this.panoramaImageOpen = panoramaImageOpen;
|
||||
}
|
||||
|
||||
public String getFaceImage() {
|
||||
return this.faceImage;
|
||||
}
|
||||
|
||||
public void setFaceImage(String faceImage) {
|
||||
this.faceImage = faceImage;
|
||||
}
|
||||
|
||||
public String getRegisterImage() {
|
||||
return this.registerImage;
|
||||
}
|
||||
|
||||
public void setRegisterImage(String registerImage) {
|
||||
this.registerImage = registerImage;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public long getRecognitionTime() {
|
||||
return this.recognitionTime;
|
||||
}
|
||||
|
||||
public void setRecognitionTime(long recognitionTime) {
|
||||
this.recognitionTime = recognitionTime;
|
||||
}
|
||||
|
||||
public String getDistrictId() {
|
||||
return this.districtId;
|
||||
}
|
||||
|
||||
public void setDistrictId(String districtId) {
|
||||
this.districtId = districtId;
|
||||
}
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getDeviceTypeName() {
|
||||
return this.deviceTypeName;
|
||||
}
|
||||
|
||||
public void setDeviceTypeName(String deviceTypeName) {
|
||||
this.deviceTypeName = deviceTypeName;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getOpenDoorType() {
|
||||
return this.openDoorType;
|
||||
}
|
||||
|
||||
public void setOpenDoorType(String openDoorType) {
|
||||
this.openDoorType = openDoorType;
|
||||
}
|
||||
|
||||
public String getOperateName() {
|
||||
return this.operateName;
|
||||
}
|
||||
|
||||
public void setOperateName(String operateName) {
|
||||
this.operateName = operateName;
|
||||
}
|
||||
|
||||
public BigDecimal getScore() {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public void setScore(BigDecimal score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Integer getRecordResult() {
|
||||
return this.recordResult;
|
||||
}
|
||||
|
||||
public void setRecordResult(Integer recordResult) {
|
||||
this.recordResult = recordResult;
|
||||
}
|
||||
|
||||
public String getRecognitionNo() {
|
||||
return this.recognitionNo;
|
||||
}
|
||||
|
||||
public void setRecognitionNo(String recognitionNo) {
|
||||
this.recognitionNo = recognitionNo;
|
||||
}
|
||||
|
||||
public String getRegRecordId() {
|
||||
return this.regRecordId;
|
||||
}
|
||||
|
||||
public void setRegRecordId(String regRecordId) {
|
||||
this.regRecordId = regRecordId;
|
||||
}
|
||||
|
||||
public BigDecimal getThreshold() {
|
||||
return this.threshold;
|
||||
}
|
||||
|
||||
public void setThreshold(BigDecimal threshold) {
|
||||
this.threshold = threshold;
|
||||
}
|
||||
|
||||
public Integer getRecognitionResult() {
|
||||
return this.recognitionResult;
|
||||
}
|
||||
|
||||
public void setRecognitionResult(Integer recognitionResult) {
|
||||
this.recognitionResult = recognitionResult;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public String getFaceId() {
|
||||
return this.faceId;
|
||||
}
|
||||
|
||||
public void setFaceId(String faceId) {
|
||||
this.faceId = faceId;
|
||||
}
|
||||
|
||||
public BigDecimal getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public void setQualityScore(BigDecimal qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
|
||||
public String getLogId() {
|
||||
return this.logId;
|
||||
}
|
||||
|
||||
public void setLogId(String logId) {
|
||||
this.logId = logId;
|
||||
}
|
||||
|
||||
public BigDecimal getTempScore() {
|
||||
return this.tempScore;
|
||||
}
|
||||
|
||||
public void setTempScore(BigDecimal tempScore) {
|
||||
this.tempScore = tempScore;
|
||||
}
|
||||
|
||||
public BigDecimal getMaskScore() {
|
||||
return this.maskScore;
|
||||
}
|
||||
|
||||
public void setMaskScore(BigDecimal maskScore) {
|
||||
this.maskScore = maskScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTempThreshold() {
|
||||
return this.tempThreshold;
|
||||
}
|
||||
|
||||
public void setTempThreshold(BigDecimal tempThreshold) {
|
||||
this.tempThreshold = tempThreshold;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsRecordThreeSendQueryDTO implements Serializable {
|
||||
private static final long serialVersionUID = -4419274892857176883L;
|
||||
private String businessId;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SendRecordTimeAddDTO implements Serializable {
|
||||
private Long time;
|
||||
private Integer type;
|
||||
|
||||
public Long getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SendRecordTimeEditDTO implements Serializable {
|
||||
private Long time;
|
||||
private Integer type;
|
||||
|
||||
public Long getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package cn.cloudwalk.elevator.record.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SendRecordTimeResultDTO implements Serializable {
|
||||
private Long time;
|
||||
private Integer type;
|
||||
|
||||
public Long getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
package cn.cloudwalk.elevator.record.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.elevator.record.dao.AcsElevatorRecordDao;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorAnalyseCycleBusinessResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorPageRequestInfoResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorQueryCountDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecordThreeSendQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.mapper.AcsElevatorRecordMapper;
|
||||
import com.github.pagehelper.Page;
|
||||
import com.github.pagehelper.page.PageMethod;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsElevatorRecordDaoImpl implements AcsElevatorRecordDao {
|
||||
@Resource
|
||||
private AcsElevatorRecordMapper acsElevatorRecordMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
public CloudwalkPageAble<AcsElevatorRecordDetailQueryResultDTO> detail(AcsElevatorRecordDetailQueryDTO queryDTO,
|
||||
CloudwalkPageInfo pageInfo) throws DataAccessException {
|
||||
try {
|
||||
PageMethod.startPage(pageInfo.getCurrentPage(), pageInfo.getPageSize());
|
||||
Page<AcsElevatorRecordDetailQueryResultDTO> result =
|
||||
(Page<AcsElevatorRecordDetailQueryResultDTO>)this.acsElevatorRecordMapper.page(queryDTO);
|
||||
return new CloudwalkPageAble(result.getResult(), pageInfo, result.getTotal());
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存刷脸派梯记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Integer add(AcsElevatorRecordAddDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsElevatorRecordMapper.add(dto));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存刷脸派梯记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public int update(AcsOpenDoorRecordEditDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorRecordMapper.update(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存刷脸派梯记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorRecordQueryResultDTO> query(AcsOpenDoorRecordQueryDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorRecordMapper.query(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存刷脸派梯记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorRecordQueryResultDTO> listByRecognitionTime(AcsRecordThreeSendQueryDTO queryDTO)
|
||||
throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorRecordMapper.listByRecognitionTime(queryDTO);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据识别时间查询派梯记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public AcsElevatorPageRequestInfoResultDTO pageRequestInfo(String businessId) throws DataAccessException {
|
||||
try {
|
||||
AcsElevatorPageRequestInfoResultDTO infoResultDTO = new AcsElevatorPageRequestInfoResultDTO();
|
||||
infoResultDTO.setSrcFloorList(this.acsElevatorRecordMapper.srcFloor(businessId));
|
||||
infoResultDTO.setDestFloorList(this.acsElevatorRecordMapper.destFloor(businessId));
|
||||
infoResultDTO.setDispatchElevatorNoList(this.acsElevatorRecordMapper.dispatchElevatorNo(businessId));
|
||||
return infoResultDTO;
|
||||
} catch (Exception e) {
|
||||
this.logger.error("开门记录分页请求数据查询失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Integer analyseCount(AcsElevatorQueryCountDTO acsElevatorQueryCountDTO) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorRecordMapper.analyseCount(acsElevatorQueryCountDTO);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("开门记录统计分析查询失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsElevatorAnalyseCycleBusinessResultDTO>
|
||||
analyseGroup(AcsElevatorQueryCountDTO acsElevatorQueryCountDTO) throws DataAccessException {
|
||||
try {
|
||||
return this.acsElevatorRecordMapper.analyseGroup(acsElevatorQueryCountDTO);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("开门记录统计分析分组查询失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
package cn.cloudwalk.elevator.record.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.elevator.record.dao.AcsRecogRecordDao;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO;
|
||||
import cn.cloudwalk.elevator.record.mapper.AcsRecogRecordMapper;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class AcsRecogRecordDaoImpl implements AcsRecogRecordDao {
|
||||
@Resource
|
||||
private AcsRecogRecordMapper acsRecogRecordMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
public Integer add(AcsRecogRecordAddDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return Integer.valueOf(this.acsRecogRecordMapper.add(dto));
|
||||
} catch (Exception e) {
|
||||
this.logger.error("保存识别记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<AcsRecogRecordResultDTO> page(AcsRecogRecordPageDTO dto) throws DataAccessException {
|
||||
try {
|
||||
return this.acsRecogRecordMapper.page(dto);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("分页查询识别记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public AcsRecogRecordResultDTO getByPersonId(String personId) throws DataAccessException {
|
||||
try {
|
||||
return this.acsRecogRecordMapper.getByPersonId(personId);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据人员id查询识别记录失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package cn.cloudwalk.elevator.record.impl;
|
||||
|
||||
import cn.cloudwalk.cloud.exception.DataAccessException;
|
||||
import cn.cloudwalk.elevator.record.dao.SendRecordTimeDao;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeResultDTO;
|
||||
import cn.cloudwalk.elevator.record.mapper.SendRecordTimeMapper;
|
||||
import javax.annotation.Resource;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class SendRecordTimeDaoImpl implements SendRecordTimeDao {
|
||||
@Resource
|
||||
private SendRecordTimeMapper sendRecordTimeMapper;
|
||||
protected final Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
public SendRecordTimeResultDTO getByType(Integer type) throws DataAccessException {
|
||||
try {
|
||||
return this.sendRecordTimeMapper.getByType(type);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据类型获取时间戳失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Integer add(SendRecordTimeAddDTO timeAddDTO) throws DataAccessException {
|
||||
try {
|
||||
return this.sendRecordTimeMapper.add(timeAddDTO);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("新增时间戳失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public Integer update(SendRecordTimeEditDTO editDTO) throws DataAccessException {
|
||||
try {
|
||||
return this.sendRecordTimeMapper.update(editDTO);
|
||||
} catch (Exception e) {
|
||||
this.logger.error("根据类型修改时间戳失败,原因:", e);
|
||||
throw new DataAccessException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
package cn.cloudwalk.elevator.record.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorAnalyseCycleBusinessResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorQueryCountDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsElevatorRecordQueryResultDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordQueryDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecordThreeSendQueryDTO;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AcsElevatorRecordMapper {
|
||||
List<AcsElevatorRecordDetailQueryResultDTO>
|
||||
detail(AcsElevatorRecordDetailQueryDTO paramAcsElevatorRecordDetailQueryDTO);
|
||||
|
||||
List<AcsElevatorRecordDetailQueryResultDTO>
|
||||
page(AcsElevatorRecordDetailQueryDTO paramAcsElevatorRecordDetailQueryDTO);
|
||||
|
||||
int add(AcsElevatorRecordAddDTO paramAcsElevatorRecordAddDTO);
|
||||
|
||||
int update(AcsOpenDoorRecordEditDTO paramAcsOpenDoorRecordEditDTO);
|
||||
|
||||
List<AcsElevatorRecordQueryResultDTO> query(AcsOpenDoorRecordQueryDTO paramAcsOpenDoorRecordQueryDTO);
|
||||
|
||||
List<String> srcFloor(@Param("businessId") String paramString);
|
||||
|
||||
List<String> destFloor(@Param("businessId") String paramString);
|
||||
|
||||
List<String> dispatchElevatorNo(@Param("businessId") String paramString);
|
||||
|
||||
Integer analyseCount(AcsElevatorQueryCountDTO paramAcsElevatorQueryCountDTO);
|
||||
|
||||
List<AcsElevatorAnalyseCycleBusinessResultDTO> analyseGroup(AcsElevatorQueryCountDTO paramAcsElevatorQueryCountDTO);
|
||||
|
||||
List<AcsElevatorRecordQueryResultDTO>
|
||||
listByRecognitionTime(AcsRecordThreeSendQueryDTO paramAcsRecordThreeSendQueryDTO);
|
||||
}
|
||||
+423
@@ -0,0 +1,423 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.record.mapper.AcsElevatorRecordMapper">
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.record.dto.AcsElevatorRecordQueryResultDTO">
|
||||
<result column="ID" property="id" jdbcType="VARCHAR" />
|
||||
<result column="BUSINESS_ID" property="businessId" jdbcType="VARCHAR" />
|
||||
<result column="DEVICE_ID" property="deviceId" jdbcType="VARCHAR" />
|
||||
<result column="DEVICE_CODE" property="deviceCode" jdbcType="VARCHAR" />
|
||||
<result column="DEVICE_NAME" property="deviceName" jdbcType="VARCHAR" />
|
||||
<result column="DEVICE_TYPE_ID" property="deviceTypeId" jdbcType="VARCHAR" />
|
||||
<result column="DEVICE_TYPE_NAME" property="deviceTypeName" jdbcType="VARCHAR" />
|
||||
<result column="DISTRICT_ID" property="districtId" jdbcType="VARCHAR" />
|
||||
<result column="AREA_ID" property="areaId" jdbcType="VARCHAR" />
|
||||
<result column="OPEN_DOOR_TYPE" property="openDoorType" jdbcType="VARCHAR" />
|
||||
<result column="OPERATE_NAME" property="operateName" jdbcType="VARCHAR" />
|
||||
<result column="FACE_IMAGE_PATH" property="faceImagePath" jdbcType="VARCHAR" />
|
||||
<result column="PANORAMA_IMAGE_PATH" property="panoramaImagePath" jdbcType="VARCHAR" />
|
||||
<result column="RECORD_RESULT" property="recordResult" jdbcType="TINYINT" />
|
||||
<result column="RECOGNITION_NO" property="recognitionNo" jdbcType="VARCHAR" />
|
||||
<result column="RECOGNITION_TIME" property="recognitionTime" jdbcType="BIGINT" />
|
||||
<result column="LOG_ID" property="logId" jdbcType="VARCHAR" />
|
||||
<result column="RECOGNITION_FACE_ID" property="recognitionFaceId" jdbcType="VARCHAR" />
|
||||
<result column="CREATE_TIME" property="createTime" jdbcType="BIGINT" />
|
||||
<result column="CREATE_USER_ID" property="createUserId" jdbcType="VARCHAR" />
|
||||
<result column="LAST_UPDATE_TIME" property="lastUpdateTime" jdbcType="BIGINT" />
|
||||
<result column="LAST_UPDATE_USER_ID" property="lastUpdateUserId" jdbcType="VARCHAR" />
|
||||
<result column="SRC_FLOOR" property="srcFloor" jdbcType="VARCHAR" />
|
||||
<result column="DEST_FLOOR" property="destFloor" jdbcType="VARCHAR" />
|
||||
<result column="DISPATCH_ELEVATOR_NO" property="dispatchElevatorNo" jdbcType="VARCHAR" />
|
||||
<result column="DISPATCH_ELEVATOR_TIME" property="dispatchElevatorTime" jdbcType="VARCHAR" />
|
||||
<result column="IS_VISITOR" property="isVisitor" jdbcType="TINYINT" />
|
||||
<result column="INTERVIEWEE" property="interviewee" jdbcType="VARCHAR" />
|
||||
<result column="PERSON_CODE" property="personCode" jdbcType="VARCHAR" />
|
||||
<result column="ORG_ID" property="orgId" jdbcType="VARCHAR" />
|
||||
<result column="ORG_NAME" property="orgName" jdbcType="VARCHAR" />
|
||||
</resultMap>
|
||||
|
||||
<select id="detail" parameterType="cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryDTO"
|
||||
resultType="cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryResultDTO">
|
||||
SELECT
|
||||
`er`.`ID` as openDoorId,
|
||||
`er`.`OPEN_DOOR_TYPE` as openDoorType,
|
||||
`er`.`DEVICE_NAME` as deviceName,
|
||||
`er`.`DISTRICT_ID` as districtId,
|
||||
`er`.`AREA_ID` as areaId,
|
||||
`er`.`DEVICE_TYPE_NAME` as deviceTypeName,
|
||||
`er`.`RECOGNITION_TIME` as recognitionTime,
|
||||
`er`.`PANORAMA_IMAGE_PATH` as panoramaImageOpen,
|
||||
`er`.`RECORD_RESULT` as recordResult,
|
||||
`er`.`RECOGNITION_NO` as recognitionNo,
|
||||
`er`.`OPERATE_NAME` as operateName,
|
||||
`rr`.`ID` as regRecordId,
|
||||
`er`.`OPERATE_NAME` as personName,
|
||||
`rr`.`REGISTER_IMAGE_PATH` as registerImage,
|
||||
`er`.`FACE_IMAGE_PATH` as faceImage,
|
||||
`er`.`PANORAMA_IMAGE_PATH` as panoramaImageRecog,
|
||||
`rr`.`SCORE` as score,
|
||||
`rr`.`THRESHOLD` as threshold,
|
||||
`rr`.`RECOGNITION_RESULT` as recognitionResult,
|
||||
`rr`.`GROUP_ID` as groupId,
|
||||
`rr`.`FACE_ID` as faceId,
|
||||
`rr`.`QUALITY_SCORE` as qualityScore,
|
||||
`rr`.`LOG_ID` as logId,
|
||||
`rr`.`TEMP_SCORE` as tempScore,
|
||||
`rr`.`MASK_SCORE` as maskScore,
|
||||
`rr`.`TEMP_THRESHOLD` as tempThreshold,
|
||||
`er`.`SRC_FLOOR` as srcFloor,
|
||||
`er`.`DEST_FLOOR` as destFloor,
|
||||
`er`.`DISPATCH_ELEVATOR_NO` as dispatchElevatorNo,
|
||||
`er`.`DISPATCH_ELEVATOR_TIME` as dispatchElevatorTime,
|
||||
`er`.`RECOGNITION_FACE_ID` as recognitionFaceId
|
||||
FROM
|
||||
`it_acs_elevator_record` `er`
|
||||
JOIN `it_acs_recog_record` `rr` ON `er`.`RECOGNITION_FACE_ID` = `rr`.`LOG_ID`
|
||||
AND `er`.`BUSINESS_ID` = `rr`.`BUSINESS_ID`
|
||||
AND (`er`.`DEVICE_ID` = `rr`.`DEVICE_ID` OR `er`.`DEVICE_ID` = `rr`.`SUB_DEVICE_ID`)
|
||||
AND rr.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and #{endTime,jdbcType=BIGINT}
|
||||
<where>
|
||||
<if test="personName != null and personName != ''">
|
||||
and rr.PERSON_NAME like CONCAT('%', #{personName, jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and er.BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="areaIds != null and areaIds.size > 0">
|
||||
and er.AREA_ID in
|
||||
<foreach collection="areaIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="districtIds != null and districtIds.size > 0">
|
||||
and er.DISTRICT_ID in
|
||||
<foreach collection="districtIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="deviceIds != null and deviceIds.size > 0">
|
||||
and er.DEVICE_ID in
|
||||
<foreach collection="deviceIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="openDoorTypeCode != null and openDoorTypeCode != ''">
|
||||
and er.OPEN_DOOR_TYPE = #{openDoorTypeCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="recordResult != null">
|
||||
and er.RECORD_RESULT = #{recordResult,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="srcFloor != null and srcFloor != ''">
|
||||
and er.SRC_FLOOR = #{srcFloor,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="destFloor != null and destFloor != ''">
|
||||
and er.DEST_FLOOR = #{destFloor,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dispatchElevatorNo != null and dispatchElevatorNo != ''">
|
||||
and er.DISPATCH_ELEVATOR_NO = #{dispatchElevatorNo,jdbcType=VARCHAR}
|
||||
</if>
|
||||
and er.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and
|
||||
#{endTime,jdbcType=BIGINT}
|
||||
</where>
|
||||
order by er.RECOGNITION_TIME desc
|
||||
</select>
|
||||
|
||||
<select id="page" parameterType="cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryDTO"
|
||||
resultType="cn.cloudwalk.elevator.record.dto.AcsElevatorRecordDetailQueryResultDTO">
|
||||
SELECT
|
||||
`er`.`ID` as openDoorId,
|
||||
`er`.`OPEN_DOOR_TYPE` as openDoorType,
|
||||
`er`.`DEVICE_ID` as deviceId,
|
||||
`er`.`DEVICE_CODE` as deviceCode,
|
||||
`er`.`DEVICE_NAME` as deviceName,
|
||||
`er`.`DISTRICT_ID` as districtId,
|
||||
`er`.`AREA_ID` as areaId,
|
||||
`er`.`DEVICE_TYPE_NAME` as deviceTypeName,
|
||||
`er`.`RECOGNITION_TIME` as recognitionTime,
|
||||
`er`.`PANORAMA_IMAGE_PATH` as panoramaImageOpen,
|
||||
`er`.`RECORD_RESULT` as recordResult,
|
||||
`er`.`RECOGNITION_NO` as recognitionNo,
|
||||
`er`.`OPERATE_NAME` as operateName,
|
||||
`er`.`OPERATE_NAME` as personName,
|
||||
`er`.`FACE_IMAGE_PATH` as faceImage,
|
||||
`er`.`PANORAMA_IMAGE_PATH` as panoramaImageRecog,
|
||||
`er`.`SRC_FLOOR` as srcFloor,
|
||||
`er`.`DEST_FLOOR` as destFloor,
|
||||
`er`.`DISPATCH_ELEVATOR_NO` as dispatchElevatorNo,
|
||||
`er`.`DISPATCH_ELEVATOR_TIME` as dispatchElevatorTime,
|
||||
`er`.`RECOGNITION_FACE_ID` as recognitionFaceId,
|
||||
`er`.`RECOGNITION_FACE_ID` as personId,
|
||||
`er`.`IS_VISITOR` as isVisitor,
|
||||
`er`.`INTERVIEWEE` as interviewee,
|
||||
`er`.`PERSON_CODE` as personCode,
|
||||
`er`.`ORG_ID` as orgId,
|
||||
`er`.`ORG_NAME` as orgName
|
||||
FROM
|
||||
`it_acs_elevator_record` `er`
|
||||
<where>
|
||||
<if test="personName != null and personName != ''">
|
||||
and er.OPERATE_NAME like CONCAT('%', #{personName, jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="personId != null and personId != ''">
|
||||
and er.RECOGNITION_FACE_ID = #{personId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and er.BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="areaIds != null and areaIds.size > 0">
|
||||
and er.AREA_ID in
|
||||
<foreach collection="areaIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="districtIds != null and districtIds.size > 0">
|
||||
and er.DISTRICT_ID in
|
||||
<foreach collection="districtIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="deviceIds != null and deviceIds.size > 0">
|
||||
and er.DEVICE_ID in
|
||||
<foreach collection="deviceIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="openDoorTypeCode != null and openDoorTypeCode != ''">
|
||||
and er.OPEN_DOOR_TYPE = #{openDoorTypeCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="recordResult != null">
|
||||
and er.RECORD_RESULT = #{recordResult,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="srcFloor != null and srcFloor != ''">
|
||||
and er.SRC_FLOOR = #{srcFloor,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="destFloor != null and destFloor != ''">
|
||||
and er.DEST_FLOOR = #{destFloor,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dispatchElevatorNo != null and dispatchElevatorNo != ''">
|
||||
and er.DISPATCH_ELEVATOR_NO = #{dispatchElevatorNo,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="personCode != null and personCode != ''">
|
||||
and er.PERSON_CODE = #{personCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="orgId != null and orgId != ''">
|
||||
and er.ORG_ID = #{orgId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="isVisitor != null ">
|
||||
and er.IS_VISITOR = #{isVisitor,jdbcType=INTEGER}
|
||||
</if>
|
||||
and er.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and
|
||||
#{endTime,jdbcType=BIGINT}
|
||||
</where>
|
||||
order by er.RECOGNITION_TIME desc
|
||||
</select>
|
||||
|
||||
<select id="analyseCount" resultType="integer"
|
||||
parameterType="cn.cloudwalk.elevator.record.dto.AcsElevatorQueryCountDTO">
|
||||
SELECT
|
||||
count(1)
|
||||
FROM
|
||||
`it_acs_elevator_record` `er`
|
||||
JOIN `it_acs_recog_record` `rr` ON `er`.`RECOGNITION_FACE_ID` = `rr`.`LOG_ID`
|
||||
AND `er`.`BUSINESS_ID` = `rr`.`BUSINESS_ID`
|
||||
AND (`er`.`DEVICE_ID` = `rr`.`DEVICE_ID` OR `er`.`DEVICE_ID` = `rr`.`SUB_DEVICE_ID`)
|
||||
AND rr.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and
|
||||
#{endTime,jdbcType=BIGINT}
|
||||
<where>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and er.BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="recordResult != null">
|
||||
and er.RECORD_RESULT = #{recordResult,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="srcFloor != null and srcFloor != ''">
|
||||
and er.SRC_FLOOR = #{srcFloor,jdbcType=VARCHAR}
|
||||
</if>
|
||||
and er.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and
|
||||
#{endTime,jdbcType=BIGINT}
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="analyseGroup" resultType="cn.cloudwalk.elevator.record.dto.AcsElevatorAnalyseCycleBusinessResultDTO"
|
||||
parameterType="cn.cloudwalk.elevator.record.dto.AcsElevatorQueryCountDTO">
|
||||
SELECT
|
||||
count(1) as count,
|
||||
er.BUSINESS_ID as businessId
|
||||
FROM
|
||||
`it_acs_elevator_record` `er`
|
||||
JOIN `it_acs_recog_record` `rr` ON `er`.`RECOGNITION_FACE_ID` = `rr`.`LOG_ID`
|
||||
AND `er`.`BUSINESS_ID` = `rr`.`BUSINESS_ID`
|
||||
AND (`er`.`DEVICE_ID` = `rr`.`DEVICE_ID` OR `er`.`DEVICE_ID` = `rr`.`SUB_DEVICE_ID`)
|
||||
AND rr.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and
|
||||
#{endTime,jdbcType=BIGINT}
|
||||
<where>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and er.BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="recordResult != null">
|
||||
and er.RECORD_RESULT = #{recordResult,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="srcFloor != null and srcFloor != ''">
|
||||
and er.SRC_FLOOR = #{srcFloor,jdbcType=VARCHAR}
|
||||
</if>
|
||||
and er.RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and
|
||||
#{endTime,jdbcType=BIGINT}
|
||||
</where>
|
||||
GROUP BY er.BUSINESS_ID
|
||||
</select>
|
||||
|
||||
<insert id="add" parameterType="cn.cloudwalk.elevator.record.dto.AcsElevatorRecordAddDTO">
|
||||
insert into it_acs_elevator_record (ID, BUSINESS_ID, DEVICE_ID, DEVICE_CODE,
|
||||
DEVICE_NAME, DEVICE_TYPE_ID, DEVICE_TYPE_NAME, DISTRICT_ID, AREA_ID,
|
||||
OPEN_DOOR_TYPE, OPERATE_NAME, FACE_IMAGE_PATH, PANORAMA_IMAGE_PATH,
|
||||
RECORD_RESULT, RECOGNITION_NO, RECOGNITION_TIME,
|
||||
LOG_ID, RECOGNITION_FACE_ID, CREATE_TIME,
|
||||
CREATE_USER_ID, LAST_UPDATE_TIME, LAST_UPDATE_USER_ID, SRC_FLOOR
|
||||
,DEST_FLOOR,DISPATCH_ELEVATOR_NO,DISPATCH_ELEVATOR_TIME,IS_VISITOR,INTERVIEWEE,PERSON_CODE,ORG_ID,ORG_NAME)
|
||||
values (#{id,jdbcType=VARCHAR}, #{businessId,jdbcType=VARCHAR},
|
||||
#{deviceId,jdbcType=VARCHAR},
|
||||
#{deviceCode,jdbcType=VARCHAR}, #{deviceName,jdbcType=VARCHAR},
|
||||
#{deviceTypeId,jdbcType=VARCHAR},
|
||||
#{deviceTypeName,jdbcType=VARCHAR}, #{districtId,jdbcType=VARCHAR},
|
||||
#{areaId,jdbcType=VARCHAR},
|
||||
#{openDoorType,jdbcType=VARCHAR}, #{operateName,jdbcType=VARCHAR},
|
||||
#{faceImagePath,jdbcType=VARCHAR},
|
||||
#{panoramaImagePath,jdbcType=VARCHAR}, #{recordResult,jdbcType=TINYINT},
|
||||
#{recognitionNo,jdbcType=VARCHAR}, #{recognitionTime,jdbcType=BIGINT},
|
||||
#{logId,jdbcType=VARCHAR},
|
||||
#{recognitionFaceId,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT},
|
||||
#{createUserId,jdbcType=VARCHAR}, #{lastUpdateTime,jdbcType=BIGINT},
|
||||
#{lastUpdateUserId,jdbcType=VARCHAR},#{srcFloor,jdbcType=VARCHAR},
|
||||
#{destFloor,jdbcType=VARCHAR},#{dispatchElevatorNo,jdbcType=VARCHAR},#{dispatchElevatorTime,jdbcType=BIGINT},
|
||||
#{isVisitor,jdbcType=TINYINT},#{interviewee,jdbcType=VARCHAR},
|
||||
#{personCode,jdbcType=VARCHAR},#{orgId,jdbcType=VARCHAR},#{orgName,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
|
||||
<update id="update" parameterType="cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordEditDTO">
|
||||
update it_acs_elevator_record
|
||||
<trim prefix="set" suffixOverrides=",">
|
||||
<if test="lastUpdateTime != null">
|
||||
LAST_UPDATE_TIME = #{lastUpdateTime, jdbcType=BIGINT},
|
||||
</if>
|
||||
|
||||
<if test="recordResult != null">
|
||||
RECORD_RESULT = #{recordResult, jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="openDoorType != null and openDoorType != ''">
|
||||
OPEN_DOOR_TYPE = #{openDoorType, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="operateName != null and operateName != ''">
|
||||
OPERATE_NAME = #{operateName, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="faceImagePath != null and faceImagePath != ''">
|
||||
FACE_IMAGE_PATH = #{faceImagePath, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="panoramaImagePath != null and panoramaImagePath != ''">
|
||||
PANORAMA_IMAGE_PATH = #{panoramaImagePath, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="recognitionNo != null and recognitionNo != ''">
|
||||
RECOGNITION_NO = #{recognitionNo, jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="lastUpdateUserId != null and lastUpdateUserId != ''">
|
||||
LAST_UPDATE_USER_ID = #{lastUpdateUserId, jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and ID = #{id, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and BUSINESS_ID = #{businessId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="logId != null and logId != ''">
|
||||
and LOG_ID = #{logId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceId != null and deviceId != ''">
|
||||
and DEVICE_ID = #{deviceId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="deviceCode != null and deviceCode != ''">
|
||||
and DEVICE_CODE = #{deviceCode, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="startDay != null">
|
||||
and RECOGNITION_TIME >= #{startDay, jdbcType=BIGINT}
|
||||
</if>
|
||||
<if test="endDay != null">
|
||||
and RECOGNITION_TIME <= #{endDay, jdbcType=BIGINT}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<select id="query" parameterType="cn.cloudwalk.elevator.record.dto.AcsOpenDoorRecordQueryDTO" resultMap="resultMap">
|
||||
select ID,BUSINESS_ID,DEVICE_ID,DEVICE_CODE,DEVICE_NAME,
|
||||
DEVICE_TYPE_ID,DEVICE_TYPE_NAME,DISTRICT_ID,AREA_ID,OPEN_DOOR_TYPE,
|
||||
OPERATE_NAME,FACE_IMAGE_PATH,PANORAMA_IMAGE_PATH,RECORD_RESULT,RECOGNITION_NO,
|
||||
RECOGNITION_TIME,LOG_ID,RECOGNITION_FACE_ID,CREATE_TIME,CREATE_USER_ID,
|
||||
LAST_UPDATE_TIME,LAST_UPDATE_USER_ID,SRC_FLOOR
|
||||
,DEST_FLOOR,DISPATCH_ELEVATOR_NO,DISPATCH_ELEVATOR_TIME
|
||||
from it_acs_elevator_record
|
||||
<trim prefix="where" prefixOverrides="and|or">
|
||||
<if test="id != null and id != ''">
|
||||
and ID = #{id, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and BUSINESS_ID = #{businessId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="startDay != null">
|
||||
and RECOGNITION_TIME >= #{startDay, jdbcType=BIGINT}
|
||||
</if>
|
||||
<if test="endDay != null">
|
||||
and RECOGNITION_TIME <= #{endDay, jdbcType=BIGINT}
|
||||
</if>
|
||||
<if test="logId != null and logId != ''">
|
||||
and LOG_ID = #{logId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
</trim>
|
||||
order by CREATE_TIME desc
|
||||
</select>
|
||||
|
||||
<select id="listByRecognitionTime" parameterType="cn.cloudwalk.elevator.record.dto.AcsRecordThreeSendQueryDTO"
|
||||
resultMap="resultMap">
|
||||
select ID,BUSINESS_ID,DEVICE_ID,DEVICE_CODE,DEVICE_NAME,
|
||||
DEVICE_TYPE_ID,DEVICE_TYPE_NAME,DISTRICT_ID,AREA_ID,OPEN_DOOR_TYPE,
|
||||
OPERATE_NAME,FACE_IMAGE_PATH,PANORAMA_IMAGE_PATH,RECORD_RESULT,RECOGNITION_NO,
|
||||
RECOGNITION_TIME,LOG_ID,RECOGNITION_FACE_ID,CREATE_TIME,CREATE_USER_ID,
|
||||
LAST_UPDATE_TIME,LAST_UPDATE_USER_ID,SRC_FLOOR
|
||||
,DEST_FLOOR,DISPATCH_ELEVATOR_NO,DISPATCH_ELEVATOR_TIME,IS_VISITOR,INTERVIEWEE,PERSON_CODE,ORG_ID,ORG_NAME
|
||||
from it_acs_elevator_record
|
||||
WHERE RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and #{endTime,jdbcType=BIGINT}
|
||||
and RECORD_RESULT = 0
|
||||
and PERSON_CODE is not null
|
||||
order by RECOGNITION_TIME asc
|
||||
limit 1000
|
||||
</select>
|
||||
|
||||
<select id="srcFloor" resultType="java.lang.String">
|
||||
select SRC_FLOOR
|
||||
from it_acs_elevator_record
|
||||
<if test="businessId != null and businessId != ''">
|
||||
where BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
group by SRC_FLOOR
|
||||
order by SRC_FLOOR
|
||||
</select>
|
||||
|
||||
<select id="destFloor" resultType="java.lang.String">
|
||||
select DEST_FLOOR
|
||||
from it_acs_elevator_record
|
||||
<if test="businessId != null and businessId != ''">
|
||||
where BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
group by DEST_FLOOR
|
||||
order by DEST_FLOOR
|
||||
</select>
|
||||
|
||||
<select id="dispatchElevatorNo" resultType="java.lang.String" parameterType="java.lang.String">
|
||||
select DISPATCH_ELEVATOR_NO
|
||||
from it_acs_elevator_record
|
||||
<if test="businessId != null and businessId != ''">
|
||||
where BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
group by DISPATCH_ELEVATOR_NO
|
||||
order by DISPATCH_ELEVATOR_NO
|
||||
</select>
|
||||
</mapper>
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="cn.cloudwalk.elevator.passrule.mapper.AcsPassRuleMapper">
|
||||
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleResultDto">
|
||||
<result column="ID" property="id" jdbcType="VARCHAR" />
|
||||
<result column="BUSINESS_ID" property="businessId" jdbcType="VARCHAR" />
|
||||
<result column="NAME" property="name" jdbcType="VARCHAR" />
|
||||
<result column="VALID_DATE_CRON" property="validDateCron" jdbcType="LONGVARCHAR" />
|
||||
<result column="VALID_DATE_JSON" property="validDateJson" jdbcType="LONGVARCHAR" />
|
||||
<result column="BEGIN_DATE" property="beginDate" jdbcType="BIGINT" />
|
||||
<result column="END_DATE" property="endDate" jdbcType="BIGINT" />
|
||||
<result column="IMAGE_STORE_ID" property="imageStoreId" jdbcType="VARCHAR" />
|
||||
<result column="ZONE_ID" property="zoneId" jdbcType="VARCHAR" />
|
||||
<result column="ZONE_NAME" property="zoneName" jdbcType="VARCHAR" />
|
||||
<result column="IS_DEFAULT" property="isDefault" jdbcType="INTEGER" />
|
||||
|
||||
<result column="CREATE_TIME" property="createTime" jdbcType="BIGINT" />
|
||||
<result column="CREATE_USER_ID" property="createUserId" jdbcType="VARCHAR" />
|
||||
<result column="LAST_UPDATE_TIME" property="lastUpdateTime" jdbcType="BIGINT" />
|
||||
<result column="LAST_UPDATE_USER_ID" property="lastUpdateUserId" jdbcType="VARCHAR" />
|
||||
</resultMap>
|
||||
|
||||
<insert id="insert" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleAddDto">
|
||||
insert into it_acs_pass_rule (ID, BUSINESS_ID, NAME, VALID_DATE_CRON, VALID_DATE_JSON,
|
||||
BEGIN_DATE, END_DATE, IMAGE_STORE_ID, ZONE_ID,ZONE_NAME,
|
||||
CREATE_TIME, CREATE_USER_ID, LAST_UPDATE_TIME, LAST_UPDATE_USER_ID,IS_DEFAULT)
|
||||
values (#{id,jdbcType=VARCHAR}, #{businessId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||
#{validDateCron,jdbcType=LONGVARCHAR}, #{validDateJson,jdbcType=LONGVARCHAR},
|
||||
#{beginDate,jdbcType=BIGINT}, #{endDate,jdbcType=BIGINT},
|
||||
#{imageStoreId,jdbcType=VARCHAR},
|
||||
#{zoneId,jdbcType=VARCHAR},
|
||||
#{zoneName,jdbcType=VARCHAR},
|
||||
#{createTime,jdbcType=BIGINT}, #{createUserId,jdbcType=VARCHAR},
|
||||
#{lastUpdateTime,jdbcType=BIGINT}, #{lastUpdateUserId,jdbcType=VARCHAR},
|
||||
#{isDefault,jdbcType=INTEGER})
|
||||
</insert>
|
||||
|
||||
<delete id="delete" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto">
|
||||
delete from it_acs_pass_rule
|
||||
where BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
<if test="ids != null and ids.size > 0">
|
||||
and ID in
|
||||
<foreach collection="ids" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
</delete>
|
||||
|
||||
<update id="update" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleEditDto">
|
||||
update it_acs_pass_rule
|
||||
<set>
|
||||
<if test="name != null and name !=''">
|
||||
NAME = #{name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
VALID_DATE_CRON = #{validDateCron,jdbcType=LONGVARCHAR},
|
||||
VALID_DATE_JSON = #{validDateJson,jdbcType=LONGVARCHAR},
|
||||
BEGIN_DATE = #{beginDate,jdbcType=BIGINT},
|
||||
END_DATE = #{endDate,jdbcType=BIGINT},
|
||||
</set>
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and ID = #{id,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="businessId != null and businessId !=''">
|
||||
and BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<select id="list" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto" resultMap="resultMap">
|
||||
select ID, BUSINESS_ID, NAME, VALID_DATE_CRON, VALID_DATE_JSON,
|
||||
BEGIN_DATE, END_DATE, IMAGE_STORE_ID, ZONE_ID,ZONE_NAME,
|
||||
CREATE_TIME, CREATE_USER_ID, LAST_UPDATE_TIME, LAST_UPDATE_USER_ID,IS_DEFAULT
|
||||
from it_acs_pass_rule
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and id = #{id, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and BUSINESS_ID = #{businessId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="imageStoreId != null and imageStoreId !=''">
|
||||
and IMAGE_STORE_ID = #{imageStoreId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="zoneId != null and zoneId !=''">
|
||||
and ZONE_ID = #{zoneId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="imageStoreIds != null and imageStoreIds.size > 0">
|
||||
and IMAGE_STORE_ID in
|
||||
<foreach collection="imageStoreIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="ids != null and ids.size > 0">
|
||||
and ID in
|
||||
<foreach collection="ids" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
order by CREATE_TIME desc
|
||||
</select>
|
||||
|
||||
<select id="getIsDefaultByZoneId" resultType="java.lang.String">
|
||||
SELECT IMAGE_STORE_ID
|
||||
FROM it_acs_pass_rule
|
||||
WHERE IS_DEFAULT = 1
|
||||
AND ZONE_ID = #{zoneId,jdbcType=VARCHAR}
|
||||
AND BUSINESS_ID = #{businessId, jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="listByImageId" resultType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto">
|
||||
SELECT ZONE_ID AS zoneId,ZONE_NAME AS zoneName,IMAGE_STORE_ID AS imageStoreId
|
||||
FROM it_acs_pass_rule
|
||||
WHERE BUSINESS_ID = #{businessId, jdbcType=VARCHAR}
|
||||
<if test="imageStoreIds != null and imageStoreIds.size > 0">
|
||||
AND IMAGE_STORE_ID in
|
||||
<foreach collection="imageStoreIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.elevator.record.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO;
|
||||
import java.util.List;
|
||||
|
||||
public interface AcsRecogRecordMapper {
|
||||
int add(AcsRecogRecordAddDTO paramAcsRecogRecordAddDTO);
|
||||
|
||||
List<AcsRecogRecordResultDTO> page(AcsRecogRecordPageDTO paramAcsRecogRecordPageDTO);
|
||||
|
||||
AcsRecogRecordResultDTO getByPersonId(String paramString);
|
||||
}
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.record.mapper.AcsRecogRecordMapper">
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.record.dto.AcsRecogRecordResultDTO">
|
||||
<id column="ID" jdbcType="VARCHAR" property="id" />
|
||||
<result column="BUSINESS_ID" jdbcType="VARCHAR" property="businessId" />
|
||||
<result column="PERSON_ID" jdbcType="VARCHAR" property="personId" />
|
||||
<result column="PERSON_NAME" jdbcType="VARCHAR" property="personName" />
|
||||
<result column="DEVICE_CODE" jdbcType="VARCHAR" property="deviceCode" />
|
||||
<result column="DEVICE_NAME" jdbcType="VARCHAR" property="deviceName" />
|
||||
<result column="THRESHOLD" jdbcType="DECIMAL" property="threshold" />
|
||||
<result column="DISTRICT_ID" jdbcType="VARCHAR" property="districtId" />
|
||||
<result column="AREA_ID" jdbcType="VARCHAR" property="areaId" />
|
||||
<result column="DEVICE_TYPE_ID" jdbcType="VARCHAR" property="deviceTypeId" />
|
||||
<result column="DEVICE_TYPE_NAME" jdbcType="VARCHAR" property="deviceTypeName" />
|
||||
|
||||
<result column="SUB_DEVICE_ID" jdbcType="VARCHAR" property="subDeviceId" />
|
||||
<result column="SUB_DEVICE_CODE" jdbcType="VARCHAR" property="subDeviceCode" />
|
||||
<result column="SUB_DEVICE_NAME" jdbcType="VARCHAR" property="subDeviceName" />
|
||||
<result column="SUB_DEVICE_TYPE_ID" jdbcType="VARCHAR" property="subDeviceTypeId" />
|
||||
<result column="SUB_DEVICE_TYPE_NAME" jdbcType="VARCHAR" property="subDeviceTypeName" />
|
||||
|
||||
<result column="REGISTER_IMAGE_PATH" jdbcType="VARCHAR" property="registerImagePath" />
|
||||
<result column="FACE_IMAGE_PATH" jdbcType="VARCHAR" property="faceImagePath" />
|
||||
<result column="PANORAMA_IMAGE_PATH" jdbcType="VARCHAR" property="panoramaImagePath" />
|
||||
<result column="SCORE" jdbcType="DECIMAL" property="score" />
|
||||
<result column="RECOGNITION_RESULT" jdbcType="TINYINT" property="recognitionResult" />
|
||||
<result column="RECOGNITION_TIME" jdbcType="BIGINT" property="recognitionTime" />
|
||||
<result column="GROUP_ID" jdbcType="VARCHAR" property="groupId" />
|
||||
<result column="FACE_ID" jdbcType="VARCHAR" property="faceId" />
|
||||
<result column="QUALITY_SCORE" jdbcType="DECIMAL" property="qualityScore" />
|
||||
<result column="LOG_ID" jdbcType="VARCHAR" property="logId" />
|
||||
<result column="TEMP_SCORE" jdbcType="DECIMAL" property="tempScore" />
|
||||
<result column="MASK_SCORE" jdbcType="DECIMAL" property="maskScore" />
|
||||
<result column="TEMP_THRESHOLD" jdbcType="DECIMAL" property="tempThreshold" />
|
||||
<result column="REMARK" jdbcType="VARCHAR" property="remark" />
|
||||
<result column="DEVICE_ID" jdbcType="VARCHAR" property="deviceId" />
|
||||
<result column="CREATE_TIME" jdbcType="BIGINT" property="createTime" />
|
||||
<result column="CREATE_USER_ID" jdbcType="VARCHAR" property="createUserId" />
|
||||
<result column="LAST_UPDATE_TIME" jdbcType="BIGINT" property="lastUpdateTime" />
|
||||
<result column="LAST_UPDATE_USER_ID" jdbcType="VARCHAR" property="lastUpdateUserId" />
|
||||
<result column="PERSON_LABEL_IDS" jdbcType="VARCHAR" property="personLabelIds" />
|
||||
</resultMap>
|
||||
|
||||
<insert id="add" parameterType="cn.cloudwalk.elevator.record.dto.AcsRecogRecordAddDTO">
|
||||
insert into it_acs_recog_record (ID, PERSON_ID, PERSON_NAME,
|
||||
BUSINESS_ID, DEVICE_ID, DEVICE_CODE,
|
||||
DEVICE_NAME, THRESHOLD, DISTRICT_ID,
|
||||
AREA_ID, DEVICE_TYPE_ID, DEVICE_TYPE_NAME,
|
||||
SUB_DEVICE_ID, SUB_DEVICE_CODE, SUB_DEVICE_NAME, SUB_DEVICE_TYPE_ID, SUB_DEVICE_TYPE_NAME,
|
||||
REGISTER_IMAGE_PATH, FACE_IMAGE_PATH, PANORAMA_IMAGE_PATH,
|
||||
SCORE, RECOGNITION_RESULT, RECOGNITION_TIME,
|
||||
GROUP_ID, FACE_ID, QUALITY_SCORE,
|
||||
LOG_ID, TEMP_SCORE, MASK_SCORE,
|
||||
TEMP_THRESHOLD, CARD_TYPE, `SOURCE`,
|
||||
TEMP_IMAGE_PATH, REMARK, CREATE_TIME,
|
||||
CREATE_USER_ID, LAST_UPDATE_TIME, LAST_UPDATE_USER_ID, PERSON_LABEL_IDS
|
||||
)
|
||||
values (#{id,jdbcType=VARCHAR}, #{personId,jdbcType=VARCHAR}, #{personName,jdbcType=VARCHAR},
|
||||
#{businessId,jdbcType=VARCHAR}, #{deviceId,jdbcType=VARCHAR}, #{deviceCode,jdbcType=VARCHAR},
|
||||
#{deviceName,jdbcType=VARCHAR}, #{threshold,jdbcType=DECIMAL}, #{districtId,jdbcType=VARCHAR},
|
||||
#{areaId,jdbcType=VARCHAR}, #{deviceTypeId,jdbcType=VARCHAR}, #{deviceTypeName,jdbcType=VARCHAR},
|
||||
#{subDeviceId,jdbcType=VARCHAR}, #{subDeviceCode,jdbcType=VARCHAR}, #{subDeviceName,jdbcType=VARCHAR},
|
||||
#{subDeviceTypeId,jdbcType=VARCHAR}, #{subDeviceTypeName,jdbcType=VARCHAR},
|
||||
#{registerImagePath,jdbcType=VARCHAR}, #{faceImagePath,jdbcType=VARCHAR}, #{panoramaImagePath,jdbcType=VARCHAR},
|
||||
#{score,jdbcType=DECIMAL}, #{recognitionResult,jdbcType=TINYINT}, #{recognitionTime,jdbcType=BIGINT},
|
||||
#{groupId,jdbcType=VARCHAR}, #{faceId,jdbcType=VARCHAR}, #{qualityScore,jdbcType=DECIMAL},
|
||||
#{logId,jdbcType=VARCHAR}, #{tempScore,jdbcType=DECIMAL}, #{maskScore,jdbcType=DECIMAL},
|
||||
#{tempThreshold,jdbcType=DECIMAL}, #{cardType,jdbcType=VARCHAR}, #{source,jdbcType=TINYINT},
|
||||
#{tempImagePath,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT},
|
||||
#{createUserId,jdbcType=VARCHAR}, #{lastUpdateTime,jdbcType=BIGINT},
|
||||
#{lastUpdateUserId,jdbcType=VARCHAR},#{personLabelIds,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<select id="page" parameterType="cn.cloudwalk.elevator.record.dto.AcsRecogRecordPageDTO" resultMap="resultMap">
|
||||
select ID,PERSON_ID, PERSON_NAME, BUSINESS_ID,
|
||||
DEVICE_ID, DEVICE_CODE, DEVICE_NAME,
|
||||
THRESHOLD, DISTRICT_ID, AREA_ID,
|
||||
DEVICE_TYPE_ID, DEVICE_TYPE_NAME,
|
||||
SUB_DEVICE_ID, SUB_DEVICE_CODE, SUB_DEVICE_NAME, SUB_DEVICE_TYPE_ID, SUB_DEVICE_TYPE_NAME,
|
||||
REGISTER_IMAGE_PATH,
|
||||
FACE_IMAGE_PATH, PANORAMA_IMAGE_PATH, SCORE,
|
||||
RECOGNITION_RESULT, RECOGNITION_TIME, GROUP_ID,
|
||||
FACE_ID, QUALITY_SCORE, LOG_ID,
|
||||
TEMP_SCORE, MASK_SCORE, TEMP_THRESHOLD,
|
||||
REMARK, CREATE_TIME, CREATE_USER_ID,
|
||||
LAST_UPDATE_TIME, LAST_UPDATE_USER_ID, PERSON_LABEL_IDS
|
||||
from
|
||||
it_acs_recog_record
|
||||
<where>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and BUSINESS_ID = #{businessId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="logId != null and logId != ''">
|
||||
and LOG_ID = #{logId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="recognitionResult != null">
|
||||
and RECOGNITION_RESULT = #{recognitionResult, jdbcType=TINYINT}
|
||||
</if>
|
||||
<if test="personName != null and personName != ''">
|
||||
and PERSON_NAME like CONCAT('%', #{personName, jdbcType=VARCHAR}, '%')
|
||||
</if>
|
||||
<if test="areaIds != null and areaIds.size > 0">
|
||||
and AREA_ID in
|
||||
<foreach collection="areaIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="districtIds != null and districtIds.size > 0">
|
||||
and DISTRICT_ID in
|
||||
<foreach collection="districtIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="deviceIds != null and deviceIds.size > 0">
|
||||
and DEVICE_ID in
|
||||
<foreach collection="deviceIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="compareType != null">
|
||||
and `SOURCE` = #{compareType,jdbcType=TINYINT}
|
||||
</if>
|
||||
and RECOGNITION_TIME between #{startTime,jdbcType=BIGINT} and #{endTime,jdbcType=BIGINT}
|
||||
</where>
|
||||
order by RECOGNITION_TIME desc
|
||||
</select>
|
||||
|
||||
<select id="getByPersonId" resultMap="resultMap">
|
||||
select ID,PERSON_ID, PERSON_NAME, BUSINESS_ID,
|
||||
DEVICE_ID, DEVICE_CODE, DEVICE_NAME,
|
||||
THRESHOLD, DISTRICT_ID, AREA_ID,
|
||||
DEVICE_TYPE_ID, DEVICE_TYPE_NAME,
|
||||
SUB_DEVICE_ID, SUB_DEVICE_CODE, SUB_DEVICE_NAME, SUB_DEVICE_TYPE_ID, SUB_DEVICE_TYPE_NAME,
|
||||
REGISTER_IMAGE_PATH,
|
||||
FACE_IMAGE_PATH, PANORAMA_IMAGE_PATH, SCORE,
|
||||
RECOGNITION_RESULT, RECOGNITION_TIME, GROUP_ID,
|
||||
FACE_ID, QUALITY_SCORE, LOG_ID,
|
||||
TEMP_SCORE, MASK_SCORE, TEMP_THRESHOLD,
|
||||
REMARK, CREATE_TIME, CREATE_USER_ID,
|
||||
LAST_UPDATE_TIME, LAST_UPDATE_USER_ID, PERSON_LABEL_IDS
|
||||
from
|
||||
it_acs_recog_record
|
||||
where PERSON_ID = #{personId,jdbcType=VARCHAR}
|
||||
order by RECOGNITION_TIME desc
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
+350
@@ -0,0 +1,350 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="cn.cloudwalk.elevator.passrule.mapper.ImageRuleRefMapper">
|
||||
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.passrule.dto.ImageRuleRefResultDto">
|
||||
<result column="id" property="id" jdbcType="VARCHAR" />
|
||||
<result column="business_id" property="businessId" jdbcType="VARCHAR" />
|
||||
<result column="name" property="name" jdbcType="VARCHAR" />
|
||||
<result column="start_time" property="startTime" jdbcType="BIGINT" />
|
||||
<result column="end_time" property="endTime" jdbcType="BIGINT" />
|
||||
<result column="zone_id" property="zoneId" jdbcType="VARCHAR" />
|
||||
<result column="zone_name" property="zoneName" jdbcType="VARCHAR" />
|
||||
<result column="parent_rule" property="parentRule" jdbcType="VARCHAR" />
|
||||
<result column="person_id" property="personId" jdbcType="VARCHAR" />
|
||||
<result column="include_labels" property="includeLabels" jdbcType="VARCHAR" />
|
||||
<result column="include_organizations" property="includeOrganizations" jdbcType="VARCHAR" />
|
||||
<result column="exclude_labels" property="excludeLabels" jdbcType="VARCHAR" />
|
||||
<result column="is_default" property="isDefault" jdbcType="INTEGER" />
|
||||
|
||||
<result column="create_time" property="createTime" jdbcType="BIGINT" />
|
||||
<result column="last_update_time" property="lastUpdateTime" jdbcType="BIGINT" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="resultMap2" type="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageResultDto">
|
||||
<result column="zone_id" property="zoneId" jdbcType="VARCHAR" />
|
||||
<result column="zone_name" property="zoneName" jdbcType="VARCHAR" />
|
||||
</resultMap>
|
||||
|
||||
<select id="listRuleByZoneIdExtDefault" resultType="java.lang.String">
|
||||
SELECT id
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
AND is_default = 0
|
||||
AND parent_rule IS NULL
|
||||
</select>
|
||||
|
||||
<select id="listPersonDelByZoneId" resultType="java.lang.String">
|
||||
SELECT person_id
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
AND person_delete = 1
|
||||
</select>
|
||||
|
||||
<select id="listPersonDelByPersonId" resultType="java.lang.String">
|
||||
SELECT zone_id
|
||||
FROM image_rule_ref
|
||||
WHERE person_id = #{personId,jdbcType=VARCHAR}
|
||||
AND person_delete = 1
|
||||
</select>
|
||||
|
||||
<select id="listByParentRule" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE parent_rule in
|
||||
<foreach collection="parentRuleIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="listByPersonId" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE person_id = #{personId,jdbcType=VARCHAR}
|
||||
and person_delete = 0
|
||||
</select>
|
||||
|
||||
<select id="listByLabelId" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE include_labels = #{labelId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="listByOrgId" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE include_organizations = #{orgId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="listByPersonInfo" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto"
|
||||
resultMap="resultMap2">
|
||||
SELECT DISTINCT zone_id,zone_name
|
||||
FROM image_rule_ref
|
||||
WHERE person_id = #{personId,jdbcType=VARCHAR}
|
||||
AND person_delete = 0
|
||||
<if test="includeOrganizations != null and includeOrganizations.size > 0">
|
||||
OR include_organizations in
|
||||
<foreach collection="includeOrganizations" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
and zone_id not in (
|
||||
select zone_id from image_rule_ref
|
||||
where person_id = #{personId,jdbcType=VARCHAR}
|
||||
AND person_delete = 1
|
||||
)
|
||||
</if>
|
||||
<if test="includeLabels != null and includeLabels.size > 0">
|
||||
OR include_labels in
|
||||
<foreach collection="includeLabels" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
and zone_id not in (
|
||||
select zone_id from image_rule_ref
|
||||
where person_id = #{personId,jdbcType=VARCHAR}
|
||||
AND person_delete = 1
|
||||
)
|
||||
</if>
|
||||
order by CAST(zone_name as signed) ASC
|
||||
</select>
|
||||
|
||||
<select id="listByRestructure" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleImageDto"
|
||||
resultMap="resultMap2">
|
||||
SELECT DISTINCT zone_id,zone_name
|
||||
FROM image_rule_ref
|
||||
WHERE 1=1
|
||||
AND zone_name IS NOT NULL
|
||||
<if test="includeOrganizations != null and includeOrganizations.size > 0">
|
||||
and include_organizations in
|
||||
<foreach collection="includeOrganizations" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="includeLabels != null and includeLabels.size > 0">
|
||||
and include_labels in
|
||||
<foreach collection="includeLabels" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
order by CAST(zone_name as signed) ASC
|
||||
</select>
|
||||
|
||||
<select id="listFloorsByRestructure" resultType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleLabelResultDto">
|
||||
SELECT DISTINCT zone_id as zoneId,zone_name as zoneName,include_labels as labelId
|
||||
FROM image_rule_ref
|
||||
WHERE 1=1
|
||||
<if test="includeLabels != null and includeLabels.size > 0">
|
||||
and include_labels in
|
||||
<foreach collection="includeLabels" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
order by CAST(zone_name as signed) ASC
|
||||
</select>
|
||||
|
||||
<select id="listZoneInfoByIds" resultMap="resultMap2">
|
||||
SELECT DISTINCT zone_id ,zone_name
|
||||
FROM image_rule_ref
|
||||
WHERE
|
||||
zone_name IS NOT NULL
|
||||
AND zone_id in
|
||||
<foreach collection="zoneIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
order by CAST(zone_name as signed) ASC
|
||||
</select>
|
||||
|
||||
<select id="listByNotZoneIds" resultMap="resultMap2">
|
||||
SELECT DISTINCT zone_id ,zone_name
|
||||
FROM image_rule_ref
|
||||
WHERE
|
||||
zone_name IS NOT NULL
|
||||
<if test="request.zoneId != null and request.zoneId != ''">
|
||||
and zone_id = #{request.zoneId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="request.zoneIds != null and request.zoneIds.size > 0">
|
||||
AND zone_id not in
|
||||
<foreach collection="request.zoneIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
order by CAST(zone_name as signed) ASC
|
||||
</select>
|
||||
|
||||
<select id="listByPersonList" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRulePersonListDto"
|
||||
resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE person_delete = 0
|
||||
AND person_id in
|
||||
<foreach collection="personIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
<if test="includeOrganizations != null and includeOrganizations.size > 0">
|
||||
OR include_organizations in
|
||||
<foreach collection="includeOrganizations" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="includeLabels != null and includeLabels.size > 0">
|
||||
OR include_labels in
|
||||
<foreach collection="includeLabels" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
order by CAST(zone_name as signed) ASC
|
||||
</select>
|
||||
|
||||
<select id="getDefaultByZoneId" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
AND is_default = 1
|
||||
</select>
|
||||
|
||||
<select id="getById" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getByRuleName" resultType="java.lang.String">
|
||||
SELECT id
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
and name = #{ruleName,jdbcType=VARCHAR}
|
||||
and parent_rule IS NULL
|
||||
and person_delete IS NULL
|
||||
</select>
|
||||
|
||||
<select id="getByPersonIdAndZoneId" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId}
|
||||
and person_id in
|
||||
<foreach collection="personIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="getDelByPersonIdAndZoneId" resultMap="resultMap">
|
||||
SELECT *
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId}
|
||||
and person_id = #{personId}
|
||||
and person_delete = 1
|
||||
</select>
|
||||
|
||||
<select id="countPersonIdByZoneId" resultType="java.lang.String">
|
||||
SELECT person_id
|
||||
FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
AND person_delete = 0
|
||||
</select>
|
||||
|
||||
<select id="page" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleQueryDto" resultMap="resultMap">
|
||||
select *
|
||||
from image_rule_ref
|
||||
<where>
|
||||
<if test="id != null and id != ''">
|
||||
and id = #{id, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="businessId != null and businessId != ''">
|
||||
and business_id = #{businessId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="zoneId != null and zoneId !=''">
|
||||
and zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="ids != null and ids.size > 0">
|
||||
and id in
|
||||
<foreach collection="ids" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</if>
|
||||
and parent_rule IS NULL
|
||||
and person_delete IS NULL
|
||||
</where>
|
||||
order by last_update_time desc
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<insert id="insert" parameterType="cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto">
|
||||
insert into image_rule_ref (id, business_id, name, zone_id, zone_name,
|
||||
start_time, end_time, person_id, include_labels,include_organizations,
|
||||
exclude_labels, is_default, create_time, last_update_time,parent_rule,person_delete)
|
||||
values (#{id,jdbcType=VARCHAR}, #{businessId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||
#{zoneId,jdbcType=VARCHAR}, #{zoneName,jdbcType=VARCHAR},
|
||||
#{startTime,jdbcType=BIGINT},#{endTime,jdbcType=BIGINT},
|
||||
#{personId,jdbcType=VARCHAR}, #{includeLabels,jdbcType=VARCHAR},
|
||||
#{includeOrganizations,jdbcType=VARCHAR},
|
||||
#{excludeLabels,jdbcType=VARCHAR},
|
||||
#{isDefault,jdbcType=INTEGER},
|
||||
#{createTime,jdbcType=BIGINT},
|
||||
#{lastUpdateTime,jdbcType=BIGINT},#{parentRule,jdbcType=VARCHAR},#{personDelete,jdbcType=INTEGER})
|
||||
</insert>
|
||||
|
||||
<insert id="insertList" parameterType="cn.cloudwalk.elevator.passrule.dto.ImageRuleRefAddDto">
|
||||
insert into image_rule_ref (id, business_id, name, zone_id, zone_name,
|
||||
start_time, end_time, person_id, include_labels,include_organizations,
|
||||
exclude_labels, is_default, create_time, last_update_time,parent_rule,person_delete)
|
||||
values
|
||||
<foreach collection="dtoList" item="item" separator=",">
|
||||
(#{item.id,jdbcType=VARCHAR}, #{item.businessId,jdbcType=VARCHAR}, #{item.name,jdbcType=VARCHAR},
|
||||
#{item.zoneId,jdbcType=VARCHAR}, #{item.zoneName,jdbcType=VARCHAR},
|
||||
#{item.startTime,jdbcType=BIGINT},#{item.endTime,jdbcType=BIGINT},
|
||||
#{item.personId,jdbcType=VARCHAR}, #{item.includeLabels,jdbcType=VARCHAR},
|
||||
#{item.includeOrganizations,jdbcType=VARCHAR},
|
||||
#{item.excludeLabels,jdbcType=VARCHAR},
|
||||
#{item.isDefault,jdbcType=INTEGER},
|
||||
#{item.createTime,jdbcType=BIGINT},
|
||||
#{item.lastUpdateTime,jdbcType=BIGINT},#{item.parentRule,jdbcType=VARCHAR},#{item.personDelete,jdbcType=INTEGER})
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<delete id="deleteByZoneIdAndName">
|
||||
DELETE FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId,jdbcType=VARCHAR}
|
||||
and name = #{oldName,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteById">
|
||||
DELETE FROM image_rule_ref
|
||||
WHERE id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByParentRule">
|
||||
DELETE FROM image_rule_ref
|
||||
WHERE parent_rule = #{parentRule,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByPersonIdsIsDel">
|
||||
DELETE FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId}
|
||||
AND person_delete = 1
|
||||
AND person_id in
|
||||
<foreach collection="personIds" item="item" open="(" close=")" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByPersonId">
|
||||
UPDATE image_rule_ref
|
||||
SET person_delete = 1
|
||||
WHERE zone_id = #{zoneId}
|
||||
AND person_delete = 0
|
||||
AND person_id = #{personId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByOrgAndLabel" parameterType="cn.cloudwalk.elevator.passrule.dto.AcsPassRuleDeleteDto">
|
||||
DELETE FROM image_rule_ref
|
||||
WHERE zone_id = #{zoneId}
|
||||
<if test="orgId != null and orgId != ''">
|
||||
and include_organizations = #{orgId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="labelId != null and labelId != ''">
|
||||
and include_labels = #{labelId, jdbcType=VARCHAR}
|
||||
</if>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.elevator.record.mapper;
|
||||
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeAddDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeEditDTO;
|
||||
import cn.cloudwalk.elevator.record.dto.SendRecordTimeResultDTO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface SendRecordTimeMapper {
|
||||
SendRecordTimeResultDTO getByType(@Param("type") Integer paramInteger);
|
||||
|
||||
Integer add(SendRecordTimeAddDTO paramSendRecordTimeAddDTO);
|
||||
|
||||
Integer update(SendRecordTimeEditDTO paramSendRecordTimeEditDTO);
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="cn.cloudwalk.elevator.record.mapper.SendRecordTimeMapper">
|
||||
<resultMap id="resultMap" type="cn.cloudwalk.elevator.record.dto.SendRecordTimeResultDTO">
|
||||
<result column="time" jdbcType="BIGINT" property="time" />
|
||||
<result column="type" jdbcType="TINYINT" property="type" />
|
||||
</resultMap>
|
||||
<insert id="add" parameterType="cn.cloudwalk.elevator.record.dto.SendRecordTimeAddDTO">
|
||||
insert into send_record_time (time, type)
|
||||
values (#{time,jdbcType=BIGINT}, #{type,jdbcType=TINYINT}
|
||||
</insert>
|
||||
|
||||
<update id="update" parameterType="cn.cloudwalk.elevator.record.dto.SendRecordTimeEditDTO">
|
||||
update send_record_time
|
||||
<trim prefix="set" suffixOverrides=",">
|
||||
<if test="time != null">
|
||||
time = #{time, jdbcType=BIGINT},
|
||||
</if>
|
||||
</trim>
|
||||
<where>
|
||||
type = #{type, jdbcType=TINYINT}
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<select id="getByType" resultMap="resultMap">
|
||||
SELECT time,type
|
||||
FROM send_record_time
|
||||
WHERE type = #{type}
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
Manifest-Version: 1.0
|
||||
Implementation-Title: cw-elevator-application-data
|
||||
Implementation-Version: 2.0-SNAPSHOT
|
||||
Archiver-Version: Plexus Archiver
|
||||
Built-By: YCWB0304
|
||||
Implementation-Vendor-Id: cn.cloudwalk.elevator
|
||||
Created-By: Apache Maven 3.6.1
|
||||
Build-Jdk: 1.8.0_144
|
||||
Implementation-URL: http://projects.spring.io/spring-boot/cw-elevator-
|
||||
application/cw-elevator-application-data/
|
||||
Implementation-Vendor: Pivotal Software, Inc.
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE configuration
|
||||
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-config.dtd">
|
||||
<configuration>
|
||||
|
||||
<!--<settings>
|
||||
<setting name="logImpl" value="STDOUT_LOGGING"/>
|
||||
</settings>-->
|
||||
|
||||
<plugins>
|
||||
<plugin interceptor="com.github.pagehelper.PageInterceptor"/>
|
||||
</plugins>
|
||||
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user