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

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

parent 79000a1e
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
......@@ -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" />
......
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