Commit 8419272e by 284718418@qq.com

招聘管理-发送Offer

parent c802af06
...@@ -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
......
...@@ -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;
......
...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment