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

import com.yuchen.saas.park.api.entity.park.ParkInvoiceInfo;
import org.nest.springwrap.core.mp.base.BaseService;

/**
 * @ClassName ParkInvoiceInfoService
 * @Description 园区瑞宏发票配置操作接口
 * @Author 张逸飞
 * @Date 2022/6/16 15:50
 */
public interface ParkInvoiceInfoService extends BaseService<ParkInvoiceInfo> {

    /**
     * 保存或者更新厦门银行支付配置信息
     * @param parkInvoiceInfo 瑞宏发票配置信息
     * @return
     */
    Boolean saveInvoice(ParkInvoiceInfo parkInvoiceInfo);

    /**
     * 根据园区ID瑞宏发票配置信息
     * @param parkId 园区ID
     * @return
     */
    ParkInvoiceInfo getByParkId(Long parkId);
}
