package com.fjhx.controller.order;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springblade.core.tool.api.R;
import com.fjhx.entity.order.OrderFollow;
import com.fjhx.params.order.OrderFollowVo;
import com.fjhx.service.order.OrderFollowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 * 售后跟进 前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2022-12-16
 */
@RestController
@RequestMapping("/orderFollow")
public class OrderFollowController {

    @Autowired
    private OrderFollowService orderFollowService;

    // @PostMapping("/page")
    // public R page(@RequestBody Map<String, Object> condition){
    //     Page<OrderFollow> result = orderFollowService.getPage(condition);
    //     return R.success(result);
    // }
    //
    // @PostMapping("/add")
    // public R add(@RequestBody OrderFollowVo orderFollowVo){
    //     orderFollowService.add(orderFollowVo);
    //     return R.success();
    // }
    //
    // @PostMapping("/edit")
    // public R edit(@RequestBody OrderFollowVo orderFollowVo){
    //     orderFollowService.edit(orderFollowVo);
    //     return R.success();
    // }
    //
    // @PostMapping("/delete")
    // public R delete(@RequestBody OrderFollowVo orderFollowVo){
    //     orderFollowService.delete(orderFollowVo);
    //     return R.success();
    // }

}

