导出售后单

This commit is contained in:
lifenlong
2021-06-05 14:48:16 +08:00
parent b7e439e177
commit e379a2eb34
4 changed files with 29 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.validation.constraints.NotNull;
import java.util.List;
/**
* 管理端,售后接口
@@ -40,6 +41,12 @@ public class AfterSaleManagerController {
return ResultUtil.data(afterSaleService.getAfterSalePages(searchParams));
}
@ApiOperation(value = "获取导出售后服务列表列表")
@GetMapping(value = "/exportAfterSaleOrder")
public ResultMessage<List<AfterSale>> exportAfterSaleOrder(AfterSaleSearchParams searchParams) {
return ResultUtil.data(afterSaleService.exportAfterSaleOrder(searchParams));
}
@ApiOperation(value = "查看售后服务详情")
@ApiImplicitParam(name = "sn", value = "售后单号", required = true, paramType = "path")
@GetMapping(value = "/get/{sn}")