|
@@ -50,7 +50,7 @@ public class BPaymentCollectionController {
|
|
|
*/
|
|
|
@ApiOperation(value = "获取入账分页", notes = "获取入账分页")
|
|
|
@PostMapping("/get/entryPage")
|
|
|
- @PreAuthorize("@ss.hasPermi('paymentCollection:entry:pages')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('financial:entryAndExit:entry')")
|
|
|
public ResponseResult<GridPage<BillingIncomePageVo>> getEntryPage(
|
|
|
@RequestBody BillingIncomeSearchDto incomeSearchDto) {
|
|
|
return ResponseResult.success(paymentCollectionService.queryListByPage(incomeSearchDto));
|
|
@@ -102,7 +102,7 @@ public class BPaymentCollectionController {
|
|
|
*/
|
|
|
@ApiOperation(value = "提交入账申请审核", notes = "提交入账申请审核")
|
|
|
@PostMapping("/submit/entryReview")
|
|
|
- @PreAuthorize("@ss.hasPermi('paymentCollection:submit:entryReview')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('financial:entryAndExit:entryAudit')")
|
|
|
public ResponseResult<Boolean> submitEntryReview(@RequestBody @Validated EntryReviewDto entryReviewDto) {
|
|
|
return ResponseResult.success(paymentCollectionService.submitEntryReview(entryReviewDto));
|
|
|
}
|
|
@@ -114,7 +114,7 @@ public class BPaymentCollectionController {
|
|
|
*/
|
|
|
@ApiOperation(value = "获取入账详情", notes = "获取入账详情")
|
|
|
@GetMapping("/get/billingIncomeDetail")
|
|
|
- @PreAuthorize("@ss.hasPermi('paymentCollection:entry:detail')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('financial:entryAndExit:entryDetail')")
|
|
|
public ResponseResult<BillingIncomeDetailDto> getBillingIncomeDetail(Long id) {
|
|
|
return ResponseResult.success(paymentCollectionService.getBillingIncomeDetail(id));
|
|
|
}
|
|
@@ -142,7 +142,7 @@ public class BPaymentCollectionController {
|
|
|
*/
|
|
|
@ApiOperation(value = "获取出账分页", notes = "获取出账分页")
|
|
|
@PostMapping("/get/disbursementPage")
|
|
|
- @PreAuthorize("@ss.hasPermi('paymentCollection:disbursement:pages')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('financial:entryAndExit:exit')")
|
|
|
public ResponseResult<GridPage<BillingDisbursementPageVo>> getDisbursementPage(
|
|
|
@RequestBody DisbursementSearchDto searchDto) {
|
|
|
return ResponseResult.success(billingDisbursementService.queryListByPage(searchDto));
|
|
@@ -156,7 +156,7 @@ public class BPaymentCollectionController {
|
|
|
*/
|
|
|
@ApiOperation(value = "提交出账确认", notes = "提交出账确认")
|
|
|
@PostMapping("/submit/disbursementConfirmed")
|
|
|
- @PreAuthorize("@ss.hasPermi('paymentCollection:submit:disbursementConfirmed')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('financial:entryAndExit:exitConfirm')")
|
|
|
public ResponseResult<Boolean> confirmedDisbursement(
|
|
|
@RequestBody @Valid ConfirmedDisbursementDto confirmedDisbursementDto) {
|
|
|
return ResponseResult.success(billingDisbursementService.confirmedDisbursement(confirmedDisbursementDto));
|
|
@@ -169,7 +169,7 @@ public class BPaymentCollectionController {
|
|
|
*/
|
|
|
@ApiOperation(value = "获取出账详情", notes = "获取出账详情")
|
|
|
@GetMapping("/get/disbursementDetail")
|
|
|
- @PreAuthorize("@ss.hasPermi('paymentCollection:disbursement:detail')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('financial:entryAndExit:exitDetail')")
|
|
|
public ResponseResult<BillingDisbursementDetail> getDisbursementDetail(Long id) {
|
|
|
return ResponseResult.success(billingDisbursementService.queryDetailV2(id));
|
|
|
}
|