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/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml
View file @
310696e2
...
...
@@ -126,7 +126,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsPrefrenceAreaProductRelationExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsPrefrenceAreaProductRelationExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_prefrence_area_product_relation
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml
View file @
310696e2
...
...
@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectCategoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectCategoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_subject_category
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml
View file @
310696e2
...
...
@@ -158,7 +158,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectCommentExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectCommentExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_subject_comment
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml
View file @
310696e2
...
...
@@ -251,7 +251,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_subject
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml
View file @
310696e2
...
...
@@ -126,7 +126,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectProductRelationExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsSubjectProductRelationExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_subject_product_relation
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml
View file @
310696e2
...
...
@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsTopicCategoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsTopicCategoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_topic_category
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml
View file @
310696e2
...
...
@@ -158,7 +158,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsTopicCommentExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsTopicCommentExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_topic_comment
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml
View file @
310696e2
...
...
@@ -219,7 +219,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsTopicExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.CmsTopicExample"
resultType=
"java.lang.
Long
"
>
select count(*) from cms_topic
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml
View file @
310696e2
...
...
@@ -266,7 +266,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsCartItemExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsCartItemExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_cart_item
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml
View file @
310696e2
...
...
@@ -182,7 +182,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsCompanyAddressExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsCompanyAddressExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_company_address
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml
View file @
310696e2
...
...
@@ -290,7 +290,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderItemExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderItemExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_order_item
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml
View file @
310696e2
...
...
@@ -447,7 +447,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_order
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml
View file @
310696e2
...
...
@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderOperateHistoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderOperateHistoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_order_operate_history
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml
View file @
310696e2
...
...
@@ -313,7 +313,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderReturnApplyExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderReturnApplyExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_order_return_apply
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml
View file @
310696e2
...
...
@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderReturnReasonExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderReturnReasonExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_order_return_reason
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml
View file @
310696e2
...
...
@@ -152,7 +152,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderSettingExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.OmsOrderSettingExample"
resultType=
"java.lang.
Long
"
>
select count(*) from oms_order_setting
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml
View file @
310696e2
...
...
@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsAlbumExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsAlbumExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_album
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml
View file @
310696e2
...
...
@@ -126,7 +126,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsAlbumPicExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsAlbumPicExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_album_pic
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml
View file @
310696e2
...
...
@@ -212,7 +212,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsBrandExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsBrandExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_brand
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml
View file @
310696e2
...
...
@@ -242,7 +242,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsCommentExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsCommentExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_comment
<if
test=
"_parameter != null"
>
<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