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
8419272e
Commit
8419272e
authored
Apr 13, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
招聘管理-发送Offer
parent
c802af06
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglService.java
+1
-0
src/main/java/cn/timer/api/utils/ZpglMessageTemplate.java
+23
-0
src/main/resources/application-test.yml
+1
-0
No files found.
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglService.java
View file @
8419272e
...
@@ -7,6 +7,7 @@ import cn.timer.api.dto.zpgl.ImportCandidateDto;
...
@@ -7,6 +7,7 @@ import cn.timer.api.dto.zpgl.ImportCandidateDto;
import
cn.timer.api.dto.zpgl.ZpglRcxxDto
;
import
cn.timer.api.dto.zpgl.ZpglRcxxDto
;
import
cn.timer.api.utils.Result
;
import
cn.timer.api.utils.Result
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.thymeleaf.TemplateEngine
;
/**
/**
* @author wuqingjun
* @author wuqingjun
...
...
src/main/java/cn/timer/api/utils/ZpglMessageTemplate.java
View file @
8419272e
...
@@ -52,6 +52,29 @@ public class ZpglMessageTemplate {
...
@@ -52,6 +52,29 @@ public class ZpglMessageTemplate {
"<p style=\" line-height: 1.5;\"><br></p></div>"
+
"<p style=\" line-height: 1.5;\"><br></p></div>"
+
"</body></html>"
;
"</body></html>"
;
public
static
final
String
OFFER_TEMPLATE
=
"<!DOCTYPE html><html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:th=\"http://www.thymeleaf.org\"><body><div><p style=\" line-height: 1.5;\">尊敬的<span>曾业龙</span></p>"
+
"<p style=\" line-height: 1.5;\"><br></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">感谢您对公司的认可,非常荣幸地通知您,您已被我司正式录用,欢迎您加入<span>广东黑猫信息科技有限公司</span></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">您所入职的部门:<span>人事部</span></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">您所入职的岗位:<span>结算岗</span></p>"
+
"<p style=\" line-height: 1.5;\"><br></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">入职所需的材料和证件</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">1. 原单位离职证明(加盖原单位公章)1份</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">2. 身份证原件</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">3. 学位证、毕业证原件</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">4. 相关资格证书原件</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">5. 入职体检证明</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\"><br></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">请您于<span>2018-08-06</span>带以上材料,进行报到</p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\"><br></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">联系人:<span>陶湘宇</span></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">联系电话:<span>18665645253</span></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">联系人邮箱:<span></span></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\"><br></p>"
+
"<p style=\"text-indent: 2em; line-height: 1.5;\">收到此通知后,请您点击底部按钮进行回复确认,再次欢迎您加入!<span>广东黑猫信息科技有限公司</span>!</p>"
+
"<p style=\" line-height: 1.5;\"><br></p></div>"
+
"</body></html>"
;
public
static
String
print
(
String
template
,
String
[]
values
)
{
public
static
String
print
(
String
template
,
String
[]
values
)
{
if
(
null
==
values
||
values
.
length
==
0
)
{
if
(
null
==
values
||
values
.
length
==
0
)
{
return
template
;
return
template
;
...
...
src/main/resources/application-test.yml
View file @
8419272e
...
@@ -103,6 +103,7 @@ spring:
...
@@ -103,6 +103,7 @@ spring:
username
:
youlingrc123@163.com
username
:
youlingrc123@163.com
password
:
RIMBNJJQNKYNVUWL
password
:
RIMBNJJQNKYNVUWL
default-encoding
:
utf-8
default-encoding
:
utf-8
thymeleaf-html
:
/static/8timer/offer.html
properties
:
properties
:
mail
:
mail
:
smtp
:
smtp
:
...
...
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