Commit ec620ce6 authored by huyuchen's avatar huyuchen

huych-社保自动化相关提交

parent 4ffc5926
...@@ -287,8 +287,9 @@ public class FascController { ...@@ -287,8 +287,9 @@ public class FascController {
contractAutoLog.setContractId(uuid.toString()); contractAutoLog.setContractId(uuid.toString());
contractAutoLog.setEmpName(pre.getEmployeeName()); contractAutoLog.setEmpName(pre.getEmployeeName());
contractAutoLog.setEmpIdcard(pre.getEmpIdcard()); contractAutoLog.setEmpIdcard(pre.getEmpIdcard());
contractAutoLog.setPhone(pre.getEmpPhone());
contractAutoLog.setMainId(pre.getId()); contractAutoLog.setMainId(pre.getId());
contractAutoLog.setErrorInfo(terminationNote); contractAutoLog.setErrorInfo(null== terminationNote ? "法大大签署失败" : terminationNote);
contractAutoLogService.save(contractAutoLog); contractAutoLogService.save(contractAutoLog);
//签署失败发送企微消息 //签署失败发送企微消息
sendFddFalureInfoToWx(pre,contractAutoLog.getId()); sendFddFalureInfoToWx(pre,contractAutoLog.getId());
...@@ -392,7 +393,7 @@ public class FascController { ...@@ -392,7 +393,7 @@ public class FascController {
String authUrl = String.format(SecurityConstants.WX_GET_MESSAGE_AUTH_URL, wxConfig.getCorpid() String authUrl = String.format(SecurityConstants.WX_GET_MESSAGE_AUTH_URL, wxConfig.getCorpid()
, wxConfig.getDomainName() + "/auth/oauth/wxLogin", "72" + id); , wxConfig.getDomainName() + "/auth/oauth/wxLogin", "72" + id);
StringBuilder description = new StringBuilder(); StringBuilder description = new StringBuilder();
String title = "作业自动化——电子合同签署超期自动撤回提醒"; String title = "作业自动化——电子合同签署失败提醒";
description.append(pre.getEmployeeName() + "-" + pre.getEmpIdcard()+ "-" + pre.getEmpPhone() + description.append(pre.getEmployeeName() + "-" + pre.getEmpIdcard()+ "-" + pre.getEmpPhone() +
",电子合同签署失败").append("<br>"); ",电子合同签署失败").append("<br>");
description.append("请及时处理,以免产生用工风险!").append("<br>"); description.append("请及时处理,以免产生用工风险!").append("<br>");
......
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