OrderProjectService.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package com.goafanti.order.service;
  2. import java.util.List;
  3. import com.goafanti.common.bo.Result;
  4. import com.goafanti.common.bo.UserOrderTask;
  5. import com.goafanti.common.model.MemberLog;
  6. import com.goafanti.common.model.TOrderTask;
  7. import com.goafanti.common.model.TTaskHours;
  8. import com.goafanti.core.mybatis.page.Pagination;
  9. import com.goafanti.order.bo.*;
  10. import com.goafanti.order.bo.InputProjectCheck;
  11. import com.goafanti.organization.bo.OutPaymentNode;
  12. public interface OrderProjectService {
  13. /**
  14. *
  15. * @param taskId 项目ID
  16. * @param taskReceiverId 受理人ID
  17. * @param type 0管理员派单 1经理转交 2经理派单 3咨询师转交 4回退
  18. * @return
  19. */
  20. int updateProjectDistribution(Integer taskId, String taskReceiverId, String remarks,Integer type);
  21. Pagination<TOrderTaskListBo> orderTaskList(inuptTaskListBo ib);
  22. TOrderTaskDetailBo orderTaskDetail(Integer id);
  23. int updateOrderTask(TOrderTaskDetailBo t);
  24. int addTaskHours(TTaskHours t);
  25. Pagination<TOrderTaskListBo> taskHoursList(inuptTaskHoursListBo ib,
  26. Integer pageNo, Integer pageSize);
  27. Pagination<TOrderTaskListBo> selectTaskList(String name, String orderNo, String taskId, Integer taskStatus, String adminName,
  28. Integer specially,String depId , Integer pageNo, Integer pageSize);
  29. List<TaskLogBo> TaskLogList(Integer id);
  30. int createTaskProgress(TaskProgressBo t);
  31. int delectTaskProgress(Integer id);
  32. List<TaskProgressBo> selectTaskProgress(Integer tid);
  33. List<TTaskHours> taskHoursDetailsList(String taskId);
  34. void checkProjiectAllocation(String orderNo);
  35. int pushSplitProject(Integer tid, String splitList);
  36. List<TOrderTaskListBo> splitProjectList(Integer tid,Integer type);
  37. void addNoticAndEmail(OutPaymentNode pn, Integer code);
  38. List<OutTaskProgressLog> selectTaskProgressLog(Integer tid);
  39. int updateTaskProgress(TaskProgressBo t);
  40. Pagination<managerListBo> managerSelect(String name, String orderNo, String contractNo, String cid, String projectType, String depId,
  41. String techDepId, Integer declarationBatch, String commodityPrice, String startTime, String endTime, Integer pageNo, Integer pageSize);
  42. int updateProjectStatus(UpdateProjectStatusBo b);
  43. List<taskAttributionLogBo> taskAttributionLog(Integer tid);
  44. List<UserOrderTask> selectUidByproject(String uid);
  45. int addProjectCheck(Integer tid);
  46. Object projectCheckLog(Integer tid);
  47. Object selectProjectCheck(InputProjectCheck in);
  48. List<OutHighNewRetrialStatistics> highNewRetrialStatistics(String depId, String startDate, String endDate);
  49. List<OutHighNewRetrialList> highNewRetrialList(String province, String depId, String aid, Integer sort, String startDate, String endDate);
  50. Pagination<OutMemberList> memberList(InputMemberList in);
  51. Result memberListExport(InputMemberList in);
  52. int updateMemberProject(InputAddTask t);
  53. int pushExamineMemberProject(InputMenber in);
  54. void addMemberLog(Integer id,Integer status ,String remarks);
  55. List<MemberLogBo> memberLog(Integer id);
  56. /**
  57. *
  58. * @param tid
  59. * @param serviceYear
  60. * @param taskComment
  61. * @param type 0首次新增 1会员新增
  62. * @return
  63. */
  64. TOrderTask addMemberSonProject(Integer tid, String serviceYear, String taskComment,Integer type,String pictureUrl);
  65. /**
  66. *
  67. * @param type 消息类型
  68. * @param b 订单信息
  69. * @param shiroType 0财务 1特批
  70. * @param result 0审核 1通过
  71. */
  72. void addNoticMember(Integer type, TOrderNewBo b,Integer shiroType,Integer result);
  73. int deleteMemberSonProject(Integer id);
  74. /**
  75. *
  76. * @param tid 项目编号
  77. * @param processStatus 流程状态 0-已派营销员,1-已派营销员管理员,2-已派财务管理员,3-已派财务专员,4-已派咨询师管理员,5-已部分派咨询师经理,6-已部全部派咨询师经理
  78. * @return
  79. */
  80. boolean checkOrderProcessStatus(Integer tid, Integer processStatus);
  81. /**
  82. * 根据订单编号获取项目编号来判断当前订单的流程状态
  83. * 仅用于咨询师管理员以后
  84. * @param orderNo
  85. * @return
  86. */
  87. Integer getOrderProcessStatus(String orderNo);
  88. void updateMidServiceProject(String orderNo);
  89. }