Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
f1f18cd3
Commit
f1f18cd3
authored
Apr 19, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面试通知
parent
58a9325d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
+25
-1
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
+13
-1
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglWxgzptServiceImpl.java
+2
-0
src/main/java/cn/timer/api/dto/wxgzh/MessageQueueDto.java
+10
-0
No files found.
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
View file @
f1f18cd3
...
...
@@ -214,12 +214,24 @@ public class ZpglServiceImpl implements ZpglService {
if
(
count
&&
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW
.
equals
(
zpglRcxxDto
.
getStatus
())
&&
JxglEnumInterface
.
NoticeWay
.
WECHAT_PUBLIC
.
equals
(
zpglRcxxDto
.
getNoticeWay
())){
InterviewNotice
interviewNotice
=
new
InterviewNotice
();
interviewNotice
.
setName
(
zpglRcxxEntity
.
getName
());
interviewNotice
.
setType
(
zpglRcxxDto
.
getNoticeWay
());
interviewNotice
.
setEmail
(
zpglRcxxEntity
.
getMail
());
//公众号类型 1:8小时企业管理 2:优领人才网
interviewNotice
.
setWxgzhType
(
1
);
//1 即时发送,2 定时发送
interviewNotice
.
setTiming
(
1
);
interviewNotice
.
setInterviewTime
(
zpglRcxxDto
.
getInterviewTime
());
// 通知面试官
interviewNotice
.
setMobile
(
""
);
YgglMainEmp
ygglMainEmp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
select
(
"phone"
).
lambda
()
.
eq
(
YgglMainEmp:
:
getOrgCode
,
userBean
.
getOrgCode
()).
eq
(
YgglMainEmp:
:
getEmpNum
,
zpglRcxxDto
.
getId
()));
if
(!
StringUtils
.
isEmpty
(
ygglMainEmp
)){
interviewNotice
.
setMobile
(
ygglMainEmp
.
getPhone
());
interviewNotice
.
setYgglMainEmpId
(
ygglMainEmp
.
getId
());
}
interviewNotice
.
setTemplateId
(
MessageTemplate
.
TEMPLATE_ID_TO_INTERVIEWER
);
zpglWxgzptService
.
addInterviewMessageQueue
(
interviewNotice
);
// 通知面试者
interviewNotice
.
setZpglRcxxId
(
zpglRcxxEntity
.
getId
());
interviewNotice
.
setMobile
(
zpglRcxxEntity
.
getMobile
());
interviewNotice
.
setTemplateId
(
MessageTemplate
.
TEMPLATE_ID_TO_INTERVIEWEE
);
zpglWxgzptService
.
addInterviewMessageQueue
(
interviewNotice
);
...
...
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglWxgzptServiceImpl.java
View file @
f1f18cd3
...
...
@@ -34,6 +34,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
* @param map
* @return
*/
@Override
public
String
addMessageQueue
(
Map
<
String
,
Object
>
map
)
{
return
HttpUtil
.
post
(
serverUrl
+
"/wxgzh/addMessageQueue"
,
map
);
}
...
...
@@ -45,6 +46,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
* @param interviewNotice
* @return
*/
@Override
public
String
addInterviewMessageQueue
(
InterviewNotice
interviewNotice
)
{
//消息队列对象
MessageQueueDto
mqd
=
new
MessageQueueDto
();
...
...
src/main/java/cn/timer/api/dto/wxgzh/MessageQueueDto.java
View file @
f1f18cd3
...
...
@@ -104,6 +104,16 @@ public class MessageQueueDto {
*/
private
Date
updateTime
;
/**
* 人才信息ID
*/
private
Integer
zpglRcxxId
;
/**
* 员工档案表ID
*/
private
Integer
ygglMainEmpId
;
@TableField
(
exist
=
false
)
private
static
final
long
serialVersionUID
=
1L
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment