Commit 310696e2 authored by macro's avatar macro
Browse files

修复mybatis generator重复生成mapper.xml内容的问题

parent 79000a1e
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment