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:
+29
@@ -0,0 +1,29 @@
|
||||
<?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.ninca</groupId><artifactId>ninca-common-component-organization-reactor</artifactId><version>2.9.2-xinghewan</version><relativePath>../pom.xml</relativePath></parent>
|
||||
<artifactId>cwos-component-organization-interface</artifactId>
|
||||
<dependencies>
|
||||
<!-- 以下均来自 ${all-lib.dir},与 Maven 坐标版本一致的本地 JAR -->
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>fastjson-1.2.67</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/fastjson-1.2.67.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>validation-api-1.1.0.Final</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/validation-api-1.1.0.Final.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>jackson-annotations-2.11.2</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/jackson-annotations-2.11.2.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>lombok-1.18.2</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/lombok-1.18.2.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>hibernate-validator-5.3.6.Final</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/hibernate-validator-5.3.6.Final.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>jboss-logging-3.3.2.Final</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/jboss-logging-3.3.2.Final.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>classmate-1.3.4</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/classmate-1.3.4.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>spring-web-4.3.29.RELEASE</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/spring-web-4.3.29.RELEASE.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>spring-core-4.3.29.RELEASE</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/spring-core-4.3.29.RELEASE.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>spring-beans-4.3.29.RELEASE</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/spring-beans-4.3.29.RELEASE.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>commons-lang3-3.3.2</artifactId><version>1.0</version><scope>system</scope><systemPath>${all-lib.dir}/commons-lang3-3.3.2.jar</systemPath></dependency>
|
||||
<!-- CloudWalk / CWOS API -->
|
||||
<dependency><groupId>cn.cloudwalk.cloud</groupId><artifactId>cloudwalk-common-result</artifactId><version>3.2.0</version><scope>system</scope><systemPath>${all-lib.dir}/cloudwalk-common-result-3.2.0-Brussels-SRX.jar</systemPath></dependency>
|
||||
<dependency><groupId>cn.cloudwalk.cloud</groupId><artifactId>cloudwalk-common-data</artifactId><version>3.5.2</version><scope>system</scope><systemPath>${all-lib.dir}/cloudwalk-common-data-3.5.2-Brussels-SRX.jar</systemPath></dependency>
|
||||
<dependency><groupId>cn.cloudwalk.cloud</groupId><artifactId>cloudwalk-device-sdk-interface</artifactId><version>2.2.4</version><scope>system</scope><systemPath>${all-lib.dir}/cloudwalk-device-sdk-interface-2.2.4-SNAPSHOT.jar</systemPath></dependency>
|
||||
<dependency><groupId>cn.cloudwalk.cloud</groupId><artifactId>cloudwalk-device-sdk-protocol-entity</artifactId><version>2.1.4</version><scope>system</scope><systemPath>${all-lib.dir}/cloudwalk-device-sdk-protocol-entity-2.1.4-SNAPSHOT.jar</systemPath></dependency>
|
||||
<!-- CWOS client API types referenced by organization-interface DTOs/Feign -->
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>cwos-core-aggregate-interface</artifactId><version>2.15.0-SNAPSHOT</version><scope>system</scope><systemPath>${all-lib.dir}/cwos-core-aggregate-interface-2.15.0-SNAPSHOT.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>cwos-core-device-mgn-atomic-interface</artifactId><version>2.15.0-SNAPSHOT</version><scope>system</scope><systemPath>${all-lib.dir}/cwos-core-device-mgn-atomic-interface-2.15.0-SNAPSHOT.jar</systemPath></dependency>
|
||||
<dependency><groupId>lib.ext</groupId><artifactId>cwos-component-account-interface</artifactId><version>2.10.0-SNAPSHOT</version><scope>system</scope><systemPath>${all-lib.dir}/cwos-component-account-interface-2.10.0-SNAPSHOT.jar</systemPath></dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
package cn.cloudwalk.client.organization.batch.param;
|
||||
|
||||
// 请求参数
|
||||
import java.io.Serializable;
|
||||
|
||||
public class BatchDetailInsertBatchParam implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String id;
|
||||
private String batchId;
|
||||
private String fileName;
|
||||
private String personName;
|
||||
private Integer status;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBatchId() {
|
||||
return this.batchId;
|
||||
}
|
||||
|
||||
public void setBatchId(String batchId) {
|
||||
this.batchId = batchId;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
package cn.cloudwalk.client.organization.batch.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class BatchDetailQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 1259576515692358905L;
|
||||
|
||||
@NotBlank(message = "53014030")
|
||||
@Size(max = 32, message = "53014030")
|
||||
private String batchId;
|
||||
|
||||
@Size(max = 128, message = "53014002")
|
||||
private String personName;
|
||||
|
||||
@Range(min = 1L, max = 2L, message = "53014031")
|
||||
private Integer status;
|
||||
|
||||
public String getBatchId() {
|
||||
return this.batchId;
|
||||
}
|
||||
|
||||
public void setBatchId(String batchId) {
|
||||
this.batchId = batchId;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package cn.cloudwalk.client.organization.batch.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
|
||||
public class BatchImportQueryParam extends CloudwalkBasePageForm {
|
||||
private static final long serialVersionUID = 1259576515692358905L;
|
||||
private String businessId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.batch.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
|
||||
public class PersonBatchQuery extends CloudwalkBasePageForm {
|
||||
private String businessId;
|
||||
private String batchNo;
|
||||
private Short status;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public String getBatchNo() {
|
||||
return this.batchNo;
|
||||
}
|
||||
|
||||
public void setBatchNo(String batchNo) {
|
||||
this.batchNo = batchNo;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
package cn.cloudwalk.client.organization.batch.param.download;
|
||||
|
||||
// 请求参数
|
||||
import java.util.Set;
|
||||
|
||||
public class ExportRecordTaskParam {
|
||||
private String fileId;
|
||||
private String fileName;
|
||||
private String businessId;
|
||||
private Set<String> devices;
|
||||
private Set<String> controlTaskIds;
|
||||
private String controlTypeCode;
|
||||
private String controlTaskName;
|
||||
private Long startTime;
|
||||
private Long endTime;
|
||||
private Integer pageNo;
|
||||
private Integer pageSize;
|
||||
private String userName;
|
||||
private String userId;
|
||||
|
||||
public String getFileId() {
|
||||
return this.fileId;
|
||||
}
|
||||
|
||||
public void setFileId(String fileId) {
|
||||
this.fileId = fileId;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Set<String> getDevices() {
|
||||
return this.devices;
|
||||
}
|
||||
|
||||
public void setDevices(Set<String> devices) {
|
||||
this.devices = devices;
|
||||
}
|
||||
|
||||
public Set<String> getControlTaskIds() {
|
||||
return this.controlTaskIds;
|
||||
}
|
||||
|
||||
public void setControlTaskIds(Set<String> controlTaskIds) {
|
||||
this.controlTaskIds = controlTaskIds;
|
||||
}
|
||||
|
||||
public String getControlTypeCode() {
|
||||
return this.controlTypeCode;
|
||||
}
|
||||
|
||||
public void setControlTypeCode(String controlTypeCode) {
|
||||
this.controlTypeCode = controlTypeCode;
|
||||
}
|
||||
|
||||
public String getControlTaskName() {
|
||||
return this.controlTaskName;
|
||||
}
|
||||
|
||||
public void setControlTaskName(String controlTaskName) {
|
||||
this.controlTaskName = controlTaskName;
|
||||
}
|
||||
|
||||
public Long getStartTime() {
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
public void setStartTime(Long startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Long getEndTime() {
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
public void setEndTime(Long endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public Integer getPageNo() {
|
||||
return this.pageNo;
|
||||
}
|
||||
|
||||
public void setPageNo(Integer pageNo) {
|
||||
this.pageNo = pageNo;
|
||||
}
|
||||
|
||||
public Integer getPageSize() {
|
||||
return this.pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(Integer pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return this.userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
package cn.cloudwalk.client.organization.batch.param.download;
|
||||
|
||||
// 请求参数
|
||||
public class FilePartAppendPara {
|
||||
private String filePath;
|
||||
private String uploadId;
|
||||
private String partNumber;
|
||||
private String file;
|
||||
|
||||
public String getFilePath() {
|
||||
return this.filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
public String getUploadId() {
|
||||
return this.uploadId;
|
||||
}
|
||||
|
||||
public void setUploadId(String uploadId) {
|
||||
this.uploadId = uploadId;
|
||||
}
|
||||
|
||||
public String getPartNumber() {
|
||||
return this.partNumber;
|
||||
}
|
||||
|
||||
public void setPartNumber(String partNumber) {
|
||||
this.partNumber = partNumber;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return this.file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
package cn.cloudwalk.client.organization.batch.param.download;
|
||||
|
||||
// 请求参数
|
||||
public class FilePartFinishPara {
|
||||
private String uploadId;
|
||||
private String filePath;
|
||||
private Long fileSize;
|
||||
private Integer returnType;
|
||||
|
||||
public String getUploadId() {
|
||||
return this.uploadId;
|
||||
}
|
||||
|
||||
public void setUploadId(String uploadId) {
|
||||
this.uploadId = uploadId;
|
||||
}
|
||||
|
||||
public String getFilePath() {
|
||||
return this.filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
public Long getFileSize() {
|
||||
return this.fileSize;
|
||||
}
|
||||
|
||||
public void setFileSize(Long fileSize) {
|
||||
this.fileSize = fileSize;
|
||||
}
|
||||
|
||||
public Integer getReturnType() {
|
||||
return this.returnType;
|
||||
}
|
||||
|
||||
public void setReturnType(Integer returnType) {
|
||||
this.returnType = returnType;
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package cn.cloudwalk.client.organization.batch.param.download;
|
||||
|
||||
// 请求参数
|
||||
public class FilePartInitResult {
|
||||
private String filePath;
|
||||
private String uploadId;
|
||||
|
||||
public String getFilePath() {
|
||||
return this.filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
public String getUploadId() {
|
||||
return this.uploadId;
|
||||
}
|
||||
|
||||
public void setUploadId(String uploadId) {
|
||||
this.uploadId = uploadId;
|
||||
}
|
||||
}
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
package cn.cloudwalk.client.organization.batch.result;
|
||||
|
||||
// 响应结果
|
||||
import java.io.Serializable;
|
||||
|
||||
public class BatchDetailResult implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String id;
|
||||
private String batchId;
|
||||
private String fileName;
|
||||
private String personName;
|
||||
private String personCode;
|
||||
private Integer status;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBatchId() {
|
||||
return this.batchId;
|
||||
}
|
||||
|
||||
public void setBatchId(String batchId) {
|
||||
this.batchId = batchId;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+134
@@ -0,0 +1,134 @@
|
||||
package cn.cloudwalk.client.organization.batch.result;
|
||||
|
||||
// 响应结果
|
||||
import java.io.Serializable;
|
||||
|
||||
public class BatchImportQueryResult implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String businessId;
|
||||
private String id;
|
||||
private String batchNo;
|
||||
private Integer type;
|
||||
private String fileName;
|
||||
private String filePath;
|
||||
private Long finishTime;
|
||||
private Long totalCount;
|
||||
private Long currentCount;
|
||||
private String remark;
|
||||
private Integer status;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private String loginName;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getBatchNo() {
|
||||
return this.batchNo;
|
||||
}
|
||||
|
||||
public void setBatchNo(String batchNo) {
|
||||
this.batchNo = batchNo;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getFilePath() {
|
||||
return this.filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
public Long getFinishTime() {
|
||||
return this.finishTime;
|
||||
}
|
||||
|
||||
public void setFinishTime(Long finishTime) {
|
||||
this.finishTime = finishTime;
|
||||
}
|
||||
|
||||
public Long getTotalCount() {
|
||||
return this.totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Long totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public Long getCurrentCount() {
|
||||
return this.currentCount;
|
||||
}
|
||||
|
||||
public void setCurrentCount(Long currentCount) {
|
||||
this.currentCount = currentCount;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
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 String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+140
@@ -0,0 +1,140 @@
|
||||
package cn.cloudwalk.client.organization.batch.result;
|
||||
|
||||
// 响应结果
|
||||
public class BatchQueryResult {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String batchNo;
|
||||
private Integer type;
|
||||
private String fileName;
|
||||
private String filePath;
|
||||
private Long finishTime;
|
||||
private Long totalCount;
|
||||
private Long currentCount;
|
||||
private String remark;
|
||||
private Integer status;
|
||||
private Long createTime;
|
||||
private String createUserId;
|
||||
private String operation;
|
||||
private String loginName;
|
||||
|
||||
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 getBatchNo() {
|
||||
return this.batchNo;
|
||||
}
|
||||
|
||||
public void setBatchNo(String batchNo) {
|
||||
this.batchNo = batchNo;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getFilePath() {
|
||||
return this.filePath;
|
||||
}
|
||||
|
||||
public void setFilePath(String filePath) {
|
||||
this.filePath = filePath;
|
||||
}
|
||||
|
||||
public Long getFinishTime() {
|
||||
return this.finishTime;
|
||||
}
|
||||
|
||||
public void setFinishTime(Long finishTime) {
|
||||
this.finishTime = finishTime;
|
||||
}
|
||||
|
||||
public Long getTotalCount() {
|
||||
return this.totalCount;
|
||||
}
|
||||
|
||||
public void setTotalCount(Long totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
public Long getCurrentCount() {
|
||||
return this.currentCount;
|
||||
}
|
||||
|
||||
public void setCurrentCount(Long currentCount) {
|
||||
this.currentCount = currentCount;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
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 String getOperation() {
|
||||
return this.operation;
|
||||
}
|
||||
|
||||
public void setOperation(String operation) {
|
||||
this.operation = operation;
|
||||
}
|
||||
|
||||
public String getLoginName() {
|
||||
return this.loginName;
|
||||
}
|
||||
|
||||
public void setLoginName(String loginName) {
|
||||
this.loginName = loginName;
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package cn.cloudwalk.client.organization.batch.service;
|
||||
|
||||
// 业务服务
|
||||
import cn.cloudwalk.client.organization.batch.param.BatchDetailInsertBatchParam;
|
||||
import cn.cloudwalk.client.organization.batch.param.BatchDetailQueryParam;
|
||||
import cn.cloudwalk.client.organization.batch.result.BatchDetailResult;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface ImgPersonBatchDetailService {
|
||||
public CloudwalkResult<CloudwalkPageAble<BatchDetailResult>> page(
|
||||
BatchDetailQueryParam var1, CloudwalkPageInfo var2, CloudwalkCallContext var3)
|
||||
throws ServiceException;
|
||||
|
||||
public CloudwalkResult<Integer> insertBatch(List<BatchDetailInsertBatchParam> var1);
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package cn.cloudwalk.client.organization.batch.service;
|
||||
|
||||
// 业务服务
|
||||
import cn.cloudwalk.client.organization.batch.param.BatchImportQueryParam;
|
||||
import cn.cloudwalk.client.organization.batch.result.BatchImportQueryResult;
|
||||
import cn.cloudwalk.client.organization.personimg.param.BatchImportParam;
|
||||
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
|
||||
import cn.cloudwalk.cloud.exception.ServiceException;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
|
||||
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
|
||||
import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.List;
|
||||
|
||||
public interface ImgPersonBatchService {
|
||||
public <T> void handlerBatchPersonImport(List<List<String>> var1, T var2, String var3);
|
||||
|
||||
public CloudwalkResult<Boolean> insert(BatchImportParam var1, CloudwalkCallContext var2)
|
||||
throws ServiceException;
|
||||
|
||||
public CloudwalkResult<CloudwalkPageAble<BatchImportQueryResult>> page(
|
||||
BatchImportQueryParam var1, CloudwalkPageInfo var2, CloudwalkCallContext var3)
|
||||
throws ServiceException;
|
||||
}
|
||||
+69
@@ -0,0 +1,69 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
public class CpImageStoreRespCodeConstant {
|
||||
public static final String IMAGE_STORE_ID_IS_BLANK = "53013500";
|
||||
public static final String IMAGE_STORE_ID_OUT_LENGTH = "53013501";
|
||||
public static final String IMAGE_STORE_NOT_EXIST = "53013502";
|
||||
public static final String PERSON_ID_IS_BLANK = "53013503";
|
||||
public static final String PERSON_ID_OUT_LENGTH = "53013504";
|
||||
public static final String IMAGE_STORE_NAME_IS_NULL = "53013505";
|
||||
public static final String IMAGE_STORE_NAME_OUT_LENGTH = "53013506";
|
||||
public static final String IMAGE_STORE_NAME_REPEAT = "53013507";
|
||||
public static final String IMAGE_STORE_ADD_FAIL = "53013508";
|
||||
public static final String IMAGE_STORE_EDIT_FAIL = "53013509";
|
||||
public static final String IMAGE_STORE_QUERY_FAIL = "53013510";
|
||||
public static final String IMAGE_STORE_DELETE_FAIL = "53013511";
|
||||
public static final String IMAGE_STORE_SYNCING = "53013512";
|
||||
public static final String IMAGFE_STORE_ORG_ID_ARRAY_IS_ERROR = "53013513";
|
||||
public static final String IMAGFE_STORE_LABEL_ID_ARRAY_IS_ERROR = "53013514";
|
||||
public static final String IMAGFE_STORE_PERSON_ID_ARRAY_IS_ERROR = "53013515";
|
||||
public static final String IMAGFE_STORE_LABEL_ID_EXCLUDE_ARRAY_IS_ERROR = "53013516";
|
||||
public static final String IMAGFE_STORE_PERSON_ID_EXCLUDE_ARRAY_IS_ERROR = "53013517";
|
||||
public static final String APPLICATION_ID_IS_NULL = "53013518";
|
||||
public static final String APPLICATION_ID_OUT_LENGTH = "53013519";
|
||||
public static final String ORG_ID_IS_NULL = "53013520";
|
||||
public static final String ORG_ID_OUT_LENGTH = "53013521";
|
||||
public static final String ORG_IMAGE_STORE_ADD_FAIL = "53013522";
|
||||
public static final String ORG_IMAGE_STORE_DELETE_FAIL = "53013523";
|
||||
public static final String ORG_IMAGE_STORE_QUERY_FAIL = "53013524";
|
||||
public static final String APP_IMAGE_STORE_ADD_FAIL = "53013525";
|
||||
public static final String APP_IMAGE_STORE_DELETE_FAIL = "53013526";
|
||||
public static final String APP_IMAGE_STORE_QUERY_FAIL = "53013527";
|
||||
public static final String APP_IMAGE_STORE_SAVE_FAIL = "53013528";
|
||||
public static final String IMAGE_STORE_SYNC_ADD_FAIL = "53013529";
|
||||
public static final String IMAGE_STORE_SYNC_QUERY_FAIL = "53013530";
|
||||
public static final String PERSON_COMPARE_PICTURE_IS_NULL = "53013531";
|
||||
public static final String IMAGE_STORE_PERSON_SAVE_FAIL = "53013532";
|
||||
public static final String IMAGE_STORE_PERSON_DELETE_FAIL = "53013533";
|
||||
public static final String IMAGE_STORE_PERSON_QUERY_FAIL = "53013534";
|
||||
public static final String BUSINESS_NOT_EXIST = "53013535";
|
||||
public static final String FILE_MAX_IS_ERROR = "53013536";
|
||||
public static final String PERSON_CODE_REPETITION = "53013537";
|
||||
public static final String PERSON_NOT_EXIST = "53013538";
|
||||
public static final String GROUP_PERSON_NOT_EXIST = "53013539";
|
||||
public static final String IAMGE_STORE_PERON_TYPE_NOT_MATCH = "53013540";
|
||||
public static final String IMAGE_STORE_PERSON_BIND_FAILED = "53013541";
|
||||
public static final String PERSON_ID_LIST = "53013542";
|
||||
public static final String PERSON_ID_LIST_SIZE = "53013543";
|
||||
public static final String IMAGE_STORE_PERSON_RESAVE = "53013544";
|
||||
public static final String DEVICE_GROUP_IS_NULL = "53012488";
|
||||
public static final String APP_IMAGE_STORE_REF_EXIST = "53013545";
|
||||
public static final String SOURCE_APPLICATION_ID_IS_NULL = "53013546";
|
||||
public static final String SOURCE_APPLICATION_NOT_EXIST = "53013547";
|
||||
public static final String DEVICE_NOT_EXIST = "53013548";
|
||||
public static final String IMAGE_STORE_SYNC_LOG_QUERY_FAIL = "53013549";
|
||||
public static final String BUSINESS_DEVICE_QUERY_FAIL = "53013550";
|
||||
public static final String DEVICE_IMAGE_STORE_QUERY_FAIL = "53013551";
|
||||
public static final String PARAM_IS_EMPTY = "53013552";
|
||||
public static final String DEVICE_RESYNC_FAIL = "53013553";
|
||||
public static final String PERSON_GROUP_RELATIONS_QUERY_FAIL = "53013554";
|
||||
public static final String GROUP_BATCH_BIND_PERSON_OVER_LIMIT = "53013555";
|
||||
public static final String DEVICE_APP_BIND_FAIL = "53013556";
|
||||
public static final String DEVICE_APP_UNBIND_FAIL = "53013557";
|
||||
public static final String UPDATE_GROUP_PERSON_REF_EXCEPTION = "53013558";
|
||||
public static final String ENTERPRISE_DETAIL_QUERY_FAIL = "53016000";
|
||||
public static final String SYS_LOG_ADD_FAIL = "53017001";
|
||||
|
||||
private CpImageStoreRespCodeConstant() {}
|
||||
}
|
||||
+237
@@ -0,0 +1,237 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
public class ErrorCode {
|
||||
public static final String OTHER_ERROR = "00000001";
|
||||
public static final String ID_IS_NULL = "53060410";
|
||||
public static final String ID_ARRAY_IS_NULL = "53060411";
|
||||
public static final String ADD_IMAGE_STORE_ERROR = "53060413";
|
||||
public static final String ID_IS_ERROR = "53060414";
|
||||
public static final String EDIT_IMAGE_STORE_IS_ERROR = "53060415";
|
||||
public static final String IMAGE_STORE_REF_IS_ALL_NULL = "53060416";
|
||||
public static final String IMAGFE_STORE_ORG_ID_ARRAY_IS_ERROR = "53060417";
|
||||
public static final String IMAGFE_STORE_LABEL_ID_ARRAY_IS_ERROR = "53060418";
|
||||
public static final String IMAGFE_STORE_PERSON_ID_ARRAY_IS_ERROR = "53060419";
|
||||
public static final String IMAGFE_STORE_LABEL_ID_EXCLUDE_ARRAY_IS_ERROR = "53060420";
|
||||
public static final String IMAGFE_STORE_PERSON_ID_EXCLUDE_ARRAY_IS_ERROR = "53060421";
|
||||
public static final String IMAGE_STORE_DELETE_ERROR = "53060422";
|
||||
public static final String IMAGE_STORE_NAME_IS_ERROR = "53060423";
|
||||
public static final String ID_LENGTH_IS_ERROR = "53060424";
|
||||
public static final String ORG_PARENT_NODE_IS_ERROR = "53060425";
|
||||
public static final String GET_BUSINESS_NAME_IS_ERROR = "53060426";
|
||||
public static final String PARENT_ID_LENGTH_IS_ERROR = "53060427";
|
||||
public static final String FILE_UPLOAD_ERROR = "80014001";
|
||||
public static final String FILE_UPLOAD_CONTROLLER_ERROR = "80014013";
|
||||
public static final String FILE_TYPE_IS_INVALID = "53060429";
|
||||
public static final String FILE_MAX_IS_ERROR = "53060428";
|
||||
public static final String ROTATE_IMAGE_ERROR = "53060430";
|
||||
public static final String EXTRACT_FEATURE_FAIL = "53060431";
|
||||
public static final String FACE_DETECT_IS_EMPTY = "53060432";
|
||||
public static final String FACE_DETECT_OVER_SIZE = "53060433";
|
||||
public static final String IMAGE_IS_EMPTY = "53060434";
|
||||
public static final String EXTRACT_FEATURE_EXCEPTION = "53060435";
|
||||
public static final String EXTRACT_FEATURE_RESULT_IS_EMPTY = "53060436";
|
||||
public static final String UPLOAD_SINGLE_FACE = "53060437";
|
||||
public static final String GROUP_ID_IS_EMPTY = "53060438";
|
||||
public static final String FACE_DETECT_EXCEPTION = "53060439";
|
||||
public static final String FACE_DETECT_RESULT_IS_EMPTY = "53060440";
|
||||
public static final String QUERY_ALL_GROUP_TOPN_FAIL = "53060441";
|
||||
public static final String QUERY_EVERY_GROUP_TOPN_FAIL = "53060442";
|
||||
public static final String QUERY_FEATURE_RESULT_IS_EMPTY = "53060443";
|
||||
public static final String QUERY_FEATURE_RESULT_FAIL = "53060444";
|
||||
public static final String IMAGE_UNDER_SIZE = "53060445";
|
||||
public static final String IMAGE_PIXEL_UNDER_SIZE = "53060446";
|
||||
public static final String ADD_FACE_FAIL = "53060447";
|
||||
public static final String REMOVE_FACE_FAIL = "53060448";
|
||||
public static final String FACE_UNDER_CONFIG = "53060449";
|
||||
public static final String FILE_MANAGER_READ_FILE_ERROR = "80014016";
|
||||
public static final String FILE_MANAGER_DEL_ERROR = "80014017";
|
||||
public static final String ADD_ORG_TYPE_ERROR = "53003800";
|
||||
public static final String EDIT_ORG_TYPE_ERROR = "53003801";
|
||||
public static final String DEL_ORG_TYPE_ERROR = "53003802";
|
||||
public static final String ADD_ORG_TYPE_DUPLICATE_NAME = "53003803";
|
||||
public static final String QUERY_ORG_TYPE_ERROR = "53003804";
|
||||
public static final String PROPERTIES_DUPLICATE_NAME_ERROR = "53003805";
|
||||
public static final String ADD_AREA_TYPE_ERROR = "53004800";
|
||||
public static final String EDIT_AREA_TYPE_ERROR = "53004801";
|
||||
public static final String DEL_AREA_TYPE_ERROR = "53004802";
|
||||
public static final String ADD_AREA_TYPE_DUPLICATE_NAME = "53004803";
|
||||
public static final String QUERY_AREA_TYPE_ERROR = "53004804";
|
||||
public static final String AREA_TYPE_NAME_NOT_NULL = "53004806";
|
||||
public static final String AREA_TYPE_NAME_LENGTH_INVAILD = "53004807";
|
||||
public static final String AREA_TYPE_PRO_NAME_NOT_NULL = "53004810";
|
||||
public static final String AREA_TYPE_PRO_REQUIRED_NOT_NULL = "53004811";
|
||||
public static final String AREA_TYPE_PRO_REQUIRED_RANGE_INVAILD = "53004812";
|
||||
public static final String AREA_TYPE_HAS_LOWER_DATA = "53004813";
|
||||
public static final String AREA_TYPE_NOT_EDIT_DEFAULT = "53004815";
|
||||
public static final String EXIST_AREA_WITH_TYPE = "53004854";
|
||||
public static final String AREA_TYPE_PRO_ORDER_NOT_NULL = "53004816";
|
||||
public static final String AREA_TYPE_PRO_ORDER_RANGE_INVAILD = "53004817";
|
||||
public static final String QUERY_ORG_ERROR = "53003300";
|
||||
public static final String TYPE_ID_IS_NULL = "53003301";
|
||||
public static final String TYPE_ID_LENGTH_IS_ERROR = "53003302";
|
||||
public static final String PARAM_LENGTH_IS_ERROR = "53003303";
|
||||
public static final String EXIST_ORG_WITH_TYPE = "53003304";
|
||||
public static final String ORG_ID_IS_NULL = "53003305";
|
||||
public static final String ORG_PARENT_HSH_LOWER_LEVEL_ERROR = "53003306";
|
||||
public static final String ORG_PARENT_ID_IS_NULL = "53003307";
|
||||
public static final String ORG_LEVEL_IS_ERROR = "53003308";
|
||||
public static final String ORG_NAME_IS_EXIST = "53003309";
|
||||
public static final String ORG_ID_IS_ERROR = "53003310";
|
||||
public static final String PERSON_ID_ARRAY_IS_ERROR = "53003311";
|
||||
public static final String ORG_NAME_IS_NULL = "53003312";
|
||||
public static final String ORG_YI_IS_NOT_DELETE = "53003313";
|
||||
public static final String ORG_PARENT_IS_HAVING = "53003314";
|
||||
public static final String ORG_CANNOT_DELETE = "53003315";
|
||||
public static final String ORG_NAME_IS_EXIST_TWO = "53003316";
|
||||
public static final String QZ_BUSINESS_ID_INVALID = "53014000";
|
||||
public static final String QZ_PERSON_CODE_INVALID = "53014001";
|
||||
public static final String QZ_PERSON_NAME_INVALID = "53014002";
|
||||
public static final String QZ_PERSON_USER_NAME_INVALID = "53014003";
|
||||
public static final String QZ_PERSON_PHONE_INVALID = "53014004";
|
||||
public static final String QZ_PERSON_EMAIL_INVALID = "53014005";
|
||||
public static final String QZ_PERSON_SYNC_ACCOUNT_INVALID = "53014006";
|
||||
public static final String QZ_PERSON_CUSTOM_FIELD_INVALID = "53014007";
|
||||
public static final String QZ_PERSON_ADD_ERROR = "53014008";
|
||||
public static final String QZ_PERSON_EDIT_ERROR = "53014009";
|
||||
public static final String QZ_PERSON_DEL_ERROR = "53014010";
|
||||
public static final String QZ_PERSON_QUERY_ERROR = "53014011";
|
||||
public static final String QZ_PERSON_CODE_DUPLICATE = "53014012";
|
||||
public static final String QZ_PERSON_USER_NAME_DUPLICATE = "53014013";
|
||||
public static final String QZ_PERSON_PHONE_DUPLICATE = "53014014";
|
||||
public static final String QZ_PERSON_EMAIL_DUPLICATE = "53014015";
|
||||
public static final String QZ_PERSON_FILED_LOSE = "53014016";
|
||||
public static final String QZ_PERSON_FILED_INVALID = "53014017";
|
||||
public static final String QZ_PERSON_FILED_NOT_EXISTS = "53014018";
|
||||
public static final String QZ_PERSON_NO_SYSTEM_ID = "53014019";
|
||||
public static final String QZ_PERSON_FILED_LABEL_ORGANIZATION_LOSE = "53014020";
|
||||
public static final String QZ_PERSON_SOURCE_ILLEGAL = "53014021";
|
||||
public static final String QZ_PERSON_PROPERTIES_CERT_LOSE = "53014022";
|
||||
public static final String QZ_PERSON_CERT_ID_DUPLICATE = "53014023";
|
||||
public static final String PERSON_ID_LIST_IS_EMPTY = "53014024";
|
||||
public static final String IMAGE_ID_LIST_IS_EMPTY = "53014025";
|
||||
public static final String IMAGE_ID_IS_EMPTY = "53014026";
|
||||
public static final String QZ_SYSTEM_ID_VALUE_EMPTY = "53014027";
|
||||
public static final String QZ_SYSTEM_ID_VALUE_DUPLICATE = "53014028";
|
||||
public static final String PERSONNEL_ATTRIBUTES_ARE_NOT_SET = "53014029";
|
||||
public static final String QZ_BATCH_ID_INVALID = "53014030";
|
||||
public static final String QZ_BATCH_STATUS_INVALID = "53014031";
|
||||
public static final String QZ_BATCH_ADD_ERROR = "53014032";
|
||||
public static final String QZ_BATCH_QUERY_ERROR = "53014033";
|
||||
public static final String QZ_BATCH_DETAIL_QUERY_ERROR = "53014034";
|
||||
public static final String BATCH_IMPORT_INSERT_ERROR = "53014035";
|
||||
public static final String BATCH_IMPORT_PROCESS_EXCEPTION = "53014036";
|
||||
public static final String BATCH_IMPORT_ZIP_FILE_EMPTY = "53014037";
|
||||
public static final String BATCH_IMPORT_UNZIP_FAILED = "53014038";
|
||||
public static final String BATCH_IMPORT_EXCEL_FILE_NOTFOUND = "53014039";
|
||||
public static final String BATCH_IMPORT_DATA_EMPTY = "53014040";
|
||||
public static final String FILE_INIT_FAIL = "53014041";
|
||||
public static final String FILE_FINISHI_FAIL = "53014042";
|
||||
public static final String FILE_GET_FAIL = "53014043";
|
||||
public static final String LABEL_NAME_IS_EXIST = "53003700";
|
||||
public static final String LABEL_ID_IS_ERROR = "53003701";
|
||||
public static final String LABEL_PAGE_IS_ERROR = "53003702";
|
||||
public static final String QZ_LABEL_NAME_INVALID = "53003703";
|
||||
public static final String QZ_LABEL_CODE_INVALID = "53003704";
|
||||
public static final String LABEL_CODE_IS_EXIST = "53003705";
|
||||
public static final String QZ_LABEL_ADD_TYPE_INVALID = "53003706";
|
||||
public static final String QZ_LABEL_DEL_PERSON_RELATION = "53003707";
|
||||
public static final String PERSON_PRO_NAME_NOT_NULL = "53014800";
|
||||
public static final String PERSON_PRO_NAME_LENGTH_INVAILD = "53014801";
|
||||
public static final String PERSON_PRO_TYPE_NOT_NULL = "53014802";
|
||||
public static final String PERSON_PRO_TYPE_RANGE_INVAILD = "53014803";
|
||||
public static final String PERSON_PRO_SYSACCOUNT_RANGE_INVAILD = "53014804";
|
||||
public static final String PERSON_PRO_REQUIRED_RANGE_INVAILD = "53014805";
|
||||
public static final String PERSON_PRO_ORDER_NOT_NULL = "53014806";
|
||||
public static final String PERSON_PRO_REMINDER_NOT_NULL = "53014807";
|
||||
public static final String PERSON_PRO_REMINDER_LENGTH_INVAILD = "53014808";
|
||||
public static final String PERSON_PRO_ARRAYDATA_LENGTH_INVAILD = "53014809";
|
||||
public static final String PERSON_PRO_MULTIPLE_RANGE_INVAILD = "53014810";
|
||||
public static final String DEFAULT_ACCOUNT_CAN_NOT_CHANGE = "53014811";
|
||||
public static final String REQUIRED_CAN_NOT_CHANGE = "53014812";
|
||||
public static final String SWITCH_SIZE_PARAM_INVALID = "53014813";
|
||||
public static final String SWITCH_BACKGROUND_OBJECT_INVALID = "53014814";
|
||||
public static final String ORG_TYPE_NAME_NOT_NULL = "53003806";
|
||||
public static final String ORG_TYPE_NAME_LENGTH_INVAILD = "53003807";
|
||||
public static final String ORG_TYPE_LOWER_NOT_NULL = "53003808";
|
||||
public static final String ORG_TYPE_LOWER_RANGE_INVAILD = "53003809";
|
||||
public static final String ORG_TYPE_PRO_NAME_NOT_NULL = "53003810";
|
||||
public static final String ORG_TYPE_PRO_REQUIRED_NOT_NULL = "53003811";
|
||||
public static final String ORG_TYPE_PRO_REQUIRED_RANGE_INVAILD = "53003812";
|
||||
public static final String ORG_TYPE_HAS_LOWER_DATA = "53003813";
|
||||
public static final String ORG_TYPE_NOT_NEW_DEFAULT = "53003814";
|
||||
public static final String ORG_TYPE_NOT_EDIT_DEFAULT = "53003815";
|
||||
public static final String ORG_TYPE_PRO_ORDER_NOT_NULL = "53003816";
|
||||
public static final String ORG_TYPE_PRO_ORDER_RANGE_INVAILD = "53003817";
|
||||
public static final String CAT_NOT_EDIT_DEFAULT_TYPE = "53003818";
|
||||
public static final String PERSON_NOT_EXIST = "53003819";
|
||||
public static final String PERSON_IMAGE_SCORE_FAILE = "53003820";
|
||||
public static final String ORG_SEARCH_PARAM_FAILE = "53003821";
|
||||
public static final String PERSON_REGISTRY_STATUS_IS_NULL = "53014500";
|
||||
public static final String PERSON_REGISTRY_DEVICESTATUS_IS_NULL = "53014501";
|
||||
public static final String PERSON_REGISTRY_CODESTATUS_IS_NULL = "53014502";
|
||||
public static final String PERSON_REGISTRY_PROPERTY_IS_NULL = "53014503";
|
||||
public static final String PERSON_REGISTRY_DEVICE_IS_NULL = "53014504";
|
||||
public static final String PERSON_REGISTRY_STATUS_INVALID = "53014505";
|
||||
public static final String PERSON_REGISTRY_DEVICESTATUS_INVALID = "53014506";
|
||||
public static final String PERSON_REGISTRY_CODESTATUS_INVALID = "53014507";
|
||||
public static final String PERSON_REGISTRY_PRO_ID_LIST_IS_ERROR = "53014508";
|
||||
public static final String PERSON_REGISTRY_PRO_NAME_IS_REQUIRED = "53014509";
|
||||
public static final String PERSON_REGISTRY_PRO_ORG_LABEL_IS_REQUIRED = "53014510";
|
||||
public static final String PERSON_REGISTRY_PRO_IS_REQUIRED = "53014511";
|
||||
public static final String PERSON_REGISTRY_ORG_IDS_IS_ERROR = "53014512";
|
||||
public static final String PERSON_REGISTRY_LABEL_IDS_IS_ERROR = "53014513";
|
||||
public static final String PERSON_REGISTRY_DEVICE_IS_ERROR = "53014514";
|
||||
public static final String PERSON_REGISTRY_ADD_FAIL = "53014515";
|
||||
public static final String PERSON_REGISTRY_SAVE_FAIL = "53014516";
|
||||
public static final String PERSON_REGISTRY_IS_NULL = "53014517";
|
||||
public static final String PERSON_REGISTRY_STATUS_IS_CLOSED = "53014518";
|
||||
public static final String PERSON_REGISTRY_DEVICE_IS_NOT_ADD = "53014519";
|
||||
public static final String PERSON_REGISTRY_DETAIL_FAIL = "53014520";
|
||||
public static final String PERSON_REGISTRY_PRO_LIST_FAIL = "53014521";
|
||||
public static final String PERSON_REGISTRY_UNIQUE_PRO_IS_NULL = "53014522";
|
||||
public static final String PERSON_REGISTRY_UNIQUE_PRO_FAIL = "53014523";
|
||||
public static final String PERSON_PRO_IS_NULL = "53014524";
|
||||
public static final String PERSON_CERT_PRO_IS_NULL = "53014525";
|
||||
public static final String CARDID_NOT_BIND_PRO = "53014526";
|
||||
public static final String NAME_NOT_BIND_PRO = "53014527";
|
||||
public static final String BIND_PRO_ONE_TO_MANY = "53014528";
|
||||
public static final String DEFAULT_PRO_ORG_LABEL_IS_REQUIRED = "53014529";
|
||||
public static final String PERSON_REGISTRY_TYPE_INVALID = "53014530";
|
||||
public static final String QUERY_DISTRICT_TREE_FAIL = "53014600";
|
||||
public static final String QUERY_DEVICE_LIST_FAIL = "53014700";
|
||||
public static final String DEVICE_ID_IS_NULL = "53014701";
|
||||
public static final String QUERY_PERSON_GROUP_RELATIONS_FAIL = "53014702";
|
||||
public static final String QUERY_QR_CODE_URL_FAIL = "53014900";
|
||||
public static final String PERSON_AUDIT_PARAM_SOURCE = "53060533";
|
||||
public static final String PERSON_AUDIT_DEVICE_FORBID = "53060534";
|
||||
public static final String PERSON_AUDIT_ADD_EXCEPTION = "53060535";
|
||||
public static final String PERSON_AUDIT_ID_INVALID = "53060536";
|
||||
public static final String PERSON_AUDIT_ID_ISNULL = "53060537";
|
||||
public static final String PERSON_AUDIT_QUERY_FAILED = "53060538";
|
||||
public static final String PERSON_AUDIT_APPLY_FAILED = "53060539";
|
||||
public static final String PERSON_AUDIT_PAGE_FAILED = "53060540";
|
||||
public static final String PERSON_AUDIT_REGISTRY_SETTING_FAILED = "53060541";
|
||||
public static final String PERSON_AUDIT_DEVICECODE_EMPTY = "53060542";
|
||||
public static final String PERSON_AUDIT_DEVICE_INVALID = "53060543";
|
||||
public static final String PERSON_AUDIT_UPLOAD_BASE64_EMPTY = "53060544";
|
||||
public static final String PERSON_AUDIT_CHECK_NAME_EMPTY = "53060545";
|
||||
public static final String PERSON_AUDIT_CHECK_WRONG_CAPTCHA = "53060546";
|
||||
public static final String PERSON_AUDIT_UNIQUE_PROPERTY_ERROR = "53060547";
|
||||
public static final String PERSON_AUDIT_QUERY_AUDIT_EMPTY = "53060548";
|
||||
public static final String PERSON_AUDIT_AGREE_CAN_NOT_EDIT = "53060549";
|
||||
public static final String AREA_PARENT_ID_IS_NULL = "53015100";
|
||||
public static final String AREA_PARENT_HSH_LOWER_LEVEL_ERROR = "53015101";
|
||||
public static final String AREA_PARENT_IS_HAVING = "53015102";
|
||||
public static final String AREA_NAME_IS_EXIST = "53015103";
|
||||
public static final String AREA_ID_IS_ERROR = "53015104";
|
||||
public static final String AREA_PARENT_NODE_IS_ERROR = "53015105";
|
||||
public static final String AREA_YI_IS_NOT_DELETE = "53015106";
|
||||
public static final String AREA_TYPE_ID_IS_NULL = "53015107";
|
||||
public static final String UNIT_ID_ARRAY_IS_ERROR = "53015108";
|
||||
public static final String QUERY_AREA_ERROR = "53015109";
|
||||
public static final String DETAIL_AREA_ERROR = "53015110";
|
||||
public static final String OPERATION_LOG_DEL_ERROR = "53015201";
|
||||
|
||||
private ErrorCode() {}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
public class ErrorMessage {
|
||||
public static final String ADD_PERSON_EXCEPTION_MESSAGE = "人员信息新增失败,原因:{}";
|
||||
public static final String QUERY_PERSON_EXCEPTION_MESSAGE = "人员信息详情查询失败,原因:{}";
|
||||
public static final String CREATE_DOWNLOAD_TASK_FAIL = "下载任务创建失败";
|
||||
public static final String INIT_DOWNLOAD_TASK_FAIL = "下载任务初始化失败:";
|
||||
public static final String DEVICE_GROUP_RELATION_FAIL_MESSAGE = "获取设备关联的图库失败";
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
public class ImageStoreConstants {
|
||||
public static final short IS_NOT_DEL = 0;
|
||||
public static final short IS_DEL = 1;
|
||||
public static final int ASSOCIATED_ACTION_INCLUDE = 0;
|
||||
public static final int ASSOCIATED_ACTION_EXCLUDE = 1;
|
||||
public static final int ASSOCIATED_OBJECT_ORG_TYPE = 1;
|
||||
public static final int ASSOCIATED_OBJECT_LABEL_TYPE = 2;
|
||||
public static final int ASSOCIATED_OBJECT_PERSON_TYPE = 3;
|
||||
public static final int ASSOCIATED_OBJECT_MATCHPATTERN_TYPE = 4;
|
||||
public static final int ASSOCIATED_OBJECT_IMAGE_STORE_TYPE = 5;
|
||||
public static final String COMMON_BUSINESS_ID = "cloudwalk";
|
||||
public static final Integer COMMON_PROPERTIES_STATUS = 99;
|
||||
public static final Integer COMMON_UNIT_PROPERTIES_STATUS = 98;
|
||||
public static final Integer COMMON_PARK_PROPERTIES_STATUS = 97;
|
||||
private static final List<String> CUST_PROPERTIES =
|
||||
Arrays.asList(
|
||||
"ext1", "ext2", "ext3", "ext4", "ext5", "ext6", "ext7", "ext8", "ext9", "ext10", "ext11",
|
||||
"ext12", "ext13", "ext14", "ext15", "ext16", "ext17", "ext18", "ext19", "ext20", "ext21",
|
||||
"ext22", "ext23", "ext24", "ext25", "ext26", "ext27", "ext28", "ext29", "ext30", "ext31",
|
||||
"ext32", "ext33", "ext34", "ext35", "ext36", "ext37", "ext38", "ext39", "ext40");
|
||||
public static final String PERSON_PROPERTY_USER_NAME = "userName";
|
||||
public static final String PERSON_PROPERTY_PHONE = "phone";
|
||||
public static final String PERSON_PROPERTY_EMAIL = "email";
|
||||
public static final String COMPARE_PICTURE = "comparePicture";
|
||||
public static final String PERSON_PROPERTY_PERSON_CODE = "personCode";
|
||||
public static final String IC_CAED_NO = "icCardNo";
|
||||
public static final String IC_CAED_TYPE = "icCardType";
|
||||
public static final String FLOORS = "floors";
|
||||
public static final String DEFAULT_FLOOR = "defaultFloor";
|
||||
public static final String PROPERTY_CODE = "code";
|
||||
public static final String PROPERTY_HAS_REQUIRED = "hasRequired";
|
||||
public static final int PROPERTY_REQUIRED = 1;
|
||||
public static final int PROPERTY_UNREQUIRED = 0;
|
||||
public static final String PERSON_PROPERTY_NAME = "name";
|
||||
public static final String PERSON_PROPERTY_ORGANIZATIONIDS = "organizationIds";
|
||||
public static final String PERSON_PROPERTY_LABELIDS = "labelIds";
|
||||
public static final String CREATE_SYS_ACCOUNT_CODE = "createSysAccount";
|
||||
public static final String CREATE_SYS_ACCOUNT_NAME = "同步创建账号";
|
||||
public static final String SYS_ACCOUNT_ID_CODE = "sysAccountId";
|
||||
public static final String SYS_ACCOUNT_ID_NAME = "同步创建账号系统ID";
|
||||
public static final Integer AGREE = 0;
|
||||
public static final String SYSTEM_USER = "system";
|
||||
public static final String IMAGE_STORE_ID = "imageStoreId";
|
||||
public static final String PASS_CRONS = "passCrons";
|
||||
public static final String ELEVATOR_APP = "派梯应用";
|
||||
public static final String FLOOR_NAMES = "floorNames";
|
||||
public static final short PERSON_DELETED = -1;
|
||||
public static final short PERSON_VALIDATE = 0;
|
||||
public static final short PERSON_INVALIDATE = 1;
|
||||
public static final short DEVICE_PERSON_VALIDATE = 1;
|
||||
public static final short DEVICE_PERSON_INVALIDATE = 0;
|
||||
public static final Integer MAX_FILE = 0x300000;
|
||||
public static final String SYSTEM_GROUP_CREATE_USER_ID = "group";
|
||||
public static final int PERSON_ACTION_DELETE = -1;
|
||||
public static final int PERSON_ACTION_ADD = 0;
|
||||
public static final int PERSON_ACTION_UPDATE = 1;
|
||||
public static final short GROUP_MODEL_STATUS_NO_IMG = 0;
|
||||
public static final int PERSON_VALIDATE_UNPROCESSED = 0;
|
||||
public static final int PERSON_VALIDATE_PROCESSED = 1;
|
||||
|
||||
private ImageStoreConstants() {}
|
||||
|
||||
public static List<String> getCustProperties() {
|
||||
return CUST_PROPERTIES;
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
public class LabelConstants {
|
||||
public static final short LABEL_ADDTYPE_PAGE = 0;
|
||||
public static final short LABEL_ADDTYPE_APP_INITIALIZE = 1;
|
||||
public static final short LABEL_ADDTYPE_APP_ADD = 2;
|
||||
|
||||
private LabelConstants() {}
|
||||
}
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
public class RsPersonRespCodeConstant {
|
||||
public static final String PERSON_SELECT_ERROR = "53004101";
|
||||
public static final String PERSON_UPDATE_ERROR = "53004102";
|
||||
public static final String PERSON_INSERT_ERROR = "53004103";
|
||||
public static final String PERSON_DELETE_ERROR = "53004104";
|
||||
public static final String PERSON_CODE_REPETITION = "53004105";
|
||||
public static final String PERSON_PARAM_VALIDATE_PHONE_REGEXP = "53004018";
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL_REGEXP = "53004019";
|
||||
public static final String PERSON_PARAM_VALIDATE_DATE_REGEXP = "53004020";
|
||||
public static final String PERSON_PARAM_VALIDATE_REMARK = "53004021";
|
||||
public static final String PERSON_PARAM_VALIDATE_ID = "53004022";
|
||||
public static final String PERSON_PARAM_VALIDATE_ID_NOT_NULL = "53004023";
|
||||
public static final String PERSON_PARAM_VALIDATE_CODE = "53004024";
|
||||
public static final String PERSON_PARAM_VALIDATE_CODE_NOT_NULL = "53004025";
|
||||
public static final String PERSON_PARAM_VALIDATE_NAME = "53004026";
|
||||
public static final String PERSON_PARAM_VALIDATE_NAME_NOT_NULL = "53004027";
|
||||
public static final String PERSON_PARAM_VALIDATE_STATUS = "53004028";
|
||||
public static final String PERSON_PARAM_VALIDATE_STATUS_NOT_NULL = "53004029";
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_ID = "53004030";
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_ID_NOT_NULL = "53004031";
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_PATH = "53004032";
|
||||
public static final String PERSON_PARAM_VALIDATE_ORG_PATH_NOT_NULL = "53004033";
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_TYPE = "53004034";
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_TYPE_NOT_NULL = "53004035";
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_NO = "53004036";
|
||||
public static final String PERSON_PARAM_VALIDATE_CERT_NO_NOT_NULL = "53004037";
|
||||
public static final String PERSON_PARAM_VALIDATE_TYPE = "53004038";
|
||||
public static final String PERSON_PARAM_VALIDATE_TYPE_NOT_NULL = "53004039";
|
||||
public static final String PERSON_PARAM_VALIDATE_BIRTHDAY = "53004040";
|
||||
public static final String PERSON_PARAM_VALIDATE_BIRTHDAY_NOT_NULL = "53004041";
|
||||
public static final String PERSON_PARAM_VALIDATE_SEX = "53004042";
|
||||
public static final String PERSON_PARAM_VALIDATE_SEX_NOT_NULL = "53004043";
|
||||
public static final String PERSON_PARAM_VALIDATE_DUTY = "53004044";
|
||||
public static final String PERSON_PARAM_VALIDATE_DUTY_NOT_NULL = "53004045";
|
||||
public static final String PERSON_PARAM_VALIDATE_POSITION = "53004046";
|
||||
public static final String PERSON_PARAM_VALIDATE_POSITION_NOT_NULL = "53004047";
|
||||
public static final String PERSON_PARAM_VALIDATE_TELEPHONE = "53004048";
|
||||
public static final String PERSON_PARAM_VALIDATE_TELEPHONE_NOT_NULL = "53004049";
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL = "53004050";
|
||||
public static final String PERSON_PARAM_VALIDATE_EMAIL_NOT_NULL = "53004051";
|
||||
public static final String PERSON_PARAM_VALIDATE_BUSINESS_ID = "53004052";
|
||||
public static final String PERSON_PARAM_VALIDATE_BUSINESS_ID_NOT_NULL = "53004053";
|
||||
public static final String PERSON_PARAM_VALIDATE_APPLICATION_ID = "53004054";
|
||||
public static final String PERSON_PARAM_VALIDATE_APPLICATION_ID_NOT_NULL = "53004055";
|
||||
public static final String PERSON_PARAM_VALIDATE_PARTITION_ID = "53004056";
|
||||
public static final String PERSON_PARAM_VALIDATE_PARTITION_ID_NOT_NULL = "53004057";
|
||||
public static final String PERSON_PARAM_VALIDATE_LIMIT_NUM_NOT_NULL = "53004058";
|
||||
public static final String PERSON_PARAM_ID_NOT_EXISTS = "53004059";
|
||||
public static final String PERSON_PARAM_END_TIME_NOT_NULL = "53004060";
|
||||
public static final String PERSON_PARAM_START_TIME_NOT_NULL = "53004061";
|
||||
public static final String PERSON_PARAM_VALIDATE_VIP_LEVEL = "53004062";
|
||||
public static final String PERSON_PARAM_VALIDATE_VIP_LEVEL_NOT_NULL = "53004063";
|
||||
public static final String PERSON_PARAM_VALIDATE_PROVINCE = "53004064";
|
||||
public static final String PERSON_PARAM_VALIDATE_CITY = "53004065";
|
||||
public static final String PERSON_PARAM_VALIDATE_AREA = "53004066";
|
||||
public static final String PERSON_PARAM_VALIDATE_ADDRESS = "53004067";
|
||||
public static final String PERSON_RECORD_ID = "53004201";
|
||||
public static final String PERSON_RECORD_ID_NOT_NULL = "53004202";
|
||||
public static final String PERSON_RECORD_PERSON_ID = "53004203";
|
||||
public static final String PERSON_RECORD_PERSON_ID_NOT_NULL = "53004204";
|
||||
public static final String PERSON_RECORD_OLD_ID = "53004205";
|
||||
public static final String PERSON_RECORD_NEW_ID = "53004206";
|
||||
public static final String PERSON_RECORD_ACTION_TYPE = "53004207";
|
||||
public static final String PERSON_RECORD_ACTION_TYPE_NOT_NULL = "53004208";
|
||||
public static final String PERSON_RECORD_IDS = "53004209";
|
||||
public static final String PERSON_RECORD_IDS_NOT_EMPTY = "53004210";
|
||||
public static final String PERSON_NOT_EXIST = "53004211";
|
||||
public static final String PERSON_PHONE_REPEART = "53060450";
|
||||
public static final String PERSON_EMAIL_REPEART = "53060550";
|
||||
public static final String PERSON_USER_NAME_REPEART = "53060551";
|
||||
public static final String PERSON_PROPERTIES_SELECT_ERROR = "53004112";
|
||||
public static final String PERSON_PROPERTIES_UPDATE_ERROR = "53004113";
|
||||
public static final String PERSON_PROPERTIES_INSERT_ERROR = "53004114";
|
||||
public static final String PERSON_PROPERTIES_DELETE_ERROR = "53004115";
|
||||
public static final String PERSON_PROPERTIES_FULL_ERROR = "53004116";
|
||||
public static final String PERSON_PROPERTIES_DUPLICATE_ERROR = "53004117";
|
||||
public static final String PERSON_PROPERTIES_ACCOUNT_CHOOSE_ERROR = "53004118";
|
||||
public static final String PERSON_PROPERTIES_ACCOUNT_CHOOSE_NULL_ERROR = "53004119";
|
||||
public static final String PERSON_PROPERTIES_UNMAINTAINED = "53004120";
|
||||
public static final String PERSON_PROPERTIES_INSERT_ID_NOTNULL_ERROR = "53004121";
|
||||
public static final String PERSON_PROPERTIES_ENGINE_TYPE_NOT_NULL = "53004122";
|
||||
public static final String PERSON_PROPERTIES_ENGINE_STATUS_QUERY_ERROR = "53004123";
|
||||
public static final String PERSON_PROPERTIES_SWITCH_PARAM_NOT_NULL = "53004124";
|
||||
public static final String PERSON_PROPERTIES_SWITCH_PARAM_QUERY_ERROR = "53004125";
|
||||
public static final String PERSON_PROPERTIES_SWITCH_PARAM_SAVE_ERROR = "53004126";
|
||||
public static final String RELATIVE_COMPARE_TARGET_IMG_NOT_NULL = "53004127";
|
||||
public static final String PERSON_COMPARE_IMG_IS_NULL = "53004128";
|
||||
public static final String PERSON_PROPERTIES_SIZE_PARAM_NOT_NULL = "53004129";
|
||||
public static final String PERSON_PROPERTIES_BACKGROUND_OBJECT_NOT_NULL = "53004130";
|
||||
public static final String PERSON_PROPERTIES_SHAPE_PARAM_NOT_NULL = "53004131";
|
||||
public static final String PERSON_PROPERTIES_SKIN_COLOR_PARAM_NOT_NULL = "53004132";
|
||||
public static final String PERSON_PROPERTIES_BACKGROUND_PARAM_NOT_NULL = "53004133";
|
||||
public static final String PERSON_PROPERTIES_DEFECTS_PARAM_NOT_NULL = "53004134";
|
||||
|
||||
private RsPersonRespCodeConstant() {}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.client.organization.common.constant;
|
||||
|
||||
// 常量定义
|
||||
public class SystemConst {
|
||||
public static final String ZERO = "0";
|
||||
public static final String ONE = "1";
|
||||
public static final String TWO = "2";
|
||||
public static final String IMG_DOWNLOAD_PARSE_ERROR = "img_download_parse_error";
|
||||
public static final String VALIDATE_JOB_NAME = "PERSON_VALIDATE_JOB_NAME";
|
||||
public static final String VALIDATE_JOB_GROUP = "QZ_PERSON_VALIDATE_JOB";
|
||||
public static final String VALIDATE_MAP_KEY = "VALIDATE_TRIGGER_KEY";
|
||||
|
||||
private SystemConst() {}
|
||||
}
|
||||
+100
@@ -0,0 +1,100 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public enum AreaTypeCodeEnum {
|
||||
PARK("PARK", "PARK", "园区", 0, 0),
|
||||
BUILDING("BUILDING", "BUILDING", "楼栋", 0, 0),
|
||||
FLOOR("FLOOR", "FLOOR", "楼层", 0, 0),
|
||||
HOUSE("HOUSE", "HOUSE", "房间", 0, 0),
|
||||
OTHER("OTHER", "OTHER", "其他", 0, 0);
|
||||
|
||||
private String group;
|
||||
private String code;
|
||||
private String name;
|
||||
private Integer editable;
|
||||
private Integer deletable;
|
||||
|
||||
private AreaTypeCodeEnum(String group, String code, String name, int editable, int deletable) {
|
||||
this.group = group;
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
this.editable = editable;
|
||||
this.deletable = deletable;
|
||||
}
|
||||
|
||||
public static AreaTypeCodeEnum contains(String code) {
|
||||
for (AreaTypeCodeEnum value : AreaTypeCodeEnum.values()) {
|
||||
if (!Objects.equals(code, value.getCode())) continue;
|
||||
return value;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Map<String, Integer> editable(String group) {
|
||||
return Arrays.stream(AreaTypeCodeEnum.values())
|
||||
.filter(it -> it.getGroup().equals(group))
|
||||
.collect(Collectors.toMap(AreaTypeCodeEnum::getCode, AreaTypeCodeEnum::getEditable));
|
||||
}
|
||||
|
||||
public static Map<String, Integer> deletable(String group) {
|
||||
return Arrays.stream(AreaTypeCodeEnum.values())
|
||||
.filter(it -> it.getGroup().equals(group))
|
||||
.collect(Collectors.toMap(AreaTypeCodeEnum::getCode, AreaTypeCodeEnum::getDeletable));
|
||||
}
|
||||
|
||||
public static List<String> groupBy(String group) {
|
||||
ArrayList<String> codes = new ArrayList<String>();
|
||||
for (AreaTypeCodeEnum value : AreaTypeCodeEnum.values()) {
|
||||
if (!Objects.equals(group, value.getGroup())) continue;
|
||||
codes.add(value.getCode());
|
||||
}
|
||||
return codes;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getEditable() {
|
||||
return this.editable;
|
||||
}
|
||||
|
||||
public void setEditable(Integer editable) {
|
||||
this.editable = editable;
|
||||
}
|
||||
|
||||
public String getGroup() {
|
||||
return this.group;
|
||||
}
|
||||
|
||||
public void setGroup(String group) {
|
||||
this.group = group;
|
||||
}
|
||||
|
||||
public Integer getDeletable() {
|
||||
return this.deletable;
|
||||
}
|
||||
|
||||
public void setDeletable(Integer deletable) {
|
||||
this.deletable = deletable;
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.Arrays;
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
public enum CertPropertyEnum {
|
||||
NAME("name", "姓名", 1),
|
||||
CARD_IMAGE_PATH("cardImagePath", "证件照", 2),
|
||||
SEX("sex", "性别", 3),
|
||||
FOLK("folk", "民族", 4),
|
||||
BIRTHDAY("birthday", "生日", 5),
|
||||
ADDRESS("address", "住址", 6),
|
||||
CARD_ID("cardId", "身份证号", 7),
|
||||
AUTHORITY("authority", "发证机关", 8),
|
||||
VALIDDATE2("validdate2", "有效期", 9);
|
||||
|
||||
private String value;
|
||||
private String description;
|
||||
private int sort;
|
||||
|
||||
private CertPropertyEnum(String value, String description, int sort) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public int getSort() {
|
||||
return this.sort;
|
||||
}
|
||||
|
||||
public static int getSort(String value) {
|
||||
AtomicInteger sort = new AtomicInteger(Integer.MAX_VALUE);
|
||||
Arrays.asList(CertPropertyEnum.values()).stream()
|
||||
.filter(property -> Objects.equals(value, property.getValue()))
|
||||
.findFirst()
|
||||
.ifPresent(property -> sort.set(property.getSort()));
|
||||
return sort.get();
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum CommonExportStateCodeEnum {
|
||||
EXPORT_TASK_DOWNLOAD_CENTER_FAILURE("36000008", "下载中心创建下载任务失败"),
|
||||
EXPORT_TASK_FAILURE("36000009", "添加导出任务失败"),
|
||||
EXPORT_TASK_TYPE_ERROR("36000010", "导出任务类型错误"),
|
||||
EXPORT_TASK_OVERLOAD_THRESHOLD("36000011", "查询导出记录超过设定阈值");
|
||||
|
||||
private String code;
|
||||
private String message;
|
||||
|
||||
private CommonExportStateCodeEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum CpImageStoreMatchPatternEnum {
|
||||
MERGE("0", "部分满足"),
|
||||
UNITE("1", "全部满足");
|
||||
|
||||
private String code;
|
||||
private String value;
|
||||
|
||||
private CpImageStoreMatchPatternEnum(String code, String value) {
|
||||
this.code = code;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public static CpImageStoreMatchPatternEnum getByCode(String code) {
|
||||
for (CpImageStoreMatchPatternEnum e : CpImageStoreMatchPatternEnum.values()) {
|
||||
if (!e.getCode().equals(code)) continue;
|
||||
return e;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.Objects;
|
||||
|
||||
public enum CpPersonAuditEnum {
|
||||
INIT((short) 1, "未审核"),
|
||||
AGREE((short) 2, "已通过"),
|
||||
REFUSE((short) 3, "已拒绝");
|
||||
|
||||
private Short code;
|
||||
private String message;
|
||||
|
||||
private CpPersonAuditEnum(Short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public static String getMessage(Short code) {
|
||||
for (CpPersonAuditEnum item : CpPersonAuditEnum.values()) {
|
||||
if (!Objects.equals(code, item.getCode())) continue;
|
||||
return item.getMessage();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.Objects;
|
||||
|
||||
public enum CpPersonAuditUniqueEnum {
|
||||
PERSONCODE("personCode", "人员编号"),
|
||||
PHONE("phone", "手机"),
|
||||
NAME("userName", "姓名"),
|
||||
USERNAME("email", "用户名");
|
||||
|
||||
private String code;
|
||||
private String message;
|
||||
|
||||
private CpPersonAuditUniqueEnum(String code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
|
||||
public static String getMessage(String code) {
|
||||
for (CpPersonAuditUniqueEnum item : CpPersonAuditUniqueEnum.values()) {
|
||||
if (!Objects.equals(code, item.getCode())) continue;
|
||||
return item.getMessage();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum CpPersonOperateEnum {}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum CpPersonSourceEnum {
|
||||
PAGE((short) 1, "页面"),
|
||||
CAPTURE((short) 2, "抓拍"),
|
||||
DEVICE((short) 3, "设备注册"),
|
||||
CODE((short) 4, "扫码注册"),
|
||||
CERT((short) 5, "人证注册");
|
||||
|
||||
private Short code;
|
||||
private String message;
|
||||
|
||||
private CpPersonSourceEnum(Short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static String getMessage(Short code) {
|
||||
for (CpPersonSourceEnum e : CpPersonSourceEnum.values()) {
|
||||
if (!e.getCode().equals(code)) continue;
|
||||
return e.getMessage();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum CustEditEnum {
|
||||
FT_ALL(255, "整体修图"),
|
||||
FT_MORPH(1, "形变优化"),
|
||||
FT_BLEMISH(2, "瑕疵优化"),
|
||||
FT_WRINKLE(4, "皱纹优化"),
|
||||
FT_HIGHLINGH(8, "高光优化"),
|
||||
FT_SKINALL(16, "肤色整体优化"),
|
||||
FT_SKINAREA(32, "肤色局部优化"),
|
||||
FT_BELOWEYE(64, "眼袋卧蚕"),
|
||||
FT_BACKGROUD(128, "换背景");
|
||||
|
||||
private int code;
|
||||
private String msg;
|
||||
|
||||
private CustEditEnum(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
private CustEditEnum(int code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return this.msg;
|
||||
}
|
||||
|
||||
public static CustEditEnum getCustEditByCode(int code) {
|
||||
if (FT_ALL.getCode() == code) {
|
||||
return FT_ALL;
|
||||
}
|
||||
if (FT_MORPH.getCode() == code) {
|
||||
return FT_MORPH;
|
||||
}
|
||||
if (FT_BLEMISH.getCode() == code) {
|
||||
return FT_BLEMISH;
|
||||
}
|
||||
if (FT_WRINKLE.getCode() == code) {
|
||||
return FT_WRINKLE;
|
||||
}
|
||||
if (FT_HIGHLINGH.getCode() == code) {
|
||||
return FT_HIGHLINGH;
|
||||
}
|
||||
if (FT_SKINALL.getCode() == code) {
|
||||
return FT_SKINALL;
|
||||
}
|
||||
if (FT_SKINAREA.getCode() == code) {
|
||||
return FT_SKINAREA;
|
||||
}
|
||||
if (FT_BELOWEYE.getCode() == code) {
|
||||
return FT_BELOWEYE;
|
||||
}
|
||||
if (FT_BACKGROUD.getCode() == code) {
|
||||
return FT_BACKGROUD;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.Arrays;
|
||||
|
||||
public enum DefaultPropertyEnum {
|
||||
NAME("name", "人员姓名");
|
||||
|
||||
private String value;
|
||||
private String description;
|
||||
|
||||
private DefaultPropertyEnum(String value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public static boolean hasProperty(String value) {
|
||||
return Arrays.stream(DefaultPropertyEnum.values())
|
||||
.filter(property -> property.getValue().equals(value))
|
||||
.findFirst()
|
||||
.isPresent();
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum DeviceAbilityEnum {
|
||||
NOT_SUPPORT_PERSON_VALIDDATE(0, "不支持人员有效期"),
|
||||
SUPPORT_PERSON_VALIDDATE(1, "支持人员有效期"),
|
||||
NOT_SUPPORT_MULTI_PERSON_GROUP(1, "不支持多图库"),
|
||||
SUPPORT_MULTI_PERSON_GROUP(0, "支持多图库");
|
||||
|
||||
private int code;
|
||||
private String message;
|
||||
|
||||
private DeviceAbilityEnum(int code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum EngineAddressEnum {
|
||||
PINEAPPLE_SEARCH_MULTIPLE("多库检索", "/staticdb/search/multiple"),
|
||||
PINEAPPLE_EXTRACT_FEATURE("特征提取", "/staticdb/search/feature"),
|
||||
PINEAPPLE_FACE_DETECT("人脸检测", "/staticdb/face/detect"),
|
||||
PINEAPPLE_BATCH_ADD_FACE("批量添加人脸", "/face/batchAdd"),
|
||||
PINEAPPLE_BATCH_REMOVE_FACE("批量删除人脸", "/face/batchRemove"),
|
||||
PINEAPPLE_ADD_FACE("特征管理-添加", "/face/add"),
|
||||
PINEAPPLE_REMOVE_FACE("特征管理-删除", "/face/remove");
|
||||
|
||||
private final String api;
|
||||
private final String address;
|
||||
|
||||
private EngineAddressEnum(String api, String address) {
|
||||
this.api = api;
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getApi() {
|
||||
return this.api;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return this.address;
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum FileStatusEnum {
|
||||
FINISH(0, "已完成"),
|
||||
PRODUCING(1, "生成中"),
|
||||
DELETED(2, "已删除"),
|
||||
CANCELED(3, "已取消"),
|
||||
OUT_DATE(4, "已过期"),
|
||||
ERROR(5, "失败");
|
||||
|
||||
private Integer code;
|
||||
private String message;
|
||||
|
||||
private FileStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static FileStatusEnum getEnumByCode(Integer code) {
|
||||
for (FileStatusEnum item : FileStatusEnum.values()) {
|
||||
if (!code.equals(item.getCode())) continue;
|
||||
return item;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum OperationLogEnum {
|
||||
ORR_ADD("新增机构", "/component/organization/add"),
|
||||
ORG_EDIT("编辑机构", "/component/organization/edit"),
|
||||
ORG_DELETE("批量删除机构", "/component/organization/batch/delete"),
|
||||
ORG_PERSON_ADD("机构人员添加", "/component/organization/personsAdd"),
|
||||
ORG_PERSON_DELETE("机构人员删除", "/component/organization/personsDel"),
|
||||
PERSON_ADD("新增人员信息", "/component/person/add"),
|
||||
PERSON_EDIT("编辑人员信息", "/component/person/edit"),
|
||||
PERSON_DELETE("删除人员信息", "/component/person/delete"),
|
||||
LABEL_ADD("新增标签", "/biology/label/add"),
|
||||
LABEL_EDIT("编辑标签", "/biology/label/edit"),
|
||||
LABEL_DELETE("删除标签", "/biology/label/delete"),
|
||||
LABEL_PERSON_ADD("标签添加人员", "/biology/label/personsAdd"),
|
||||
LABEL_PERSON_DELETE("标签删除人员", "/biology/label/personsDel");
|
||||
|
||||
private String name;
|
||||
private String code;
|
||||
|
||||
private OperationLogEnum(String name, String code) {
|
||||
this.name = name;
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public enum OrganizationTypeCodeEnum {
|
||||
UNIT("PARK", "UNIT", "单位", 0, 0, 2),
|
||||
PARK_PROPERTY("PARK", "PROPERTY", "物业", 1, 0, 2),
|
||||
PARK_MANAGEMENT("PARK", "MANAGEMENT", "管理委员会", 1, 1, 2);
|
||||
|
||||
private String group;
|
||||
private String code;
|
||||
private String name;
|
||||
private Integer editable;
|
||||
private Integer deletable;
|
||||
private Integer level;
|
||||
|
||||
private OrganizationTypeCodeEnum(
|
||||
String group, String code, String name, int editable, int deletable, int level) {
|
||||
this.group = group;
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
this.editable = editable;
|
||||
this.deletable = deletable;
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public static OrganizationTypeCodeEnum contains(String code) {
|
||||
for (OrganizationTypeCodeEnum value : OrganizationTypeCodeEnum.values()) {
|
||||
if (!Objects.equals(code, value.getCode())) continue;
|
||||
return value;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Map<String, Integer> editable(String group) {
|
||||
return Arrays.stream(OrganizationTypeCodeEnum.values())
|
||||
.filter(it -> it.getGroup().equals(group))
|
||||
.collect(
|
||||
Collectors.toMap(
|
||||
OrganizationTypeCodeEnum::getCode, OrganizationTypeCodeEnum::getEditable));
|
||||
}
|
||||
|
||||
public static Map<String, Integer> deletable(String group) {
|
||||
return Arrays.stream(OrganizationTypeCodeEnum.values())
|
||||
.filter(it -> group == null || it.getGroup().equals(group))
|
||||
.collect(
|
||||
Collectors.toMap(
|
||||
OrganizationTypeCodeEnum::getCode, OrganizationTypeCodeEnum::getDeletable));
|
||||
}
|
||||
|
||||
public static Map<String, Integer> deletable() {
|
||||
return OrganizationTypeCodeEnum.deletable(null);
|
||||
}
|
||||
|
||||
public static List<String> groupBy(String group) {
|
||||
ArrayList<String> codes = new ArrayList<String>();
|
||||
for (OrganizationTypeCodeEnum value : OrganizationTypeCodeEnum.values()) {
|
||||
if (!Objects.equals(group, value.getGroup())) continue;
|
||||
codes.add(value.getCode());
|
||||
}
|
||||
return codes;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getEditable() {
|
||||
return this.editable;
|
||||
}
|
||||
|
||||
public void setEditable(Integer editable) {
|
||||
this.editable = editable;
|
||||
}
|
||||
|
||||
public String getGroup() {
|
||||
return this.group;
|
||||
}
|
||||
|
||||
public void setGroup(String group) {
|
||||
this.group = group;
|
||||
}
|
||||
|
||||
public Integer getDeletable() {
|
||||
return this.deletable;
|
||||
}
|
||||
|
||||
public void setDeletable(Integer deletable) {
|
||||
this.deletable = deletable;
|
||||
}
|
||||
|
||||
public Integer getLevel() {
|
||||
return this.level;
|
||||
}
|
||||
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum PropertyTypeEnum {
|
||||
TEXT(1, "字符串"),
|
||||
SELECT(2, "选择"),
|
||||
TIME(3, "时间"),
|
||||
FILE(4, "文件上传");
|
||||
|
||||
private int value;
|
||||
private String description;
|
||||
|
||||
private PropertyTypeEnum(int value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum RegistryTypeEnum {
|
||||
SELF_REGISTRY(0, "自助注册", "SelfRegistryHandler"),
|
||||
CERT_REGISTRY(1, "人证注册", "CertRegistryHandler");
|
||||
|
||||
private Integer value;
|
||||
private String description;
|
||||
private String handler;
|
||||
|
||||
private RegistryTypeEnum(Integer value, String description, String handler) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
this.handler = handler;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public String getHandler() {
|
||||
return this.handler;
|
||||
}
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum StatusEnum {
|
||||
OPEN(1, "开启"),
|
||||
CLOSE(0, "关闭"),
|
||||
REQUIRED(1, "必填"),
|
||||
NOTREQUIRED(0, "非必填"),
|
||||
VALID(0, "有效"),
|
||||
INVALID(1, "无效"),
|
||||
CHECKED(1, "已勾选"),
|
||||
UNCHECKED(0, "未勾选"),
|
||||
DISABLED(1, "不可更改"),
|
||||
UNDISABLED(0, "可更改"),
|
||||
UNIQUE(1, "唯一"),
|
||||
NOTUNIQUE(0, "不唯一"),
|
||||
PERSON_DELETE(-1, "删除"),
|
||||
PERSON_NORMAL(0, "正常"),
|
||||
PERSON_INVALID(1, "失效"),
|
||||
UNNOTIFY(0, "未通知"),
|
||||
NOTIFY(1, "已通知");
|
||||
|
||||
private Integer value;
|
||||
private String description;
|
||||
|
||||
private StatusEnum(Integer value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
public enum SyncStatusEnum {
|
||||
NOT_PULL(0, "设备未拉取"),
|
||||
PULL(1, "设备已拉取"),
|
||||
SYNC_SUCCESS(2, "设备上报成功"),
|
||||
SYNC_FAIL(3, "设备上报失败");
|
||||
|
||||
private int value;
|
||||
private String description;
|
||||
|
||||
private SyncStatusEnum(int value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.common.enums;
|
||||
|
||||
// 枚举
|
||||
import java.util.Arrays;
|
||||
|
||||
public enum UniquePropertyEnum {
|
||||
USER_NAME("userName", "用户名"),
|
||||
PERSON_CODE("personCode", "工号"),
|
||||
PHONE("phone", "手机号"),
|
||||
EMAIL("email", "邮箱");
|
||||
|
||||
private String value;
|
||||
private String description;
|
||||
|
||||
private UniquePropertyEnum(String value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public static boolean hasProperty(String value) {
|
||||
return Arrays.stream(UniquePropertyEnum.values())
|
||||
.filter(property -> property.getValue().equals(value))
|
||||
.findFirst()
|
||||
.isPresent();
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package cn.cloudwalk.client.organization.common.exception;
|
||||
|
||||
// 组件
|
||||
public class ImageStoreException extends Exception {
|
||||
private String code;
|
||||
|
||||
public ImageStoreException(String code, String message) {
|
||||
super(message);
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsDeviceRestructureConditionForm implements Serializable {
|
||||
private static final long serialVersionUID = -7349123760464380004L;
|
||||
private String businessId;
|
||||
private String orgId;
|
||||
private String labelId;
|
||||
private String personId;
|
||||
private List<String> areaIds;
|
||||
private String deviceName;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public List<String> getAreaIds() {
|
||||
return this.areaIds;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return this.deviceName;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setAreaIds(List<String> areaIds) {
|
||||
this.areaIds = areaIds;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AcsDeviceRestructureConditionForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsDeviceRestructureConditionForm other = (AcsDeviceRestructureConditionForm) o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
if (this$businessId == null
|
||||
? other$businessId != null
|
||||
: !this$businessId.equals(other$businessId)) {
|
||||
return false;
|
||||
}
|
||||
String this$orgId = this.getOrgId();
|
||||
String other$orgId = other.getOrgId();
|
||||
if (this$orgId == null ? other$orgId != null : !this$orgId.equals(other$orgId)) {
|
||||
return false;
|
||||
}
|
||||
String this$labelId = this.getLabelId();
|
||||
String other$labelId = other.getLabelId();
|
||||
if (this$labelId == null ? other$labelId != null : !this$labelId.equals(other$labelId)) {
|
||||
return false;
|
||||
}
|
||||
String this$personId = this.getPersonId();
|
||||
String other$personId = other.getPersonId();
|
||||
if (this$personId == null ? other$personId != null : !this$personId.equals(other$personId)) {
|
||||
return false;
|
||||
}
|
||||
List<String> this$areaIds = this.getAreaIds();
|
||||
List<String> other$areaIds = other.getAreaIds();
|
||||
if (this$areaIds == null
|
||||
? other$areaIds != null
|
||||
: !((Object) this$areaIds).equals(other$areaIds)) {
|
||||
return false;
|
||||
}
|
||||
String this$deviceName = this.getDeviceName();
|
||||
String other$deviceName = other.getDeviceName();
|
||||
return !(this$deviceName == null
|
||||
? other$deviceName != null
|
||||
: !this$deviceName.equals(other$deviceName));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsDeviceRestructureConditionForm;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
String $orgId = this.getOrgId();
|
||||
result = result * 59 + ($orgId == null ? 43 : $orgId.hashCode());
|
||||
String $labelId = this.getLabelId();
|
||||
result = result * 59 + ($labelId == null ? 43 : $labelId.hashCode());
|
||||
String $personId = this.getPersonId();
|
||||
result = result * 59 + ($personId == null ? 43 : $personId.hashCode());
|
||||
List<String> $areaIds = this.getAreaIds();
|
||||
result = result * 59 + ($areaIds == null ? 43 : ((Object) $areaIds).hashCode());
|
||||
String $deviceName = this.getDeviceName();
|
||||
result = result * 59 + ($deviceName == null ? 43 : $deviceName.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsDeviceRestructureConditionForm(businessId="
|
||||
+ this.getBusinessId()
|
||||
+ ", orgId="
|
||||
+ this.getOrgId()
|
||||
+ ", labelId="
|
||||
+ this.getLabelId()
|
||||
+ ", personId="
|
||||
+ this.getPersonId()
|
||||
+ ", areaIds="
|
||||
+ this.getAreaIds()
|
||||
+ ", deviceName="
|
||||
+ this.getDeviceName()
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class AcsPassRuleImageForm extends CloudwalkBasePageForm implements Serializable {
|
||||
private static final long serialVersionUID = -52687427633888290L;
|
||||
private String personId;
|
||||
private String businessId;
|
||||
private List<String> includeOrganizations;
|
||||
private List<String> includeLabels;
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AcsRestructureQueryForm implements Serializable {
|
||||
private String orgId;
|
||||
private String labelId;
|
||||
private String personId;
|
||||
private String zoneId;
|
||||
private String businessId;
|
||||
|
||||
public String getOrgId() {
|
||||
return this.orgId;
|
||||
}
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setOrgId(String orgId) {
|
||||
this.orgId = orgId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof AcsRestructureQueryForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsRestructureQueryForm other = (AcsRestructureQueryForm) o;
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
}
|
||||
String this$orgId = this.getOrgId();
|
||||
String other$orgId = other.getOrgId();
|
||||
if (this$orgId == null ? other$orgId != null : !this$orgId.equals(other$orgId)) {
|
||||
return false;
|
||||
}
|
||||
String this$labelId = this.getLabelId();
|
||||
String other$labelId = other.getLabelId();
|
||||
if (this$labelId == null ? other$labelId != null : !this$labelId.equals(other$labelId)) {
|
||||
return false;
|
||||
}
|
||||
String this$personId = this.getPersonId();
|
||||
String other$personId = other.getPersonId();
|
||||
if (this$personId == null ? other$personId != null : !this$personId.equals(other$personId)) {
|
||||
return false;
|
||||
}
|
||||
String this$zoneId = this.getZoneId();
|
||||
String other$zoneId = other.getZoneId();
|
||||
if (this$zoneId == null ? other$zoneId != null : !this$zoneId.equals(other$zoneId)) {
|
||||
return false;
|
||||
}
|
||||
String this$businessId = this.getBusinessId();
|
||||
String other$businessId = other.getBusinessId();
|
||||
return !(this$businessId == null
|
||||
? other$businessId != null
|
||||
: !this$businessId.equals(other$businessId));
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
return other instanceof AcsRestructureQueryForm;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
int result = 1;
|
||||
String $orgId = this.getOrgId();
|
||||
result = result * 59 + ($orgId == null ? 43 : $orgId.hashCode());
|
||||
String $labelId = this.getLabelId();
|
||||
result = result * 59 + ($labelId == null ? 43 : $labelId.hashCode());
|
||||
String $personId = this.getPersonId();
|
||||
result = result * 59 + ($personId == null ? 43 : $personId.hashCode());
|
||||
String $zoneId = this.getZoneId();
|
||||
result = result * 59 + ($zoneId == null ? 43 : $zoneId.hashCode());
|
||||
String $businessId = this.getBusinessId();
|
||||
result = result * 59 + ($businessId == null ? 43 : $businessId.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AcsRestructureQueryForm(orgId="
|
||||
+ this.getOrgId()
|
||||
+ ", labelId="
|
||||
+ this.getLabelId()
|
||||
+ ", personId="
|
||||
+ this.getPersonId()
|
||||
+ ", zoneId="
|
||||
+ this.getZoneId()
|
||||
+ ", businessId="
|
||||
+ this.getBusinessId()
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
+209
@@ -0,0 +1,209 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.CommonParam;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AddAreaParam extends CommonParam {
|
||||
@Size(max = 32, message = "53060424")
|
||||
private String parentId;
|
||||
|
||||
@NotBlank(message = "53003312")
|
||||
@Length(min = 1, max = 60, message = "53060423")
|
||||
private String name;
|
||||
|
||||
@NotBlank(message = "53003301")
|
||||
@Length(min = 1, max = 32, message = "53003302")
|
||||
private String typeId;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext1;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext2;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext3;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext4;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext5;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext6;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext7;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext8;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext9;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext10;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext11;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext12;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext13;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext14;
|
||||
|
||||
@Size(max = 255, message = "53003303")
|
||||
private String ext15;
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getTypeId() {
|
||||
return this.typeId;
|
||||
}
|
||||
|
||||
public void setTypeId(String typeId) {
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public String getExt4() {
|
||||
return this.ext4;
|
||||
}
|
||||
|
||||
public void setExt4(String ext4) {
|
||||
this.ext4 = ext4;
|
||||
}
|
||||
|
||||
public String getExt5() {
|
||||
return this.ext5;
|
||||
}
|
||||
|
||||
public void setExt5(String ext5) {
|
||||
this.ext5 = ext5;
|
||||
}
|
||||
|
||||
public String getExt6() {
|
||||
return this.ext6;
|
||||
}
|
||||
|
||||
public void setExt6(String ext6) {
|
||||
this.ext6 = ext6;
|
||||
}
|
||||
|
||||
public String getExt7() {
|
||||
return this.ext7;
|
||||
}
|
||||
|
||||
public void setExt7(String ext7) {
|
||||
this.ext7 = ext7;
|
||||
}
|
||||
|
||||
public String getExt8() {
|
||||
return this.ext8;
|
||||
}
|
||||
|
||||
public void setExt8(String ext8) {
|
||||
this.ext8 = ext8;
|
||||
}
|
||||
|
||||
public String getExt9() {
|
||||
return this.ext9;
|
||||
}
|
||||
|
||||
public void setExt9(String ext9) {
|
||||
this.ext9 = ext9;
|
||||
}
|
||||
|
||||
public String getExt10() {
|
||||
return this.ext10;
|
||||
}
|
||||
|
||||
public void setExt10(String ext10) {
|
||||
this.ext10 = ext10;
|
||||
}
|
||||
|
||||
public String getExt11() {
|
||||
return this.ext11;
|
||||
}
|
||||
|
||||
public void setExt11(String ext11) {
|
||||
this.ext11 = ext11;
|
||||
}
|
||||
|
||||
public String getExt12() {
|
||||
return this.ext12;
|
||||
}
|
||||
|
||||
public void setExt12(String ext12) {
|
||||
this.ext12 = ext12;
|
||||
}
|
||||
|
||||
public String getExt13() {
|
||||
return this.ext13;
|
||||
}
|
||||
|
||||
public void setExt13(String ext13) {
|
||||
this.ext13 = ext13;
|
||||
}
|
||||
|
||||
public String getExt14() {
|
||||
return this.ext14;
|
||||
}
|
||||
|
||||
public void setExt14(String ext14) {
|
||||
this.ext14 = ext14;
|
||||
}
|
||||
|
||||
public String getExt15() {
|
||||
return this.ext15;
|
||||
}
|
||||
|
||||
public void setExt15(String ext15) {
|
||||
this.ext15 = ext15;
|
||||
}
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.AreaTypePropertyParam;
|
||||
import java.util.List;
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class AddAreaTypeParam {
|
||||
private String businessId;
|
||||
|
||||
@NotBlank(message = "53004806")
|
||||
@Size(max = 64, message = "53004807")
|
||||
private String name;
|
||||
|
||||
@NotNull(message = "53003808")
|
||||
@Range(min = 0L, max = 1L, message = "53003809")
|
||||
private Integer hasLowerLevel;
|
||||
|
||||
@Valid List<AreaTypePropertyParam> properties;
|
||||
|
||||
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 Integer getHasLowerLevel() {
|
||||
return this.hasLowerLevel;
|
||||
}
|
||||
|
||||
public void setHasLowerLevel(Integer hasLowerLevel) {
|
||||
this.hasLowerLevel = hasLowerLevel;
|
||||
}
|
||||
|
||||
public List<AreaTypePropertyParam> getProperties() {
|
||||
return this.properties;
|
||||
}
|
||||
|
||||
public void setProperties(List<AreaTypePropertyParam> properties) {
|
||||
this.properties = properties;
|
||||
}
|
||||
}
|
||||
+345
@@ -0,0 +1,345 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class AddFaceParam {
|
||||
private String seq;
|
||||
private String groupId;
|
||||
private String userId;
|
||||
private String feature;
|
||||
private String modelVersion;
|
||||
private String name;
|
||||
private String personId;
|
||||
private Integer birthday;
|
||||
private Integer gender;
|
||||
private Integer nationality;
|
||||
private Integer placeOfDomicile;
|
||||
private String qualityScore;
|
||||
private Long time;
|
||||
private String url;
|
||||
private Long trackId;
|
||||
private Long trackIdBeginTime;
|
||||
|
||||
AddFaceParam(
|
||||
String seq,
|
||||
String groupId,
|
||||
String userId,
|
||||
String feature,
|
||||
String modelVersion,
|
||||
String name,
|
||||
String personId,
|
||||
Integer birthday,
|
||||
Integer gender,
|
||||
Integer nationality,
|
||||
Integer placeOfDomicile,
|
||||
String qualityScore,
|
||||
Long time,
|
||||
String url,
|
||||
Long trackId,
|
||||
Long trackIdBeginTime) {
|
||||
this.seq = seq;
|
||||
this.groupId = groupId;
|
||||
this.userId = userId;
|
||||
this.feature = feature;
|
||||
this.modelVersion = modelVersion;
|
||||
this.name = name;
|
||||
this.personId = personId;
|
||||
this.birthday = birthday;
|
||||
this.gender = gender;
|
||||
this.nationality = nationality;
|
||||
this.placeOfDomicile = placeOfDomicile;
|
||||
this.qualityScore = qualityScore;
|
||||
this.time = time;
|
||||
this.url = url;
|
||||
this.trackId = trackId;
|
||||
this.trackIdBeginTime = trackIdBeginTime;
|
||||
}
|
||||
|
||||
public static AddFaceParamBuilder builder() {
|
||||
return new AddFaceParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public String getFeature() {
|
||||
return this.feature;
|
||||
}
|
||||
|
||||
public String getModelVersion() {
|
||||
return this.modelVersion;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public Integer getBirthday() {
|
||||
return this.birthday;
|
||||
}
|
||||
|
||||
public Integer getGender() {
|
||||
return this.gender;
|
||||
}
|
||||
|
||||
public Integer getNationality() {
|
||||
return this.nationality;
|
||||
}
|
||||
|
||||
public Integer getPlaceOfDomicile() {
|
||||
return this.placeOfDomicile;
|
||||
}
|
||||
|
||||
public String getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public Long getTime() {
|
||||
return this.time;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
|
||||
public Long getTrackId() {
|
||||
return this.trackId;
|
||||
}
|
||||
|
||||
public Long getTrackIdBeginTime() {
|
||||
return this.trackIdBeginTime;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public void setFeature(String feature) {
|
||||
this.feature = feature;
|
||||
}
|
||||
|
||||
public void setModelVersion(String modelVersion) {
|
||||
this.modelVersion = modelVersion;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setBirthday(Integer birthday) {
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
public void setGender(Integer gender) {
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public void setNationality(Integer nationality) {
|
||||
this.nationality = nationality;
|
||||
}
|
||||
|
||||
public void setPlaceOfDomicile(Integer placeOfDomicile) {
|
||||
this.placeOfDomicile = placeOfDomicile;
|
||||
}
|
||||
|
||||
public void setQualityScore(String qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public void setTrackId(Long trackId) {
|
||||
this.trackId = trackId;
|
||||
}
|
||||
|
||||
public void setTrackIdBeginTime(Long trackIdBeginTime) {
|
||||
this.trackIdBeginTime = trackIdBeginTime;
|
||||
}
|
||||
|
||||
public static class AddFaceParamBuilder {
|
||||
private String seq;
|
||||
private String groupId;
|
||||
private String userId;
|
||||
private String feature;
|
||||
private String modelVersion;
|
||||
private String name;
|
||||
private String personId;
|
||||
private Integer birthday;
|
||||
private Integer gender;
|
||||
private Integer nationality;
|
||||
private Integer placeOfDomicile;
|
||||
private String qualityScore;
|
||||
private Long time;
|
||||
private String url;
|
||||
private Long trackId;
|
||||
private Long trackIdBeginTime;
|
||||
|
||||
AddFaceParamBuilder() {}
|
||||
|
||||
public AddFaceParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder groupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder userId(String userId) {
|
||||
this.userId = userId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder feature(String feature) {
|
||||
this.feature = feature;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder modelVersion(String modelVersion) {
|
||||
this.modelVersion = modelVersion;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder name(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder personId(String personId) {
|
||||
this.personId = personId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder birthday(Integer birthday) {
|
||||
this.birthday = birthday;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder gender(Integer gender) {
|
||||
this.gender = gender;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder nationality(Integer nationality) {
|
||||
this.nationality = nationality;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder placeOfDomicile(Integer placeOfDomicile) {
|
||||
this.placeOfDomicile = placeOfDomicile;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder qualityScore(String qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder time(Long time) {
|
||||
this.time = time;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder url(String url) {
|
||||
this.url = url;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder trackId(Long trackId) {
|
||||
this.trackId = trackId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParamBuilder trackIdBeginTime(Long trackIdBeginTime) {
|
||||
this.trackIdBeginTime = trackIdBeginTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
public AddFaceParam build() {
|
||||
return new AddFaceParam(
|
||||
this.seq,
|
||||
this.groupId,
|
||||
this.userId,
|
||||
this.feature,
|
||||
this.modelVersion,
|
||||
this.name,
|
||||
this.personId,
|
||||
this.birthday,
|
||||
this.gender,
|
||||
this.nationality,
|
||||
this.placeOfDomicile,
|
||||
this.qualityScore,
|
||||
this.time,
|
||||
this.url,
|
||||
this.trackId,
|
||||
this.trackIdBeginTime);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "AddFaceParam.AddFaceParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", groupId="
|
||||
+ this.groupId
|
||||
+ ", userId="
|
||||
+ this.userId
|
||||
+ ", feature="
|
||||
+ this.feature
|
||||
+ ", modelVersion="
|
||||
+ this.modelVersion
|
||||
+ ", name="
|
||||
+ this.name
|
||||
+ ", personId="
|
||||
+ this.personId
|
||||
+ ", birthday="
|
||||
+ this.birthday
|
||||
+ ", gender="
|
||||
+ this.gender
|
||||
+ ", nationality="
|
||||
+ this.nationality
|
||||
+ ", placeOfDomicile="
|
||||
+ this.placeOfDomicile
|
||||
+ ", qualityScore="
|
||||
+ this.qualityScore
|
||||
+ ", time="
|
||||
+ this.time
|
||||
+ ", url="
|
||||
+ this.url
|
||||
+ ", trackId="
|
||||
+ this.trackId
|
||||
+ ", trackIdBeginTime="
|
||||
+ this.trackIdBeginTime
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class AddLabelParam {
|
||||
@Size(max = 32, message = "53014000")
|
||||
private String businessId;
|
||||
|
||||
@NotBlank(message = "53003703")
|
||||
@Size(min = 1, max = 64, message = "53003703")
|
||||
private String name;
|
||||
|
||||
@Size(min = 1, max = 64, message = "53003704")
|
||||
private String code;
|
||||
|
||||
@Range(min = 0L, max = 2L, message = "53003706")
|
||||
@NotNull(message = "53003706")
|
||||
private Short addType;
|
||||
|
||||
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 getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Short getAddType() {
|
||||
return this.addType;
|
||||
}
|
||||
|
||||
public void setAddType(Short addType) {
|
||||
this.addType = addType;
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AddPersonOrgParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String organizationId;
|
||||
|
||||
private String businessId;
|
||||
private List<String> personIds;
|
||||
|
||||
public String getOrganizationId() {
|
||||
return this.organizationId;
|
||||
}
|
||||
|
||||
public void setOrganizationId(String organizationId) {
|
||||
this.organizationId = organizationId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class AddUnitAreaParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String areaId;
|
||||
|
||||
private String businessId;
|
||||
private List<String> unitIds;
|
||||
|
||||
public String getAreaId() {
|
||||
return this.areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public List<String> getUnitIds() {
|
||||
return this.unitIds;
|
||||
}
|
||||
|
||||
public void setUnitIds(List<String> unitIds) {
|
||||
this.unitIds = unitIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class AddUnitZoneRefForm {
|
||||
private String unitId;
|
||||
private String unitName;
|
||||
private List<String> zoneIds;
|
||||
private String businessId;
|
||||
|
||||
public String getUnitId() {
|
||||
return this.unitId;
|
||||
}
|
||||
|
||||
public void setUnitId(String unitId) {
|
||||
this.unitId = unitId;
|
||||
}
|
||||
|
||||
public String getUnitName() {
|
||||
return this.unitName;
|
||||
}
|
||||
|
||||
public void setUnitName(String unitName) {
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
public List<String> getZoneIds() {
|
||||
return this.zoneIds;
|
||||
}
|
||||
|
||||
public void setZoneIds(List<String> zoneIds) {
|
||||
this.zoneIds = zoneIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class AddVehiclePersonForm {
|
||||
private List<String> vehicleList;
|
||||
private String personId;
|
||||
private String organizationId;
|
||||
private List<String> organizationIds;
|
||||
|
||||
public List<String> getVehicleList() {
|
||||
return this.vehicleList;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getOrganizationId() {
|
||||
return this.organizationId;
|
||||
}
|
||||
|
||||
public List<String> getOrganizationIds() {
|
||||
return this.organizationIds;
|
||||
}
|
||||
|
||||
public void setVehicleList(List<String> vehicleList) {
|
||||
this.vehicleList = vehicleList;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setOrganizationId(String organizationId) {
|
||||
this.organizationId = organizationId;
|
||||
}
|
||||
|
||||
public void setOrganizationIds(List<String> organizationIds) {
|
||||
this.organizationIds = organizationIds;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class AddVehiclePersonParam {
|
||||
private List<String> vehicleList;
|
||||
private String personId;
|
||||
private String businessId;
|
||||
|
||||
public List<String> getVehicleList() {
|
||||
return this.vehicleList;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setVehicleList(List<String> vehicleList) {
|
||||
this.vehicleList = vehicleList;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import javax.validation.constraints.NotNull;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class AreaTypePropertyParam {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String areaTypeId;
|
||||
private String code;
|
||||
|
||||
@NotBlank(message = "53004810")
|
||||
private String name;
|
||||
|
||||
private Integer status;
|
||||
|
||||
@NotNull(message = "53004811")
|
||||
@Range(min = 0L, max = 1L, message = "53004812")
|
||||
private Integer hasRequired;
|
||||
|
||||
@NotNull(message = "53004816")
|
||||
@Range(min = 0L, max = 100L, message = "53004817")
|
||||
private Integer orderNum;
|
||||
|
||||
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 getAreaTypeId() {
|
||||
return this.areaTypeId;
|
||||
}
|
||||
|
||||
public void setAreaTypeId(String areaTypeId) {
|
||||
this.areaTypeId = areaTypeId;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getHasRequired() {
|
||||
return this.hasRequired;
|
||||
}
|
||||
|
||||
public void setHasRequired(Integer hasRequired) {
|
||||
this.hasRequired = hasRequired;
|
||||
}
|
||||
|
||||
public Integer getOrderNum() {
|
||||
return this.orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Integer orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class BasePicRevisionParam {
|
||||
private String app_secret = "12345";
|
||||
private String app_id = "system";
|
||||
|
||||
public String getApp_secret() {
|
||||
return this.app_secret;
|
||||
}
|
||||
|
||||
public String getApp_id() {
|
||||
return this.app_id;
|
||||
}
|
||||
|
||||
public void setApp_secret(String app_secret) {
|
||||
this.app_secret = app_secret;
|
||||
}
|
||||
|
||||
public void setApp_id(String app_id) {
|
||||
this.app_id = app_id;
|
||||
}
|
||||
}
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class BatchAddFaceParam {
|
||||
private List<Item> items;
|
||||
|
||||
BatchAddFaceParam(List<Item> items) {
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
public static BatchAddFaceParamBuilder builder() {
|
||||
return new BatchAddFaceParamBuilder();
|
||||
}
|
||||
|
||||
public List<Item> getItems() {
|
||||
return this.items;
|
||||
}
|
||||
|
||||
public void setItems(List<Item> items) {
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
public static class BatchAddFaceParamBuilder {
|
||||
private List<Item> items;
|
||||
|
||||
BatchAddFaceParamBuilder() {}
|
||||
|
||||
public BatchAddFaceParamBuilder items(List<Item> items) {
|
||||
this.items = items;
|
||||
return this;
|
||||
}
|
||||
|
||||
public BatchAddFaceParam build() {
|
||||
return new BatchAddFaceParam(this.items);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "BatchAddFaceParam.BatchAddFaceParamBuilder(items=" + this.items + ")";
|
||||
}
|
||||
}
|
||||
|
||||
public static class Item {
|
||||
private String groupId;
|
||||
private String userId;
|
||||
private String feature;
|
||||
private String qualityScore;
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public String getFeature() {
|
||||
return this.feature;
|
||||
}
|
||||
|
||||
public String getQualityScore() {
|
||||
return this.qualityScore;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public void setFeature(String feature) {
|
||||
this.feature = feature;
|
||||
}
|
||||
|
||||
public void setQualityScore(String qualityScore) {
|
||||
this.qualityScore = qualityScore;
|
||||
}
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class BatchRemoveFaceParam {
|
||||
private List<Item> items;
|
||||
|
||||
BatchRemoveFaceParam(List<Item> items) {
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
public static BatchRemoveFaceParamBuilder builder() {
|
||||
return new BatchRemoveFaceParamBuilder();
|
||||
}
|
||||
|
||||
public List<Item> getItems() {
|
||||
return this.items;
|
||||
}
|
||||
|
||||
public void setItems(List<Item> items) {
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
public static class BatchRemoveFaceParamBuilder {
|
||||
private List<Item> items;
|
||||
|
||||
BatchRemoveFaceParamBuilder() {}
|
||||
|
||||
public BatchRemoveFaceParamBuilder items(List<Item> items) {
|
||||
this.items = items;
|
||||
return this;
|
||||
}
|
||||
|
||||
public BatchRemoveFaceParam build() {
|
||||
return new BatchRemoveFaceParam(this.items);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "BatchRemoveFaceParam.BatchRemoveFaceParamBuilder(items=" + this.items + ")";
|
||||
}
|
||||
}
|
||||
|
||||
public static class Item {
|
||||
private String groupId;
|
||||
private String userId;
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class CommonParam {
|
||||
private String businessId;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.CommonParam;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class DelAreaParam extends CommonParam {
|
||||
@NotEmpty(message = "53060411")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class DelAreaTypeParam {
|
||||
@NotEmpty(message = "53060411")
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DelLabelParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String id;
|
||||
|
||||
@Size(max = 32, message = "53014000")
|
||||
private String businessId;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DelPersonLabelParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String labelId;
|
||||
|
||||
@Size(max = 32, message = "53014000")
|
||||
private String businessId;
|
||||
|
||||
private List<String> personIds;
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.CommonParam;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DelPersonOrgParam extends CommonParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String organizationId;
|
||||
|
||||
private List<String> personIds;
|
||||
|
||||
public String getOrganizationId() {
|
||||
return this.organizationId;
|
||||
}
|
||||
|
||||
public void setOrganizationId(String organizationId) {
|
||||
this.organizationId = organizationId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.CommonParam;
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DelUnitAreaParam extends CommonParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String AreaId;
|
||||
|
||||
private List<String> unitIds;
|
||||
|
||||
public String getAreaId() {
|
||||
return this.AreaId;
|
||||
}
|
||||
|
||||
public void setAreaId(String areaId) {
|
||||
this.AreaId = areaId;
|
||||
}
|
||||
|
||||
public List<String> getUnitIds() {
|
||||
return this.unitIds;
|
||||
}
|
||||
|
||||
public void setUnitIds(List<String> unitIds) {
|
||||
this.unitIds = unitIds;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class DelUnitZoneForm {
|
||||
private String zoneId;
|
||||
private List<String> unitIds;
|
||||
private String businessId;
|
||||
|
||||
public String getZoneId() {
|
||||
return this.zoneId;
|
||||
}
|
||||
|
||||
public void setZoneId(String zoneId) {
|
||||
this.zoneId = zoneId;
|
||||
}
|
||||
|
||||
public List<String> getUnitIds() {
|
||||
return this.unitIds;
|
||||
}
|
||||
|
||||
public void setUnitIds(List<String> unitIds) {
|
||||
this.unitIds = unitIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class DevicePersonResyncParam {
|
||||
@NotBlank(message = "53060410")
|
||||
private String deviceId;
|
||||
|
||||
private String imageStoreId;
|
||||
private String personId;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public String getPersonId() {
|
||||
return this.personId;
|
||||
}
|
||||
|
||||
public void setPersonId(String personId) {
|
||||
this.personId = personId;
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.DevicePersonResyncParam;
|
||||
import java.util.List;
|
||||
|
||||
public class DevicePersonResyncRequestParam {
|
||||
private List<DevicePersonResyncParam> data;
|
||||
|
||||
public List<DevicePersonResyncParam> getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public void setData(List<DevicePersonResyncParam> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.CommonParam;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class EditAreaParam extends CommonParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String id;
|
||||
|
||||
@Size(max = 32, message = "53060427")
|
||||
private String parentId;
|
||||
|
||||
@NotBlank(message = "53003312")
|
||||
@Size(max = 60, message = "53060423")
|
||||
private String name;
|
||||
|
||||
@NotBlank(message = "53003301")
|
||||
@Size(max = 32, message = "53003302")
|
||||
private String typeId;
|
||||
|
||||
private String ext1;
|
||||
private String ext2;
|
||||
private String ext3;
|
||||
private String ext4;
|
||||
private String ext5;
|
||||
private String ext6;
|
||||
private String ext7;
|
||||
private String ext8;
|
||||
private String ext9;
|
||||
private String ext10;
|
||||
private String ext11;
|
||||
private String ext12;
|
||||
private String ext13;
|
||||
private String ext14;
|
||||
private String ext15;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getTypeId() {
|
||||
return this.typeId;
|
||||
}
|
||||
|
||||
public void setTypeId(String typeId) {
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
public String getExt1() {
|
||||
return this.ext1;
|
||||
}
|
||||
|
||||
public void setExt1(String ext1) {
|
||||
this.ext1 = ext1;
|
||||
}
|
||||
|
||||
public String getExt2() {
|
||||
return this.ext2;
|
||||
}
|
||||
|
||||
public void setExt2(String ext2) {
|
||||
this.ext2 = ext2;
|
||||
}
|
||||
|
||||
public String getExt3() {
|
||||
return this.ext3;
|
||||
}
|
||||
|
||||
public void setExt3(String ext3) {
|
||||
this.ext3 = ext3;
|
||||
}
|
||||
|
||||
public String getExt4() {
|
||||
return this.ext4;
|
||||
}
|
||||
|
||||
public void setExt4(String ext4) {
|
||||
this.ext4 = ext4;
|
||||
}
|
||||
|
||||
public String getExt5() {
|
||||
return this.ext5;
|
||||
}
|
||||
|
||||
public void setExt5(String ext5) {
|
||||
this.ext5 = ext5;
|
||||
}
|
||||
|
||||
public String getExt6() {
|
||||
return this.ext6;
|
||||
}
|
||||
|
||||
public void setExt6(String ext6) {
|
||||
this.ext6 = ext6;
|
||||
}
|
||||
|
||||
public String getExt7() {
|
||||
return this.ext7;
|
||||
}
|
||||
|
||||
public void setExt7(String ext7) {
|
||||
this.ext7 = ext7;
|
||||
}
|
||||
|
||||
public String getExt8() {
|
||||
return this.ext8;
|
||||
}
|
||||
|
||||
public void setExt8(String ext8) {
|
||||
this.ext8 = ext8;
|
||||
}
|
||||
|
||||
public String getExt9() {
|
||||
return this.ext9;
|
||||
}
|
||||
|
||||
public void setExt9(String ext9) {
|
||||
this.ext9 = ext9;
|
||||
}
|
||||
|
||||
public String getExt10() {
|
||||
return this.ext10;
|
||||
}
|
||||
|
||||
public void setExt10(String ext10) {
|
||||
this.ext10 = ext10;
|
||||
}
|
||||
|
||||
public String getExt11() {
|
||||
return this.ext11;
|
||||
}
|
||||
|
||||
public void setExt11(String ext11) {
|
||||
this.ext11 = ext11;
|
||||
}
|
||||
|
||||
public String getExt12() {
|
||||
return this.ext12;
|
||||
}
|
||||
|
||||
public void setExt12(String ext12) {
|
||||
this.ext12 = ext12;
|
||||
}
|
||||
|
||||
public String getExt13() {
|
||||
return this.ext13;
|
||||
}
|
||||
|
||||
public void setExt13(String ext13) {
|
||||
this.ext13 = ext13;
|
||||
}
|
||||
|
||||
public String getExt14() {
|
||||
return this.ext14;
|
||||
}
|
||||
|
||||
public void setExt14(String ext14) {
|
||||
this.ext14 = ext14;
|
||||
}
|
||||
|
||||
public String getExt15() {
|
||||
return this.ext15;
|
||||
}
|
||||
|
||||
public void setExt15(String ext15) {
|
||||
this.ext15 = ext15;
|
||||
}
|
||||
}
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.AreaTypePropertyParam;
|
||||
import java.util.List;
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class EditAreaTypeParam {
|
||||
@NotNull(message = "53060410")
|
||||
private String id;
|
||||
|
||||
private String businessId;
|
||||
|
||||
@NotBlank(message = "53004806")
|
||||
@Size(max = 64, message = "53004807")
|
||||
private String name;
|
||||
|
||||
@NotNull(message = "53003808")
|
||||
@Range(min = 0L, max = 1L, message = "53003809")
|
||||
private Integer hasLowerLevel;
|
||||
|
||||
@Valid List<AreaTypePropertyParam> properties;
|
||||
|
||||
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 getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getHasLowerLevel() {
|
||||
return this.hasLowerLevel;
|
||||
}
|
||||
|
||||
public void setHasLowerLevel(Integer hasLowerLevel) {
|
||||
this.hasLowerLevel = hasLowerLevel;
|
||||
}
|
||||
|
||||
public List<AreaTypePropertyParam> getProperties() {
|
||||
return this.properties;
|
||||
}
|
||||
|
||||
public void setProperties(List<AreaTypePropertyParam> properties) {
|
||||
this.properties = properties;
|
||||
}
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class EditLabelParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String id;
|
||||
|
||||
@Size(max = 32, message = "53014000")
|
||||
private String businessId;
|
||||
|
||||
@Size(max = 64, message = "53003703")
|
||||
@NotBlank(message = "53003703")
|
||||
private String name;
|
||||
|
||||
@Length(max = 64, message = "53003704")
|
||||
private String code;
|
||||
|
||||
@Range(min = 0L, max = 2L, message = "53003706")
|
||||
private Short addType;
|
||||
|
||||
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 getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Short getAddType() {
|
||||
return this.addType;
|
||||
}
|
||||
|
||||
public void setAddType(Short addType) {
|
||||
this.addType = addType;
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class EngineListParam {
|
||||
private Integer page;
|
||||
private Integer rows;
|
||||
|
||||
private static Integer $default$page() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
private static Integer $default$rows() {
|
||||
return 20;
|
||||
}
|
||||
|
||||
EngineListParam(Integer page, Integer rows) {
|
||||
this.page = page;
|
||||
this.rows = rows;
|
||||
}
|
||||
|
||||
public static EngineListParamBuilder builder() {
|
||||
return new EngineListParamBuilder();
|
||||
}
|
||||
|
||||
public Integer getPage() {
|
||||
return this.page;
|
||||
}
|
||||
|
||||
public Integer getRows() {
|
||||
return this.rows;
|
||||
}
|
||||
|
||||
public void setPage(Integer page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public void setRows(Integer rows) {
|
||||
this.rows = rows;
|
||||
}
|
||||
|
||||
public static class EngineListParamBuilder {
|
||||
private boolean page$set;
|
||||
private Integer page;
|
||||
private boolean rows$set;
|
||||
private Integer rows;
|
||||
|
||||
EngineListParamBuilder() {}
|
||||
|
||||
public EngineListParamBuilder page(Integer page) {
|
||||
this.page = page;
|
||||
this.page$set = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
public EngineListParamBuilder rows(Integer rows) {
|
||||
this.rows = rows;
|
||||
this.rows$set = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
public EngineListParam build() {
|
||||
Integer page = this.page;
|
||||
if (!this.page$set) {
|
||||
page = EngineListParam.$default$page();
|
||||
}
|
||||
Integer rows = this.rows;
|
||||
if (!this.rows$set) {
|
||||
rows = EngineListParam.$default$rows();
|
||||
}
|
||||
return new EngineListParam(page, rows);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "EngineListParam.EngineListParamBuilder(page="
|
||||
+ this.page
|
||||
+ ", rows="
|
||||
+ this.rows
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class ExportLabelTaskParam {
|
||||
private Integer excelMaxRows;
|
||||
private String fileId;
|
||||
private String fileName;
|
||||
private String businessId;
|
||||
private Integer currentPage;
|
||||
private Integer rowsOfPage;
|
||||
private String userName;
|
||||
private String userId;
|
||||
private String id;
|
||||
private List<String> ids;
|
||||
private String name;
|
||||
private String code;
|
||||
|
||||
public Integer getExcelMaxRows() {
|
||||
return this.excelMaxRows;
|
||||
}
|
||||
|
||||
public void setExcelMaxRows(Integer excelMaxRows) {
|
||||
this.excelMaxRows = excelMaxRows;
|
||||
}
|
||||
|
||||
public String getFileId() {
|
||||
return this.fileId;
|
||||
}
|
||||
|
||||
public void setFileId(String fileId) {
|
||||
this.fileId = fileId;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getCurrentPage() {
|
||||
return this.currentPage;
|
||||
}
|
||||
|
||||
public void setCurrentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
|
||||
public Integer getRowsOfPage() {
|
||||
return this.rowsOfPage;
|
||||
}
|
||||
|
||||
public void setRowsOfPage(Integer rowsOfPage) {
|
||||
this.rowsOfPage = rowsOfPage;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return this.userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
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 getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class ExportOrgTaskParam {
|
||||
private Integer excelMaxRows;
|
||||
private String fileId;
|
||||
private String fileName;
|
||||
private String businessId;
|
||||
private Integer currentPage;
|
||||
private Integer rowsOfPage;
|
||||
private String userName;
|
||||
private String userId;
|
||||
private String id;
|
||||
private List<String> ids;
|
||||
private String name;
|
||||
|
||||
public Integer getExcelMaxRows() {
|
||||
return this.excelMaxRows;
|
||||
}
|
||||
|
||||
public void setExcelMaxRows(Integer excelMaxRows) {
|
||||
this.excelMaxRows = excelMaxRows;
|
||||
}
|
||||
|
||||
public String getFileId() {
|
||||
return this.fileId;
|
||||
}
|
||||
|
||||
public void setFileId(String fileId) {
|
||||
this.fileId = fileId;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getCurrentPage() {
|
||||
return this.currentPage;
|
||||
}
|
||||
|
||||
public void setCurrentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
|
||||
public Integer getRowsOfPage() {
|
||||
return this.rowsOfPage;
|
||||
}
|
||||
|
||||
public void setRowsOfPage(Integer rowsOfPage) {
|
||||
this.rowsOfPage = rowsOfPage;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return this.userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
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 getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
+203
@@ -0,0 +1,203 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Pattern;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class ExportRecordTaskParam {
|
||||
private String fileId;
|
||||
private String fileName;
|
||||
private String businessId;
|
||||
private Integer currentPage;
|
||||
private Integer rowsOfPage;
|
||||
private String userName;
|
||||
private String userId;
|
||||
private String personCode;
|
||||
private String name;
|
||||
private String email;
|
||||
|
||||
@Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "53004018")
|
||||
private String phone;
|
||||
|
||||
@NotEmpty(message = "53004023")
|
||||
private List<String> ids;
|
||||
|
||||
private List<String> organizationIds;
|
||||
private List<String> labelIds;
|
||||
private List<String> imageIds;
|
||||
private Short createSysAccount;
|
||||
private String icCardNo;
|
||||
private String icCardType;
|
||||
private Short source;
|
||||
private Integer excelMaxRows;
|
||||
private Boolean hasContainImage;
|
||||
|
||||
public String getFileId() {
|
||||
return this.fileId;
|
||||
}
|
||||
|
||||
public void setFileId(String fileId) {
|
||||
this.fileId = fileId;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return this.fileName;
|
||||
}
|
||||
|
||||
public void setFileName(String fileName) {
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
public Integer getCurrentPage() {
|
||||
return this.currentPage;
|
||||
}
|
||||
|
||||
public void setCurrentPage(Integer currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
|
||||
public Integer getRowsOfPage() {
|
||||
return this.rowsOfPage;
|
||||
}
|
||||
|
||||
public void setRowsOfPage(Integer rowsOfPage) {
|
||||
this.rowsOfPage = rowsOfPage;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return this.userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getPersonCode() {
|
||||
return this.personCode;
|
||||
}
|
||||
|
||||
public void setPersonCode(String personCode) {
|
||||
this.personCode = personCode;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return this.phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public List<String> getOrganizationIds() {
|
||||
return this.organizationIds;
|
||||
}
|
||||
|
||||
public void setOrganizationIds(List<String> organizationIds) {
|
||||
this.organizationIds = organizationIds;
|
||||
}
|
||||
|
||||
public List<String> getLabelIds() {
|
||||
return this.labelIds;
|
||||
}
|
||||
|
||||
public void setLabelIds(List<String> labelIds) {
|
||||
this.labelIds = labelIds;
|
||||
}
|
||||
|
||||
public List<String> getImageIds() {
|
||||
return this.imageIds;
|
||||
}
|
||||
|
||||
public void setImageIds(List<String> imageIds) {
|
||||
this.imageIds = imageIds;
|
||||
}
|
||||
|
||||
public Short getCreateSysAccount() {
|
||||
return this.createSysAccount;
|
||||
}
|
||||
|
||||
public void setCreateSysAccount(Short createSysAccount) {
|
||||
this.createSysAccount = createSysAccount;
|
||||
}
|
||||
|
||||
public String getIcCardNo() {
|
||||
return this.icCardNo;
|
||||
}
|
||||
|
||||
public void setIcCardNo(String icCardNo) {
|
||||
this.icCardNo = icCardNo;
|
||||
}
|
||||
|
||||
public String getIcCardType() {
|
||||
return this.icCardType;
|
||||
}
|
||||
|
||||
public void setIcCardType(String icCardType) {
|
||||
this.icCardType = icCardType;
|
||||
}
|
||||
|
||||
public Short getSource() {
|
||||
return this.source;
|
||||
}
|
||||
|
||||
public void setSource(Short source) {
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public Integer getExcelMaxRows() {
|
||||
return this.excelMaxRows;
|
||||
}
|
||||
|
||||
public void setExcelMaxRows(Integer excelMaxRows) {
|
||||
this.excelMaxRows = excelMaxRows;
|
||||
}
|
||||
|
||||
public Boolean getHasContainImage() {
|
||||
return this.hasContainImage;
|
||||
}
|
||||
|
||||
public void setHasContainImage(Boolean hasContainImage) {
|
||||
this.hasContainImage = hasContainImage;
|
||||
}
|
||||
}
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class ExtractFeatureParam {
|
||||
private String seq;
|
||||
private Integer x;
|
||||
private Integer y;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String img;
|
||||
private String modelVersion;
|
||||
|
||||
ExtractFeatureParam(
|
||||
String seq,
|
||||
Integer x,
|
||||
Integer y,
|
||||
Integer width,
|
||||
Integer height,
|
||||
String img,
|
||||
String modelVersion) {
|
||||
this.seq = seq;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.img = img;
|
||||
this.modelVersion = modelVersion;
|
||||
}
|
||||
|
||||
public static ExtractFeatureParamBuilder builder() {
|
||||
return new ExtractFeatureParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public Integer getX() {
|
||||
return this.x;
|
||||
}
|
||||
|
||||
public Integer getY() {
|
||||
return this.y;
|
||||
}
|
||||
|
||||
public Integer getWidth() {
|
||||
return this.width;
|
||||
}
|
||||
|
||||
public Integer getHeight() {
|
||||
return this.height;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return this.img;
|
||||
}
|
||||
|
||||
public String getModelVersion() {
|
||||
return this.modelVersion;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setX(Integer x) {
|
||||
this.x = x;
|
||||
}
|
||||
|
||||
public void setY(Integer y) {
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
public void setWidth(Integer width) {
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public void setHeight(Integer height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public void setModelVersion(String modelVersion) {
|
||||
this.modelVersion = modelVersion;
|
||||
}
|
||||
|
||||
public static class ExtractFeatureParamBuilder {
|
||||
private String seq;
|
||||
private Integer x;
|
||||
private Integer y;
|
||||
private Integer width;
|
||||
private Integer height;
|
||||
private String img;
|
||||
private String modelVersion;
|
||||
|
||||
ExtractFeatureParamBuilder() {}
|
||||
|
||||
public ExtractFeatureParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParamBuilder x(Integer x) {
|
||||
this.x = x;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParamBuilder y(Integer y) {
|
||||
this.y = y;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParamBuilder width(Integer width) {
|
||||
this.width = width;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParamBuilder height(Integer height) {
|
||||
this.height = height;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParamBuilder img(String img) {
|
||||
this.img = img;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParamBuilder modelVersion(String modelVersion) {
|
||||
this.modelVersion = modelVersion;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtractFeatureParam build() {
|
||||
return new ExtractFeatureParam(
|
||||
this.seq, this.x, this.y, this.width, this.height, this.img, this.modelVersion);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ExtractFeatureParam.ExtractFeatureParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", x="
|
||||
+ this.x
|
||||
+ ", y="
|
||||
+ this.y
|
||||
+ ", width="
|
||||
+ this.width
|
||||
+ ", height="
|
||||
+ this.height
|
||||
+ ", img="
|
||||
+ this.img
|
||||
+ ", modelVersion="
|
||||
+ this.modelVersion
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class FaceDetectParam {
|
||||
private String seq;
|
||||
private String img;
|
||||
|
||||
FaceDetectParam(String seq, String img) {
|
||||
this.seq = seq;
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public static FaceDetectParamBuilder builder() {
|
||||
return new FaceDetectParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return this.img;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public static class FaceDetectParamBuilder {
|
||||
private String seq;
|
||||
private String img;
|
||||
|
||||
FaceDetectParamBuilder() {}
|
||||
|
||||
public FaceDetectParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public FaceDetectParamBuilder img(String img) {
|
||||
this.img = img;
|
||||
return this;
|
||||
}
|
||||
|
||||
public FaceDetectParam build() {
|
||||
return new FaceDetectParam(this.seq, this.img);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "FaceDetectParam.FaceDetectParamBuilder(seq=" + this.seq + ", img=" + this.img + ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class ImgCompareParam {
|
||||
private String featureA;
|
||||
private String featureB;
|
||||
|
||||
ImgCompareParam(String featureA, String featureB) {
|
||||
this.featureA = featureA;
|
||||
this.featureB = featureB;
|
||||
}
|
||||
|
||||
public static ImgCompareParamBuilder builder() {
|
||||
return new ImgCompareParamBuilder();
|
||||
}
|
||||
|
||||
public String getFeatureA() {
|
||||
return this.featureA;
|
||||
}
|
||||
|
||||
public String getFeatureB() {
|
||||
return this.featureB;
|
||||
}
|
||||
|
||||
public void setFeatureA(String featureA) {
|
||||
this.featureA = featureA;
|
||||
}
|
||||
|
||||
public void setFeatureB(String featureB) {
|
||||
this.featureB = featureB;
|
||||
}
|
||||
|
||||
public static class ImgCompareParamBuilder {
|
||||
private String featureA;
|
||||
private String featureB;
|
||||
|
||||
ImgCompareParamBuilder() {}
|
||||
|
||||
public ImgCompareParamBuilder featureA(String featureA) {
|
||||
this.featureA = featureA;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ImgCompareParamBuilder featureB(String featureB) {
|
||||
this.featureB = featureB;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ImgCompareParam build() {
|
||||
return new ImgCompareParam(this.featureA, this.featureB);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ImgCompareParam.ImgCompareParamBuilder(featureA="
|
||||
+ this.featureA
|
||||
+ ", featureB="
|
||||
+ this.featureB
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class LabelAddPersonParam {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String labelId;
|
||||
|
||||
private String businessId;
|
||||
private List<String> personIds;
|
||||
|
||||
public String getLabelId() {
|
||||
return this.labelId;
|
||||
}
|
||||
|
||||
public void setLabelId(String labelId) {
|
||||
this.labelId = labelId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class LabelResult {
|
||||
private String id;
|
||||
private String name;
|
||||
private String code;
|
||||
private Short addType;
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Short getAddType() {
|
||||
return this.addType;
|
||||
}
|
||||
|
||||
public void setAddType(Short addType) {
|
||||
this.addType = addType;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.CommonParam;
|
||||
|
||||
public class NextTreeAreaParam extends CommonParam {
|
||||
private String parentId;
|
||||
private Boolean byLoginUser = false;
|
||||
private Integer isValid;
|
||||
|
||||
public String getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Boolean getByLoginUser() {
|
||||
return this.byLoginUser;
|
||||
}
|
||||
|
||||
public void setByLoginUser(Boolean byLoginUser) {
|
||||
this.byLoginUser = byLoginUser;
|
||||
}
|
||||
|
||||
public Integer getIsValid() {
|
||||
return this.isValid;
|
||||
}
|
||||
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
}
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class OcrCardParam {
|
||||
private String app_id;
|
||||
private String app_secret;
|
||||
private String seq;
|
||||
private String img;
|
||||
private String getFace;
|
||||
private String checkPrint;
|
||||
private String getIdCardImg;
|
||||
|
||||
OcrCardParam(
|
||||
String app_id,
|
||||
String app_secret,
|
||||
String seq,
|
||||
String img,
|
||||
String getFace,
|
||||
String checkPrint,
|
||||
String getIdCardImg) {
|
||||
this.app_id = app_id;
|
||||
this.app_secret = app_secret;
|
||||
this.seq = seq;
|
||||
this.img = img;
|
||||
this.getFace = getFace;
|
||||
this.checkPrint = checkPrint;
|
||||
this.getIdCardImg = getIdCardImg;
|
||||
}
|
||||
|
||||
public static OcrCardParamBuilder builder() {
|
||||
return new OcrCardParamBuilder();
|
||||
}
|
||||
|
||||
public String getApp_id() {
|
||||
return this.app_id;
|
||||
}
|
||||
|
||||
public String getApp_secret() {
|
||||
return this.app_secret;
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return this.img;
|
||||
}
|
||||
|
||||
public String getGetFace() {
|
||||
return this.getFace;
|
||||
}
|
||||
|
||||
public String getCheckPrint() {
|
||||
return this.checkPrint;
|
||||
}
|
||||
|
||||
public String getGetIdCardImg() {
|
||||
return this.getIdCardImg;
|
||||
}
|
||||
|
||||
public void setApp_id(String app_id) {
|
||||
this.app_id = app_id;
|
||||
}
|
||||
|
||||
public void setApp_secret(String app_secret) {
|
||||
this.app_secret = app_secret;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public void setGetFace(String getFace) {
|
||||
this.getFace = getFace;
|
||||
}
|
||||
|
||||
public void setCheckPrint(String checkPrint) {
|
||||
this.checkPrint = checkPrint;
|
||||
}
|
||||
|
||||
public void setGetIdCardImg(String getIdCardImg) {
|
||||
this.getIdCardImg = getIdCardImg;
|
||||
}
|
||||
|
||||
public static class OcrCardParamBuilder {
|
||||
private String app_id;
|
||||
private String app_secret;
|
||||
private String seq;
|
||||
private String img;
|
||||
private String getFace;
|
||||
private String checkPrint;
|
||||
private String getIdCardImg;
|
||||
|
||||
OcrCardParamBuilder() {}
|
||||
|
||||
public OcrCardParamBuilder app_id(String app_id) {
|
||||
this.app_id = app_id;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParamBuilder app_secret(String app_secret) {
|
||||
this.app_secret = app_secret;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParamBuilder img(String img) {
|
||||
this.img = img;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParamBuilder getFace(String getFace) {
|
||||
this.getFace = getFace;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParamBuilder checkPrint(String checkPrint) {
|
||||
this.checkPrint = checkPrint;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParamBuilder getIdCardImg(String getIdCardImg) {
|
||||
this.getIdCardImg = getIdCardImg;
|
||||
return this;
|
||||
}
|
||||
|
||||
public OcrCardParam build() {
|
||||
return new OcrCardParam(
|
||||
this.app_id,
|
||||
this.app_secret,
|
||||
this.seq,
|
||||
this.img,
|
||||
this.getFace,
|
||||
this.checkPrint,
|
||||
this.getIdCardImg);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "OcrCardParam.OcrCardParamBuilder(app_id="
|
||||
+ this.app_id
|
||||
+ ", app_secret="
|
||||
+ this.app_secret
|
||||
+ ", seq="
|
||||
+ this.seq
|
||||
+ ", img="
|
||||
+ this.img
|
||||
+ ", getFace="
|
||||
+ this.getFace
|
||||
+ ", checkPrint="
|
||||
+ this.checkPrint
|
||||
+ ", getIdCardImg="
|
||||
+ this.getIdCardImg
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class OperationLogAddParam {
|
||||
private String id;
|
||||
private String businessId;
|
||||
private String createUserId;
|
||||
private String createUserName;
|
||||
private Long createTime;
|
||||
private String interfaceName;
|
||||
private String content;
|
||||
private String module;
|
||||
private String callIP;
|
||||
|
||||
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 getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getInterfaceName() {
|
||||
return this.interfaceName;
|
||||
}
|
||||
|
||||
public void setInterfaceName(String interfaceName) {
|
||||
this.interfaceName = interfaceName;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getModule() {
|
||||
return this.module;
|
||||
}
|
||||
|
||||
public void setModule(String module) {
|
||||
this.module = module;
|
||||
}
|
||||
|
||||
public String getCallIP() {
|
||||
return this.callIP;
|
||||
}
|
||||
|
||||
public void setCallIP(String callIP) {
|
||||
this.callIP = callIP;
|
||||
}
|
||||
|
||||
public String getCreateUserName() {
|
||||
return this.createUserName;
|
||||
}
|
||||
|
||||
public void setCreateUserName(String createUserName) {
|
||||
this.createUserName = createUserName;
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class OperationLogDelParam {
|
||||
private Long deleteTime;
|
||||
|
||||
public Long getDeleteTime() {
|
||||
return this.deleteTime;
|
||||
}
|
||||
|
||||
public void setDeleteTime(Long deleteTime) {
|
||||
this.deleteTime = deleteTime;
|
||||
}
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class PageLabelParam extends CloudwalkBasePageForm {
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String id;
|
||||
|
||||
@Size(max = 32, message = "53014000")
|
||||
private String businessId;
|
||||
|
||||
@Size(max = 64, message = "53003703")
|
||||
private String name;
|
||||
|
||||
@Length(max = 64, message = "53003704")
|
||||
private String code;
|
||||
|
||||
@Range(min = 0L, max = 2L, message = "53003706")
|
||||
private Short addType;
|
||||
|
||||
private Integer excelMaxRows;
|
||||
private List<String> ids;
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getExcelMaxRows() {
|
||||
return this.excelMaxRows;
|
||||
}
|
||||
|
||||
public void setExcelMaxRows(Integer excelMaxRows) {
|
||||
this.excelMaxRows = excelMaxRows;
|
||||
}
|
||||
|
||||
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 getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public Short getAddType() {
|
||||
return this.addType;
|
||||
}
|
||||
|
||||
public void setAddType(Short addType) {
|
||||
this.addType = addType;
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
|
||||
public class PagePersonSwitchBatchParam extends CloudwalkBasePageForm {
|
||||
private String batchNo;
|
||||
private String icard;
|
||||
|
||||
public String getBatchNo() {
|
||||
return this.batchNo;
|
||||
}
|
||||
|
||||
public void setBatchNo(String batchNo) {
|
||||
this.batchNo = batchNo;
|
||||
}
|
||||
|
||||
public String getIcard() {
|
||||
return this.icard;
|
||||
}
|
||||
|
||||
public void setIcard(String icard) {
|
||||
this.icard = icard;
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class PagePersonSwitchParam extends CloudwalkBasePageForm {
|
||||
@NotBlank(message = "53060410")
|
||||
@Length(min = 1, max = 32, message = "53060424")
|
||||
private String batchNo;
|
||||
|
||||
private Integer switchStatus;
|
||||
private String icard;
|
||||
|
||||
public String getBatchNo() {
|
||||
return this.batchNo;
|
||||
}
|
||||
|
||||
public void setBatchNo(String batchNo) {
|
||||
this.batchNo = batchNo;
|
||||
}
|
||||
|
||||
public Integer getSwitchStatus() {
|
||||
return this.switchStatus;
|
||||
}
|
||||
|
||||
public void setSwitchStatus(Integer switchStatus) {
|
||||
this.switchStatus = switchStatus;
|
||||
}
|
||||
|
||||
public String getIcard() {
|
||||
return this.icard;
|
||||
}
|
||||
|
||||
public void setIcard(String icard) {
|
||||
this.icard = icard;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
|
||||
public class PersonGroupRelationsRequestParam {
|
||||
private String deviceId;
|
||||
private List<String> personIds;
|
||||
private List<String> imageIds;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public List<String> getPersonIds() {
|
||||
return this.personIds;
|
||||
}
|
||||
|
||||
public void setPersonIds(List<String> personIds) {
|
||||
this.personIds = personIds;
|
||||
}
|
||||
|
||||
public List<String> getImageIds() {
|
||||
return this.imageIds;
|
||||
}
|
||||
|
||||
public void setImageIds(List<String> imageIds) {
|
||||
this.imageIds = imageIds;
|
||||
}
|
||||
}
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.BasePicRevisionParam;
|
||||
|
||||
public class PicChangeBackgroundParam extends BasePicRevisionParam {
|
||||
private String seq;
|
||||
private String imgA;
|
||||
private String backgroundType;
|
||||
private Integer cardType;
|
||||
|
||||
private static Integer $default$cardType() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
PicChangeBackgroundParam(String seq, String imgA, String backgroundType, Integer cardType) {
|
||||
this.seq = seq;
|
||||
this.imgA = imgA;
|
||||
this.backgroundType = backgroundType;
|
||||
this.cardType = cardType;
|
||||
}
|
||||
|
||||
public static PicChangeBackgroundParamBuilder builder() {
|
||||
return new PicChangeBackgroundParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getImgA() {
|
||||
return this.imgA;
|
||||
}
|
||||
|
||||
public String getBackgroundType() {
|
||||
return this.backgroundType;
|
||||
}
|
||||
|
||||
public Integer getCardType() {
|
||||
return this.cardType;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setImgA(String imgA) {
|
||||
this.imgA = imgA;
|
||||
}
|
||||
|
||||
public void setBackgroundType(String backgroundType) {
|
||||
this.backgroundType = backgroundType;
|
||||
}
|
||||
|
||||
public void setCardType(Integer cardType) {
|
||||
this.cardType = cardType;
|
||||
}
|
||||
|
||||
public static class PicChangeBackgroundParamBuilder {
|
||||
private String seq;
|
||||
private String imgA;
|
||||
private String backgroundType;
|
||||
private boolean cardType$set;
|
||||
private Integer cardType;
|
||||
|
||||
PicChangeBackgroundParamBuilder() {}
|
||||
|
||||
public PicChangeBackgroundParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicChangeBackgroundParamBuilder imgA(String imgA) {
|
||||
this.imgA = imgA;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicChangeBackgroundParamBuilder backgroundType(String backgroundType) {
|
||||
this.backgroundType = backgroundType;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicChangeBackgroundParamBuilder cardType(Integer cardType) {
|
||||
this.cardType = cardType;
|
||||
this.cardType$set = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicChangeBackgroundParam build() {
|
||||
Integer cardType = this.cardType;
|
||||
if (!this.cardType$set) {
|
||||
cardType = PicChangeBackgroundParam.$default$cardType();
|
||||
}
|
||||
return new PicChangeBackgroundParam(this.seq, this.imgA, this.backgroundType, cardType);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PicChangeBackgroundParam.PicChangeBackgroundParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", imgA="
|
||||
+ this.imgA
|
||||
+ ", backgroundType="
|
||||
+ this.backgroundType
|
||||
+ ", cardType="
|
||||
+ this.cardType
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.BasePicRevisionParam;
|
||||
|
||||
public class PicCropParam extends BasePicRevisionParam {
|
||||
private String seq;
|
||||
private String imgA;
|
||||
private Integer cropType;
|
||||
|
||||
PicCropParam(String seq, String imgA, Integer cropType) {
|
||||
this.seq = seq;
|
||||
this.imgA = imgA;
|
||||
this.cropType = cropType;
|
||||
}
|
||||
|
||||
public static PicCropParamBuilder builder() {
|
||||
return new PicCropParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getImgA() {
|
||||
return this.imgA;
|
||||
}
|
||||
|
||||
public Integer getCropType() {
|
||||
return this.cropType;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setImgA(String imgA) {
|
||||
this.imgA = imgA;
|
||||
}
|
||||
|
||||
public void setCropType(Integer cropType) {
|
||||
this.cropType = cropType;
|
||||
}
|
||||
|
||||
public static class PicCropParamBuilder {
|
||||
private String seq;
|
||||
private String imgA;
|
||||
private Integer cropType;
|
||||
|
||||
PicCropParamBuilder() {}
|
||||
|
||||
public PicCropParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicCropParamBuilder imgA(String imgA) {
|
||||
this.imgA = imgA;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicCropParamBuilder cropType(Integer cropType) {
|
||||
this.cropType = cropType;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicCropParam build() {
|
||||
return new PicCropParam(this.seq, this.imgA, this.cropType);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PicCropParam.PicCropParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", imgA="
|
||||
+ this.imgA
|
||||
+ ", cropType="
|
||||
+ this.cropType
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.client.organization.param.BasePicRevisionParam;
|
||||
|
||||
public class PicRevisionParam extends BasePicRevisionParam {
|
||||
private String seq;
|
||||
private String imgA;
|
||||
private Integer angle;
|
||||
|
||||
PicRevisionParam(String seq, String imgA, Integer angle) {
|
||||
this.seq = seq;
|
||||
this.imgA = imgA;
|
||||
this.angle = angle;
|
||||
}
|
||||
|
||||
public static PicRevisionParamBuilder builder() {
|
||||
return new PicRevisionParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getImgA() {
|
||||
return this.imgA;
|
||||
}
|
||||
|
||||
public Integer getAngle() {
|
||||
return this.angle;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setImgA(String imgA) {
|
||||
this.imgA = imgA;
|
||||
}
|
||||
|
||||
public void setAngle(Integer angle) {
|
||||
this.angle = angle;
|
||||
}
|
||||
|
||||
public static class PicRevisionParamBuilder {
|
||||
private String seq;
|
||||
private String imgA;
|
||||
private Integer angle;
|
||||
|
||||
PicRevisionParamBuilder() {}
|
||||
|
||||
public PicRevisionParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicRevisionParamBuilder imgA(String imgA) {
|
||||
this.imgA = imgA;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicRevisionParamBuilder angle(Integer angle) {
|
||||
this.angle = angle;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PicRevisionParam build() {
|
||||
return new PicRevisionParam(this.seq, this.imgA, this.angle);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "PicRevisionParam.PicRevisionParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", imgA="
|
||||
+ this.imgA
|
||||
+ ", angle="
|
||||
+ this.angle
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.util.List;
|
||||
|
||||
public class QueryAreaParam extends CloudwalkBasePageForm {
|
||||
private String id;
|
||||
private List<String> ids;
|
||||
private String name;
|
||||
private Integer level;
|
||||
private String typeId;
|
||||
private String businessId;
|
||||
private String parentId;
|
||||
private Integer hasCascade;
|
||||
private Integer retainParent;
|
||||
private Boolean byLoginUser = false;
|
||||
private Integer isValid;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getLevel() {
|
||||
return this.level;
|
||||
}
|
||||
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public String getTypeId() {
|
||||
return this.typeId;
|
||||
}
|
||||
|
||||
public void setTypeId(String typeId) {
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
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 getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getHasCascade() {
|
||||
return this.hasCascade;
|
||||
}
|
||||
|
||||
public void setHasCascade(Integer hasCascade) {
|
||||
this.hasCascade = hasCascade;
|
||||
}
|
||||
|
||||
public Integer getRetainParent() {
|
||||
return this.retainParent;
|
||||
}
|
||||
|
||||
public void setRetainParent(Integer retainParent) {
|
||||
this.retainParent = retainParent;
|
||||
}
|
||||
|
||||
public Boolean getByLoginUser() {
|
||||
return this.byLoginUser;
|
||||
}
|
||||
|
||||
public void setByLoginUser(Boolean byLoginUser) {
|
||||
this.byLoginUser = byLoginUser;
|
||||
}
|
||||
|
||||
public Integer getIsValid() {
|
||||
return this.isValid;
|
||||
}
|
||||
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.util.List;
|
||||
|
||||
public class QueryAreaTypeParam extends CloudwalkBasePageForm {
|
||||
private String code;
|
||||
private String name;
|
||||
private String businessId;
|
||||
private List<String> ids;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class QueryDevicePersonSyncLogParam extends CloudwalkBasePageForm {
|
||||
@NotBlank(message = "53060410")
|
||||
private String deviceId;
|
||||
|
||||
private String imageStoreId;
|
||||
private Integer status;
|
||||
private String personName;
|
||||
private Integer personStatus;
|
||||
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getImageStoreId() {
|
||||
return this.imageStoreId;
|
||||
}
|
||||
|
||||
public void setImageStoreId(String imageStoreId) {
|
||||
this.imageStoreId = imageStoreId;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getPersonName() {
|
||||
return this.personName;
|
||||
}
|
||||
|
||||
public void setPersonName(String personName) {
|
||||
this.personName = personName;
|
||||
}
|
||||
|
||||
public Integer getPersonStatus() {
|
||||
return this.personStatus;
|
||||
}
|
||||
|
||||
public void setPersonStatus(Integer personStatus) {
|
||||
this.personStatus = personStatus;
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
|
||||
public class QueryDevicePersonSyncParam extends CloudwalkBasePageForm {
|
||||
private String businessId;
|
||||
private String deviceCode;
|
||||
private String deviceName;
|
||||
|
||||
public String getBusinessId() {
|
||||
return this.businessId;
|
||||
}
|
||||
|
||||
public void setBusinessId(String businessId) {
|
||||
this.businessId = businessId;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.util.List;
|
||||
|
||||
public class QueryOrgTypeParam extends CloudwalkBasePageForm {
|
||||
private String code;
|
||||
private String name;
|
||||
private String businessId;
|
||||
private List<String> ids;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.util.List;
|
||||
|
||||
public class QueryZoneForm extends CloudwalkBasePageForm {
|
||||
private String id;
|
||||
private List<String> ids;
|
||||
private String name;
|
||||
private Integer level;
|
||||
private String typeId;
|
||||
private String type;
|
||||
private String businessId;
|
||||
private String parentId;
|
||||
private Integer hasCascade;
|
||||
private Integer retainParent;
|
||||
private Boolean byLoginUser = false;
|
||||
private Integer isValid;
|
||||
private String code;
|
||||
|
||||
public String getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Integer getLevel() {
|
||||
return this.level;
|
||||
}
|
||||
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public String getTypeId() {
|
||||
return this.typeId;
|
||||
}
|
||||
|
||||
public void setTypeId(String typeId) {
|
||||
this.typeId = typeId;
|
||||
}
|
||||
|
||||
public List<String> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public void setIds(List<String> ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
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 getParentId() {
|
||||
return this.parentId;
|
||||
}
|
||||
|
||||
public void setParentId(String parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getHasCascade() {
|
||||
return this.hasCascade;
|
||||
}
|
||||
|
||||
public void setHasCascade(Integer hasCascade) {
|
||||
this.hasCascade = hasCascade;
|
||||
}
|
||||
|
||||
public Integer getRetainParent() {
|
||||
return this.retainParent;
|
||||
}
|
||||
|
||||
public void setRetainParent(Integer retainParent) {
|
||||
this.retainParent = retainParent;
|
||||
}
|
||||
|
||||
public Boolean getByLoginUser() {
|
||||
return this.byLoginUser;
|
||||
}
|
||||
|
||||
public void setByLoginUser(Boolean byLoginUser) {
|
||||
this.byLoginUser = byLoginUser;
|
||||
}
|
||||
|
||||
public Integer getIsValid() {
|
||||
return this.isValid;
|
||||
}
|
||||
|
||||
public void setIsValid(Integer isValid) {
|
||||
this.isValid = isValid;
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
import java.util.List;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class QueryZoneUnitParam {
|
||||
@NotBlank private String unitId;
|
||||
@NotBlank private List<String> unitIds;
|
||||
|
||||
public String getUnitId() {
|
||||
return this.unitId;
|
||||
}
|
||||
|
||||
public void setUnitId(String unitId) {
|
||||
this.unitId = unitId;
|
||||
}
|
||||
|
||||
public List<String> getUnitIds() {
|
||||
return this.unitIds;
|
||||
}
|
||||
|
||||
public void setUnitIds(List<String> unitIds) {
|
||||
this.unitIds = unitIds;
|
||||
}
|
||||
}
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class RemoveFaceParam {
|
||||
private String seq;
|
||||
private String groupId;
|
||||
private String userId;
|
||||
|
||||
RemoveFaceParam(String seq, String groupId, String userId) {
|
||||
this.seq = seq;
|
||||
this.groupId = groupId;
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public static RemoveFaceParamBuilder builder() {
|
||||
return new RemoveFaceParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return this.userId;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public static class RemoveFaceParamBuilder {
|
||||
private String seq;
|
||||
private String groupId;
|
||||
private String userId;
|
||||
|
||||
RemoveFaceParamBuilder() {}
|
||||
|
||||
public RemoveFaceParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public RemoveFaceParamBuilder groupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public RemoveFaceParamBuilder userId(String userId) {
|
||||
this.userId = userId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public RemoveFaceParam build() {
|
||||
return new RemoveFaceParam(this.seq, this.groupId, this.userId);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "RemoveFaceParam.RemoveFaceParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", groupId="
|
||||
+ this.groupId
|
||||
+ ", userId="
|
||||
+ this.userId
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
+245
@@ -0,0 +1,245 @@
|
||||
package cn.cloudwalk.client.organization.param;
|
||||
|
||||
// 请求参数
|
||||
public class SearchFaceMutipleParam {
|
||||
private String seq;
|
||||
private String groupId;
|
||||
private Integer topN;
|
||||
private String feature;
|
||||
private String isGetMoreInfo;
|
||||
private String mode;
|
||||
private String thresholdScore;
|
||||
private Long bTime;
|
||||
private Long eTime;
|
||||
private String groupTopN;
|
||||
private String groupScore;
|
||||
|
||||
SearchFaceMutipleParam(
|
||||
String seq,
|
||||
String groupId,
|
||||
Integer topN,
|
||||
String feature,
|
||||
String isGetMoreInfo,
|
||||
String mode,
|
||||
String thresholdScore,
|
||||
Long bTime,
|
||||
Long eTime,
|
||||
String groupTopN,
|
||||
String groupScore) {
|
||||
this.seq = seq;
|
||||
this.groupId = groupId;
|
||||
this.topN = topN;
|
||||
this.feature = feature;
|
||||
this.isGetMoreInfo = isGetMoreInfo;
|
||||
this.mode = mode;
|
||||
this.thresholdScore = thresholdScore;
|
||||
this.bTime = bTime;
|
||||
this.eTime = eTime;
|
||||
this.groupTopN = groupTopN;
|
||||
this.groupScore = groupScore;
|
||||
}
|
||||
|
||||
public static SearchFaceMutipleParamBuilder builder() {
|
||||
return new SearchFaceMutipleParamBuilder();
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public String getGroupId() {
|
||||
return this.groupId;
|
||||
}
|
||||
|
||||
public Integer getTopN() {
|
||||
return this.topN;
|
||||
}
|
||||
|
||||
public String getFeature() {
|
||||
return this.feature;
|
||||
}
|
||||
|
||||
public String getIsGetMoreInfo() {
|
||||
return this.isGetMoreInfo;
|
||||
}
|
||||
|
||||
public String getMode() {
|
||||
return this.mode;
|
||||
}
|
||||
|
||||
public String getThresholdScore() {
|
||||
return this.thresholdScore;
|
||||
}
|
||||
|
||||
public Long getBTime() {
|
||||
return this.bTime;
|
||||
}
|
||||
|
||||
public Long getETime() {
|
||||
return this.eTime;
|
||||
}
|
||||
|
||||
public String getGroupTopN() {
|
||||
return this.groupTopN;
|
||||
}
|
||||
|
||||
public String getGroupScore() {
|
||||
return this.groupScore;
|
||||
}
|
||||
|
||||
public void setSeq(String seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public void setGroupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public void setTopN(Integer topN) {
|
||||
this.topN = topN;
|
||||
}
|
||||
|
||||
public void setFeature(String feature) {
|
||||
this.feature = feature;
|
||||
}
|
||||
|
||||
public void setIsGetMoreInfo(String isGetMoreInfo) {
|
||||
this.isGetMoreInfo = isGetMoreInfo;
|
||||
}
|
||||
|
||||
public void setMode(String mode) {
|
||||
this.mode = mode;
|
||||
}
|
||||
|
||||
public void setThresholdScore(String thresholdScore) {
|
||||
this.thresholdScore = thresholdScore;
|
||||
}
|
||||
|
||||
public void setBTime(Long bTime) {
|
||||
this.bTime = bTime;
|
||||
}
|
||||
|
||||
public void setETime(Long eTime) {
|
||||
this.eTime = eTime;
|
||||
}
|
||||
|
||||
public void setGroupTopN(String groupTopN) {
|
||||
this.groupTopN = groupTopN;
|
||||
}
|
||||
|
||||
public void setGroupScore(String groupScore) {
|
||||
this.groupScore = groupScore;
|
||||
}
|
||||
|
||||
public static class SearchFaceMutipleParamBuilder {
|
||||
private String seq;
|
||||
private String groupId;
|
||||
private Integer topN;
|
||||
private String feature;
|
||||
private String isGetMoreInfo;
|
||||
private String mode;
|
||||
private String thresholdScore;
|
||||
private Long bTime;
|
||||
private Long eTime;
|
||||
private String groupTopN;
|
||||
private String groupScore;
|
||||
|
||||
SearchFaceMutipleParamBuilder() {}
|
||||
|
||||
public SearchFaceMutipleParamBuilder seq(String seq) {
|
||||
this.seq = seq;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder groupId(String groupId) {
|
||||
this.groupId = groupId;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder topN(Integer topN) {
|
||||
this.topN = topN;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder feature(String feature) {
|
||||
this.feature = feature;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder isGetMoreInfo(String isGetMoreInfo) {
|
||||
this.isGetMoreInfo = isGetMoreInfo;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder mode(String mode) {
|
||||
this.mode = mode;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder thresholdScore(String thresholdScore) {
|
||||
this.thresholdScore = thresholdScore;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder bTime(Long bTime) {
|
||||
this.bTime = bTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder eTime(Long eTime) {
|
||||
this.eTime = eTime;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder groupTopN(String groupTopN) {
|
||||
this.groupTopN = groupTopN;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParamBuilder groupScore(String groupScore) {
|
||||
this.groupScore = groupScore;
|
||||
return this;
|
||||
}
|
||||
|
||||
public SearchFaceMutipleParam build() {
|
||||
return new SearchFaceMutipleParam(
|
||||
this.seq,
|
||||
this.groupId,
|
||||
this.topN,
|
||||
this.feature,
|
||||
this.isGetMoreInfo,
|
||||
this.mode,
|
||||
this.thresholdScore,
|
||||
this.bTime,
|
||||
this.eTime,
|
||||
this.groupTopN,
|
||||
this.groupScore);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "SearchFaceMutipleParam.SearchFaceMutipleParamBuilder(seq="
|
||||
+ this.seq
|
||||
+ ", groupId="
|
||||
+ this.groupId
|
||||
+ ", topN="
|
||||
+ this.topN
|
||||
+ ", feature="
|
||||
+ this.feature
|
||||
+ ", isGetMoreInfo="
|
||||
+ this.isGetMoreInfo
|
||||
+ ", mode="
|
||||
+ this.mode
|
||||
+ ", thresholdScore="
|
||||
+ this.thresholdScore
|
||||
+ ", bTime="
|
||||
+ this.bTime
|
||||
+ ", eTime="
|
||||
+ this.eTime
|
||||
+ ", groupTopN="
|
||||
+ this.groupTopN
|
||||
+ ", groupScore="
|
||||
+ this.groupScore
|
||||
+ ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user