| | |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.dto.SaveUnionApplyDTO; |
| | | import com.doumee.dao.business.dto.UnionApplyBXDDTO; |
| | | import com.doumee.dao.business.dto.UploadMultifileDTO; |
| | | import com.doumee.dao.business.dto.*; |
| | | import com.doumee.dao.business.model.UnionApply; |
| | | import com.doumee.service.business.UnionApplyService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | } |
| | | |
| | | @ApiOperation("关闭合并单") |
| | | @GetMapping("/close") |
| | | @PostMapping("/close") |
| | | @RequiresPermissions("business:unionapply:close") |
| | | public ApiResponse close(@RequestParam Integer id) { |
| | | unionApplyService.cancelMerge(id); |
| | | public ApiResponse close(@RequestBody CloseDTO closeDTO) { |
| | | unionApplyService.cancelMerge(closeDTO); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation("签署申请单") |
| | | @GetMapping("/getSignLink") |
| | | @PostMapping("/getSignLink") |
| | | @RequiresPermissions("business:unionapply:query") |
| | | public ApiResponse getSignLink(@RequestParam Integer id) { |
| | | unionApplyService.getSignLink(id); |
| | | public ApiResponse getSignLink(@RequestBody SmsCheckDTO smsCheckDTO) { |
| | | unionApplyService.getSignLink(smsCheckDTO); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | |
| | | unionApplyService.uploadBXD(unionApplyBXDDTO); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | |
| | | } |