Blame view

service-job/src/main/java/com/java110/job/msgNotify/IMsgNotify.java 4.8 KB
88e030b7   王彪总   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  package com.java110.job.msgNotify;
  
  import com.alibaba.fastjson.JSONObject;
  import com.java110.dto.notice.NoticeStaffDto;
  import com.java110.dto.notice.NoticeWechatDto;
  import com.java110.vo.ResultVo;
  
  import java.util.List;
  
  /**
   * 消息通知 接口类
   */
  public interface IMsgNotify {
  
      /**
       * 发送退费申请 消息
       *
       * @param userId
       * @param content
       * @return
       */
      ResultVo sendApplyReturnFeeMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 发送欠费 账单信息
       *
9750b443   王彪总   fix(config): 更新配置...
27
       * @param communityId 项目
88e030b7   王彪总   init project
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
       * @param userId 用户
       * @param contents [{
       *                    "feeTypeName",
       *                     "payerObjName",
       *                     "billAmountOwed",
       *                     "date",
       *                url
       * }]
       * @return
       */
      ResultVo sendOweFeeMsg(String communityId, String userId,String ownerId, List<JSONObject> contents);
  
      /**
       * 发送缴费成功提醒
       *
9750b443   王彪总   fix(config): 更新配置...
43
       * @param communityId 项目
88e030b7   王彪总   init project
44
45
46
47
48
49
50
51
52
53
54
55
56
       * @param userId 用户
       * @param content {
       *                    "payFeeRoom",
       *                     "feeTypeCdName",
       *                     "payFeeTime",
       *                     "receivedAmount",
       *                url
       * }
       */
      ResultVo sendPayFeeMsg(String communityId, String userId, JSONObject content,String role);
  
      /**
       * 业主报修时
9750b443   王彪总   fix(config): 更新配置...
57
       * @param communityId 项目
88e030b7   王彪总   init project
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
       * @param userId 用户
       * @param content {
       *                repairId,
       *                repairTypeName
       *                repairObjName
       *                repairName
       *                url
       * }
       * @return
       */
      ResultVo sendAddOwnerRepairMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 派单给维修师傅
       *
9750b443   王彪总   fix(config): 更新配置...
73
       * @param communityId 项目
88e030b7   王彪总   init project
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
       * @param userId      用户
       * @param content     {
       *                    repairId,
       *                    repairName
       *                    tel
       *                    time
       *                    address
       *                    }
       * @return
       */
      ResultVo sendDistributeRepairStaffMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 派单给业主通知
       *
9750b443   王彪总   fix(config): 更新配置...
89
       * @param communityId 项目
88e030b7   王彪总   init project
90
91
92
93
94
95
96
97
98
99
100
101
102
103
       * @param userId      用户
       * @param content     {
       *                    name
       *                    tel
       *                    time
       *                    url
       *                    }
       * @return
       */
      ResultVo sendDistributeRepairOwnerMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 报修完成给业主通知
       *
9750b443   王彪总   fix(config): 更新配置...
104
       * @param communityId 项目
88e030b7   王彪总   init project
105
106
107
108
109
110
111
112
113
114
115
116
117
118
       * @param userId      用户
       * @param content     {
       *                    repairObjName
       *                    staffName
       *                    time
       *                    url
       *                    }
       * @return
       */
      ResultVo sendFinishRepairOwnerMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 退单给业主发送消息
       *
9750b443   王彪总   fix(config): 更新配置...
119
       * @param communityId 项目
88e030b7   王彪总   init project
120
121
122
123
124
125
126
127
128
129
130
131
132
133
       * @param userId      用户
       * @param content     {
       *                    repairTypeName
       *                    repairObjName
       *                    repairName
       *                    url
       *                    }
       * @return
       */
      ResultVo sendReturnRepairMsg(String communityId, String userId, JSONObject content);
  
      /**
       *  oa 流程待审批通知
       *
9750b443   王彪总   fix(config): 更新配置...
134
       * @param communityId 项目
88e030b7   王彪总   init project
135
136
137
138
139
140
141
142
143
144
145
146
147
148
       * @param userId      用户
       * @param content     {
       *                    flowName
       *                    create_user_name
       *                    create_time
       *                    url
       *                    }
       * @return
       */
      ResultVo sendOaDistributeMsg(String communityId, String userId, JSONObject content);
  
      /**
       *  oa 流程通知发起人
       *
9750b443   王彪总   fix(config): 更新配置...
149
       * @param communityId 项目
88e030b7   王彪总   init project
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
       * @param userId      用户
       * @param content     {
       *                    flowName
       *                    staffName
       *                    url
       *                    }
       * @return
       */
      ResultVo sendOaCreateStaffMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 投诉通知 员工
       * @param communityId
       * @param userId
       * @param content
       * @return
       */
      ResultVo sendComplaintMsg(String communityId, String userId, JSONObject content);
  
      /**
       * 通知员工
       *
       * @param noticeStaffDto
       * @return
       */
      ResultVo sendStaffMsg(NoticeStaffDto noticeStaffDto);
  
      /**
       * 微信通知消息
       * @param noticeWechatDto
       * @return
       */
      ResultVo sendWechatMsg(NoticeWechatDto noticeWechatDto);
  }