BusinessService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package com.goafanti.customer.service;
  2. import java.text.ParseException;
  3. import java.util.List;
  4. import com.goafanti.common.model.UserBusiness;
  5. import com.goafanti.core.mybatis.page.Pagination;
  6. import com.goafanti.customer.bo.BusinessListBo;
  7. import com.goafanti.customer.bo.BussinessFollowBo;
  8. public interface BusinessService {
  9. /**
  10. * 查询服务列表
  11. * @param blo
  12. * @return
  13. */
  14. Pagination<BusinessListBo> listBusiness(BusinessListBo blo,Integer pageNo,Integer pageSize);
  15. /**
  16. * 意向字典
  17. * @return
  18. */
  19. List<BusinessListBo> findBusinessGlossory();
  20. /**
  21. *
  22. * @param uid 客户ID
  23. * @param businessGlossoryId 业务意向字典ID
  24. * @return
  25. */
  26. int judgeBusiness(String uid,Integer businessGlossoryId);
  27. /**
  28. * 添加意向服务和跟进记录
  29. * @param bfb
  30. */
  31. void addBusinessAndFollow(BussinessFollowBo bfb) throws ParseException ;
  32. /**
  33. * 查询业务列表
  34. * @param uid 客户ID
  35. * @param aid 营销员ID
  36. * @return
  37. */
  38. List<UserBusiness> findBusinessByUAid(String uid,String aid);
  39. /**
  40. * 查看业务意向详情
  41. * @param businessId
  42. * @return
  43. */
  44. BussinessFollowBo findBusinessDetail(String businessId);
  45. /**
  46. * 修改业务意向
  47. * @param bfb
  48. * @return
  49. */
  50. int updateBusiness(BussinessFollowBo bfb);
  51. /**
  52. * 跟进单个业务意向
  53. * @param bfb
  54. * @return
  55. */
  56. int followOneBusiness(BussinessFollowBo bfb) throws ParseException;
  57. }