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

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

parent 79000a1e
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_flash_promotion_product_relation
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_flash_promotion_session
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_home_advertise
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_home_brand
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_home_new_product
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_home_recommend_product
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from sms_home_recommend_subject
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_admin_login_log
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_admin
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_admin_permission_relation
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_admin_role_relation
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_growth_change_history
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_integration_change_history
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_integration_consume_setting
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_member_level
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_member_login_log
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_member
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_member_member_tag_relation
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_member_product_category_relation
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
......
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
</if> </if>
</trim> </trim>
</insert> </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 select count(*) from ums_member_receive_address
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <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