| | |
| | | import java.util.stream.Collectors; |
| | | |
| | | import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success; |
| | | import static cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils.getLoginUserId; |
| | | import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.convertSet; |
| | | import static cn.iocoder.yudao.framework.common.util.collection.MapUtils.findAndThen; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private StorageAttachmentApi storageAttachmentApi; |
| | | |
| | | @GetMapping("/fee-confirm-available") |
| | | @Operation(summary = "判断当前用户能否确认缴费状态") |
| | | public CommonResult<Boolean> canConfirmFee(@RequestParam("id") Long id) { |
| | | return success(applicationService.canConfirmFee(id, getLoginUserId())); |
| | | } |
| | | |
| | | @PutMapping("/confirm-fee") |
| | | @Operation(summary = "当前审批人确认缴费状态") |
| | | public CommonResult<Boolean> confirmFee(@RequestParam("id") Long id, @RequestParam("feePaid") Boolean feePaid) { |
| | | applicationService.confirmFee(id, getLoginUserId(), feePaid); |
| | | return success(true); |
| | | } |
| | | |
| | | @PostMapping("/create") |
| | | @Operation(summary = "创建入会申请") |
| | |
| | | }); |
| | | } |
| | | |
| | | } |
| | | } |