|
@@ -2,6 +2,7 @@ package shop.alien.mapper;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
import shop.alien.entity.store.LifeBlacklist;
|
|
|
import shop.alien.entity.store.vo.LifeBlacklistVo;
|
|
@@ -34,5 +35,5 @@ public interface LifeBlacklistMapper extends BaseMapper<LifeBlacklist> {
|
|
|
"left join life_user user on user.id = black.blocked_id and black.blocked_type = '2' and user.delete_flag = 0 " +
|
|
|
"left join store_user suser on suser.id = black.blocked_id and black.blocked_type = '1' and suser.delete_flag = 0 " +
|
|
|
"where black.blocker_type = #{userType} and black.blocker_id = #{userId} and black.delete_flag = 0 ")
|
|
|
- List<LifeBlacklistVo> getPhoneIdByUserId(String userType, String userId);
|
|
|
+ List<LifeBlacklistVo> getPhoneIdByUserId(@Param("userType") String userType, @Param("userId") String userId);
|
|
|
}
|