Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
8f078bd9
Commit
8f078bd9
authored
May 16, 2018
by
Junling Bu
Browse files
update[litemall-db]: 更新mybatis generator插件到1.2.3。
1. 设置逻辑删除插件 2. 设置乐观锁插件
parent
d006f89f
Changes
98
Hide whitespace changes
Inline
Side-by-side
litemall-db/mybatis-generator/generatorConfig.xml
View file @
8f078bd9
...
...
@@ -25,6 +25,18 @@
<plugin
type=
"com.itfsw.mybatis.generator.plugins.ExampleEnhancedPlugin"
/>
<!-- 数据Model属性对应Column获取插件 -->
<plugin
type=
"com.itfsw.mybatis.generator.plugins.ModelColumnPlugin"
/>
<!-- 逻辑删除插件 -->
<plugin
type=
"com.itfsw.mybatis.generator.plugins.LogicalDeletePlugin"
>
<!-- 这里配置的是全局逻辑删除列和逻辑删除值,当然在table中配置的值会覆盖该全局配置 -->
<!-- 逻辑删除列类型只能为数字、字符串或者布尔类型 -->
<property
name=
"logicalDeleteColumn"
value=
"deleted"
/>
<!-- 逻辑删除-已删除值 -->
<property
name=
"logicalDeleteValue"
value=
"1"
/>
<!-- 逻辑删除-未删除值 -->
<property
name=
"logicalUnDeleteValue"
value=
"0"
/>
</plugin>
<!-- 乐观锁插件 -->
<plugin
type=
"com.itfsw.mybatis.generator.plugins.OptimisticLockerPlugin"
/>
<commentGenerator>
<property
name=
"suppressDate"
value=
"true"
/>
...
...
litemall-db/pom.xml
View file @
8f078bd9
...
...
@@ -62,7 +62,7 @@
<dependency>
<groupId>
com.itfsw
</groupId>
<artifactId>
mybatis-generator-plugin
</artifactId>
<version>
1.
1.2
</version>
<version>
1.
2.3
</version>
</dependency>
</dependencies>
</plugin>
...
...
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallAdMapper {
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallAd
>
selectByExample
(
LitemallAdExample
example
);
LitemallAd
selectOneByExample
(
LitemallAdExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAd
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallAdExample
example
,
@Param
(
"selective"
)
LitemallAd
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallAdMapper {
*
* @mbg.generated
*/
LitemallAd
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallAd
>
selectBy
Example
(
LitemallAdExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallAdMapper {
*/
LitemallAd
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallAd
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
*/
LitemallAd
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAd
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_ad
...
...
@@ -119,7 +146,7 @@ public interface LitemallAdMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAd
selectOneByExample
(
LitemallAdExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallAdExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallAdMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAd
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallAdExample
example
,
@Param
(
"selective"
)
LitemallAd
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAddressMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallAddressMapper {
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallAddress
>
selectByExample
(
LitemallAddressExample
example
);
LitemallAddress
selectOneByExample
(
LitemallAddressExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAddress
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallAddressExample
example
,
@Param
(
"selective"
)
LitemallAddress
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallAddressMapper {
*
* @mbg.generated
*/
LitemallAddress
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallAddress
>
selectBy
Example
(
LitemallAddressExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallAddressMapper {
*/
LitemallAddress
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallAddress
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
*/
LitemallAddress
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAddress
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_address
...
...
@@ -119,7 +146,7 @@ public interface LitemallAddressMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAddress
selectOneByExample
(
LitemallAddressExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallAddressExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallAddressMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAddress
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallAddressExample
example
,
@Param
(
"selective"
)
LitemallAddress
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallAdminMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallAdminMapper {
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallAdmin
>
selectByExample
(
LitemallAdminExample
example
);
LitemallAdmin
selectOneByExample
(
LitemallAdminExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAdmin
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallAdminExample
example
,
@Param
(
"selective"
)
LitemallAdmin
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallAdminMapper {
*
* @mbg.generated
*/
LitemallAdmin
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallAdmin
>
selectBy
Example
(
LitemallAdminExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallAdminMapper {
*/
LitemallAdmin
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallAdmin
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
*/
LitemallAdmin
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAdmin
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_admin
...
...
@@ -119,7 +146,7 @@ public interface LitemallAdminMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAdmin
selectOneByExample
(
LitemallAdminExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallAdminExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallAdminMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallAdmin
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallAdminExample
example
,
@Param
(
"selective"
)
LitemallAdmin
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallBrandMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallBrandMapper {
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallBrand
>
selectByExample
(
LitemallBrandExample
example
);
LitemallBrand
selectOneByExample
(
LitemallBrandExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallBrand
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallBrandExample
example
,
@Param
(
"selective"
)
LitemallBrand
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallBrandMapper {
*
* @mbg.generated
*/
LitemallBrand
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallBrand
>
selectBy
Example
(
LitemallBrandExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallBrandMapper {
*/
LitemallBrand
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallBrand
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
*/
LitemallBrand
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallBrand
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_brand
...
...
@@ -119,7 +146,7 @@ public interface LitemallBrandMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallBrand
selectOneByExample
(
LitemallBrandExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallBrandExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallBrandMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallBrand
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallBrandExample
example
,
@Param
(
"selective"
)
LitemallBrand
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCartMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallCartMapper {
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallCart
>
selectByExample
(
LitemallCartExample
example
);
LitemallCart
selectOneByExample
(
LitemallCartExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCart
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCartExample
example
,
@Param
(
"selective"
)
LitemallCart
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallCartMapper {
*
* @mbg.generated
*/
LitemallCart
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallCart
>
selectBy
Example
(
LitemallCartExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallCartMapper {
*/
LitemallCart
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallCart
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
*/
LitemallCart
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCart
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_cart
...
...
@@ -119,7 +146,7 @@ public interface LitemallCartMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCart
selectOneByExample
(
LitemallCartExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallCartExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallCartMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCart
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCartExample
example
,
@Param
(
"selective"
)
LitemallCart
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCategoryMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallCategoryMapper {
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallCategory
>
selectByExample
(
LitemallCategoryExample
example
);
LitemallCategory
selectOneByExample
(
LitemallCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCategory
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCategoryExample
example
,
@Param
(
"selective"
)
LitemallCategory
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallCategoryMapper {
*
* @mbg.generated
*/
LitemallCategory
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallCategory
>
selectBy
Example
(
LitemallCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallCategoryMapper {
*/
LitemallCategory
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallCategory
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
*/
LitemallCategory
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCategory
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category
...
...
@@ -119,7 +146,7 @@ public interface LitemallCategoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCategory
selectOneByExample
(
LitemallCategoryExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallCategoryExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallCategoryMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCategory
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCategoryExample
example
,
@Param
(
"selective"
)
LitemallCategory
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCollectMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallCollectMapper {
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallCollect
>
selectByExample
(
LitemallCollectExample
example
);
LitemallCollect
selectOneByExample
(
LitemallCollectExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCollect
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCollectExample
example
,
@Param
(
"selective"
)
LitemallCollect
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallCollectMapper {
*
* @mbg.generated
*/
LitemallCollect
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallCollect
>
selectBy
Example
(
LitemallCollectExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallCollectMapper {
*/
LitemallCollect
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallCollect
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
*/
LitemallCollect
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCollect
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_collect
...
...
@@ -119,7 +146,7 @@ public interface LitemallCollectMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCollect
selectOneByExample
(
LitemallCollectExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallCollectExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallCollectMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCollect
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCollectExample
example
,
@Param
(
"selective"
)
LitemallCollect
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCommentMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallCommentMapper {
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallComment
>
selectByExample
(
LitemallCommentExample
example
);
LitemallComment
selectOneByExample
(
LitemallCommentExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallComment
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCommentExample
example
,
@Param
(
"selective"
)
LitemallComment
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallCommentMapper {
*
* @mbg.generated
*/
LitemallComment
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallComment
>
selectBy
Example
(
LitemallCommentExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallCommentMapper {
*/
LitemallComment
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallComment
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
*/
LitemallComment
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallComment
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_comment
...
...
@@ -119,7 +146,7 @@ public interface LitemallCommentMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallComment
selectOneByExample
(
LitemallCommentExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallCommentExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallCommentMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallComment
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCommentExample
example
,
@Param
(
"selective"
)
LitemallComment
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallCouponMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallCouponMapper {
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallCoupon
>
selectByExample
(
LitemallCouponExample
example
);
LitemallCoupon
selectOneByExample
(
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCouponExample
example
,
@Param
(
"selective"
)
LitemallCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallCouponMapper {
*
* @mbg.generated
*/
LitemallCoupon
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallCoupon
>
selectBy
Example
(
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallCouponMapper {
*/
LitemallCoupon
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallCoupon
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
*/
LitemallCoupon
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_coupon
...
...
@@ -119,7 +146,7 @@ public interface LitemallCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectOneByExample
(
LitemallCouponExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallCouponExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallCouponMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallCoupon
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallCouponExample
example
,
@Param
(
"selective"
)
LitemallCoupon
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallFootprintMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallFootprintMapper {
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallFootprint
>
selectByExample
(
LitemallFootprintExample
example
);
LitemallFootprint
selectOneByExample
(
LitemallFootprintExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallFootprint
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallFootprintExample
example
,
@Param
(
"selective"
)
LitemallFootprint
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallFootprintMapper {
*
* @mbg.generated
*/
LitemallFootprint
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallFootprint
>
selectBy
Example
(
LitemallFootprintExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallFootprintMapper {
*/
LitemallFootprint
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallFootprint
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
*/
LitemallFootprint
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallFootprint
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_footprint
...
...
@@ -119,7 +146,7 @@ public interface LitemallFootprintMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallFootprint
selectOneByExample
(
LitemallFootprintExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallFootprintExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallFootprintMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallFootprint
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallFootprintExample
example
,
@Param
(
"selective"
)
LitemallFootprint
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsAttributeMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallGoodsAttributeMapper {
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallGoodsAttribute
>
selectByExample
(
LitemallGoodsAttributeExample
example
);
LitemallGoodsAttribute
selectOneByExample
(
LitemallGoodsAttributeExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsAttribute
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallGoodsAttributeExample
example
,
@Param
(
"selective"
)
LitemallGoodsAttribute
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallGoodsAttributeMapper {
*
* @mbg.generated
*/
LitemallGoodsAttribute
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallGoodsAttribute
>
selectBy
Example
(
LitemallGoodsAttributeExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallGoodsAttributeMapper {
*/
LitemallGoodsAttribute
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallGoodsAttribute
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
*/
LitemallGoodsAttribute
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsAttribute
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_attribute
...
...
@@ -119,7 +146,7 @@ public interface LitemallGoodsAttributeMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsAttribute
selectOneByExample
(
LitemallGoodsAttributeExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallGoodsAttributeExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallGoodsAttributeMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsAttribute
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallGoodsAttributeExample
example
,
@Param
(
"selective"
)
LitemallGoodsAttribute
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsMapper.java
View file @
8f078bd9
...
...
@@ -51,16 +51,27 @@ public interface LitemallGoodsMapper {
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallGoods
>
selectByExample
WithBLOBs
(
LitemallGoodsExample
example
);
LitemallGoods
select
One
ByExample
(
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallGoods
>
selectByExample
(
LitemallGoodsExample
example
);
LitemallGoods
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallGoodsExample
example
,
@Param
(
"selective"
)
LitemallGoods
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods
selectOneByExampleWithBLOBs
(
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -77,7 +88,15 @@ public interface LitemallGoodsMapper {
*
* @mbg.generated
*/
LitemallGoods
selectByPrimaryKey
(
Integer
id
);
List
<
LitemallGoods
>
selectByExampleWithBLOBs
(
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
*/
List
<
LitemallGoods
>
selectByExample
(
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -94,15 +113,16 @@ public interface LitemallGoodsMapper {
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
LitemallGoods
record
,
@Param
(
"example"
)
LitemallGoodsExample
example
);
LitemallGoods
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
LitemallGoods
record
,
@Param
(
"example"
)
LitemallGoodsExample
example
);
LitemallGoods
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -110,7 +130,7 @@ public interface LitemallGoodsMapper {
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
LitemallGoods
record
,
@Param
(
"example"
)
LitemallGoodsExample
example
);
int
updateByExample
Selective
(
@Param
(
"record"
)
LitemallGoods
record
,
@Param
(
"example"
)
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -118,7 +138,7 @@ public interface LitemallGoodsMapper {
*
* @mbg.generated
*/
int
updateBy
PrimaryKeySelective
(
LitemallGoods
record
);
int
updateBy
ExampleWithBLOBs
(
@Param
(
"record"
)
LitemallGoods
record
,
@Param
(
"example"
)
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -126,7 +146,7 @@ public interface LitemallGoodsMapper {
*
* @mbg.generated
*/
int
updateBy
PrimaryKeyWithBLOBs
(
LitemallGoods
record
);
int
updateBy
Example
(
@Param
(
"record"
)
LitemallGoods
record
,
@Param
(
"example"
)
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -134,16 +154,23 @@ public interface LitemallGoodsMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
LitemallGoods
record
);
int
updateByPrimaryKey
Selective
(
LitemallGoods
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods
selectOneByExample
(
LitemallGoodsExample
example
);
int
updateByPrimaryKeyWithBLOBs
(
LitemallGoods
record
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
LitemallGoods
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -152,7 +179,7 @@ public interface LitemallGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods
selectOn
eByExample
Selective
(
@Param
(
"example"
)
LitemallGoodsExample
example
,
@Param
(
"selective"
)
LitemallGoods
.
Column
...
selective
);
int
logicalDelet
eByExample
(
@Param
(
"example"
)
LitemallGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -161,5 +188,5 @@ public interface LitemallGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoods
selectOneByExampleWithBLOBs
(
LitemallGoodsExample
example
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallGoodsSpecificationMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallGoodsSpecificationMapper {
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallGoodsSpecification
>
selectByExample
(
LitemallGoodsSpecificationExample
example
);
LitemallGoodsSpecification
selectOneByExample
(
LitemallGoodsSpecificationExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsSpecification
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallGoodsSpecificationExample
example
,
@Param
(
"selective"
)
LitemallGoodsSpecification
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallGoodsSpecificationMapper {
*
* @mbg.generated
*/
LitemallGoodsSpecification
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallGoodsSpecification
>
selectBy
Example
(
LitemallGoodsSpecificationExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallGoodsSpecificationMapper {
*/
LitemallGoodsSpecification
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallGoodsSpecification
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
*/
LitemallGoodsSpecification
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsSpecification
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_goods_specification
...
...
@@ -119,7 +146,7 @@ public interface LitemallGoodsSpecificationMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsSpecification
selectOneByExample
(
LitemallGoodsSpecificationExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallGoodsSpecificationExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallGoodsSpecificationMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallGoodsSpecification
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallGoodsSpecificationExample
example
,
@Param
(
"selective"
)
LitemallGoodsSpecification
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallIssueMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallIssueMapper {
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallIssue
>
selectByExample
(
LitemallIssueExample
example
);
LitemallIssue
selectOneByExample
(
LitemallIssueExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallIssue
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallIssueExample
example
,
@Param
(
"selective"
)
LitemallIssue
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallIssueMapper {
*
* @mbg.generated
*/
LitemallIssue
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallIssue
>
selectBy
Example
(
LitemallIssueExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallIssueMapper {
*/
LitemallIssue
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallIssue
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
*/
LitemallIssue
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallIssue
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_issue
...
...
@@ -119,7 +146,7 @@ public interface LitemallIssueMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallIssue
selectOneByExample
(
LitemallIssueExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallIssueExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallIssueMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallIssue
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallIssueExample
example
,
@Param
(
"selective"
)
LitemallIssue
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallKeywordMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallKeywordMapper {
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallKeyword
>
selectByExample
(
LitemallKeywordExample
example
);
LitemallKeyword
selectOneByExample
(
LitemallKeywordExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallKeywordExample
example
,
@Param
(
"selective"
)
LitemallKeyword
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallKeywordMapper {
*
* @mbg.generated
*/
LitemallKeyword
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallKeyword
>
selectBy
Example
(
LitemallKeywordExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallKeywordMapper {
*/
LitemallKeyword
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallKeyword
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
*/
LitemallKeyword
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_keyword
...
...
@@ -119,7 +146,7 @@ public interface LitemallKeywordMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword
selectOneByExample
(
LitemallKeywordExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallKeywordExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallKeywordMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallKeyword
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallKeywordExample
example
,
@Param
(
"selective"
)
LitemallKeyword
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderGoodsMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallOrderGoodsMapper {
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallOrderGoods
>
selectByExample
(
LitemallOrderGoodsExample
example
);
LitemallOrderGoods
selectOneByExample
(
LitemallOrderGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallOrderGoodsExample
example
,
@Param
(
"selective"
)
LitemallOrderGoods
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallOrderGoodsMapper {
*
* @mbg.generated
*/
LitemallOrderGoods
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallOrderGoods
>
selectBy
Example
(
LitemallOrderGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallOrderGoodsMapper {
*/
LitemallOrderGoods
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallOrderGoods
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
*/
LitemallOrderGoods
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order_goods
...
...
@@ -119,7 +146,7 @@ public interface LitemallOrderGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods
selectOneByExample
(
LitemallOrderGoodsExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallOrderGoodsExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallOrderGoodsMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrderGoods
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallOrderGoodsExample
example
,
@Param
(
"selective"
)
LitemallOrderGoods
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallOrderMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallOrderMapper {
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallOrder
>
selectByExample
(
LitemallOrderExample
example
);
LitemallOrder
selectOneByExample
(
LitemallOrderExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallOrderExample
example
,
@Param
(
"selective"
)
LitemallOrder
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallOrderMapper {
*
* @mbg.generated
*/
LitemallOrder
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallOrder
>
selectBy
Example
(
LitemallOrderExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallOrderMapper {
*/
LitemallOrder
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallOrder
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
*/
LitemallOrder
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_order
...
...
@@ -119,7 +146,7 @@ public interface LitemallOrderMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder
selectOneByExample
(
LitemallOrderExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallOrderExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallOrderMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallOrder
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallOrderExample
example
,
@Param
(
"selective"
)
LitemallOrder
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
litemall-db/src/main/java/org/linlinjava/litemall/db/dao/LitemallProductMapper.java
View file @
8f078bd9
...
...
@@ -51,8 +51,18 @@ public interface LitemallProductMapper {
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
List
<
LitemallProduct
>
selectByExample
(
LitemallProductExample
example
);
LitemallProduct
selectOneByExample
(
LitemallProductExample
example
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallProduct
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallProductExample
example
,
@Param
(
"selective"
)
LitemallProduct
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -69,7 +79,7 @@ public interface LitemallProductMapper {
*
* @mbg.generated
*/
LitemallProduct
selectBy
PrimaryKey
(
Integer
id
);
List
<
LitemallProduct
>
selectBy
Example
(
LitemallProductExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,6 +90,23 @@ public interface LitemallProductMapper {
*/
LitemallProduct
selectByPrimaryKeySelective
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"selective"
)
LitemallProduct
.
Column
...
selective
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
*/
LitemallProduct
selectByPrimaryKey
(
Integer
id
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
*
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallProduct
selectByPrimaryKeyWithLogicalDelete
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"andLogicalDeleted"
)
boolean
andLogicalDeleted
);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_product
...
...
@@ -119,7 +146,7 @@ public interface LitemallProductMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallProduct
selectOneByExample
(
LitemallProductExample
example
);
int
logicalDeleteByExample
(
@Param
(
"example"
)
LitemallProductExample
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -128,5 +155,5 @@ public interface LitemallProductMapper {
* @mbg.generated
* @project https://github.com/itfsw/mybatis-generator-plugin
*/
LitemallProduct
selectOneByExampleSelective
(
@Param
(
"example"
)
LitemallProductExample
example
,
@Param
(
"selective"
)
LitemallProduct
.
Column
...
selective
);
int
logicalDeleteByPrimaryKey
(
Integer
id
);
}
\ No newline at end of file
Prev
1
2
3
4
5
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment