liukangdong
2024-05-16 f30ccbaa6b7fd1292bcb61afd6d5dd0c7b6bf410
server/visits/dmvisit_admin/src/main/java/com/doumee/api/business/MemberCardController.java
@@ -71,7 +71,7 @@
    @PostMapping("/batchLoss")
    @RequiresPermissions("business:membercard:update")
    public ApiResponse batchLoss(@RequestBody List<MemberCard> memberCards) {
        memberCardService.updateByIdInBatch(memberCards,0,this.getLoginUser());
        memberCardService.updateByIdInBatch(memberCards,0,this.getLoginUser(null));
        return ApiResponse.success(null);
    }
@@ -79,7 +79,7 @@
    @PostMapping("/batchUnLoss")
    @RequiresPermissions("business:membercard:update")
    public ApiResponse batchUnLoss(@RequestBody List<MemberCard> memberCards) {
        memberCardService.updateByIdInBatch(memberCards,1,this.getLoginUser());
        memberCardService.updateByIdInBatch(memberCards,1,this.getLoginUser(null));
        return ApiResponse.success(null);
    }