Commit 823e8ea4 authored by fangxinjiang's avatar fangxinjiang

社保办理失败推送微信-fxj

parent 81393e62
......@@ -168,15 +168,22 @@ public class TSocialAlertInfoServiceImpl extends ServiceImpl<TSocialAlertInfoMap
socialCount = socialCountMap.getOrDefault(key, 0L);
fundCount = fundCountMap.getOrDefault(key, 0L);
message = new StringBuilder();
//提示信息拼接,社保公积金都有值提示:当前存在社保派单失败数量:10,当前存在公积金派单失败数量:10。请及时至HRO系统进行处理
//提示信息社保没有值提示:当前存在派单失败数量:10。请及时至HRO系统进行处理
//提示信息公积金没有值提示:当前存在公积金派单失败数量:10。请及时至HRO系统进行处理
boolean hasAppend = false;
if (socialCount > 0) {
message.append("当前存在社保派单失败数量:")
.append(socialCount)
.append(",");
.append(socialCount);
hasAppend = true;
}
if (fundCount > 0) {
if (hasAppend) {
message.append(",");
}
message.append("当前存在公积金派单失败数量:")
.append(fundCount)
.append(",");
.append(fundCount);
hasAppend = true;
}
message.append("。请及时至HRO系统进行处理");
countMap.put(key, message);
......
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