| | |
| | | package cn.exrick.xboot.your.serviceimpl; |
| | | |
| | | import cn.exrick.xboot.your.vo.Month; |
| | | import cn.exrick.xboot.your.mapper.CustomerMapper; |
| | | import cn.exrick.xboot.your.entity.Customer; |
| | | import cn.exrick.xboot.your.service.ICustomerService; |
| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | return (i*100)/i2; |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public Month getCustomerCount(Integer year) { |
| | | return customerMapper.getCustomerCount(year); |
| | | } |
| | | |
| | | @Override |
| | | public int sumLogin() { |
| | | return customerMapper.sumLogin(); |
| | | } |
| | | |
| | | @Override |
| | | public List<Customer> getYiHuDuoZheng() { |
| | | return customerMapper.getYiHuDuoZheng(); |
| | | } |
| | | } |