瀏覽代碼

产品申请显示(导出订单相关信息修改)

wangyu 6 年之前
父節點
當前提交
bdbb4a4ede
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      diagbotman-service/src/main/java/com/diagbot/web/ReporExcelController.java

+ 2 - 2
diagbotman-service/src/main/java/com/diagbot/web/ReporExcelController.java

@@ -7,10 +7,10 @@ import com.diagbot.vo.ProductOrderExportVO;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.transaction.annotation.Transactional;
 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.ResponseBody;
 import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletRequest;
@@ -37,7 +37,7 @@ public class ReporExcelController {
             "orgName: 机构名称<br>")
     @PostMapping("/exportProductOrderInfo")
     @SysLoggerExport("exportProductOrderInfo")
-    @Transactional
+    @ResponseBody
     public void export(@RequestBody ProductOrderExportVO productOrderExportVO, HttpServletRequest request, HttpServletResponse response)
             throws Exception {
         productOrderFacade.export(productOrderExportVO,response);