Commit 4815bf61 by zhouhaibao

fix(sop): 修复相对日期描述中的天数显示问题

- 移除触发时间描述中不必要的相对天数参数
- 保持相对日期类型为1时的时间格式一致性
- 确保触发小时和分钟的默认值处理逻辑正确
1 parent 04584a25
......@@ -495,7 +495,6 @@ public class SopStrategySnapshotCacheService {
String relativeDesc = getRelativeDateDesc(strategy.getRelativeDateType());
if (strategy.getRelativeDateType() == 1) {
return String.format("在%s %02d:%02d 触发", relativeDesc,
strategy.getRelativeDays(),
strategy.getTriggerHour() != null ? strategy.getTriggerHour() : 0,
strategy.getTriggerMinute() != null ? strategy.getTriggerMinute() : 0);
}else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!