Commit 12ac6d29 authored by zhangfeng's avatar zhangfeng

Revert "兑换记录核销回退修改"

This reverts commit 0bc88d2f.
parent 0bc88d2f
......@@ -28,7 +28,6 @@ import java.io.IOException;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
......@@ -76,8 +75,8 @@ public class RedeemRewardController {
@PostMapping("record/verify-back")
@ApiOperation("核销回退")
public CommonResult<Boolean> verifyBack(@Valid @RequestBody List<String> redeemIds) {
return success(rewardRedeemService.verifyBack(redeemIds.stream().map(Long::valueOf).collect(Collectors.toList())));
public CommonResult<Boolean> verifyBack(@Valid @RequestBody List<Long> redeemIds) {
return success(rewardRedeemService.verifyBack(redeemIds));
}
@PostMapping("record/export")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment