| | |
| | | private static final String NOT_NULL = "_notnull"; |
| | | private static final String IGNORE = "_ignore"; |
| | | |
| | | |
| | | public UBCSSqlKeyword() { |
| | | } |
| | | |
| | |
| | | } |
| | | return sqlwhere; |
| | | } |
| | | |
| | | private static String sqlKeywordValueSqlwhere(String field, Object value, SqlKeyword operation){ |
| | | String sqlwhere=""; |
| | | switch(operation) { |
| | |
| | | } |
| | | return sqlwhere; |
| | | } |
| | | |
| | | private static String dateValueSqlwhere(String field, Object value, SqlKeyword operation){ |
| | | String sqlwhere=""; |
| | | switch(operation) { |
| | |
| | | } |
| | | return sqlwhere; |
| | | } |
| | | |
| | | public static String buildSqlwhere(Map<String, Object> query) { |
| | | StringBuffer sb=new StringBuffer(); |
| | | if (!Func.isEmpty(query)) { |
| | |
| | | |
| | | return sb.toString(); |
| | | } |
| | | |
| | | public static void buildCondition(Map<String, Object> query, QueryWrapper<?> qw) { |
| | | if (!Func.isEmpty(query)) { |
| | | query.forEach((k, v) -> { |
| | |
| | | }); |
| | | } |
| | | } |
| | | public static MPJLambdaWrapper buildConditionByMapString(Map<String, String> query) { |
| | | |
| | | public static MPJLambdaWrapper buildConditionByMapString(Map<String, String> query) { |
| | | MPJLambdaWrapper<?>qw=new MPJLambdaWrapper<>(); |
| | | if (!Func.isEmpty(query)) { |
| | | query.forEach((k, v) -> { |
| | |
| | | }; |
| | | return qw; |
| | | } |
| | | |
| | | public static void buildConditionByMapString(Map<String, String> query, MPJLambdaWrapper<?> qw) { |
| | | if (!Func.isEmpty(query)) { |
| | | query.forEach((k, v) -> { |