Prechádzať zdrojové kódy

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

wangyu 6 rokov pred
rodič
commit
bdbb4a4ede

+ 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);