-
有类似的需求, if(xxx){ 现在想做出这样的Sql,where (Id > 10) and (( createtime != null and x.createtime < '2021-7-1') or (updatetime != null && updatetime < '2021-7-1')) 应该怎么做才能加上对应的括号呢? |
Beta Was this translation helpful? Give feedback.
Answered by
j4587698
Jul 2, 2021
Replies: 2 comments 5 replies
-
参考 #603 |
Beta Was this translation helpful? Give feedback.
4 replies
-
套娃完成,代码如下
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
j4587698
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
套娃完成,代码如下