package com.example.demo.sevice; import com.example.demo.domain.entity.Detail; import com.example.demo.domain.vo.RefundA; import com.github.pagehelper.PageInfo; import org.springframework.stereotype.Service; import java.util.List; @Service public interface RefundService { int add(Detail detail) ; int addAudit(Detail detail); void edit(Detail newDetail) ; int update(Integer contactId) ; boolean existsByContactId(Integer contactId); int softDelete(Integer detailId) ; Detail selectByOrderCode(String orderCode) ; Detail selectByJWCODE(String jwcode) ; Detail selectByDetailId(Integer detailId); List search(Detail detail); PageInfo searchForPage(Integer pageNum, Integer pageSize, Detail detail); List getRefundA(RefundA refundA); }