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
wwwanlingxiao
mall
Commits
310696e2
Commit
310696e2
authored
Jun 19, 2019
by
macro
Browse files
修复mybatis generator重复生成mapper.xml内容的问题
parent
79000a1e
Changes
149
Show whitespace changes
Inline
Side-by-side
mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsGrowthChangeHistoryMapper
{
public
interface
UmsGrowthChangeHistoryMapper
{
int
countByExample
(
UmsGrowthChangeHistoryExample
example
);
long
countByExample
(
UmsGrowthChangeHistoryExample
example
);
int
deleteByExample
(
UmsGrowthChangeHistoryExample
example
);
int
deleteByExample
(
UmsGrowthChangeHistoryExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsIntegrationChangeHistoryMapper
{
public
interface
UmsIntegrationChangeHistoryMapper
{
int
countByExample
(
UmsIntegrationChangeHistoryExample
example
);
long
countByExample
(
UmsIntegrationChangeHistoryExample
example
);
int
deleteByExample
(
UmsIntegrationChangeHistoryExample
example
);
int
deleteByExample
(
UmsIntegrationChangeHistoryExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsIntegrationConsumeSettingMapper
{
public
interface
UmsIntegrationConsumeSettingMapper
{
int
countByExample
(
UmsIntegrationConsumeSettingExample
example
);
long
countByExample
(
UmsIntegrationConsumeSettingExample
example
);
int
deleteByExample
(
UmsIntegrationConsumeSettingExample
example
);
int
deleteByExample
(
UmsIntegrationConsumeSettingExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberLevelMapper
{
public
interface
UmsMemberLevelMapper
{
int
countByExample
(
UmsMemberLevelExample
example
);
long
countByExample
(
UmsMemberLevelExample
example
);
int
deleteByExample
(
UmsMemberLevelExample
example
);
int
deleteByExample
(
UmsMemberLevelExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberLoginLogMapper
{
public
interface
UmsMemberLoginLogMapper
{
int
countByExample
(
UmsMemberLoginLogExample
example
);
long
countByExample
(
UmsMemberLoginLogExample
example
);
int
deleteByExample
(
UmsMemberLoginLogExample
example
);
int
deleteByExample
(
UmsMemberLoginLogExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberMapper
{
public
interface
UmsMemberMapper
{
int
countByExample
(
UmsMemberExample
example
);
long
countByExample
(
UmsMemberExample
example
);
int
deleteByExample
(
UmsMemberExample
example
);
int
deleteByExample
(
UmsMemberExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberMemberTagRelationMapper
{
public
interface
UmsMemberMemberTagRelationMapper
{
int
countByExample
(
UmsMemberMemberTagRelationExample
example
);
long
countByExample
(
UmsMemberMemberTagRelationExample
example
);
int
deleteByExample
(
UmsMemberMemberTagRelationExample
example
);
int
deleteByExample
(
UmsMemberMemberTagRelationExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberProductCategoryRelationMapper
{
public
interface
UmsMemberProductCategoryRelationMapper
{
int
countByExample
(
UmsMemberProductCategoryRelationExample
example
);
long
countByExample
(
UmsMemberProductCategoryRelationExample
example
);
int
deleteByExample
(
UmsMemberProductCategoryRelationExample
example
);
int
deleteByExample
(
UmsMemberProductCategoryRelationExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberReceiveAddressMapper
{
public
interface
UmsMemberReceiveAddressMapper
{
int
countByExample
(
UmsMemberReceiveAddressExample
example
);
long
countByExample
(
UmsMemberReceiveAddressExample
example
);
int
deleteByExample
(
UmsMemberReceiveAddressExample
example
);
int
deleteByExample
(
UmsMemberReceiveAddressExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberRuleSettingMapper
{
public
interface
UmsMemberRuleSettingMapper
{
int
countByExample
(
UmsMemberRuleSettingExample
example
);
long
countByExample
(
UmsMemberRuleSettingExample
example
);
int
deleteByExample
(
UmsMemberRuleSettingExample
example
);
int
deleteByExample
(
UmsMemberRuleSettingExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberStatisticsInfoMapper
{
public
interface
UmsMemberStatisticsInfoMapper
{
int
countByExample
(
UmsMemberStatisticsInfoExample
example
);
long
countByExample
(
UmsMemberStatisticsInfoExample
example
);
int
deleteByExample
(
UmsMemberStatisticsInfoExample
example
);
int
deleteByExample
(
UmsMemberStatisticsInfoExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberTagMapper
{
public
interface
UmsMemberTagMapper
{
int
countByExample
(
UmsMemberTagExample
example
);
long
countByExample
(
UmsMemberTagExample
example
);
int
deleteByExample
(
UmsMemberTagExample
example
);
int
deleteByExample
(
UmsMemberTagExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsMemberTaskMapper
{
public
interface
UmsMemberTaskMapper
{
int
countByExample
(
UmsMemberTaskExample
example
);
long
countByExample
(
UmsMemberTaskExample
example
);
int
deleteByExample
(
UmsMemberTaskExample
example
);
int
deleteByExample
(
UmsMemberTaskExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsPermissionMapper
{
public
interface
UmsPermissionMapper
{
int
countByExample
(
UmsPermissionExample
example
);
long
countByExample
(
UmsPermissionExample
example
);
int
deleteByExample
(
UmsPermissionExample
example
);
int
deleteByExample
(
UmsPermissionExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsRoleMapper
{
public
interface
UmsRoleMapper
{
int
countByExample
(
UmsRoleExample
example
);
long
countByExample
(
UmsRoleExample
example
);
int
deleteByExample
(
UmsRoleExample
example
);
int
deleteByExample
(
UmsRoleExample
example
);
...
...
mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java
View file @
310696e2
...
@@ -6,7 +6,7 @@ import java.util.List;
...
@@ -6,7 +6,7 @@ import java.util.List;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
UmsRolePermissionRelationMapper
{
public
interface
UmsRolePermissionRelationMapper
{
int
countByExample
(
UmsRolePermissionRelationExample
example
);
long
countByExample
(
UmsRolePermissionRelationExample
example
);
int
deleteByExample
(
UmsRolePermissionRelationExample
example
);
int
deleteByExample
(
UmsRolePermissionRelationExample
example
);
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml
View file @
310696e2
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsHelpCategoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsHelpCategoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_help_category
select count(*) from cms_help_category
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml
View file @
310696e2
...
@@ -188,7 +188,7 @@
...
@@ -188,7 +188,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsHelpExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsHelpExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_help
select count(*) from cms_help
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml
View file @
310696e2
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsMemberReportExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsMemberReportExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_member_report
select count(*) from cms_member_report
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml
View file @
310696e2
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
</if>
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsPrefrenceAreaExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsPrefrenceAreaExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_prefrence_area
select count(*) from cms_prefrence_area
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
<include
refid=
"Example_Where_Clause"
/>
...
...
Prev
1
2
3
4
5
6
7
8
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