✨ 客户列表增加账单入口和权限

This commit is contained in:
caojia
2026-10-27 20:27:06 +08:00
parent db787ec7f7
commit acfdfd5cbf
4 changed files with 42 additions and 4 deletions
@@ -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)