liujie
2025-06-09 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb
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);