-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
自定义条件时, 建议根据情况使用 `BatchSqlFragments`或者`SqlFragments#single,of` 或者 `SimpleSqlFragments.of`
- Loading branch information
Showing
48 changed files
with
1,144 additions
and
567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
.../java/org/hswebframework/ezorm/rdb/operator/builder/fragments/AppendableSqlFragments.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.hswebframework.ezorm.rdb.operator.builder.fragments; | ||
|
||
import java.util.Collection; | ||
|
||
public interface AppendableSqlFragments extends SqlFragments { | ||
|
||
AppendableSqlFragments addSql(String... sql); | ||
|
||
AppendableSqlFragments addSql(Collection<String> sql); | ||
|
||
AppendableSqlFragments addParameter(Object... parameter); | ||
|
||
AppendableSqlFragments addParameter(Collection<?> parameter); | ||
|
||
AppendableSqlFragments addFragments(SqlFragments fragments); | ||
|
||
default AppendableSqlFragments add(SqlFragments fragments) { | ||
return addFragments(fragments); | ||
} | ||
|
||
} |
Oops, something went wrong.