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

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

parent 79000a1e
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsGrowthChangeHistoryMapper {
int countByExample(UmsGrowthChangeHistoryExample example);
long countByExample(UmsGrowthChangeHistoryExample example);
int deleteByExample(UmsGrowthChangeHistoryExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsIntegrationChangeHistoryMapper {
int countByExample(UmsIntegrationChangeHistoryExample example);
long countByExample(UmsIntegrationChangeHistoryExample example);
int deleteByExample(UmsIntegrationChangeHistoryExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsIntegrationConsumeSettingMapper {
int countByExample(UmsIntegrationConsumeSettingExample example);
long countByExample(UmsIntegrationConsumeSettingExample example);
int deleteByExample(UmsIntegrationConsumeSettingExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberLevelMapper {
int countByExample(UmsMemberLevelExample example);
long countByExample(UmsMemberLevelExample example);
int deleteByExample(UmsMemberLevelExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberLoginLogMapper {
int countByExample(UmsMemberLoginLogExample example);
long countByExample(UmsMemberLoginLogExample example);
int deleteByExample(UmsMemberLoginLogExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberMapper {
int countByExample(UmsMemberExample example);
long countByExample(UmsMemberExample example);
int deleteByExample(UmsMemberExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberMemberTagRelationMapper {
int countByExample(UmsMemberMemberTagRelationExample example);
long countByExample(UmsMemberMemberTagRelationExample example);
int deleteByExample(UmsMemberMemberTagRelationExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberProductCategoryRelationMapper {
int countByExample(UmsMemberProductCategoryRelationExample example);
long countByExample(UmsMemberProductCategoryRelationExample example);
int deleteByExample(UmsMemberProductCategoryRelationExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberReceiveAddressMapper {
int countByExample(UmsMemberReceiveAddressExample example);
long countByExample(UmsMemberReceiveAddressExample example);
int deleteByExample(UmsMemberReceiveAddressExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberRuleSettingMapper {
int countByExample(UmsMemberRuleSettingExample example);
long countByExample(UmsMemberRuleSettingExample example);
int deleteByExample(UmsMemberRuleSettingExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberStatisticsInfoMapper {
int countByExample(UmsMemberStatisticsInfoExample example);
long countByExample(UmsMemberStatisticsInfoExample example);
int deleteByExample(UmsMemberStatisticsInfoExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberTagMapper {
int countByExample(UmsMemberTagExample example);
long countByExample(UmsMemberTagExample example);
int deleteByExample(UmsMemberTagExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsMemberTaskMapper {
int countByExample(UmsMemberTaskExample example);
long countByExample(UmsMemberTaskExample example);
int deleteByExample(UmsMemberTaskExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsPermissionMapper {
int countByExample(UmsPermissionExample example);
long countByExample(UmsPermissionExample example);
int deleteByExample(UmsPermissionExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsRoleMapper {
int countByExample(UmsRoleExample example);
long countByExample(UmsRoleExample example);
int deleteByExample(UmsRoleExample example);
......
......@@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsRolePermissionRelationMapper {
int countByExample(UmsRolePermissionRelationExample example);
long countByExample(UmsRolePermissionRelationExample example);
int deleteByExample(UmsRolePermissionRelationExample example);
......
......@@ -149,7 +149,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.CmsHelpCategoryExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.CmsHelpCategoryExample" resultType="java.lang.Long">
select count(*) from cms_help_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -188,7 +188,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.CmsHelpExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.CmsHelpExample" resultType="java.lang.Long">
select count(*) from cms_help
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -156,7 +156,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.CmsMemberReportExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.CmsMemberReportExample" resultType="java.lang.Long">
select count(*) from cms_member_report
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......
......@@ -172,7 +172,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.CmsPrefrenceAreaExample" resultType="java.lang.Integer">
<select id="countByExample" parameterType="com.macro.mall.model.CmsPrefrenceAreaExample" resultType="java.lang.Long">
select count(*) from cms_prefrence_area
<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