✨ 客户列表增加账单入口和权限
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ public class CustomerBillController extends BaseController
|
||||
/**
|
||||
* 查询指定客户的应收账单(分页)。客户ID来自路径并覆盖查询对象中的同名参数。
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('customersupplier:customerinfo:list')")
|
||||
@PreAuthorize("@ss.hasPermi('customersupplier:customerinfo:bill')")
|
||||
@GetMapping("/list/{customerId}")
|
||||
public AjaxResult billList(@PathVariable("customerId") Long customerId, ArBillQuery query)
|
||||
{
|
||||
@@ -73,7 +73,7 @@ public class CustomerBillController extends BaseController
|
||||
/**
|
||||
* 按当前筛选条件导出指定客户的全部应收账单,不受列表分页参数影响。
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('customersupplier:customerinfo:export')")
|
||||
@PreAuthorize("@ss.hasPermi('customersupplier:customerinfo:bill') and @ss.hasPermi('customersupplier:customerinfo:export')")
|
||||
@Log(title = "客户账单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export/{customerId}")
|
||||
public void export(HttpServletResponse response, @PathVariable("customerId") Long customerId, ArBillQuery query)
|
||||
|
||||
Reference in New Issue
Block a user