|
@@ -69,11 +69,32 @@
|
|
|
b.type as type,
|
|
|
b.other_id as otherId,
|
|
|
b.target_id as targetId,
|
|
|
- b.status
|
|
|
+ bu.status
|
|
|
from t_workplace_backlog_user bu
|
|
|
left join t_workplace_backlog b on bu.backlog_id = b.id
|
|
|
where bu.id = #{id}
|
|
|
order by bu.created_time desc
|
|
|
</select>
|
|
|
|
|
|
+ <select id="updateByPrimaryKeySelective1" parameterType="com.platform.dao.entity.workplace.WorkplaceBacklogUser"
|
|
|
+ resultType="int">
|
|
|
+ update t_workplace_backlog_user
|
|
|
+ set status=2
|
|
|
+ where 1=1
|
|
|
+ <if test="id!=null">
|
|
|
+ and id=#{id}
|
|
|
+ </if>
|
|
|
+ <if test="userId!=null">
|
|
|
+ and user_id=#{userId}
|
|
|
+ </if>
|
|
|
+ <if test="backlogId!=null">
|
|
|
+ and backlog_id=#{backlogId}
|
|
|
+ </if>
|
|
|
+ <if test="createdTime!=null">
|
|
|
+ and created_time=#{createdTime}
|
|
|
+ </if>
|
|
|
+
|
|
|
+
|
|
|
+ </select>
|
|
|
+
|
|
|
</mapper>
|