CustomerMapper.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package net.chenlin.dp.modules.api.dao;
  2. import net.chenlin.dp.modules.api.vo.*;
  3. import net.chenlin.dp.modules.sys.dao.BaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * 销售订单
  9. * @author zcl<yczclcn@163.com>
  10. */
  11. @Mapper
  12. public interface CustomerMapper extends BaseMapper<Customer> {
  13. /**
  14. * crm客户档案查询
  15. * @return
  16. */
  17. List<Customer>CustomerList();
  18. /**
  19. * crm客户档案银行查询
  20. * @param code
  21. * @return
  22. */
  23. List<CustomerBanks>bank(@Param("code")String code);
  24. /**
  25. * crm客户档案地址查询
  26. * @param code
  27. * @return
  28. */
  29. List<CustomerAddress>addr(@Param("code")String code);
  30. /**
  31. * u8客户档案新增
  32. * @param customer
  33. * @return
  34. */
  35. int UAddCustomer(Customer customer);
  36. /**
  37. * u8客户档案银行新增
  38. * @param banks
  39. * @return
  40. */
  41. int UAddCustomerBank(List<CustomerBanks>banks);
  42. /**
  43. * u8客户档案收获地址新增
  44. * @param addresses
  45. * @return
  46. */
  47. int UAddCustomerAddr(List<CustomerAddress>addresses);
  48. /**
  49. * u8客户接口查询数据
  50. * @return
  51. */
  52. List<ICustomer>ICustomerList();
  53. /**
  54. * 更新客户档案同步状态
  55. * @param id
  56. * @return
  57. */
  58. int UpdateCustomer(@Param("id")String id);
  59. /**
  60. * 客户档案修改
  61. * @return
  62. */
  63. List<ICustomerEdit>ICustomerEditList();
  64. }