修改短信模板

master
杜函宇 1 month ago
parent 03d35e0d8b
commit 9a8e73d2c7

@ -16,11 +16,28 @@
</description> </description>
<dependencies> <dependencies>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>4.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>4.1.2</version>
</dependency>
<dependency> <dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId> <artifactId>easyexcel</artifactId>
<version>3.2.1</version> <version>3.2.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.sun.mail</groupId> <groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId> <artifactId>javax.mail</artifactId>

@ -258,7 +258,7 @@ public class BmsTemplateRecordServiceImpl extends ServiceImpl<BmsTemplateRecordM
list2.add(CompletableFuture.runAsync(() -> { list2.add(CompletableFuture.runAsync(() -> {
batch.forEach(data -> { batch.forEach(data -> {
// 处理每条数据 // 处理每条数据
timingRemindImpl.getContact(data.getCreditCode(), "【问卷调研】尊敬的企业人员您好苏州工业园区经发委现开展2025年度现代服务业发展调研活动诚邀您提出宝贵意见和建议烦请花费1分钟通过问卷星链接 https://www.wjx.cn/vm/wBmJsmc.aspx# 提交反馈截止日期1月12日。感谢您的宝贵时间顺祝新年快乐万事顺利。【园区经发委】"); timingRemindImpl.getContact(data.getCreditCode(), "您好在金鸡湖现代服务业品牌管理系统中您有1条新消息请及时登录平台进行处理具体内容为关于园区总部企业区外分支机构包括子公司、分公司营收占总部企业营收比重的摸排详请登录金鸡湖现代服务业品牌管理系统https://idp.sipac.gov.cn/bms/#/login 首页查看待办事项,感谢支持!");
}); });
})); }));
} }

@ -80,14 +80,14 @@ order by a.alert_time desc
IFNULL(a.gdp_proportion,0) as gdpProportion IFNULL(a.gdp_proportion,0) as gdpProportion
FROM FROM
j_services_develop a j_services_develop a
<where> <!-- <where>-->
<if test="type == 1 "> <!-- <if test="type == 1 ">-->
YEAR(NOW()) > a.develop_year <!-- YEAR(NOW()) > a.develop_year-->
</if> <!-- </if>-->
<if test="type != 1 "> <!-- <if test="type != 1 ">-->
YEAR(NOW()) = a.develop_year <!-- YEAR(NOW()) = a.develop_year-->
</if> <!-- </if>-->
</where> <!-- </where>-->
ORDER BY ORDER BY
a.develop_year ASC a.develop_year ASC
LIMIT 5 LIMIT 5

Loading…
Cancel
Save