package com.bonus.canteen.core.account.v3.api.vo;

import cn.hutool.core.util.ObjectUtil;
import cn.hutool.json.JSONUtil;
import com.bonus.canteen.core.account.v3.po.AccInfoUpdatePO;
import com.bonus.canteen.core.account.v3.service.AccInfoService;
import com.bonus.canteen.core.account.v3.service.AccWalletInfoService;
import com.bonus.canteen.core.account.v4.api.CardInfoServiceV4Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;

@Service
@Validated
public class AccInfoServiceV3Api {
   private static final Logger log = LoggerFactory.getLogger(AccInfoServiceV3Api.class);
   public static final String ACC_NOT_EXITS = "acc_not_exits";
   @Autowired
   @Lazy
   private AccInfoService accInfoService;

   public void updateAccInfo(AccInfoUpdatePO updatePO) {
      this.accInfoService.updateAccInfo(updatePO);
   }



}
