CustomerMapper.java 767 B

123456789101112131415161718192021222324252627282930
  1. package com.dk.mdm.mapper.mst;
  2. import com.dk.mdm.model.pojo.mst.Customer;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.mdm.model.query.mst.CustomerQuery;
  5. import com.dk.mdm.model.response.mst.CustomerResponse;
  6. import org.springframework.stereotype.Repository;
  7. import java.util.List;
  8. /**
  9. * 客户资料 Mapper
  10. */
  11. @Repository
  12. public interface CustomerMapper extends BaseMapper<Customer>{
  13. /**
  14. * @desc : 根据条件进行查询
  15. * @author : 于继渤
  16. * @date : 2024/2/26 10:36
  17. */
  18. List<CustomerResponse> selectByCond(CustomerQuery customerQuery);
  19. /**
  20. * @desc : 根据条件进行查询(数量)
  21. * @author : 于继渤
  22. * @date : 2024/2/26 10:36
  23. */
  24. Long countByCond(CustomerQuery customerQuery);
  25. }