package com.wsl.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.wsl.bo.EmpCarListBO;
import com.wsl.service.ImportExceptService;
import com.wsl.util.ResponseMessage;
@Controller
public class TestImportController {
@Autowired
ImportExceptService importExceptService;
@RequestMapping("/test1")
@ResponseBody
public String testDemo1() {
return "aaa";
}
public ResponseMessage<Object> importExcel() throws Exception{
ResponseMessage<Object> message = new ResponseMessage<>();
EmpCarListBO empCarListBO = importExceptService.importExcel();
return message;
}
}