package com.crm.custom.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.exception.ServiceException;
import com.crm.rely.backend.model.dto.golden.order.GoldenOrderListDto;
import com.crm.rely.backend.model.entity.custom.info.CustomInfoEntity;
import com.crm.rely.backend.model.entity.golden.order.GoldenOrderAddEntity;
import com.crm.rely.backend.model.entity.golden.order.GoldenOrderSearchEntity;

public interface GoldenOrderService {

    ResultWithPagerDto<GoldenOrderListDto> searchPageList(GoldenOrderSearchEntity entity) throws ServiceException;

    void completeOrder(Long id) throws ServiceException;

    void cancelOrder(Long id) throws ServiceException;

    void generated(GoldenOrderAddEntity entity, CustomInfoEntity infoEntity) throws ServiceException;

}


