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

This commit is contained in:
macro 2019-06-19 20:15:02 +08:00
parent 79000a1ee1
commit 310696e269
149 changed files with 150 additions and 148 deletions

View File

@ -11,5 +11,5 @@ import lombok.Setter;
public class SmsFlashPromotionSessionDetail extends SmsFlashPromotionSession {
@Setter
@Getter
private Integer productCount;
private Long productCount;
}

View File

@ -46,5 +46,5 @@ public interface SmsFlashPromotionProductRelationService {
* @param flashPromotionSessionId
* @return
*/
int getCount(Long flashPromotionId,Long flashPromotionSessionId);
long getCount(Long flashPromotionId,Long flashPromotionSessionId);
}

View File

@ -53,7 +53,7 @@ public class SmsFlashPromotionProductRelationServiceImpl implements SmsFlashProm
}
@Override
public int getCount(Long flashPromotionId, Long flashPromotionSessionId) {
public long getCount(Long flashPromotionId, Long flashPromotionSessionId) {
SmsFlashPromotionProductRelationExample example = new SmsFlashPromotionProductRelationExample();
example.createCriteria()
.andFlashPromotionIdEqualTo(flashPromotionId)

View File

@ -70,7 +70,7 @@ public class SmsFlashPromotionSessionServiceImpl implements SmsFlashPromotionSes
for (SmsFlashPromotionSession promotionSession : list) {
SmsFlashPromotionSessionDetail detail = new SmsFlashPromotionSessionDetail();
BeanUtils.copyProperties(promotionSession, detail);
int count = relationService.getCount(flashPromotionId, promotionSession.getId());
long count = relationService.getCount(flashPromotionId, promotionSession.getId());
detail.setProductCount(count);
result.add(detail);
}

View File

@ -22,7 +22,7 @@
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.3.3</version>
<version>1.3.7</version>
</dependency>
<!-- MyBatis-->
<dependency>

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsHelpCategoryMapper {
int countByExample(CmsHelpCategoryExample example);
long countByExample(CmsHelpCategoryExample example);
int deleteByExample(CmsHelpCategoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsHelpMapper {
int countByExample(CmsHelpExample example);
long countByExample(CmsHelpExample example);
int deleteByExample(CmsHelpExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsMemberReportMapper {
int countByExample(CmsMemberReportExample example);
long countByExample(CmsMemberReportExample example);
int deleteByExample(CmsMemberReportExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsPrefrenceAreaMapper {
int countByExample(CmsPrefrenceAreaExample example);
long countByExample(CmsPrefrenceAreaExample example);
int deleteByExample(CmsPrefrenceAreaExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsPrefrenceAreaProductRelationMapper {
int countByExample(CmsPrefrenceAreaProductRelationExample example);
long countByExample(CmsPrefrenceAreaProductRelationExample example);
int deleteByExample(CmsPrefrenceAreaProductRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsSubjectCategoryMapper {
int countByExample(CmsSubjectCategoryExample example);
long countByExample(CmsSubjectCategoryExample example);
int deleteByExample(CmsSubjectCategoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsSubjectCommentMapper {
int countByExample(CmsSubjectCommentExample example);
long countByExample(CmsSubjectCommentExample example);
int deleteByExample(CmsSubjectCommentExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsSubjectMapper {
int countByExample(CmsSubjectExample example);
long countByExample(CmsSubjectExample example);
int deleteByExample(CmsSubjectExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsSubjectProductRelationMapper {
int countByExample(CmsSubjectProductRelationExample example);
long countByExample(CmsSubjectProductRelationExample example);
int deleteByExample(CmsSubjectProductRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsTopicCategoryMapper {
int countByExample(CmsTopicCategoryExample example);
long countByExample(CmsTopicCategoryExample example);
int deleteByExample(CmsTopicCategoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsTopicCommentMapper {
int countByExample(CmsTopicCommentExample example);
long countByExample(CmsTopicCommentExample example);
int deleteByExample(CmsTopicCommentExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CmsTopicMapper {
int countByExample(CmsTopicExample example);
long countByExample(CmsTopicExample example);
int deleteByExample(CmsTopicExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsCartItemMapper {
int countByExample(OmsCartItemExample example);
long countByExample(OmsCartItemExample example);
int deleteByExample(OmsCartItemExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsCompanyAddressMapper {
int countByExample(OmsCompanyAddressExample example);
long countByExample(OmsCompanyAddressExample example);
int deleteByExample(OmsCompanyAddressExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsOrderItemMapper {
int countByExample(OmsOrderItemExample example);
long countByExample(OmsOrderItemExample example);
int deleteByExample(OmsOrderItemExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsOrderMapper {
int countByExample(OmsOrderExample example);
long countByExample(OmsOrderExample example);
int deleteByExample(OmsOrderExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsOrderOperateHistoryMapper {
int countByExample(OmsOrderOperateHistoryExample example);
long countByExample(OmsOrderOperateHistoryExample example);
int deleteByExample(OmsOrderOperateHistoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsOrderReturnApplyMapper {
int countByExample(OmsOrderReturnApplyExample example);
long countByExample(OmsOrderReturnApplyExample example);
int deleteByExample(OmsOrderReturnApplyExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsOrderReturnReasonMapper {
int countByExample(OmsOrderReturnReasonExample example);
long countByExample(OmsOrderReturnReasonExample example);
int deleteByExample(OmsOrderReturnReasonExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OmsOrderSettingMapper {
int countByExample(OmsOrderSettingExample example);
long countByExample(OmsOrderSettingExample example);
int deleteByExample(OmsOrderSettingExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsAlbumMapper {
int countByExample(PmsAlbumExample example);
long countByExample(PmsAlbumExample example);
int deleteByExample(PmsAlbumExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsAlbumPicMapper {
int countByExample(PmsAlbumPicExample example);
long countByExample(PmsAlbumPicExample example);
int deleteByExample(PmsAlbumPicExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsBrandMapper {
int countByExample(PmsBrandExample example);
long countByExample(PmsBrandExample example);
int deleteByExample(PmsBrandExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsCommentMapper {
int countByExample(PmsCommentExample example);
long countByExample(PmsCommentExample example);
int deleteByExample(PmsCommentExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsCommentReplayMapper {
int countByExample(PmsCommentReplayExample example);
long countByExample(PmsCommentReplayExample example);
int deleteByExample(PmsCommentReplayExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsFeightTemplateMapper {
int countByExample(PmsFeightTemplateExample example);
long countByExample(PmsFeightTemplateExample example);
int deleteByExample(PmsFeightTemplateExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsMemberPriceMapper {
int countByExample(PmsMemberPriceExample example);
long countByExample(PmsMemberPriceExample example);
int deleteByExample(PmsMemberPriceExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductAttributeCategoryMapper {
int countByExample(PmsProductAttributeCategoryExample example);
long countByExample(PmsProductAttributeCategoryExample example);
int deleteByExample(PmsProductAttributeCategoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductAttributeMapper {
int countByExample(PmsProductAttributeExample example);
long countByExample(PmsProductAttributeExample example);
int deleteByExample(PmsProductAttributeExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductAttributeValueMapper {
int countByExample(PmsProductAttributeValueExample example);
long countByExample(PmsProductAttributeValueExample example);
int deleteByExample(PmsProductAttributeValueExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductCategoryAttributeRelationMapper {
int countByExample(PmsProductCategoryAttributeRelationExample example);
long countByExample(PmsProductCategoryAttributeRelationExample example);
int deleteByExample(PmsProductCategoryAttributeRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductCategoryMapper {
int countByExample(PmsProductCategoryExample example);
long countByExample(PmsProductCategoryExample example);
int deleteByExample(PmsProductCategoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductFullReductionMapper {
int countByExample(PmsProductFullReductionExample example);
long countByExample(PmsProductFullReductionExample example);
int deleteByExample(PmsProductFullReductionExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductLadderMapper {
int countByExample(PmsProductLadderExample example);
long countByExample(PmsProductLadderExample example);
int deleteByExample(PmsProductLadderExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductMapper {
int countByExample(PmsProductExample example);
long countByExample(PmsProductExample example);
int deleteByExample(PmsProductExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductOperateLogMapper {
int countByExample(PmsProductOperateLogExample example);
long countByExample(PmsProductOperateLogExample example);
int deleteByExample(PmsProductOperateLogExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsProductVertifyRecordMapper {
int countByExample(PmsProductVertifyRecordExample example);
long countByExample(PmsProductVertifyRecordExample example);
int deleteByExample(PmsProductVertifyRecordExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PmsSkuStockMapper {
int countByExample(PmsSkuStockExample example);
long countByExample(PmsSkuStockExample example);
int deleteByExample(PmsSkuStockExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsCouponHistoryMapper {
int countByExample(SmsCouponHistoryExample example);
long countByExample(SmsCouponHistoryExample example);
int deleteByExample(SmsCouponHistoryExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsCouponMapper {
int countByExample(SmsCouponExample example);
long countByExample(SmsCouponExample example);
int deleteByExample(SmsCouponExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsCouponProductCategoryRelationMapper {
int countByExample(SmsCouponProductCategoryRelationExample example);
long countByExample(SmsCouponProductCategoryRelationExample example);
int deleteByExample(SmsCouponProductCategoryRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsCouponProductRelationMapper {
int countByExample(SmsCouponProductRelationExample example);
long countByExample(SmsCouponProductRelationExample example);
int deleteByExample(SmsCouponProductRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionLogMapper {
int countByExample(SmsFlashPromotionLogExample example);
long countByExample(SmsFlashPromotionLogExample example);
int deleteByExample(SmsFlashPromotionLogExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionMapper {
int countByExample(SmsFlashPromotionExample example);
long countByExample(SmsFlashPromotionExample example);
int deleteByExample(SmsFlashPromotionExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionProductRelationMapper {
int countByExample(SmsFlashPromotionProductRelationExample example);
long countByExample(SmsFlashPromotionProductRelationExample example);
int deleteByExample(SmsFlashPromotionProductRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsFlashPromotionSessionMapper {
int countByExample(SmsFlashPromotionSessionExample example);
long countByExample(SmsFlashPromotionSessionExample example);
int deleteByExample(SmsFlashPromotionSessionExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsHomeAdvertiseMapper {
int countByExample(SmsHomeAdvertiseExample example);
long countByExample(SmsHomeAdvertiseExample example);
int deleteByExample(SmsHomeAdvertiseExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsHomeBrandMapper {
int countByExample(SmsHomeBrandExample example);
long countByExample(SmsHomeBrandExample example);
int deleteByExample(SmsHomeBrandExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsHomeNewProductMapper {
int countByExample(SmsHomeNewProductExample example);
long countByExample(SmsHomeNewProductExample example);
int deleteByExample(SmsHomeNewProductExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsHomeRecommendProductMapper {
int countByExample(SmsHomeRecommendProductExample example);
long countByExample(SmsHomeRecommendProductExample example);
int deleteByExample(SmsHomeRecommendProductExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SmsHomeRecommendSubjectMapper {
int countByExample(SmsHomeRecommendSubjectExample example);
long countByExample(SmsHomeRecommendSubjectExample example);
int deleteByExample(SmsHomeRecommendSubjectExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminLoginLogMapper {
int countByExample(UmsAdminLoginLogExample example);
long countByExample(UmsAdminLoginLogExample example);
int deleteByExample(UmsAdminLoginLogExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminMapper {
int countByExample(UmsAdminExample example);
long countByExample(UmsAdminExample example);
int deleteByExample(UmsAdminExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminPermissionRelationMapper {
int countByExample(UmsAdminPermissionRelationExample example);
long countByExample(UmsAdminPermissionRelationExample example);
int deleteByExample(UmsAdminPermissionRelationExample example);

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UmsAdminRoleRelationMapper {
int countByExample(UmsAdminRoleRelationExample example);
long countByExample(UmsAdminRoleRelationExample example);
int deleteByExample(UmsAdminRoleRelationExample example);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

Some files were not shown because too many files have changed in this diff Show More