package com.yuchen.saas.park.service.service.property;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.property.SaasParkPropertyFeeStandardsDto;
import com.yuchen.saas.park.api.dto.property.SaasParkPropertyReceivableManageDto;
import com.yuchen.saas.park.api.entity.property.SaasParkPropertyReceivableManage;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyFeeStandardsVo;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyReceivableManageTotalVo;
import com.yuchen.saas.park.api.vo.property.SaasParkPropertyReceivableManageVo;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

/**
 * <p>
 * 物业-收费-应收管理-应收账单 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-09-12
 */
public interface ISaasParkPropertyReceivableManageService extends IService<SaasParkPropertyReceivableManage> {

    /**
     * 物业-收费-应收管理-应收账单-未出账  列表查询
     * @param saasParkPropertyReceivableManageDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyReceivableManageVo>> getWeiChuZhangList(SaasParkPropertyReceivableManageDto saasParkPropertyReceivableManageDto, Query query);

    /**
     * 物业-收费-应收管理-应收账单-非未出账(已出账)  列表查询
     * @param saasParkPropertyReceivableManageDto
     * @param query
     * @return
     */
    R<IPage<SaasParkPropertyReceivableManageVo>> getYiChuZhangList(SaasParkPropertyReceivableManageDto saasParkPropertyReceivableManageDto, Query query);

    /**
     * 物业-收费-应收管理-应收账单  新增或修改
     * @param req
     * @return
     */
    boolean saveOrUpdateByParam(SaasParkPropertyReceivableManageDto req);

    /**
     * 物业-收费-应收管理-应收账单-统计
     * @return
     */
    SaasParkPropertyReceivableManageTotalVo getTotal();


    /**
     * 账单拆分
     * @param req
     * @return
     */
    boolean splitOrder(SaasParkPropertyReceivableManageDto req);

}
