摘要:
equals() 1 /** 2 * Indicates whether some other object is "equal to" this one. 3 * <p> 4 * The {@code equals} method implements an equivalence relatio 阅读全文
摘要:
我们需要将数据库的酒店数据查询出来,写入elasticsearch中。 索引库实体类 数据库查询后的结果是一个Hotel类型的对象。结构如下: @Data @TableName("tb_hotel") public class Hotel { @TableId(type = IdType.INPUT 阅读全文