mitao
2025-05-20 179c4d64313c9b7572778da4aaaf6c6584fe457d
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/VolunteerMerchantDao.java
@@ -11,9 +11,16 @@
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface VolunteerMerchantDao extends BaseMapper<VolunteerMerchant>
{
    VolunteerMerchant getById(@Param("id") String id);
    /**
     * 分页查询
     * @param
@@ -39,13 +46,19 @@
    int delete(@Param("id") String id);
    /**
     * 判断是否是商家
     * @return
     */
    String isMerchant(@Param("userId") String userId);
    /**
     * 根据电话号码  或者姓名查询用户
     * @param
     * @return
     */
    SysUser getUser(@Param("communityId") String communityId,
                    @Param("userName") String userName,
                    @Param("userPhone") String userPhone);
    List<SysUser> getUser(@Param("communityId") String communityId,
                          @Param("userName") String userName,
                          @Param("userPhone") String userPhone);