| | |
| | | return queryWrapper; |
| | | } |
| | | |
| | | public Map<String, Object> pickOutMap(boolean mergeCondition) { |
| | | public Map<String, Object> checkoutMap() { |
| | | Map<String, Object> map = where.getMap(); |
| | | if (mergeCondition) { |
| | | if (!Cools.isEmpty(where.getCondition())) { |
| | | map.put("condition", where.getCondition()); |
| | | } |
| | | if (!Cools.isEmpty(where.getOrderBy())) { |
| | | map.put("orderBy", where.getOrderBy()); |
| | | } |
| | | if (!Cools.isEmpty(where.getTimeStart())) { |
| | | map.put("timeStart", DateUtils.convert(String.valueOf(where.getTimeStart()), DateUtils.yyyyMMdd_F)); |
| | | } |
| | | if (!Cools.isEmpty(where.getTimeEnd())) { |
| | | map.put("timeEnd", DateUtils.convert(String.valueOf(where.getTimeEnd()), DateUtils.yyyyMMdd_F)); |
| | | } |
| | | if (!Cools.isEmpty(where.getCondition())) { |
| | | map.put("condition", where.getCondition()); |
| | | } |
| | | return map; |
| | | } |