Commit 6609adc0 by leialin

Merge branch 'lal' into 'develop'

提交

See merge request 8timerv2/8timerapiv200!344
parents 1ee09ff8 b5b74bc2
...@@ -274,12 +274,17 @@ public class RouterUtils { ...@@ -274,12 +274,17 @@ public class RouterUtils {
for (Condition condition : listCondition) { for (Condition condition : listCondition) {
for (String string : condition.getValues()) { for (String string : condition.getValues()) {
// 简单工厂模式 - 判断条件 if(obj.get(condition.getKey(),FromData.class).getValue() != null) {
compare = CompareFactory.createCompare(obj.get(condition.getKey(),FromData.class).getValue(), string, condition.getFormat()); // 简单工厂模式 - 判断条件
if (!compare.GetResutl()) { compare = CompareFactory.createCompare(obj.get(condition.getKey(),FromData.class).getValue(), string, condition.getFormat());
condition_b = false; if (!compare.GetResutl()) {
condition_b = false;
}
}else {
throw new Exception("审批流程设置有误");
} }
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment