Commit 042cd219 by zhouhaibao

fix(strategy): 修正分支逻辑枚举值和日期类型显示

- 修正 SopStrategyBranch 中分支逻辑的枚举值定义,将并集改为 2、交集改为 1
- 将相对日期类型的显示文本从"当前"改为"当天",保持业务含义一致
1 parent fcc756d5
...@@ -45,7 +45,7 @@ public class SopStrategyBranch implements Serializable { ...@@ -45,7 +45,7 @@ public class SopStrategyBranch implements Serializable {
private Integer branchOrder; private Integer branchOrder;
/** /**
* 分支逻辑:1-并集(满足任一条件组) 0-交集(需满足所有条件组) * 分支逻辑:2-并集(满足任一条件组) 1-交集(需满足所有条件组)
*/ */
@Column(name = "branch_logic") @Column(name = "branch_logic")
private Integer branchLogic; private Integer branchLogic;
......
...@@ -802,7 +802,7 @@ public class StrategySopQueryService { ...@@ -802,7 +802,7 @@ public class StrategySopQueryService {
if (relativeDateType == null) return ""; if (relativeDateType == null) return "";
switch (relativeDateType) { switch (relativeDateType) {
case 0: return "提前"; case 0: return "提前";
case 1: return "当前"; case 1: return "当天";
case 2: return "推后"; case 2: return "推后";
default: return ""; default: return "";
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!