package com.bonus.core.nutrition.common.service.impl;

import com.bonus.core.nutrition.common.mapper.HealthInfoMapper;
import com.bonus.core.nutrition.common.service.HealthInfoService;
import com.bonus.core.nutrition.common.vo.HealthInfoSimpleVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class HealthInfoServiceImpl implements HealthInfoService {
   @Autowired
   private HealthInfoMapper healthInfoMapper;

   @Override
   public HealthInfoSimpleVo simplifyHealthInfo(Long custId) {
      return healthInfoMapper.getSimpleInfo(custId);
   }

}
