| | |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.dao.business.model.WithdrawRecord; |
| | | import com.doumee.service.business.IntegralService; |
| | | import com.doumee.service.business.WithdrawRecordService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | |
| | | @Autowired |
| | | private WithdrawRecordService withdrawRecordService; |
| | | |
| | | @Autowired |
| | | private IntegralService integralService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("新建") |
| | |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:withdrawrecord:update") |
| | | public ApiResponse updateById(@RequestBody WithdrawRecord withdrawRecord) { |
| | | withdrawRecordService.updateById(withdrawRecord); |
| | | withdrawRecordService.updateById(withdrawRecord,integralService); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |