| | |
| | | TBillDetailService tBillDetailService; |
| | | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:bill:list')") |
| | | @PreAuthorize("@ss.hasPermi('bill:list')") |
| | | @PostMapping("list") |
| | | @ApiOperation("分页查询账单列表") |
| | | public R<PageInfo<TBillDto>> list(@RequestBody TBillQuery query){ |
| | |
| | | return R.ok(pageInfo); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:bill:add')") |
| | | @PreAuthorize("@ss.hasPermi('bill:list:addRent')") |
| | | @PostMapping("add") |
| | | @ApiOperation("新增账单") |
| | | public R<PageInfo<TBillDto>> add(@Validated @RequestBody TbillSaveDto bill){ |
| | |
| | | } |
| | | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:bill:checkOfflinePay')") |
| | | @PreAuthorize("@ss.hasPermi('bill:list:paid')") |
| | | @ApiOperation("确认线下缴费") |
| | | @PostMapping("checkOfflinePay") |
| | | public R checkOfflinePay(@Validated @RequestBody OfflinePayCheckDto dto){ |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:bill:sendSmsByBillIds')") |
| | | @PreAuthorize("@ss.hasPermi('bill:list:sendMsg')") |
| | | @ApiOperation("账单批量发送短信通知") |
| | | @PostMapping("sendSmsByBillIds") |
| | | public R sendSmsByBillIds(@Validated @RequestBody SmsByBillDto dto){ |
| | |
| | | } |
| | | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:bill:sendMailBatchByBillIds')") |
| | | @PreAuthorize("@ss.hasPermi('bill:list:sendMail')") |
| | | @ApiOperation("账单批量发送邮箱通知") |
| | | @PostMapping("sendMailBatchByBillIds") |
| | | public R sendMailBatchByBillIds(@Validated @RequestBody SmsByBillDto dto){ |
| | |
| | | return R.ok(failNum); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:bill:cashPay')") |
| | | @PreAuthorize("@ss.hasPermi('bill:list:receipt')") |
| | | @ApiOperation("收款") |
| | | @PostMapping("cashPay") |
| | | public R cashPay(@RequestBody OfflinePayDto offlinePayDto){ |