mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-22 11:52:43 +08:00
移除部门的deleted_at字段
This commit is contained in:
parent
9c97b774a0
commit
384d61437f
@ -51,11 +51,6 @@ public class Department implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private Date updatedAt;
|
private Date updatedAt;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private Date deletedAt;
|
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@ -77,8 +72,7 @@ public class Department implements Serializable {
|
|||||||
&& (this.getParentChain() == null ? other.getParentChain() == null : this.getParentChain().equals(other.getParentChain()))
|
&& (this.getParentChain() == null ? other.getParentChain() == null : this.getParentChain().equals(other.getParentChain()))
|
||||||
&& (this.getSort() == null ? other.getSort() == null : this.getSort().equals(other.getSort()))
|
&& (this.getSort() == null ? other.getSort() == null : this.getSort().equals(other.getSort()))
|
||||||
&& (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
|
&& (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
|
||||||
&& (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()))
|
&& (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()));
|
||||||
&& (this.getDeletedAt() == null ? other.getDeletedAt() == null : this.getDeletedAt().equals(other.getDeletedAt()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -92,7 +86,6 @@ public class Department implements Serializable {
|
|||||||
result = prime * result + ((getSort() == null) ? 0 : getSort().hashCode());
|
result = prime * result + ((getSort() == null) ? 0 : getSort().hashCode());
|
||||||
result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
|
result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
|
||||||
result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
|
result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
|
||||||
result = prime * result + ((getDeletedAt() == null) ? 0 : getDeletedAt().hashCode());
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,7 +102,6 @@ public class Department implements Serializable {
|
|||||||
sb.append(", sort=").append(sort);
|
sb.append(", sort=").append(sort);
|
||||||
sb.append(", createdAt=").append(createdAt);
|
sb.append(", createdAt=").append(createdAt);
|
||||||
sb.append(", updatedAt=").append(updatedAt);
|
sb.append(", updatedAt=").append(updatedAt);
|
||||||
sb.append(", deletedAt=").append(deletedAt);
|
|
||||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||||
sb.append("]");
|
sb.append("]");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
@ -7,7 +7,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|||||||
/**
|
/**
|
||||||
* @author tengteng
|
* @author tengteng
|
||||||
* @description 针对表【departments】的数据库操作Mapper
|
* @description 针对表【departments】的数据库操作Mapper
|
||||||
* @createDate 2023-02-19 10:39:57
|
* @createDate 2023-02-19 12:19:45
|
||||||
* @Entity xyz.playedu.api.domain.Department
|
* @Entity xyz.playedu.api.domain.Department
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
|
@ -12,12 +12,11 @@
|
|||||||
<result property="sort" column="sort" jdbcType="INTEGER"/>
|
<result property="sort" column="sort" jdbcType="INTEGER"/>
|
||||||
<result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
|
<result property="createdAt" column="created_at" jdbcType="TIMESTAMP"/>
|
||||||
<result property="updatedAt" column="updated_at" jdbcType="TIMESTAMP"/>
|
<result property="updatedAt" column="updated_at" jdbcType="TIMESTAMP"/>
|
||||||
<result property="deletedAt" column="deleted_at" jdbcType="TIMESTAMP"/>
|
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id,name,parent_id,
|
id,name,parent_id,
|
||||||
parent_chain,sort,created_at,
|
parent_chain,sort,created_at,
|
||||||
updated_at,deleted_at
|
updated_at
|
||||||
</sql>
|
</sql>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user