Commit 50cff6a4a47f6b9669f4d3161bb460bed9c095df
1 parent
f696923a48
Exists in
master
and in
8 other branches
增加设置parentid
Showing 2 changed files with 4 additions and 4 deletions
platform-dal/src/main/java/com/lyms/platform/query/AntExChuQuery.java
View file @
50cff6a
| ... | ... | @@ -117,7 +117,7 @@ |
| 117 | 117 | boolean isAddStart = Boolean.FALSE; |
| 118 | 118 | Criteria c = null; |
| 119 | 119 | if (null != start) { |
| 120 | - c = Criteria.where("created").gte(start); | |
| 120 | + c = Criteria.where("checkTime").gte(start); | |
| 121 | 121 | isAddStart = Boolean.TRUE; |
| 122 | 122 | } |
| 123 | 123 | |
| ... | ... | @@ -125,7 +125,7 @@ |
| 125 | 125 | if (isAddStart) { |
| 126 | 126 | c=c.lte(end); |
| 127 | 127 | } else { |
| 128 | - c = Criteria.where("created").lte(end); | |
| 128 | + c = Criteria.where("checkTime").lte(end); | |
| 129 | 129 | } |
| 130 | 130 | isAddStart = Boolean.TRUE; |
| 131 | 131 | } |
platform-dal/src/main/java/com/lyms/platform/query/AntExQuery.java
View file @
50cff6a
| ... | ... | @@ -80,7 +80,7 @@ |
| 80 | 80 | boolean isAddStart = Boolean.FALSE; |
| 81 | 81 | Criteria c = null; |
| 82 | 82 | if (null != start) { |
| 83 | - c = Criteria.where("created").gte(start); | |
| 83 | + c = Criteria.where("checkDate").gte(start); | |
| 84 | 84 | isAddStart = Boolean.TRUE; |
| 85 | 85 | } |
| 86 | 86 | |
| ... | ... | @@ -88,7 +88,7 @@ |
| 88 | 88 | if (isAddStart) { |
| 89 | 89 | c=c.lte(end); |
| 90 | 90 | } else { |
| 91 | - c = Criteria.where("created").lte(end); | |
| 91 | + c = Criteria.where("checkDate").lte(end); | |
| 92 | 92 | } |
| 93 | 93 | isAddStart = Boolean.TRUE; |
| 94 | 94 | } |