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