File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
saturn-console-api/src/main/resources/mapper Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 67
67
<where >
68
68
namespace = #{namespace,jdbcType=VARCHAR}
69
69
<if test =" condition.groups != null" >
70
- and groups = #{condition.groups}
70
+ and (
71
+ groups = #{condition.groups}
72
+ <if test =" condition.groups == ''" >
73
+ or groups is NULL
74
+ </if >
75
+ )
71
76
</if >
72
77
<if test =" condition.isEnabled != null" >
73
78
and is_enabled = #{condition.isEnabled}
99
104
<where >
100
105
namespace = #{namespace,jdbcType=VARCHAR}
101
106
<if test =" condition.groups != null" >
102
- and groups = #{condition.groups}
107
+ and (
108
+ groups = #{condition.groups}
109
+ <if test =" condition.groups == ''" >
110
+ or groups is NULL
111
+ </if >
112
+ )
103
113
</if >
104
114
<if test =" condition.isEnabled != null" >
105
115
and is_enabled = #{condition.isEnabled}
You can’t perform that action at this time.
0 commit comments