当然可以,但是你注意,如果在嵌套之间没有多余代码,这种逻辑实际上可以用多分支替代的, 比如 switch ... case 或者 if() { } else if { } else if { } }
and t.send_flag=1 or t.send_flag=2and t.send_flag=#{sendFlag,jdbcType=INTEGER}