|
|
@@ -124,8 +124,9 @@ public class ComponentSimpleInfo implements Serializable {
|
|
|
}
|
|
|
ComponentSimpleInfo other = (ComponentSimpleInfo) otherObject;
|
|
|
// 不比较属性值
|
|
|
+ // code写入索引时转为了小写
|
|
|
return Objects.equals(id, other.getId()) && Objects.equals(uuid, other.getUuid())
|
|
|
- && Objects.equals(code, other.getCode()) && Objects.equals(kindid, other.getKindid())
|
|
|
+ && Objects.equals(code, other.getCode().toLowerCase()) && Objects.equals(kindid, other.getKindid())
|
|
|
&& Objects.equals(brandid, other.getBrandid());
|
|
|
}
|
|
|
|