| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.dto.SaveUnionChangeDTO; |
| | | import com.doumee.dao.business.dto.SmsCheckDTO; |
| | | import com.doumee.dao.business.dto.UnionChangeBXDDTO; |
| | | import com.doumee.dao.business.model.UnionChange; |
| | | import com.doumee.service.business.UnionChangeService; |
| | |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:unionchange:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(unionChangeService.findById(id)); |
| | | return ApiResponse.success(unionChangeService.getDetail(id)); |
| | | } |
| | | |
| | | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("创建合并单") |
| | |
| | | |
| | | |
| | | @ApiOperation("签署申请单") |
| | | @GetMapping("/getSignLink") |
| | | @PostMapping("/getSignLink") |
| | | @RequiresPermissions("business:unionchange:query") |
| | | public ApiResponse getSignLink(@RequestParam Integer id) { |
| | | unionChangeService.getSignLink(id); |
| | | public ApiResponse getSignLink(@RequestBody SmsCheckDTO smsCheckDTO) { |
| | | unionChangeService.getSignLink(smsCheckDTO); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |