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