|
|
@@ -46,6 +46,7 @@ public interface LifeUserDynamicsMapper extends BaseMapper<LifeUserDynamics> {
|
|
|
@Select("select lud.*,'1' isLike\n" +
|
|
|
"from life_user_dynamics lud \n" +
|
|
|
"where lud.delete_flag = 0 \n" +
|
|
|
- "and lud.id in (select llr.huifu_id from life_like_record llr where llr.dianzan_id = #{phoneId} and llr.delete_flag = 0)")
|
|
|
+ "and lud.id in (select llr.huifu_id from life_like_record llr where llr.dianzan_id = #{phoneId} and llr.delete_flag = 0) \n"+
|
|
|
+ "and lud.phone_id not in (select lb.blocked_phone_id from life_blacklist lb where lb.blocker_phone_id = #{phoneId} and lb.delete_flag = 0)")
|
|
|
List<LifeUserDynamicsVo> selectDianZanList(String phoneId);
|
|
|
}
|