|
|
|
@ -229,6 +229,7 @@ public class UserAnalysisNoteServiceImpl extends BaseServiceImpl<UserAnalysisNot |
|
|
|
Integer ranking = streeRanking.get(dto.getDeptId()); |
|
|
|
//组装短信内容参数
|
|
|
|
LinkedHashMap<String, String> noteParams = streeNoteContent(ranking,dto); |
|
|
|
noteParams.put("deptType","街道"); |
|
|
|
contentNote.put(mobile,noteParams); |
|
|
|
}else {//社区级账号 发送街道模板
|
|
|
|
//获取电话号
|
|
|
|
@ -238,6 +239,7 @@ public class UserAnalysisNoteServiceImpl extends BaseServiceImpl<UserAnalysisNot |
|
|
|
Integer rankingCommunity = communiytRanking.get(dto.getDeptId()); |
|
|
|
//组装短信内容参数
|
|
|
|
LinkedHashMap<String, String> noteParams = streeNoteContent(rankingCommunity,dto); |
|
|
|
noteParams.put("deptType","社区"); |
|
|
|
contentNote.put(mobile,noteParams); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -324,7 +326,6 @@ public class UserAnalysisNoteServiceImpl extends BaseServiceImpl<UserAnalysisNot |
|
|
|
private LinkedHashMap<String, String> streeNoteContent(Integer ranking,UserAnalysisNoteDTO dto){ |
|
|
|
LinkedHashMap<String, String> noteParams = new LinkedHashMap<>(); |
|
|
|
noteParams.put("deptName",dto.getDeptName()); |
|
|
|
noteParams.put("deptType","街道"); |
|
|
|
noteParams.put("month",getLastMonth()); |
|
|
|
noteParams.put("sort",ranking.toString()); |
|
|
|
noteParams.put("code",dto.getDeptId()); |
|
|
|
|