Administrator
2025-12-09 bc398bdacba71477d3da7c51829828795697eafe
refs
author Administrator <15274802129@163.com>
Tuesday, December 9, 2025 22:34 +0800
committer Administrator <15274802129@163.com>
Tuesday, December 9, 2025 22:34 +0800
commitbc398bdacba71477d3da7c51829828795697eafe
tree a5f03b49644b3bbaf80166fc359d018b692f474e tree | zip | gz
parent cc56a31660952dbf04d28a8c02bcb9e071a36a51 view | diff
refactor(okxNewPrice): 优化仓位价格获取逻辑

- 引入 Hutool 的 StrUtil 工具类用于字符串判空
- 明确从 Redis 获取的价格为 String 类型
- 使用 StrUtil.isBlank 替代 null 判断增强健壮性
- 简化 BigDecimal 构造函数参数类型转换
- 提升代码可读性和运行稳定性
1 files modified
11 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/okxNewPrice/celue/CaoZuoServiceImpl.java 11 ●●●● diff | view | raw | blame | history