管道请购单列表,导出及发送报价单去除不采购物品,添加查看请购单
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user