删减字段

main
linhw 2024-04-24 16:50:34 +08:00
parent dc0dfb2a0c
commit 9832407b0a
2 changed files with 1 additions and 20 deletions

View File

@ -26,10 +26,6 @@ public class AppDynamicLike extends BaseEntity
@Excel(name = "动态id")
private Long dynamicId;
/** 状态0好友1拉黑 */
@Excel(name = "状态0好友1拉黑")
private Long status;
public void setId(Long id)
{
this.id = id;
@ -57,15 +53,6 @@ public class AppDynamicLike extends BaseEntity
{
return dynamicId;
}
public void setStatus(Long status)
{
this.status = status;
}
public Long getStatus()
{
return status;
}
@Override
public String toString() {
@ -73,7 +60,6 @@ public class AppDynamicLike extends BaseEntity
.append("id", getId())
.append("userId", getUserId())
.append("dynamicId", getDynamicId())
.append("status", getStatus())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("createBy", getCreateBy())

View File

@ -8,7 +8,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="id" column="id" />
<result property="userId" column="user_id" />
<result property="dynamicId" column="dynamic_id" />
<result property="status" column="status" />
<result property="createTime" column="create_time" />
<result property="updateTime" column="update_time" />
<result property="createBy" column="create_by" />
@ -17,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectAppDynamicLikeVo">
select id, user_id, dynamic_id, status, create_time, update_time, create_by, updateBy, remark from app_dynamic_like
select id, user_id, dynamic_id, create_time, update_time, create_by, updateBy, remark from app_dynamic_like
</sql>
<select id="selectAppDynamicLikeList" parameterType="AppDynamicLike" resultMap="AppDynamicLikeResult">
@ -25,7 +24,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="dynamicId != null "> and dynamic_id = #{dynamicId}</if>
<if test="status != null "> and status = #{status}</if>
<if test="updateBy != null and updateBy != ''"> and updateBy = #{updateBy}</if>
</where>
</select>
@ -40,7 +38,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userId != null">user_id,</if>
<if test="dynamicId != null">dynamic_id,</if>
<if test="status != null">status,</if>
<if test="createTime != null">create_time,</if>
<if test="updateTime != null">update_time,</if>
<if test="createBy != null">create_by,</if>
@ -50,7 +47,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="userId != null">#{userId},</if>
<if test="dynamicId != null">#{dynamicId},</if>
<if test="status != null">#{status},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="createBy != null">#{createBy},</if>
@ -64,7 +60,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="userId != null">user_id = #{userId},</if>
<if test="dynamicId != null">dynamic_id = #{dynamicId},</if>
<if test="status != null">status = #{status},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="createBy != null">create_by = #{createBy},</if>