mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
elevator: 反编译编译修复(equals/hash、Feign、POI4、分片 DTO、lambda)
Made-with: Cursor
Former-commit-id: 36297e9473
This commit is contained in:
+9
-9
@@ -1,6 +1,7 @@
|
||||
package cn.cloudwalk.elevator.handler.device.form;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
public class AcsDeviceRestructureTaskForm implements Serializable {
|
||||
private static final long serialVersionUID = -7349123760464380004L;
|
||||
@@ -11,10 +12,7 @@ public class AcsDeviceRestructureTaskForm implements Serializable {
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
result = 1;
|
||||
Object $taskId = getTaskId();
|
||||
return result * 59 + (($taskId == null) ? 43 : $taskId.hashCode());
|
||||
return Objects.hash(taskId);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
@@ -22,15 +20,17 @@ public class AcsDeviceRestructureTaskForm implements Serializable {
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
if (o == this) {
|
||||
return true;
|
||||
if (!(o instanceof AcsDeviceRestructureTaskForm))
|
||||
}
|
||||
if (!(o instanceof AcsDeviceRestructureTaskForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsDeviceRestructureTaskForm other = (AcsDeviceRestructureTaskForm)o;
|
||||
if (!other.canEqual(this))
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
Object this$taskId = getTaskId(), other$taskId = other.getTaskId();
|
||||
return !((this$taskId == null) ? (other$taskId != null) : !this$taskId.equals(other$taskId));
|
||||
}
|
||||
return Objects.equals(taskId, other.taskId);
|
||||
}
|
||||
|
||||
public void setTaskId(String taskId) {
|
||||
|
||||
+12
-39
@@ -2,6 +2,7 @@ package cn.cloudwalk.elevator.handler.device.form;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
public class AcsRestructureBindingForm implements Serializable {
|
||||
private String parentId;
|
||||
@@ -41,33 +42,20 @@ public class AcsRestructureBindingForm implements Serializable {
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
if (o == this) {
|
||||
return true;
|
||||
if (!(o instanceof AcsRestructureBindingForm))
|
||||
}
|
||||
if (!(o instanceof AcsRestructureBindingForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsRestructureBindingForm other = (AcsRestructureBindingForm)o;
|
||||
if (!other.canEqual(this))
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
Object this$parentId = getParentId(), other$parentId = other.getParentId();
|
||||
if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId))
|
||||
return false;
|
||||
Object this$orgId = getOrgId(), other$orgId = other.getOrgId();
|
||||
if ((this$orgId == null) ? (other$orgId != null) : !this$orgId.equals(other$orgId))
|
||||
return false;
|
||||
Object this$orgName = getOrgName(), other$orgName = other.getOrgName();
|
||||
if ((this$orgName == null) ? (other$orgName != null) : !this$orgName.equals(other$orgName))
|
||||
return false;
|
||||
Object this$labelId = getLabelId(), other$labelId = other.getLabelId();
|
||||
if ((this$labelId == null) ? (other$labelId != null) : !this$labelId.equals(other$labelId))
|
||||
return false;
|
||||
Object this$labelName = getLabelName(), other$labelName = other.getLabelName();
|
||||
if ((this$labelName == null) ? (other$labelName != null) : !this$labelName.equals(other$labelName))
|
||||
return false;
|
||||
Object this$personId = getPersonId(), other$personId = other.getPersonId();
|
||||
if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId))
|
||||
return false;
|
||||
Object<String> this$zoneIds = (Object<String>)getZoneIds(), other$zoneIds = (Object<String>)other.getZoneIds();
|
||||
return !((this$zoneIds == null) ? (other$zoneIds != null) : !this$zoneIds.equals(other$zoneIds));
|
||||
}
|
||||
return Objects.equals(parentId, other.parentId) && Objects.equals(orgId, other.orgId)
|
||||
&& Objects.equals(orgName, other.orgName) && Objects.equals(labelId, other.labelId)
|
||||
&& Objects.equals(labelName, other.labelName) && Objects.equals(personId, other.personId)
|
||||
&& Objects.equals(zoneIds, other.zoneIds);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
@@ -75,22 +63,7 @@ public class AcsRestructureBindingForm implements Serializable {
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
result = 1;
|
||||
Object $parentId = getParentId();
|
||||
result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode());
|
||||
Object $orgId = getOrgId();
|
||||
result = result * 59 + (($orgId == null) ? 43 : $orgId.hashCode());
|
||||
Object $orgName = getOrgName();
|
||||
result = result * 59 + (($orgName == null) ? 43 : $orgName.hashCode());
|
||||
Object $labelId = getLabelId();
|
||||
result = result * 59 + (($labelId == null) ? 43 : $labelId.hashCode());
|
||||
Object $labelName = getLabelName();
|
||||
result = result * 59 + (($labelName == null) ? 43 : $labelName.hashCode());
|
||||
Object $personId = getPersonId();
|
||||
result = result * 59 + (($personId == null) ? 43 : $personId.hashCode());
|
||||
Object<String> $zoneIds = (Object<String>)getZoneIds();
|
||||
return result * 59 + (($zoneIds == null) ? 43 : $zoneIds.hashCode());
|
||||
return Objects.hash(parentId, orgId, orgName, labelId, labelName, personId, zoneIds);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
||||
+11
-35
@@ -2,6 +2,7 @@ package cn.cloudwalk.elevator.handler.device.form;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
public class AcsRestructureQueryForm implements Serializable {
|
||||
private String orgId;
|
||||
@@ -36,31 +37,19 @@ public class AcsRestructureQueryForm implements Serializable {
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
if (o == this) {
|
||||
return true;
|
||||
if (!(o instanceof AcsRestructureQueryForm))
|
||||
}
|
||||
if (!(o instanceof AcsRestructureQueryForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsRestructureQueryForm other = (AcsRestructureQueryForm)o;
|
||||
if (!other.canEqual(this))
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
Object this$orgId = getOrgId(), other$orgId = other.getOrgId();
|
||||
if ((this$orgId == null) ? (other$orgId != null) : !this$orgId.equals(other$orgId))
|
||||
return false;
|
||||
Object this$labelId = getLabelId(), other$labelId = other.getLabelId();
|
||||
if ((this$labelId == null) ? (other$labelId != null) : !this$labelId.equals(other$labelId))
|
||||
return false;
|
||||
Object<String> this$labelIds = (Object<String>)getLabelIds(),
|
||||
other$labelIds = (Object<String>)other.getLabelIds();
|
||||
if ((this$labelIds == null) ? (other$labelIds != null) : !this$labelIds.equals(other$labelIds))
|
||||
return false;
|
||||
Object this$personId = getPersonId(), other$personId = other.getPersonId();
|
||||
if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId))
|
||||
return false;
|
||||
Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId();
|
||||
if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId))
|
||||
return false;
|
||||
Object this$businessId = getBusinessId(), other$businessId = other.getBusinessId();
|
||||
return !((this$businessId == null) ? (other$businessId != null) : !this$businessId.equals(other$businessId));
|
||||
}
|
||||
return Objects.equals(orgId, other.orgId) && Objects.equals(labelId, other.labelId)
|
||||
&& Objects.equals(labelIds, other.labelIds) && Objects.equals(personId, other.personId)
|
||||
&& Objects.equals(zoneId, other.zoneId) && Objects.equals(businessId, other.businessId);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
@@ -68,20 +57,7 @@ public class AcsRestructureQueryForm implements Serializable {
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
result = 1;
|
||||
Object $orgId = getOrgId();
|
||||
result = result * 59 + (($orgId == null) ? 43 : $orgId.hashCode());
|
||||
Object $labelId = getLabelId();
|
||||
result = result * 59 + (($labelId == null) ? 43 : $labelId.hashCode());
|
||||
Object<String> $labelIds = (Object<String>)getLabelIds();
|
||||
result = result * 59 + (($labelIds == null) ? 43 : $labelIds.hashCode());
|
||||
Object $personId = getPersonId();
|
||||
result = result * 59 + (($personId == null) ? 43 : $personId.hashCode());
|
||||
Object $zoneId = getZoneId();
|
||||
result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode());
|
||||
Object $businessId = getBusinessId();
|
||||
return result * 59 + (($businessId == null) ? 43 : $businessId.hashCode());
|
||||
return Objects.hash(orgId, labelId, labelIds, personId, zoneId, businessId);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
||||
+11
-32
@@ -2,6 +2,7 @@ package cn.cloudwalk.elevator.person.form;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
public class AcsPersonAddVisitorForm implements Serializable {
|
||||
private static final long serialVersionUID = 7916140658162290825L;
|
||||
@@ -32,30 +33,19 @@ public class AcsPersonAddVisitorForm implements Serializable {
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
if (o == this) {
|
||||
return true;
|
||||
if (!(o instanceof AcsPersonAddVisitorForm))
|
||||
}
|
||||
if (!(o instanceof AcsPersonAddVisitorForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsPersonAddVisitorForm other = (AcsPersonAddVisitorForm)o;
|
||||
if (!other.canEqual(this))
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
Object this$visitorId = getVisitorId(), other$visitorId = other.getVisitorId();
|
||||
if ((this$visitorId == null) ? (other$visitorId != null) : !this$visitorId.equals(other$visitorId))
|
||||
return false;
|
||||
Object this$personId = getPersonId(), other$personId = other.getPersonId();
|
||||
if ((this$personId == null) ? (other$personId != null) : !this$personId.equals(other$personId))
|
||||
return false;
|
||||
Object this$begVisitorTime = getBegVisitorTime(), other$begVisitorTime = other.getBegVisitorTime();
|
||||
if ((this$begVisitorTime == null) ? (other$begVisitorTime != null)
|
||||
: !this$begVisitorTime.equals(other$begVisitorTime))
|
||||
return false;
|
||||
Object this$endVisitorTime = getEndVisitorTime(), other$endVisitorTime = other.getEndVisitorTime();
|
||||
if ((this$endVisitorTime == null) ? (other$endVisitorTime != null)
|
||||
: !this$endVisitorTime.equals(other$endVisitorTime))
|
||||
return false;
|
||||
Object<String> this$floorIds = (Object<String>)getFloorIds(),
|
||||
other$floorIds = (Object<String>)other.getFloorIds();
|
||||
return !((this$floorIds == null) ? (other$floorIds != null) : !this$floorIds.equals(other$floorIds));
|
||||
}
|
||||
return Objects.equals(visitorId, other.visitorId) && Objects.equals(personId, other.personId)
|
||||
&& Objects.equals(begVisitorTime, other.begVisitorTime) && Objects.equals(endVisitorTime, other.endVisitorTime)
|
||||
&& Objects.equals(floorIds, other.floorIds);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
@@ -63,18 +53,7 @@ public class AcsPersonAddVisitorForm implements Serializable {
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
result = 1;
|
||||
Object $visitorId = getVisitorId();
|
||||
result = result * 59 + (($visitorId == null) ? 43 : $visitorId.hashCode());
|
||||
Object $personId = getPersonId();
|
||||
result = result * 59 + (($personId == null) ? 43 : $personId.hashCode());
|
||||
Object $begVisitorTime = getBegVisitorTime();
|
||||
result = result * 59 + (($begVisitorTime == null) ? 43 : $begVisitorTime.hashCode());
|
||||
Object $endVisitorTime = getEndVisitorTime();
|
||||
result = result * 59 + (($endVisitorTime == null) ? 43 : $endVisitorTime.hashCode());
|
||||
Object<String> $floorIds = (Object<String>)getFloorIds();
|
||||
return result * 59 + (($floorIds == null) ? 43 : $floorIds.hashCode());
|
||||
return Objects.hash(visitorId, personId, begVisitorTime, endVisitorTime, floorIds);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
||||
+12
-42
@@ -2,6 +2,7 @@ package cn.cloudwalk.elevator.person.form;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
public class AcsPersonQueryForm implements Serializable {
|
||||
private static final long serialVersionUID = -8830219133147503297L;
|
||||
@@ -40,36 +41,20 @@ public class AcsPersonQueryForm implements Serializable {
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
if (o == this) {
|
||||
return true;
|
||||
if (!(o instanceof AcsPersonQueryForm))
|
||||
}
|
||||
if (!(o instanceof AcsPersonQueryForm)) {
|
||||
return false;
|
||||
}
|
||||
AcsPersonQueryForm other = (AcsPersonQueryForm)o;
|
||||
if (!other.canEqual(this))
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
Object this$parentId = getParentId(), other$parentId = other.getParentId();
|
||||
if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId))
|
||||
return false;
|
||||
Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId();
|
||||
if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId))
|
||||
return false;
|
||||
Object this$personName = getPersonName(), other$personName = other.getPersonName();
|
||||
if ((this$personName == null) ? (other$personName != null) : !this$personName.equals(other$personName))
|
||||
return false;
|
||||
Object<String> this$organizationIds = (Object<String>)getOrganizationIds(),
|
||||
other$organizationIds = (Object<String>)other.getOrganizationIds();
|
||||
if ((this$organizationIds == null) ? (other$organizationIds != null)
|
||||
: !this$organizationIds.equals(other$organizationIds))
|
||||
return false;
|
||||
Object<String> this$labelIds = (Object<String>)getLabelIds(),
|
||||
other$labelIds = (Object<String>)other.getLabelIds();
|
||||
if ((this$labelIds == null) ? (other$labelIds != null) : !this$labelIds.equals(other$labelIds))
|
||||
return false;
|
||||
Object this$pageSize = getPageSize(), other$pageSize = other.getPageSize();
|
||||
if ((this$pageSize == null) ? (other$pageSize != null) : !this$pageSize.equals(other$pageSize))
|
||||
return false;
|
||||
Object this$pageNo = getPageNo(), other$pageNo = other.getPageNo();
|
||||
return !((this$pageNo == null) ? (other$pageNo != null) : !this$pageNo.equals(other$pageNo));
|
||||
}
|
||||
return Objects.equals(parentId, other.parentId) && Objects.equals(zoneId, other.zoneId)
|
||||
&& Objects.equals(personName, other.personName) && Objects.equals(organizationIds, other.organizationIds)
|
||||
&& Objects.equals(labelIds, other.labelIds) && Objects.equals(pageSize, other.pageSize)
|
||||
&& Objects.equals(pageNo, other.pageNo);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
@@ -77,22 +62,7 @@ public class AcsPersonQueryForm implements Serializable {
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
result = 1;
|
||||
Object $parentId = getParentId();
|
||||
result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode());
|
||||
Object $zoneId = getZoneId();
|
||||
result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode());
|
||||
Object $personName = getPersonName();
|
||||
result = result * 59 + (($personName == null) ? 43 : $personName.hashCode());
|
||||
Object<String> $organizationIds = (Object<String>)getOrganizationIds();
|
||||
result = result * 59 + (($organizationIds == null) ? 43 : $organizationIds.hashCode());
|
||||
Object<String> $labelIds = (Object<String>)getLabelIds();
|
||||
result = result * 59 + (($labelIds == null) ? 43 : $labelIds.hashCode());
|
||||
Object $pageSize = getPageSize();
|
||||
result = result * 59 + (($pageSize == null) ? 43 : $pageSize.hashCode());
|
||||
Object $pageNo = getPageNo();
|
||||
return result * 59 + (($pageNo == null) ? 43 : $pageNo.hashCode());
|
||||
return Objects.hash(parentId, zoneId, personName, organizationIds, labelIds, pageSize, pageNo);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
||||
+10
-24
@@ -2,6 +2,7 @@ package cn.cloudwalk.elevator.person.form;
|
||||
|
||||
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
public class PersonDetailQueryForm extends CloudwalkBasePageForm implements Serializable {
|
||||
private static final long serialVersionUID = -8830219133147503297L;
|
||||
@@ -27,24 +28,18 @@ public class PersonDetailQueryForm extends CloudwalkBasePageForm implements Seri
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if (o == this)
|
||||
if (o == this) {
|
||||
return true;
|
||||
if (!(o instanceof PersonDetailQueryForm))
|
||||
}
|
||||
if (!(o instanceof PersonDetailQueryForm)) {
|
||||
return false;
|
||||
}
|
||||
PersonDetailQueryForm other = (PersonDetailQueryForm)o;
|
||||
if (!other.canEqual(this))
|
||||
if (!other.canEqual(this)) {
|
||||
return false;
|
||||
Object this$parentId = getParentId(), other$parentId = other.getParentId();
|
||||
if ((this$parentId == null) ? (other$parentId != null) : !this$parentId.equals(other$parentId))
|
||||
return false;
|
||||
Object this$zoneId = getZoneId(), other$zoneId = other.getZoneId();
|
||||
if ((this$zoneId == null) ? (other$zoneId != null) : !this$zoneId.equals(other$zoneId))
|
||||
return false;
|
||||
Object this$ruleId = getRuleId(), other$ruleId = other.getRuleId();
|
||||
if ((this$ruleId == null) ? (other$ruleId != null) : !this$ruleId.equals(other$ruleId))
|
||||
return false;
|
||||
Object this$personName = getPersonName(), other$personName = other.getPersonName();
|
||||
return !((this$personName == null) ? (other$personName != null) : !this$personName.equals(other$personName));
|
||||
}
|
||||
return Objects.equals(parentId, other.parentId) && Objects.equals(zoneId, other.zoneId)
|
||||
&& Objects.equals(ruleId, other.ruleId) && Objects.equals(personName, other.personName);
|
||||
}
|
||||
|
||||
protected boolean canEqual(Object other) {
|
||||
@@ -52,16 +47,7 @@ public class PersonDetailQueryForm extends CloudwalkBasePageForm implements Seri
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int PRIME = 59;
|
||||
result = 1;
|
||||
Object $parentId = getParentId();
|
||||
result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode());
|
||||
Object $zoneId = getZoneId();
|
||||
result = result * 59 + (($zoneId == null) ? 43 : $zoneId.hashCode());
|
||||
Object $ruleId = getRuleId();
|
||||
result = result * 59 + (($ruleId == null) ? 43 : $ruleId.hashCode());
|
||||
Object $personName = getPersonName();
|
||||
return result * 59 + (($personName == null) ? 43 : $personName.hashCode());
|
||||
return Objects.hash(parentId, zoneId, ruleId, personName);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
||||
Reference in New Issue
Block a user