删减字段
parent
dc0dfb2a0c
commit
9832407b0a
|
|
@ -26,10 +26,6 @@ public class AppDynamicLike extends BaseEntity
|
||||||
@Excel(name = "动态id")
|
@Excel(name = "动态id")
|
||||||
private Long dynamicId;
|
private Long dynamicId;
|
||||||
|
|
||||||
/** 状态:0好友1拉黑 */
|
|
||||||
@Excel(name = "状态:0好友1拉黑")
|
|
||||||
private Long status;
|
|
||||||
|
|
||||||
public void setId(Long id)
|
public void setId(Long id)
|
||||||
{
|
{
|
||||||
this.id = id;
|
this.id = id;
|
||||||
|
|
@ -57,15 +53,6 @@ public class AppDynamicLike extends BaseEntity
|
||||||
{
|
{
|
||||||
return dynamicId;
|
return dynamicId;
|
||||||
}
|
}
|
||||||
public void setStatus(Long status)
|
|
||||||
{
|
|
||||||
this.status = status;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getStatus()
|
|
||||||
{
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|
@ -73,7 +60,6 @@ public class AppDynamicLike extends BaseEntity
|
||||||
.append("id", getId())
|
.append("id", getId())
|
||||||
.append("userId", getUserId())
|
.append("userId", getUserId())
|
||||||
.append("dynamicId", getDynamicId())
|
.append("dynamicId", getDynamicId())
|
||||||
.append("status", getStatus())
|
|
||||||
.append("createTime", getCreateTime())
|
.append("createTime", getCreateTime())
|
||||||
.append("updateTime", getUpdateTime())
|
.append("updateTime", getUpdateTime())
|
||||||
.append("createBy", getCreateBy())
|
.append("createBy", getCreateBy())
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<result property="id" column="id" />
|
<result property="id" column="id" />
|
||||||
<result property="userId" column="user_id" />
|
<result property="userId" column="user_id" />
|
||||||
<result property="dynamicId" column="dynamic_id" />
|
<result property="dynamicId" column="dynamic_id" />
|
||||||
<result property="status" column="status" />
|
|
||||||
<result property="createTime" column="create_time" />
|
<result property="createTime" column="create_time" />
|
||||||
<result property="updateTime" column="update_time" />
|
<result property="updateTime" column="update_time" />
|
||||||
<result property="createBy" column="create_by" />
|
<result property="createBy" column="create_by" />
|
||||||
|
|
@ -17,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectAppDynamicLikeVo">
|
<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>
|
</sql>
|
||||||
|
|
||||||
<select id="selectAppDynamicLikeList" parameterType="AppDynamicLike" resultMap="AppDynamicLikeResult">
|
<select id="selectAppDynamicLikeList" parameterType="AppDynamicLike" resultMap="AppDynamicLikeResult">
|
||||||
|
|
@ -25,7 +24,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<where>
|
<where>
|
||||||
<if test="userId != null "> and user_id = #{userId}</if>
|
<if test="userId != null "> and user_id = #{userId}</if>
|
||||||
<if test="dynamicId != null "> and dynamic_id = #{dynamicId}</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>
|
<if test="updateBy != null and updateBy != ''"> and updateBy = #{updateBy}</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -40,7 +38,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="userId != null">user_id,</if>
|
<if test="userId != null">user_id,</if>
|
||||||
<if test="dynamicId != null">dynamic_id,</if>
|
<if test="dynamicId != null">dynamic_id,</if>
|
||||||
<if test="status != null">status,</if>
|
|
||||||
<if test="createTime != null">create_time,</if>
|
<if test="createTime != null">create_time,</if>
|
||||||
<if test="updateTime != null">update_time,</if>
|
<if test="updateTime != null">update_time,</if>
|
||||||
<if test="createBy != null">create_by,</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=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="userId != null">#{userId},</if>
|
<if test="userId != null">#{userId},</if>
|
||||||
<if test="dynamicId != null">#{dynamicId},</if>
|
<if test="dynamicId != null">#{dynamicId},</if>
|
||||||
<if test="status != null">#{status},</if>
|
|
||||||
<if test="createTime != null">#{createTime},</if>
|
<if test="createTime != null">#{createTime},</if>
|
||||||
<if test="updateTime != null">#{updateTime},</if>
|
<if test="updateTime != null">#{updateTime},</if>
|
||||||
<if test="createBy != null">#{createBy},</if>
|
<if test="createBy != null">#{createBy},</if>
|
||||||
|
|
@ -64,7 +60,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
<if test="userId != null">user_id = #{userId},</if>
|
<if test="userId != null">user_id = #{userId},</if>
|
||||||
<if test="dynamicId != null">dynamic_id = #{dynamicId},</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="createTime != null">create_time = #{createTime},</if>
|
||||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
<if test="createBy != null">create_by = #{createBy},</if>
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue