package com.crm.manager.service.task;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.entity.account.belong.AccountReportChangeAddEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "TASK-SERVICE", path = "/manage/service/account/report/change")
public interface AccountReportChangeFeignService {

    @PostMapping("/dw")
    BaseResultDto<Object> handleDw(AccountReportChangeAddEntity entity);

    @PostMapping("/salesCommission")
    BaseResultDto<Object> handleSalesCommission(AccountReportChangeAddEntity entity);
}
