Commit 7ade24fd authored by tangwei's avatar tangwei

增加条件

parent eacb80da
...@@ -274,6 +274,9 @@ public class AlertCalledController extends BaseController { ...@@ -274,6 +274,9 @@ public class AlertCalledController extends BaseController {
} else if (type.equals(Boolean.class)) { } else if (type.equals(Boolean.class)) {
Boolean fileValue = (Boolean) field.get(alertCalled); Boolean fileValue = (Boolean) field.get(alertCalled);
queryWrapper.eq(name, fileValue); queryWrapper.eq(name, fileValue);
}else if (type.equals(Long.class)) {
Long fileValue = (Long) field.get(alertCalled);
queryWrapper.eq(name, fileValue);
} }
} }
} catch (Exception e) { } catch (Exception e) {
......
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