CustomerService.java 625 B

12345678910111213141516171819202122232425
  1. package com.loan.system.service;
  2. import com.loan.system.domain.entity.Customer;
  3. import com.loan.system.domain.vo.CustomerVO;
  4. import java.util.List;
  5. public interface CustomerService {
  6. /**
  7. * 新增客户
  8. * @param customer 客户信息
  9. * @return 保存后的客户信息
  10. */
  11. Customer addCustomer(Customer customer);
  12. void updateMarriedStatusById(Long customerId, String marriedStatus);
  13. CustomerVO findByCustomerId(Long customerId);
  14. List<CustomerVO> getAllCustomers(boolean b);
  15. CustomerVO getCustomerByKey(String key, boolean b);
  16. CustomerVO getCustomerByMobile(String tel);
  17. }