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
Hide whitespace changes
Inline
Side-by-side
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml
View file @
310696e2
...
...
@@ -158,7 +158,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsCommentReplayExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsCommentReplayExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_comment_replay
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml
View file @
310696e2
...
...
@@ -165,7 +165,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsFeightTemplateExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsFeightTemplateExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_feight_template
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml
View file @
310696e2
...
...
@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsMemberPriceExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsMemberPriceExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_member_price
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml
View file @
310696e2
...
...
@@ -135,7 +135,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductAttributeCategoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductAttributeCategoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_attribute_category
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml
View file @
310696e2
...
...
@@ -198,7 +198,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductAttributeExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductAttributeExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_attribute
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml
View file @
310696e2
...
...
@@ -135,7 +135,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductAttributeValueExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductAttributeValueExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_attribute_value
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml
View file @
310696e2
...
...
@@ -128,7 +128,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductCategoryAttributeRelationExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductCategoryAttributeRelationExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_category_attribute_relation
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml
View file @
310696e2
...
...
@@ -219,7 +219,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductCategoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductCategoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_category
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml
View file @
310696e2
...
...
@@ -135,7 +135,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductFullReductionExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductFullReductionExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_full_reduction
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml
View file @
310696e2
...
...
@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductLadderExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductLadderExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_ladder
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml
View file @
310696e2
...
...
@@ -453,7 +453,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml
View file @
310696e2
...
...
@@ -196,7 +196,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductOperateLogExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductOperateLogExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_operate_log
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml
View file @
310696e2
...
...
@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductVertifyRecordExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsProductVertifyRecordExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_product_vertify_record
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml
View file @
310696e2
...
...
@@ -203,7 +203,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsSkuStockExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.PmsSkuStockExample"
resultType=
"java.lang.
Long
"
>
select count(*) from pms_sku_stock
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml
View file @
310696e2
...
...
@@ -189,7 +189,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponHistoryExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponHistoryExample"
resultType=
"java.lang.
Long
"
>
select count(*) from sms_coupon_history
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml
View file @
310696e2
...
...
@@ -242,7 +242,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponExample"
resultType=
"java.lang.
Long
"
>
select count(*) from sms_coupon
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml
View file @
310696e2
...
...
@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponProductCategoryRelationExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponProductCategoryRelationExample"
resultType=
"java.lang.
Long
"
>
select count(*) from sms_coupon_product_category_relation
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml
View file @
310696e2
...
...
@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponProductRelationExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsCouponProductRelationExample"
resultType=
"java.lang.
Long
"
>
select count(*) from sms_coupon_product_relation
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml
View file @
310696e2
...
...
@@ -158,7 +158,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsFlashPromotionLogExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsFlashPromotionLogExample"
resultType=
"java.lang.
Long
"
>
select count(*) from sms_flash_promotion_log
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
...
...
mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml
View file @
310696e2
...
...
@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsFlashPromotionExample"
resultType=
"java.lang.
Integer
"
>
<select
id=
"countByExample"
parameterType=
"com.macro.mall.model.SmsFlashPromotionExample"
resultType=
"java.lang.
Long
"
>
select count(*) from sms_flash_promotion
<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