Sfoglia il codice sorgente

添加 获取拉黑列表 方法

qrs 3 settimane fa
parent
commit
1a5adab03d

+ 2 - 1
alien-entity/src/main/java/shop/alien/mapper/LifeBlacklistMapper.java

@@ -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);
 }