mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
1.1.7
This commit is contained in:
parent
909af5302c
commit
095e4cf20a
@ -19,7 +19,7 @@ QQ群:1022221898
|
||||
<dependency>
|
||||
<groupId>com.github.yulichang</groupId>
|
||||
<artifactId>mybatis-plus-join</artifactId>
|
||||
<version>1.1.6</version>
|
||||
<version>1.1.7</version>
|
||||
</dependency>
|
||||
```
|
||||
- Gradle
|
||||
|
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.github.yulichang</groupId>
|
||||
<artifactId>mybatis-plus-join</artifactId>
|
||||
<version>1.1.6</version>
|
||||
<version>1.1.7</version>
|
||||
<name>mybatis-plus-join</name>
|
||||
<description>An enhanced toolkit of Mybatis-Plus to simplify development.</description>
|
||||
<url>https://github.com/yulichang/mybatis-plus-join</url>
|
||||
|
@ -434,7 +434,7 @@ public abstract class MPJAbstractWrapper<T, Children extends MPJAbstractWrapper<
|
||||
*/
|
||||
protected final String formatParam(String mapping, Object param) {
|
||||
final String genParamName = Constants.WRAPPER_PARAM + paramNameSeq.incrementAndGet();
|
||||
final String paramStr = getParamAlias() + Constants.WRAPPER_PARAM_MIDDLE + genParamName;
|
||||
final String paramStr = getParamAlias() + ".paramNameValuePairs." + genParamName;
|
||||
paramNameValuePairs.put(genParamName, param);
|
||||
return SqlScriptUtils.safeParam(paramStr, mapping);
|
||||
}
|
||||
@ -553,7 +553,7 @@ public abstract class MPJAbstractWrapper<T, Children extends MPJAbstractWrapper<
|
||||
*/
|
||||
public Children setParamAlias(String paramAlias) {
|
||||
Assert.notEmpty(paramAlias, "paramAlias can not be empty!");
|
||||
Assert.isEmpty(paramNameValuePairs, "Please call this method before working!");
|
||||
Assert.isTrue(CollectionUtils.isEmpty(paramNameValuePairs), "Please call this method before working!");
|
||||
Assert.isNull(this.paramAlias, "Please do not call the method repeatedly!");
|
||||
this.paramAlias = new SharedString(paramAlias);
|
||||
return typedThis;
|
||||
|
Loading…
x
Reference in New Issue
Block a user