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
932bb82e
Commit
932bb82e
authored
Apr 19, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面试通知
parent
db763a63
Hide 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 @
932bb82e
...
@@ -214,12 +214,24 @@ public class ZpglServiceImpl implements ZpglService {
...
@@ -214,12 +214,24 @@ public class ZpglServiceImpl implements ZpglService {
if
(
count
&&
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW
.
equals
(
zpglRcxxDto
.
getStatus
())
&&
JxglEnumInterface
.
NoticeWay
.
WECHAT_PUBLIC
.
equals
(
zpglRcxxDto
.
getNoticeWay
())){
if
(
count
&&
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW
.
equals
(
zpglRcxxDto
.
getStatus
())
&&
JxglEnumInterface
.
NoticeWay
.
WECHAT_PUBLIC
.
equals
(
zpglRcxxDto
.
getNoticeWay
())){
InterviewNotice
interviewNotice
=
new
InterviewNotice
();
InterviewNotice
interviewNotice
=
new
InterviewNotice
();
interviewNotice
.
setName
(
zpglRcxxEntity
.
getName
());
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
.
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
);
interviewNotice
.
setTemplateId
(
MessageTemplate
.
TEMPLATE_ID_TO_INTERVIEWER
);
zpglWxgzptService
.
addInterviewMessageQueue
(
interviewNotice
);
zpglWxgzptService
.
addInterviewMessageQueue
(
interviewNotice
);
// 通知面试者
// 通知面试者
interviewNotice
.
setZpglRcxxId
(
zpglRcxxEntity
.
getId
());
interviewNotice
.
setMobile
(
zpglRcxxEntity
.
getMobile
());
interviewNotice
.
setMobile
(
zpglRcxxEntity
.
getMobile
());
interviewNotice
.
setTemplateId
(
MessageTemplate
.
TEMPLATE_ID_TO_INTERVIEWEE
);
interviewNotice
.
setTemplateId
(
MessageTemplate
.
TEMPLATE_ID_TO_INTERVIEWEE
);
zpglWxgzptService
.
addInterviewMessageQueue
(
interviewNotice
);
zpglWxgzptService
.
addInterviewMessageQueue
(
interviewNotice
);
...
...
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglWxgzptServiceImpl.java
View file @
932bb82e
...
@@ -34,6 +34,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
...
@@ -34,6 +34,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
* @param map
* @param map
* @return
* @return
*/
*/
@Override
public
String
addMessageQueue
(
Map
<
String
,
Object
>
map
)
{
public
String
addMessageQueue
(
Map
<
String
,
Object
>
map
)
{
return
HttpUtil
.
post
(
serverUrl
+
"/wxgzh/addMessageQueue"
,
map
);
return
HttpUtil
.
post
(
serverUrl
+
"/wxgzh/addMessageQueue"
,
map
);
}
}
...
@@ -45,6 +46,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
...
@@ -45,6 +46,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
* @param interviewNotice
* @param interviewNotice
* @return
* @return
*/
*/
@Override
public
String
addInterviewMessageQueue
(
InterviewNotice
interviewNotice
)
{
public
String
addInterviewMessageQueue
(
InterviewNotice
interviewNotice
)
{
//消息队列对象
//消息队列对象
MessageQueueDto
mqd
=
new
MessageQueueDto
();
MessageQueueDto
mqd
=
new
MessageQueueDto
();
...
...
src/main/java/cn/timer/api/dto/wxgzh/MessageQueueDto.java
View file @
932bb82e
...
@@ -104,6 +104,16 @@ public class MessageQueueDto {
...
@@ -104,6 +104,16 @@ public class MessageQueueDto {
*/
*/
private
Date
updateTime
;
private
Date
updateTime
;
/**
* 人才信息ID
*/
private
Integer
zpglRcxxId
;
/**
* 员工档案表ID
*/
private
Integer
ygglMainEmpId
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
static
final
long
serialVersionUID
=
1L
;
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