package com.rongwei.businessServer.controller;


import com.rongwei.bscommon.sys.service.SrmEightDHistorylistService;
import com.rongwei.rwcommon.base.R;
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.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 8D计划修改历史表 前端控制器
 * </p>
 *
 * @author trj
 * @since 2023-03-13
 */
@RestController
@RequestMapping("/srmEightDHistorylist")
public class SrmEightDHistorylistController {

    @Autowired
    private SrmEightDHistorylistService historylistService;


    @PostMapping("/saveHistory")
    public R saveHistory(@RequestBody String data){
        return historylistService.saveHistory(data);
    }

}

