package com.propertyManagement.business.service;

import com.propertyManagement.business.domain.WxUserCommunityLedger;
import com.propertyManagement.business.domain.vo.WxUserCommunityLedgerVo;
import com.propertyManagement.business.domain.bo.WxUserCommunityLedgerBo;
import com.propertyManagement.common.core.page.TableDataInfo;
import com.propertyManagement.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 用户、小区、台账关联报Service接口
 *
 * @author liushuai
 * @date 2025-05-14
 */
public interface IWxUserCommunityLedgerService {

    /**
     * 查询用户、小区、台账关联报
     */
    WxUserCommunityLedgerVo queryById(Long userId);

    /**
     * 查询用户、小区、台账关联报列表
     */
    TableDataInfo<WxUserCommunityLedgerVo> queryPageList(WxUserCommunityLedgerBo bo, PageQuery pageQuery);

    /**
     * 查询用户、小区、台账关联报列表
     */
    List<WxUserCommunityLedgerVo> queryList(WxUserCommunityLedgerBo bo);

    /**
     * 新增用户、小区、台账关联报
     */
    Boolean insertByBo(WxUserCommunityLedgerBo bo);

    /**
     * 修改用户、小区、台账关联报
     */
    Boolean updateByBo(WxUserCommunityLedgerBo bo);

    /**
     * 校验并批量删除用户、小区、台账关联报信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
