package com.cool.store.service;

import com.cool.store.context.CurrentUserHolder;
import com.cool.store.context.LoginUserInfo;
import com.cool.store.dto.InvoicingDTO;
import com.cool.store.entity.InvoicingDO;

/**
 * @Author suzhuhong
 * @Date 2024/12/31 13:44
 * @Version 1.0
 */
public interface InvoicingService {

    /**
     * 提交发票详情
     * @param invoicingDTO
     * @return
     */
    Boolean addInvoicing(InvoicingDTO invoicingDTO, LoginUserInfo userInfo);

    /**
     * 编辑发票详情
     * @param invoicingDTO
     * @return
     */
    Boolean editInvoicing(InvoicingDTO invoicingDTO,LoginUserInfo userInfo);

    /**
     * 查询发票详情
     * @param shopId
     * @return
     */
    InvoicingDTO getInvoicingByShopId(Long shopId);




}
