修复mybatis generator重复生成mapper.xml内容的问题
This commit is contained in:
parent
79000a1ee1
commit
310696e269
@ -11,5 +11,5 @@ import lombok.Setter;
|
||||
public class SmsFlashPromotionSessionDetail extends SmsFlashPromotionSession {
|
||||
@Setter
|
||||
@Getter
|
||||
private Integer productCount;
|
||||
private Long productCount;
|
||||
}
|
||||
|
@ -46,5 +46,5 @@ public interface SmsFlashPromotionProductRelationService {
|
||||
* @param flashPromotionSessionId
|
||||
* @return
|
||||
*/
|
||||
int getCount(Long flashPromotionId,Long flashPromotionSessionId);
|
||||
long getCount(Long flashPromotionId,Long flashPromotionSessionId);
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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" />
|
||||
|
@ -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" />
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user