管道请购单列表,导出及发送报价单去除不采购物品,添加查看请购单

This commit is contained in:
suncz
2024-05-31 12:58:24 +08:00
parent 0fff58c990
commit 7faf64dba2
3 changed files with 31 additions and 11 deletions

View File

@@ -258,17 +258,17 @@ public class PurchaseApplyOrderController extends BaseController {
//批量导出报价单
@RequestMapping("/exportSupplierSingleAll")
public void exportSupplierSingleAll(HttpServletResponse response, Long[] ids) throws Exception {
public void exportSupplierSingleAll(HttpServletResponse response, Long[] ids ,String type) throws Exception {
// purchaseApplyOrderService.exportSupplier(response, id);
purchaseApplyOrderService.exportSupplierSingleAll(response, ids);
purchaseApplyOrderService.exportSupplierSingleAll(response, ids, type);
}
//批量发送报价单
@RequestMapping("/sendSupplierAll")
@ResponseBody
public Message sendSupplierAll( Long[] ids) throws Exception {
public Message sendSupplierAll( Long[] ids, String type) throws Exception {
try {
purchaseApplyOrderService.sendSupplierAll(ids);
purchaseApplyOrderService.sendSupplierAll(ids, type);
return Message.success("发送成功");
}catch (Exception e){
e.printStackTrace();