Commit 3d9c3db7 by ilal

Merge branch 'develop' of develop-gitlab.youlingrc.com:8timerv2/8timerapiv200 into lal

parents 45888af7 e7e8a63a
......@@ -277,19 +277,22 @@ public class RouterUtils {
}else {
Compare compare;
for (Condition condition : listCondition) {
boolean condition_value = false;
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()) {
condition_b = false;
if (compare.GetResutl()) {
condition_value = true;
}
}else {
throw new Exception("审批流程设置有误");
}
}
if(condition_value) {
condition_b = true;
}else {
condition_b = false;
}
}
}
......
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