Browse Source

更新采购单附件批量下载的方法

hejq 8 years ago
parent
commit
1c076fd5a9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/main/java/com/uas/platform/b2b/controller/FileController.java

+ 0 - 1
src/main/java/com/uas/platform/b2b/controller/FileController.java

@@ -101,7 +101,6 @@ public class FileController {
      */
     @RequestMapping("/batch/{id}")
     public void batchDownload(@PathVariable("id") long id, HttpServletResponse response) throws Exception {
-//        response.sendRedirect(" http://113.105.127.36:8099/ERP/common/downloadbyIds.action?ids=67819;67820;67818;67817;67813;67814&zipName=MP180300096 ");
         PurchaseOrderAll orderAll = purchaseOrderService.findById(id);
         String sql = " select at_path path,attachs.at_id id from attachs left join purc$prod$attach on attachs.at_id = purc$prod$attach.at_id " +
                "left join purc$orderitems on purc$orderitems.pd_id = purc$prod$attach.pd_id where purc$orderitems.pd_puid = " + id;