CustomerLabelDemoServiceImpl.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package com.yijia.label.service.impl;
  2. import com.yijia.label.domain.CustomerLabelDemo;
  3. import com.yijia.label.mapper.CustomerLabelDemoMapper;
  4. import com.yijia.label.service.ICustomerLabelDemoService;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.stereotype.Service;
  7. import java.util.List;
  8. /**
  9. * 用户标签Service业务层处理
  10. *
  11. * @author yijia
  12. * @date 2021-06-15
  13. */
  14. @Service
  15. public class CustomerLabelDemoServiceImpl implements ICustomerLabelDemoService
  16. {
  17. @Autowired(required = false)
  18. private CustomerLabelDemoMapper customerLabelDemoMapper;
  19. /**
  20. * 查询用户标签列表
  21. *
  22. * @param customerLabelDemo 用户标签
  23. * @return 用户标签
  24. */
  25. @Override
  26. public List<CustomerLabelDemo> selectCustomerLabelDemoList(CustomerLabelDemo customerLabelDemo) {
  27. return customerLabelDemoMapper.selectCustomerLabelDemoList(customerLabelDemo);
  28. }
  29. @Override
  30. public List<CustomerLabelDemo> selectPhoneCustomerLabelList(CustomerLabelDemo customerLabelDemo) {
  31. return customerLabelDemoMapper.selectPhoneCustomerLabelList(customerLabelDemo);
  32. }
  33. /***
  34. * 二次查询
  35. * @param customerLabelDemo
  36. * @return
  37. */
  38. @Override
  39. public List<CustomerLabelDemo> secondCustomerLabelDemoList(CustomerLabelDemo customerLabelDemo) {
  40. return customerLabelDemoMapper.secondCustomerLabelDemoList(customerLabelDemo);
  41. }
  42. }