refactor(sms): 重构短信发送功能并优化数据库配置

- 移除旧的短信发送实现和相关依赖
- 引入新的短信发送服务接口和实现
- 添加短信发送记录实体和数据访问层
- 创建短信发送控制器提供REST API
- 实现带重试机制的短信发送功能
- 添加系统凭证管理和缓存机制
- 更新数据库连接配置信息
- 修改统计查询接口参数类型
- 清理过时的代码和服务方法
This commit is contained in:
xy
2026-06-03 10:20:25 +08:00
parent 79cec4e21b
commit aafd32c7fc
18 changed files with 779 additions and 202 deletions

View File

@@ -21,7 +21,7 @@ public class GenerateCode {
private static final String TARGET_DIR = "D://code";
private static final String DB_URL = "jdbc:mysql://192.168.1.24:13306/pqsinfo_ln";
private static final String DB_URL = "jdbc:mysql://192.168.1.103:13306/pqsinfo_zl";
// private static final String DB_URL = "jdbc:oracle:thin:@192.168.1.170:1521:pqsbase";
private static final String USERNAME = "root";
@@ -30,8 +30,8 @@ public class GenerateCode {
public static void main(String[] args) {
List<Module> modules = Stream.of(
new Module("cdf", "com.njcn.device", "", Stream.of(
"pq_icd_path"
new Module("xy", "com.njcn.csdevice", "", Stream.of(
"cs_alarm_set"
).collect(Collectors.toList()), "")
).collect(Collectors.toList());
generateJavaFile(modules);