| | |
| | | private TCheckAcceptRecordService checkAcceptRecordService; |
| | | @ApiOperation(value = "测试生成账单") |
| | | @PostMapping(value = "/testBill") |
| | | |
| | | public R testBill(String id) { |
| | | TContract contract = contractService.getById(id); |
| | | // 查询所有已签订的合同并且未生成第一笔账单的 |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:contract:delete')") |
| | | |
| | | @DeleteMapping(value = "/deleteContractByIds") |
| | | public R<Boolean> deleteContractByIds |
| | | (@RequestParam String ids) { |
| | | public R<Boolean> deleteContractByIds(@RequestParam String ids) { |
| | | if (StringUtils.isNotEmpty(ids)){ |
| | | contractService.removeBatchByIds(Arrays.asList(ids.split(","))); |
| | | } |