12345678910111213141516171819202122232425262728293031323334353637 |
- package com.rongwei.controller;
- import com.bsentity.vo.ComProTempWordVo;
- import com.rongwei.bscommon.sys.dao.ExportDao;
- import com.rongwei.bscommon.sys.service.ExportService;
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- 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 javax.servlet.http.HttpServletResponse;
- import java.util.List;
- /**
- * 导出
- * @author Trj
- */
- @RestController
- @RequestMapping("export")
- public class ExportController {
- private final Logger log = LoggerFactory.getLogger(this.getClass().getName());
- @Autowired
- private ExportService exportService;
- @PostMapping("word/ptar")
- public void comProductListTempWord(@RequestBody List<String> ids , HttpServletResponse response){
- log.info("客诉单id Word导出 接口入参:{}",ids);
- exportService.exportComProductListTempWord(ids,response);
- }
- }
|