OrderProjectService.java 4.7 KB

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