Pre Merge pull request !17 from 光速蜗牛/N/A
This commit is contained in:
commit
8398751678
|
@ -268,12 +268,12 @@ public class QueryGenerator {
|
|||
if (val.length() == 0) {
|
||||
return null;
|
||||
}
|
||||
QueryRuleEnum rule =null;
|
||||
QueryRuleEnum rule = null;
|
||||
|
||||
//update-begin--Author:scott Date:20190724 for:initQueryWrapper组装sql查询条件错误 #284-------------------
|
||||
//TODO 此处规则,只适用于 le lt ge gt
|
||||
// step 2 .>= =<
|
||||
if (rule == null && val.length() >= 3) {
|
||||
if (val.length() >= 3) {
|
||||
if(QUERY_SEPARATE_KEYWORD.equals(val.substring(2, 3))){
|
||||
rule = QueryRuleEnum.getByValue(val.substring(0, 2));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue