refactor(report): 重构报告推送服务中的枚举类型使用
- 使用 ActionReportTypeEnum 枚举值替换硬编码的字节类型常量 - 添加 Objects.equals 比较以提高类型安全性和可读性 - 移除废弃的私有方法 loadExtendedWarrantyReportConfig(Integer) - 修改 reportPushRecordRemote 调用中的推送类型参数为枚举值 - 注释掉不再使用的 safeSum 方法和 resolvePushType 方法相关代码
Showing
2 changed files
with
12 additions
and
11 deletions
No preview for this file type
-
Please register or sign in to post a comment