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

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

parent 79000a1e
......@@ -166,7 +166,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.SmsFlashPromotionProductRelationExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsFlashPromotionProductRelationExample" resultType="java.lang.Long">
select count(*) from sms_flash_promotion_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.SmsFlashPromotionSessionExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsFlashPromotionSessionExample" resultType="java.lang.Long">
select count(*) from sms_flash_promotion_session
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -196,7 +196,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeAdvertiseExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeAdvertiseExample" resultType="java.lang.Long">
select count(*) from sms_home_advertise
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeBrandExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeBrandExample" resultType="java.lang.Long">
select count(*) from sms_home_brand
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeNewProductExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeNewProductExample" resultType="java.lang.Long">
select count(*) from sms_home_new_product
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeRecommendProductExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeRecommendProductExample" resultType="java.lang.Long">
select count(*) from sms_home_recommend_product
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeRecommendSubjectExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.SmsHomeRecommendSubjectExample" resultType="java.lang.Long">
select count(*) from sms_home_recommend_subject
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminLoginLogExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminLoginLogExample" resultType="java.lang.Long">
select count(*) from ums_admin_login_log
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -181,7 +181,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminExample" resultType="java.lang.Long">
select count(*) from ums_admin
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -135,7 +135,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminPermissionRelationExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminPermissionRelationExample" resultType="java.lang.Long">
select count(*) from ums_admin_permission_relation
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -126,7 +126,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminRoleRelationExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsAdminRoleRelationExample" resultType="java.lang.Long">
select count(*) from ums_admin_role_relation
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -166,7 +166,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsGrowthChangeHistoryExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsGrowthChangeHistoryExample" resultType="java.lang.Long">
select count(*) from ums_growth_change_history
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -166,7 +166,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsIntegrationChangeHistoryExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsIntegrationChangeHistoryExample" resultType="java.lang.Long">
select count(*) from ums_integration_change_history
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -142,7 +142,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsIntegrationConsumeSettingExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsIntegrationConsumeSettingExample" resultType="java.lang.Long">
select count(*) from ums_integration_consume_setting
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -206,7 +206,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberLevelExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberLevelExample" resultType="java.lang.Long">
select count(*) from ums_member_level
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -158,7 +158,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberLoginLogExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberLoginLogExample" resultType="java.lang.Long">
select count(*) from ums_member_login_log
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -250,7 +250,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberExample" resultType="java.lang.Long">
select count(*) from ums_member
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -126,7 +126,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberMemberTagRelationExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberMemberTagRelationExample" resultType="java.lang.Long">
select count(*) from ums_member_member_tag_relation
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -126,7 +126,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberProductCategoryRelationExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberProductCategoryRelationExample" resultType="java.lang.Long">
select count(*) from ums_member_product_category_relation
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -182,7 +182,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberReceiveAddressExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.UmsMemberReceiveAddressExample" resultType="java.lang.Long">
select count(*) from ums_member_receive_address
<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